[tex4ht] wheezy: how to get correct paragraph tags?

D. R. Evans doc.evans at gmail.com
Thu Aug 14 20:15:52 CEST 2014


Michal Hoftich said the following at 08/14/2014 12:02 PM :
> Hi,
> 
> for tex4ht, it  is important to use \document and \enddocument
> somewhere in the document, so hooks for inserting html head and
> closing tags for <body> and <html> can be called. See this post at
> CVR's blog for some working plain sample (backslashes were stripped
> from the post, unfortunately) :
> 
> http://www.cvr.cc/?p=752
> 

The start of the TeX file looks like this:

\input amstex
\documentstyle{amsppt}  \csname tex4ht\endcsname
\document

and the end looks like this:

\enddocument
\end

Which seems like it should be OK.

> 
> and modified your file:
> 
> -----------------
> \input plain-4ht.tex
> \document
> \noindent The wind blows itself out shortly after dawn; the rain lasts a

Well, the file has several hundred lines of other housekeeping stuff before we
get to the actual printable text; but you've given me a clue that it's likely
something somewhere in that several hundred lines that's causing the problem
somehow.

I'll do a binary search to try to pin down the offending command or macro.
Thanks for the hint.

  Doc

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/tex4ht/attachments/20140814/8e0b70bc/attachment-0001.bin>


More information about the tex4ht mailing list