[tex4ht] [bug #136] #line in output

Deimantas Galcius deimi at vtex.lt
Mon Jul 18 12:41:13 CEST 2016


On 07/18/2016 12:45 AM, Karl Berry wrote:
> Hi Michal,
>
>      I've just download the changed sources and it seems that the latest commit
>      causes lot of compilation errors, resp. compilation stops with emergency exit.
>      Does it happen only on my machine?
>
> I wouldn't have committed it if it didn't work for me (obviously).
> That's not to say I'm not surprised there are problems.
\CodeLineNo  outputs
<newline>
% line <number> <jobname>
<newline>
in 4ht files. While there should not be problems when generating 4ht files,
tex apparently fails
when reading/parsing them.

Thank you, Karl, for disabling CodeLineNo in 4ht.


> However, now I'm seeing problems too, but they don't seem to be related
> to the last commit.  I did svn update -r184 to try without it, then
> make clean, then make, and there were errors with the
> xhlatex tex4ht-info-html4.tex:
> ..
> [222] [223] [224] [225] [226] [227] [228] [229]) (./infoht4.4ht)
> Runaway argument?
> ^^M^^M%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%^^M% \ETC.
> ! File ended while scanning use of \infoIVht.
> <inserted text>
>                  \par
> l.623     \expandafter\nextinfo\infofiles
>                                           ,,//%
> ..
>
> And similarly with the htlatex tex4ht-info-mml.tex.  Are those the files
> that are failing for you?

both fail for me running from command line.
However, running
 > make info4ht.4ht
 > make infomml.4ht
does produce the output.

Running from makefile, xhlatex runs in nonstopmode compiling three times.
The first compilation fails, but not others.
 >  make -Bn infoht4.4ht
xhlatex tex4ht-info-html4.tex "html,3,sections+" "" "-d./" "--interaction=nonstopmode "

I'll see if I can sort it out.

regards, -- deimi




More information about the tex4ht mailing list