[tex4ht] usage with pdftex

D. R. Evans doc.evans at gmail.com
Wed Aug 4 23:27:06 CEST 2010

Radhakrishnan CV said the following at 08/03/2010 05:22 AM :

>> I started with "ht pdftex bk7.tex":
> Sorry, this won't work since TeX4ht needs a dvi output from which it
> extracts the html while pdfTeX generates a pdf by default. So, tex4ht
> post-processor will weep that there is no \jobname.dvi. However,

That's what I suspected was the problem.

> ht 'pdftex -output-format=dvi' bk7.tex
> will work. But the html file will have only the ASCII characters of your
> document and will not be valid html. To make a valid html from a plain

I think that's probably what I did at one point, and noted exactly that
result :-)

> TeX file, you have to do the following trick.

[stuff elided]

Brilliant! I would never have discovered the solution myself. I am in awe.
Thank you so much.


Web:  http://www.sff.net/people/N7DR

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/tex4ht/attachments/20100804/827eef87/attachment.bin>

More information about the tex4ht mailing list