PATCH: Put URLs in footnotes
Mark Mitchell
mark at codesourcery.com
Sat Mar 18 09:11:02 UTC 2006
When generating PDFs, putting URLs inline in the text causes ugly
linebreaks and bad character spacing. This patch moves the URLs to
footnotes, which looks much better.
Applied.
--
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713
2006-03-18 Mark Mitchell <mark at codesourcery.com>
* xsl/fo/csl.xsl (ulink.footnotes): Set to 1.
Index: docs/csl-docbook/xsl/fo/csl.xsl
===================================================================
RCS file: /home/cvs/Repository/csl-docbook/xsl/fo/csl.xsl,v
retrieving revision 1.4
diff -c -5 -p -r1.4 csl.xsl
*** docs/csl-docbook/xsl/fo/csl.xsl 19 Dec 2005 05:17:18 -0000 1.4
--- docs/csl-docbook/xsl/fo/csl.xsl 18 Mar 2006 09:02:08 -0000
***************
*** 118,127 ****
--- 118,131 ----
-->
<xsl:param name="section.autolabel">1</xsl:param>
<xsl:param name="shade.verbatim">1</xsl:param>
+ <!-- Show URLs as footnotes since inserting them inline makes it hard to
+ break lines. -->
+ <xsl:param name="ulink.footnotes">1</xsl:param>
+
<!-- Format these items like code. -->
<xsl:template match="guibutton|guimenu|guisubmenu|guimenuitem">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
More information about the vsipl++
mailing list