mirror of https://github.com/BOINC/boinc.git
Add a dc-docs.pdf target (needs rubber)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@863 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
16a4942528
commit
446af3b952
|
@ -80,3 +80,10 @@ include $(top_srcdir)/gtk-doc.make
|
|||
# Other files to distribute
|
||||
# e.g. EXTRA_DIST += version.xml.in
|
||||
EXTRA_DIST +=
|
||||
|
||||
# LaTeX output
|
||||
$(DOC_MODULE)-docs.tex: html-build.stamp customize.xsl
|
||||
xsltproc --nonet --xinclude -o $(DOC_MODULE)-docs.tex customize.xsl $(DOC_MODULE)-docs.xml
|
||||
|
||||
$(DOC_MODULE)-docs.pdf: $(DOC_MODULE)-docs.tex
|
||||
rubber --pdf $(DOC_MODULE)-docs
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version='1.0'?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
|
||||
<xsl:import href="http://db2latex.sourceforge.net/xsl/docbook.xsl"/>
|
||||
|
||||
<!-- The language defaults to French... -->
|
||||
<xsl:param name="l10n.gentext.default.language">en</xsl:param>
|
||||
<xsl:param name="latex.babel.language">english</xsl:param>
|
||||
<xsl:param name="latex.inputenc">latin1</xsl:param>
|
||||
|
||||
<!-- Set the document class explicitely. -->
|
||||
<xsl:param name="latex.documentclass">book</xsl:param>
|
||||
<!-- xsl:param name="latex.documentclass.book"></xsl:param -->
|
||||
|
||||
<!-- Times looks nice :-) -->
|
||||
<xsl:param name="latex.document.font">times</xsl:param>
|
||||
|
||||
<!-- Turn on some extra packages -->
|
||||
<xsl:param name="latex.use.fancyvrb">1</xsl:param>
|
||||
<xsl:param name="latex.use.longtable">1</xsl:param>
|
||||
|
||||
<!-- Do not use graphics for admonitions -->
|
||||
<xsl:param name="admon.graphics.path"></xsl:param>
|
||||
|
||||
<!-- Put titles after the object -->
|
||||
<xsl:param name="formal.title.placement">
|
||||
figure after
|
||||
example after
|
||||
equation after
|
||||
table after
|
||||
procedure after
|
||||
</xsl:param>
|
||||
|
||||
</xsl:stylesheet>
|
Loading…
Reference in New Issue