diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-06-20 12:43:16 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:56 -0500 |
commit | 83a17815a7689f1f6f7ca57161a0e804277c75f9 (patch) | |
tree | e1cec10510da7038e843f71c9ba95a0e6bc5f494 /docs/xslt | |
parent | 9eb45e211cbc28bbd28837a17dcec3df29d6f455 (diff) | |
download | samba-83a17815a7689f1f6f7ca57161a0e804277c75f9.tar.gz samba-83a17815a7689f1f6f7ca57161a0e804277c75f9.tar.bz2 samba-83a17815a7689f1f6f7ca57161a0e804277c75f9.zip |
New structure for the docs:
- Same name for a doc everywhere (howto -> Samba-HOWTO-Collection, etc)
- Shorter and more clearly structured Makefile
- Make it possible to change the paths for the images
(This used to be commit 96f6c05f25acc8a9bb1977b8bd5cc97ce511b6b1)
Diffstat (limited to 'docs/xslt')
-rw-r--r-- | docs/xslt/expand-sambadoc.xsl | 2 | ||||
-rw-r--r-- | docs/xslt/generate-attributions.xsl | 9 | ||||
-rw-r--r-- | docs/xslt/latex.xsl | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl index dfdc240180..8d132a9935 100644 --- a/docs/xslt/expand-sambadoc.xsl +++ b/docs/xslt/expand-sambadoc.xsl @@ -239,7 +239,7 @@ <xsl:attribute name="role"><xsl:text>latex</xsl:text></xsl:attribute> <xsl:element name="imagedata"> <xsl:attribute name="fileref"> - <xsl:text>howto/imagefiles/</xsl:text><xsl:value-of select="imagefile"/></xsl:attribute> + <xsl:value-of select="$imagedir"/><xsl:value-of select="imagefile"/></xsl:attribute> <xsl:attribute name="scale"> <xsl:choose> <xsl:when test="@scale != ''"> diff --git a/docs/xslt/generate-attributions.xsl b/docs/xslt/generate-attributions.xsl index dd9af2a2f3..fa34f3bbe2 100644 --- a/docs/xslt/generate-attributions.xsl +++ b/docs/xslt/generate-attributions.xsl @@ -13,6 +13,15 @@ <xsl:apply-templates select="@*|node()"/> </xsl:template> +<xsl:template match="/"> + <xsl:element name="preface"> + <xsl:element name="title"><xsl:text>Attribution</xsl:text></xsl:element> + <xsl:element name="para"> + <xsl:apply-templates/> + </xsl:element> + </xsl:element> +</xsl:template> + <xsl:template match="chapter"> <xsl:choose> <xsl:when test="chapterinfo/author != ''"> diff --git a/docs/xslt/latex.xsl b/docs/xslt/latex.xsl index 8cc6b0d546..f969f86ae2 100644 --- a/docs/xslt/latex.xsl +++ b/docs/xslt/latex.xsl @@ -12,7 +12,7 @@ <xsl:variable name="latex.documentclass.book"></xsl:variable> <xsl:variable name="latex.hyperref.param.pdftex">hyperfigures,hyperindex,citecolor=black,urlcolor=black,filecolor=black,linkcolor=black,menucolor=red,pagecolor=black</xsl:variable> <xsl:variable name="latex.document.font">default</xsl:variable> -<xsl:variable name="latex.admonition.path">xslt/figures</xsl:variable> +<xsl:variable name="admon.graphics.path">xslt/figures</xsl:variable> <xsl:variable name="latex.use.tabularx">1</xsl:variable> <xsl:variable name="latex.fancyhdr.lh"></xsl:variable> <xsl:variable name="latex.use.fancyhdr"></xsl:variable> |