Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: Put URLs in footnotes


  • To: gnu-internal@xxxxxxxxxxxxxxxx, vsipl++@xxxxxxxxxxxxxxxx
  • Subject: PATCH: Put URLs in footnotes
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Sat, 18 Mar 2006 01:11:02 -0800

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@xxxxxxxxxxxxxxxx
(650) 331-3385 x713

2006-03-18  Mark Mitchell  <mark@xxxxxxxxxxxxxxxx>

	* 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>