[l2h] compiling "latex2html" in a usb memory

Ross Moore ross at ics.mq.edu.au
Mon Sep 21 23:46:02 CEST 2009


Hello Mayorga,

On 22/09/2009, at 5:03 AM, mayorga at cimat.mx wrote:

> when I compile a .tex file on a USB memory, I get the following error:
>    ...
>    Cannot create directory 'TMP': File exists
>
> if the file is compiled into the hard drive, the error disappears.
>
> what is happend?

Each latex2html job creates a temporary directory called TMP
by default. This is normally removed at the end of the job,
but you can supress removal using  -debug  as a command-line switch.

The fact that you have problems on the USB could be an indication
that the filesystem on it is not truly hierarchical.
It may be that the USB filesystem already has an invisible
directory called TMP which cannot be removed or written-over.

You should be able to change the name of the temporary directory
that LaTeX2HTML uses. The variable name is  $TEMP  I think.
Look for this, or something similar, within the  l2hinit.pm
configuration file (or whatever your installation has used
to replace this).


Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------





More information about the latex2html mailing list