Date: Sun, 24 Jan 2016 23:20:15 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48088 - head/share/xml Message-ID: <201601242320.u0ONKFem047542@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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, '^', '\^')"/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601242320.u0ONKFem047542>