Преглед изворни кода

HPCC-9822 Docs:Add linebreak logic

Fix HPCC-9822 Docs:Add linebreak logic
Added linebreak logic to fo(pdf)
html generation not automated yet.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
g-pan пре 12 година
родитељ
комит
19e96bb227
2 измењених фајлова са 8 додато и 0 уклоњено
  1. 4 0
      docs/BuildTools/fo.xsl
  2. 4 0
      docs/BuildTools/fo.xsl.in

+ 4 - 0
docs/BuildTools/fo.xsl

@@ -103,6 +103,10 @@
    <fo:block break-after='page'/>
 </xsl:template>
   
+<xsl:template match="processing-instruction('linebreak')">
+  <fo:block/>
+</xsl:template>  
+  
 <xsl:template match="programlisting[@role='tab']">
   <fo:block xsl:use-attribute-sets="monospace.verbatim.properties">
    <xsl:attribute name="font-family">serif</xsl:attribute>

+ 4 - 0
docs/BuildTools/fo.xsl.in

@@ -103,6 +103,10 @@
    <fo:block break-after='page'/>
 </xsl:template>
   
+<xsl:template match="processing-instruction('linebreak')">
+  <fo:block/>
+</xsl:template>  
+  
 <xsl:template match="programlisting[@role='tab']">
   <fo:block xsl:use-attribute-sets="monospace.verbatim.properties">
    <xsl:attribute name="font-family">serif</xsl:attribute>