|
From: <sv...@va...> - 2005-11-17 18:05:06
|
Author: sewardj Date: 2005-11-17 18:04:58 +0000 (Thu, 17 Nov 2005) New Revision: 5171 Log: Fixes to make the .pdf build using the toolchain on SuSE10 (from Donna). Modified: trunk/docs/README trunk/docs/lib/vg-fo.xsl Modified: trunk/docs/README =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/README 2005-11-17 15:12:34 UTC (rev 5170) +++ trunk/docs/README 2005-11-17 18:04:58 UTC (rev 5171) @@ -1,32 +1,9 @@ =20 -New notes, JRS 20050727 -~~~~~~~~~~~~~~~~~~~~~~~ -* I had to install zillions of packages on SuSE 9.2 in order to - build the print docs (make print-docs), including - - passivetex - xpdf (for pdftops) - - It's possible to use pdf2ps instead, but that seems to generate - huge and almost-unreadable .ps. pdftops does a much nicer job. - - -* Even then, pdfxmltex eventually dies with "TeX capacity exceeded, - sorry [pool size =3D 67555]" or some such. To fix this, I edited - /etc/texmf/texmf.cnf and changed - - pool_size.pdfxmltex =3D 500000 - - to 1500000 and that fixed it. - - -Old notes -~~~~~~~~~ Valgrind Documentation ---------------------- This text assumes the following directory structure: =20 -Distribution text files (eg. README): +Distribution text files (eg. AUTHORS, NEWS, ...): valgrind/ =20 Main /docs/ dir: @@ -115,7 +92,6 @@ - pdftops: version 3.00 - DocBook: version 4.2 - bzip2 -- lynx =20 A big problem is latency. Norman Walsh is constantly updating DocBook, but the tools tend to lag behind somewhat. It is @@ -133,26 +109,45 @@ and modify your texmf files accordingly. =20 =20 -Catalog Locations ------------------- -oasis: -http://www.oasis-open.org/docbook/xml/4.2/catalog.xml -http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd +Catalog/Stylesheet Location +--------------------------- +Suse 10: +/usr/share/xml/docbook/ =20 -Suse 9.1:=20 -/usr/share/xml/docbook/ stylesheet/nwalsh/1.64.1/html/docbook.xsl -/usr/share/xml/docbook/ schema/dtd/4.2/docbookx.dtd -/usr/share/xml/docbook/ schema/dtd/4.2/catalog.xml =20 =20 -Notes: ------- +Notes [Nov. 2004]: +----------------- - the end of file.xml must have only ONE newline after the last tag: </book> - - pdfxmltex barfs if given a filename with an underscore in it =20 =20 +Notes [July 2005] +----------------- +jrs had to install zillions of packages on SuSE 9.2 in order to +build the print docs (make print-docs), including + passivetex + xpdf (for pdftops, which does the nicest job) + +Even then, pdfxmltex eventually dies with "TeX capacity exceeded, +sorry [pool size =3D 67555]" or some such. To fix this, he edited +/etc/texmf/texmf.cnf and changed + pool_size.pdfxmltex =3D 500000 + + to 1500000 and that fixed it. + + +Notes [Nov. 2005] +----------------- +After upgrading to Suse 10, found a (known) bug in PassiveTex which=20 +broke the build, so added a bug-fix to 'docs/lib/vg-fo.xsl'. +Bug-fix related links: +http://lists.oasis-open.org/archives/docbook/200509/msg00032.html +http://www.dpawson.co.uk/docbook/tools.html#d850e300 +http://www.haskell.org/pipermail/glasgow-haskell-bugs/2005-January.txt + + References: ---------- - samba have got all the stuff Modified: trunk/docs/lib/vg-fo.xsl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/lib/vg-fo.xsl 2005-11-17 15:12:34 UTC (rev 5170) +++ trunk/docs/lib/vg-fo.xsl 2005-11-17 18:04:58 UTC (rev 5171) @@ -34,6 +34,25 @@ <xsl:attribute name=3D"color">blue</xsl:attribute> </xsl:attribute-set> =20 +<!-- Bug-fix for Suse 10 PassiveTex version --> +<!-- Precompute attribute values; PassiveTex is too stupid: --> +<xsl:attribute-set name=3D"component.title.properties"> + <xsl:attribute + name=3D"keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name=3D"space-before.optimum"> + <xsl:value-of select=3D"concat($body.font.master, 'pt')"/> + </xsl:attribute> + <xsl:attribute name=3D"space-before.minimum"> + <xsl:value-of select=3D"$body.font.master * 0.8"/> + <xsl:text>pt</xsl:text> + </xsl:attribute> + <xsl:attribute name=3D"space-before.maximum"> + <xsl:value-of select=3D"$body.font.master * 1.2"/> + <xsl:text>pt</xsl:text> + </xsl:attribute> + <xsl:attribute name=3D"hyphenate">false</xsl:attribute> +</xsl:attribute-set> + <!-- make pre listings indented a bit + a bg colour --> <xsl:template match=3D"programlisting | screen"> <fo:block start-indent=3D"0.25in" wrap-option=3D"no-wrap"=20 |