### Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 2 guests

## exam | Compilation fails on Ubuntu

### exam | Compilation fails on Ubuntu

Hi,

I am not sure i have chosen the right place for this thread.

The problem is quite simple: I have prepared a questionnaire with the package "exam". The file compiles nicely in Windows (MiKTeX 2.9 and Texmaker) but does not in Ubuntu (Tex Live and Texmaker), where I get the message "Unknown checkboxes environment". The package "exam" seems to be installed, of course.

Here is a short code that works nicely in Windows:
Code: Select all  •  Open in writeLaTeX
\documentclass[addpoints]{exam}\textheight 9.75in\usepackage[italian]{babel}\usepackage{amssymb}\usepackage[latin1]{inputenc}\header{III B}{Questionario di Prova}{12 Ottobre 2011}\firstpagefooter{}{Pagina \thepage\ di \numpages}{}\runningfooter{}{Pagina \thepage\ di \numpages}{}\headrule\footrule\checkboxchar{$\Box$}\pointpoints{ punto}{ punti}\begin{document}\begin{questions}\question Question\begin{checkboxes}\choice Answer A\choice Answer B\choice Answer C\choice Answer D\end{checkboxes}\end{questions}\end{document}

Thank you all!
geronimo

Posts: 3
Joined: Mon Sep 5th, 2011

### Re: exam | Compilation fails on Ubuntu

It compiles fine for me with TeXlive 2011 on Arch Linux. If you're still using the Ubuntu TeXlive packages, they may be out of date. Try putting \listfiles at the beginning of the code, and post the list of versions of the files that gets put in the .log. Compare the Windows/Ubuntu results, and it may shed some light.

frabjous

Posts: 2065
Joined: Fri Mar 6th, 2009
Location: Amherst, MA

### Re: exam | Compilation fails on Ubuntu

Hi frabjous,

I also downloaded the package from CTAN and tried to install it in Ubuntu, but the package comes without the file exam.ins.

I will do the check you suggest (I am working with Windows at the moment).
Do you know how I can install TexLive 2011 in Ubuntu?

Thank you a lot.
geronimo

Posts: 3
Joined: Mon Sep 5th, 2011

### Re: exam | Compilation fails on Ubuntu

geronimo wrote:Do you know how I can install TexLive 2011 in Ubuntu?

See here in the section "Vanilla TeXlive on Debian" for instructions on installing and creating a dummy package satisfying the Debian/Ubuntu package manager dependencies.

frabjous

Posts: 2065
Joined: Fri Mar 6th, 2009
Location: Amherst, MA

### Re: exam | Compilation fails on Ubuntu

frabjous wrote:
See here in the section "Vanilla TeXlive on Debian" for instructions on installing and creating a dummy package satisfying the Debian/Ubuntu package manager dependencies.

It does not sound easy, at least for me, I am not a Linux expert. I will have a closer look at it tomorrow.

Thnak you very much!
geronimo

Posts: 3
Joined: Mon Sep 5th, 2011

### Re: exam | Compilation fails on Ubuntu

viewtopic.php?f=12&t=10920&start=20#p44096

Please note that there is no option "Create symlinks to standard directories" in the TL2011 installer (anymore), but one can easily do this in the TeXlive Manager GUI after installation.

sommerfee

Posts: 493
Joined: Mon Apr 9th, 2007

### Re: exam | Compilation fails on Ubuntu

sommerfee wrote:Please note that there is no option "Create symlinks to standard directories" in the TL2011 installer (anymore), but one can easily do this in the TeXlive Manager GUI after installation.

That option was still there when I installed TL 2011!

frabjous

Posts: 2065
Joined: Fri Mar 6th, 2009
Location: Amherst, MA

### Re: exam | Compilation fails on Ubuntu

frabjous wrote:That option was still there when I installed TL 2011!

I just downloaded the actual installer (install-tl-20110906) and the option is not available when I start the default, non-gui install process (via "./install-tl").

But it is indeed available when using the installation with GUI (via "./install-tl -gui perltk").

sommerfee

Posts: 493
Joined: Mon Apr 9th, 2007

### Re: exam | Compilation fails on Ubuntu

sommerfee wrote:
frabjous wrote:That option was still there when I installed TL 2011!

I just downloaded the actual installer (install-tl-20110906) and the option is not available when I start the default, non-gui install process (via "./install-tl").

But it is indeed available when using the installation with GUI (via "./install-tl -gui perltk").

I didn't use the GUI, and it definitely is there anyway. You need to press O for options. Here's a screenshot of the options menu (it's not on the main menu, so maybe that's the issue):

tl.png (40.06 KiB) Viewed 2361 times

frabjous

Posts: 2065
Joined: Fri Mar 6th, 2009
Location: Amherst, MA

### Re: exam | Compilation fails on Ubuntu

frabjous wrote:I didn't use the GUI, and it definitely is there anyway.

Oh yes, you are right!

You need to press O for options.

When pressing "O" you'll see six options, and the latest one is about the symlinks. But in the main menu only the first five options are shown. (For that reason I thought this option has gone since AFAIR this was different in the TL2010 installer, all six options where shown there in the main menu as well.)

sommerfee

Posts: 493
Joined: Mon Apr 9th, 2007