logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1522755 - in /logging/log4j/log4j2/trunk/src: changes/changes.xml site/pdf.xml site/resources/pdf-config.xml
Date Fri, 13 Sep 2013 01:02:48 GMT
Author: rgoers
Date: Fri Sep 13 01:02:48 2013
New Revision: 1522755

URL: http://svn.apache.org/r1522755
Log:
LOG4J2-226 - Fix missing page numbers in table of contents in PDF

Modified:
    logging/log4j/log4j2/trunk/src/changes/changes.xml
    logging/log4j/log4j2/trunk/src/site/pdf.xml
    logging/log4j/log4j2/trunk/src/site/resources/pdf-config.xml

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1522755&r1=1522754&r2=1522755&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Fri Sep 13 01:02:48 2013
@@ -40,6 +40,9 @@
         reversed (previous "true"s should become "false"s, and vice versa). Since this was
an undocumented attribute up
         until now, it's unlikely this change will affect any users.
       </action>
+      <action issue="LOG4J2-226" dev="rgoers" type="fix">
+        Fix table of contents generation in pdf.
+      </action>
       <action issue="LOG4J2-395" dev="rgoers" type="fix" due-to="Abhinav Shah">
         Allow classpath scheme when specifying configuration file location as a system property.
       </action>

Modified: logging/log4j/log4j2/trunk/src/site/pdf.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/pdf.xml?rev=1522755&r1=1522754&r2=1522755&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/pdf.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/pdf.xml Fri Sep 13 01:02:48 2013
@@ -27,21 +27,21 @@
   </meta>
 
   <toc name="Table of Contents">
-    <item name="Introduction" ref="/manual/index.html"/>
-    <item name="Architecture" ref="/manual/architecture.html"/>
-    <item name="Log4j 1.x Migration" ref="manual/migration.html"/>
-    <item name="API" ref="/manual/api.html"/>
-    <item name="Configuration" ref="/manual/configuration.html"/>
-    <item name="Web Applications and JSPs" ref="/manual/webapp.html"/>
-    <item name="Plugins" ref="/manual/plugins.html"/>
-    <item name="Lookups" ref="/manual/lookups.html"/>
-    <item name="Appenders" ref="/manual/appenders.html"/>
-    <item name="Layouts" ref="/manual/layouts.html"/>
-    <item name="Filters" ref="/manual/filters.html"/>
-    <item name="Async Loggers" ref="/manual/async.html" />
-    <item name="JMX" ref="/manual/jmx.html"/>
-    <item name="Logging Separation" ref="/manual/logsep.html"/>
-    <item name="Extending Log4j" ref="/manual/extending.html"/>
+    <item name="Introduction" ref="/manual/index.xml"/>
+    <item name="Architecture" ref="/manual/architecture.xml"/>
+    <item name="Log4j 1.x Migration" ref="manual/migration.xml"/>
+    <item name="API" ref="/manual/api.xml"/>
+    <item name="Configuration" ref="/manual/configuration.xml.vm"/>
+    <item name="Web Applications and JSPs" ref="/manual/webapp.xml"/>
+    <item name="Plugins" ref="/manual/plugins.xml"/>
+    <item name="Lookups" ref="/manual/lookups.xml"/>
+    <item name="Appenders" ref="/manual/appenders.xml"/>
+    <item name="Layouts" ref="/manual/layouts.xml.vm"/>
+    <item name="Filters" ref="/manual/filters.xml"/>
+    <item name="Async Loggers" ref="/manual/async.xml" />
+    <item name="JMX" ref="/manual/jmx.xml"/>
+    <item name="Logging Separation" ref="/manual/logsep.xml"/>
+    <item name="Extending Log4j" ref="/manual/extending.xml"/>
   </toc>
 
   <cover>

Modified: logging/log4j/log4j2/trunk/src/site/resources/pdf-config.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/resources/pdf-config.xml?rev=1522755&r1=1522754&r2=1522755&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/resources/pdf-config.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/resources/pdf-config.xml Fri Sep 13 01:02:48 2013
@@ -24,24 +24,24 @@ under the License.
     version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:fo="http://www.w3.org/1999/XSL/Format">
-  <xsl:attribute-set name="layout.master.set.base">
+  <!-- <xsl:attribute-set name="layout.master.set.base">
     <xsl:attribute name="page-width">8.5in</xsl:attribute>
     <xsl:attribute name="page-height">11.0in</xsl:attribute>
     <xsl:attribute name="margin-top">0.625in</xsl:attribute>
     <xsl:attribute name="margin-bottom">0.6in</xsl:attribute>
     <xsl:attribute name="margin-left">1in</xsl:attribute>
     <xsl:attribute name="margin-right">1in</xsl:attribute>
-  </xsl:attribute-set>
+  </xsl:attribute-set> -->
   <xsl:template match="processing-instruction('hard-pagebreak')">
     <fo:block break-after='page'/>
   </xsl:template>
   <xsl:attribute-set name="body.pre" use-attribute-sets="base.pre.style">
     <xsl:attribute name="font-size">8pt</xsl:attribute>
   </xsl:attribute-set>
-  <xsl:attribute-set name="body.source" use-attribute-sets="body.pre">
+  <!-- <xsl:attribute-set name="body.source" use-attribute-sets="body.pre">
     <xsl:attribute name="color">black</xsl:attribute>
     <xsl:attribute name="start-indent">inherited-property-value(start-indent) + 1.5em</xsl:attribute>
     <xsl:attribute name="end-indent">inherited-property-value(end-indent) + 1.5em</xsl:attribute>
-  </xsl:attribute-set>
+  </xsl:attribute-set> -->
 </xsl:stylesheet>
     <!-- END SNIPPET: foConfig -->
\ No newline at end of file



Mime
View raw message