svn commit: r48088 - head/share/xml
Warren Block
wblock at FreeBSD.org
Sun Jan 24 23:20:17 UTC 2016
Author: wblock
Date: Sun Jan 24 23:20:15 2016
New Revision: 48088
URL: https://svnweb.freebsd.org/changeset/doc/48088
Log:
Add some settings for the newest version of dblatex. The doc build can
once again use dblatex, but the formatting still needs work. To use,
switch to the document directory and
make FORMATS=pdf RENDERENGINE=dblatex
Modified:
head/share/xml/freebsd-dblatex.xsl
Modified: head/share/xml/freebsd-dblatex.xsl
==============================================================================
--- head/share/xml/freebsd-dblatex.xsl Sun Jan 24 14:11:34 2016 (r48087)
+++ head/share/xml/freebsd-dblatex.xsl Sun Jan 24 23:20:15 2016 (r48088)
@@ -7,7 +7,15 @@
<!-- $FreeBSD$ -->
<!-- The localization layer is the same preference level of this file -->
- <xsl:include href="http://www.FreeBSD.org/XML/lang/share/xml/freebsd-dblatex.xsl"/>
+ <xsl:param name="page.margin.bottom">2cm</xsl:param>
+ <xsl:param name="page.margin.inner">3cm</xsl:param>
+ <xsl:param name="page.margin.outer">2.5cm</xsl:param>
+ <xsl:param name="page.margin.top">2.13cm</xsl:param>
+ <xsl:param name="monospace.font.family">Courier-New</xsl:param>
+ <xsl:param name="xref.hypermarkup">1</xsl:param>
+ <xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue,pdfstartview=FitH</xsl:param>
+ <xsl:param name="literal.extensions">scale.by.width</xsl:param>
+ <xsl:param name="doc.lot.show">figure,table,example</xsl:param>
<xsl:param name="latex.encoding">utf8</xsl:param>
<xsl:param name="latex.hyperparam">linktocpage,colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue</xsl:param>
@@ -26,7 +34,7 @@
</xsl:otherwise>
</xsl:choose>
</xsl:template>
-
+
<xsl:template match="text()" mode="tex.escape">
<xsl:variable name="t1" select="str:replace(., '\', '\\')"/>
<xsl:variable name="t2" select="str:replace($t1, '^', '\^')"/>
More information about the svn-doc-all
mailing list