htlatex? (was: Re: [OS X TeX] htlatex, latin modern, etc.)

Ross Moore ross at ics.mq.edu.au
Mon Apr 4 15:20:12 CEST 2005


Hi Gerben,

On 04/04/2005, at 5:32 PM, Gerben Wierda wrote:

>>> my home directory. These appear at the base level of my home
>>> directory, however, not in the original one
>>> (Documents/TeXShopfiles/filename),
>>
>> This is the expected behavior.
>
> Really? I thought the stuff was being created in and read from the
> *current* directory.

No.
When the final output is a single file, such as with
   .tex --> .dvi
   .tex --> .pdf
   .tex --> .dvi --> .ps

it makes sense to put it in the same directory as all the source files.

However, when the output is a whole bunch of .html files,
with linked images, etc.  and perhaps some other support files
as well, then it does make sense to put this all into a separate
subdirectory.  This is what LaTeX2HTML does too.

The default is to use a subdirectory of the same name as the file
prefix, but there should be a method to choose any other name,
or place the contents into any other location.


Hope this helps,

	Ross


>
> So when pwd is ~ and you type
>     htlatex Documents/TeXShopfiles/filename
> it goes wrong but when pwd is Documents/TeXShopfiles and you type
>     htlatex filename
> it should work.
>
> Isn't that the case?
>
> G
>
> PS. And sorry about not having fixed this, but I am/have been ill. I 
> would
> still like to get a small test file with problem report before I attack
> this, otherwise I cannot test the effectiveness of the updated
> distribution.
>
>>
>>> and when text4ht.c kicks in, it
>>> says it can't find/open the .dvi file.
>>
>> If /usr/local/teTeX/bin/powerpc-apple-darwin-current/htlatex
>> contains records of the form
>>
>>         tex4ht $1 ...
>>         t4ht $1 ...
>>
>> modify the two records to be of the form
>>
>>         tex4ht -f/$1 ...
>>         t4ht -f/$1 ...
>>
>> If that is not the case, can you run the following sequence of
>> commands on a miniature latex file and email me the file `foo'.
>>
>>      script foo
>>      cat /usr/local/teTeX/bin/powerpc-apple-darwin-current/htlatex
>>      htlatex filename
>>      ls -l filename*
>>      pwd
>>      exit
>>
>>> there are some package
>>> combinations that don't work.
>>
>> Most of these problems can probably be solved quite easily in response
>> to bug reports.
>>
>> -eitan
>>
>> --------------------- Info ---------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>            & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>>
>>
>>
>>
>
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>            & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
>
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list