[Haskell-beginners] lhs to html

Tim Pizey timp at paneris.org
Thu Nov 24 23:36:03 CET 2011


Hi,

I am a happy user of lhs2tex but I cannot get the resultant .tex file to html,
with line breaks intact.

Both tex4ht and htlatex lose line breaks.

htlatex also gives
! Missing { inserted.
<to be read again>
                   }
l.814 \end{pboxed}

pdflatex gives the correctly formatted pdf.

Any suggestions?

My do.sh:
lhs2TeX -o xhtml.tex xhtml.lhs
latex xhtml.tex
latex xhtml.tex
tex4ht  xhtml.tex
#htlatex  xhtml.tex
pdflatex xhtml.tex
ghc -fhpc -o xhtml main.lhs xhtml.lhs
xhtml

cheers
Tim
-- 
Tim Pizey
http://pizey.net/~timp



More information about the Beginners mailing list