logo       

happy documentation fails to build: msg#00074

lang.haskell.glasgow.bugs

Subject: happy documentation fails to build


Hi all,

The happy 1.15 documentation fails to build for me. The interesting
looking bits of the build log are:

[...]
checking for xmllint... /usr/bin/xmllint
checking for DocBook DTD... ok
checking for xsltproc... /usr/bin/xsltproc
checking for DocBook XSL stylesheet directory...
/usr/share/xml/docbook/stylesheet/nwalsh
checking for fop... no
checking for fop.sh... no
checking for xmltex... /usr/bin/xmltex
checking for dvips... /usr/bin/dvips
[...]
/usr/bin/make -C happy/doc ps html
make[1]: Entering directory `/home/igloo/happy/new/happy-1.15/happy/doc'
/usr/bin/xsltproc --output happy.fo \
--stringparam toc.section.depth 3 --stringparam section.autolabel 1
--stringparam section.label.includes.component.label 1 \
/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl happy.xml
Making portrait pages on USletter paper (8.5inx11in)
/usr/bin/xmltex happy.fo
This is TeX, Version 3.14159 (Web2C 7.4.5)
[...]
! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.31 ...o:block>1.</fo:block></fo:list-item-label>
<fo:list-item-body start-i...

? Output written on happy.dvi (5 pages, 97888 bytes).
Transcript written on happy.log.
make[1]: *** [happy.dvi] Error 1
make[1]: *** Deleting file `happy.dvi'
make[1]: Leaving directory `/home/igloo/happy/new/happy-1.15/happy/doc'
make: *** [build-stamp] Error 2




If I reformat it a bit then the error is in this bit of happy.fo:


<fo:list-block id="id2529507" space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em"
space-after.optimum="1em" space-after.minimum="0.8em"
space-after.maximum="1.2em" provisional-label-separation="0.2em"
provisional-distance-between-starts="2em">
<fo:list-item id="item-default-backend" space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:list-item-label end-indent="label-end()">
<fo:block>1.</fo:block>
<!-- foo --></fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:block>`standard' Haskell 98 (should work with any compiler
that compiles Haskell 98).</fo:block>
</fo:block>
</fo:list-item-body>
</fo:list-item>



and now looks like this:

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.1801 <!-- foo --></fo:list-item-label>



Thanks
Ian


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise