[tex4ht] wheezy: how to get correct paragraph tags?
Michal Hoftich
michal.h21 at gmail.com
Thu Aug 14 20:19:22 CEST 2014
Maybe some \everypar is used somewhere, it may overwrite hooks used by
tex4ht to insert paragraphs.
2014-08-14 20:15 GMT+02:00 D. R. Evans <doc.evans at gmail.com>:
> 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
>
More information about the tex4ht
mailing list