Эх сурвалжийг харах

Updated comments about ulink.hyphenate

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/new-xsl@8039 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 18 жил өмнө
parent
commit
bd0055e947
1 өөрчлөгдсөн 9 нэмэгдсэн , 4 устгасан
  1. 9 4
      lfs-pdf.xsl

+ 9 - 4
lfs-pdf.xsl

@@ -48,10 +48,15 @@
     <!-- Hyphenate? -->
   <xsl:param name="hyphenate">false</xsl:param>
 
-    <!-- Allow URLs to be automatically hyphenated -->
-  <xsl:param name="ulink.hyphenate" select="'&#x200B;'"></xsl:param>
+    <!-- Allow URLs to be automatically hyphenated.
+         We have expanded the support to several inline tags.
+         See pdf/lfs-mixed.xsl -->
+  <xsl:param name="ulink.hyphenate" select="'&#x200B;'"/>
 
- <xsl:param name="ulink.hyphenate.chars" select="'/._-'"></xsl:param>
+    <!-- List of characters to allow ulink URLs, and supported inline tags,
+         to be automatically hyphenated on.
+         Note: the / character is in the list but FOP-0.93 ignores it. -->
+  <xsl:param name="ulink.hyphenate.chars" select="'/._-'"/>
 
     <!-- Specify the default text alignment. -->
   <xsl:param name="alignment">justify</xsl:param>
@@ -73,7 +78,7 @@
   <xsl:param name="toc.section.depth">1</xsl:param>
 
     <!-- Amount of indentation for TOC entries. -->
-  <xsl:param name="toc.indent.width" select="18"></xsl:param>
+  <xsl:param name="toc.indent.width" select="18"/>
 
     <!-- Turns page numbers in xrefs on and off. -->
   <xsl:param name="insert.xref.page.number">no</xsl:param>