[OS X TeX] TeX on Mac OS X Mailing List
Tommaso Mancini Griffoli
tommaso.mancini at gmail.com
Mon Jan 29 17:22:38 EST 2007
Hi Rene and others,
First, please let me know in case I'm not following the correct
etiquette in replying to all.
Second, apologies for the last post, I had mistyped htlatex (thanks
Rene!).
With the correct (!) spelling, things seem to work (ie, I get the
HTML, CSS and other files created), but I still run into my original
problem, that is, I get the error quoted below and all equations in
my HTML are replaced with question marks.
One of the (many similar) errors is the following:
--- Warning --- System return: 32512
System call: dvips -E -Ppdf -mode ibmvga -D 110 -f AdvMacro_PS_6.idv -
pp 25 > zzAdvMacro_PS_6.ps
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
(www.radicaleye.com)
' TeX output 2007.01.29:2317' ->
<tex.pro><alt-rule.pro><texps.pro>. <cmex10.pfb><cmsy7.pfb><cmr7.pfb>
<cmmi7.pfb>[25]
System return: 0
System call: convert -trim +repage -density 110x110 -transparent
'#FFFFFF' zzAdvMacro_PS_6.ps AdvMacro_PS_624x.png
sh: line 1: convert: command not found
Thanks for your help.
Best,
Tommaso
On Jan 29, 2007, at 10:14 PM, Rene Borgella wrote:
> Tommaso Mancini Griffoli wrote:
>> Hi,
>>
> Snip
>
>>
>> Second, I'm coming from the forum on TexShop with an unresolved
>> question
>> on creating HTML from a Tex file.
>>
>> I was kindly told to: create a htlatex.engine file, with the
>> commands:
>>
>> #!/bin/bash
>> htlatex "$1"
>>
>> and to put it into the ~/Library/TeXShop/Engines/ folder.
>>
>> Then, in TexShop, I can choose to typeset in htlatex.
>
> Tommaso,
>
> I don't know about doing it as you describe above, but for me, what
> works very well is this method:
>
> Create a normal TeX doc in Texshop and save it. I then make a copy
> the
> whole folder that contains the new document for safety's sake.
>
> Next, I start up terminal, then cd to the directory containing my TeX
> doc. I invoke htlatex and I have my html doc. It works great for me.
>
> EXample. . .
>
> 1) write my document in Texshop and have all the associated figs, etc.
> within the folder (directory) that I have the document in.
>
> 2) copy that directory to a convenient place, say the Desktop.
>
> 3) start up terminal, then CD to the directory with my TeX document.
> (it's easiest to just open up terminal, type 'cd' and then just
> drop the
> directory on the terminal window).
>
> 4) 'htlatex filename.tx' gives me the output of a complete html
> document
> ready for the web.
>
> THis has worked well for me using Gerben's TeX distro and now the new
> Texlive (the largeish, complete version).
>
> HTH,
>
> Rene
>
>>
>> When I do so, the log file is generated in the console as usual,
>> but at
>> the end, I get many messages of the type:
>>
>> System call: convert -trim +repage -density 110x110 -transparent
>> '#FFFFFF' zzAdvMacro_PS_6TEST.ps AdvMacro_PS_6TEST25x.png
>> --- Warning --- System return: 32512
>>
>> Then, when I click to open the file.html from my finder, all the text
>> shows up fine, but there are question marks for all the
>> equations... I
>> guess the equations are supposed to be transfered into .png
>> images, but
>> the error message tells me the images are not generated? Any idea of
>> what couldbe going wrong?
>>
>> Also, as a follow-up question (although a good answer to the above
>> would
>> be wonderful in itself!), is there a way to create separate HTML
>> pages
>> (with automatic links from one to the other) from each section of the
>> Latex file, for instance, as is the case when using DocBook?
>>
>> I've been finding a lot of references on Latex2html, but is this the
>> same as htlatex? Or what is the difference?
>>
>> Thanks so much for your help and for your patience with a beginner
>> user...
>>
>> Best,
>> Tommaso
>>
>>
>> ------------------------- Helpful Info -------------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>>
>>
>>
>
-----------------------------------
Tommaso Mancini Griffoli
Paris School of Economics (PSE) & CEPREMAP
- post doctoral fellow -
Home:
14 ch. Michée Chauderon
1203 Genève - CH
tommaso.mancini at stanfordalumni.org
tommaso.mancini at gmail.com
H: + 41 22 796 4756
C: + 41 76 528 0033
Academic home page: http://web.mac.com/pibri/iWeb/TommasoMG/
Vacationning in Tuscany? http://www.bastiere.it
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list