diff --git a/dcapi/doc/Makefile.am b/dcapi/doc/Makefile.am index 3140a14b2c..b0169e0ba8 100644 --- a/dcapi/doc/Makefile.am +++ b/dcapi/doc/Makefile.am @@ -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 diff --git a/dcapi/doc/customize.xsl b/dcapi/doc/customize.xsl new file mode 100644 index 0000000000..57c3dfd9c9 --- /dev/null +++ b/dcapi/doc/customize.xsl @@ -0,0 +1,33 @@ + + + + + + en + english + latin1 + + + book + + + + times + + + 1 + 1 + + + + + + + figure after + example after + equation after + table after + procedure after + + +