From bd30b6066f1a28663b28466a67064149b6e060a4 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 30 Apr 2003 21:39:49 +0000 Subject: Docbook XML conversion: XSLT and build infrastructure (This used to be commit f4f6e0b29e744077dfb836745716a659a49d7529) --- docs/docbook/xslt/db2latex/book-article.mod.xsl | 545 ++++++++++++++++++++++++ 1 file changed, 545 insertions(+) create mode 100644 docs/docbook/xslt/db2latex/book-article.mod.xsl (limited to 'docs/docbook/xslt/db2latex/book-article.mod.xsl') diff --git a/docs/docbook/xslt/db2latex/book-article.mod.xsl b/docs/docbook/xslt/db2latex/book-article.mod.xsl new file mode 100644 index 0000000000..594e2f7f2a --- /dev/null +++ b/docs/docbook/xslt/db2latex/book-article.mod.xsl @@ -0,0 +1,545 @@ + + + + + + + + + + + + + $Id: book-article.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $ + + + Ramon Casellas + James Devenish + + + 2000 2001 2002 2003 + Ramon Casellas + + + + Books and Articles <filename>book-article.mod.xsl</filename> + +
Introduction + +
+
+
+ + + + + + + + + + + + + Book XSL Template + + Most DocBook documents are either articles or books, so the book + XSL template is one classical entry point + when processign docbook documents. + + Tasks + + + + + + Remarks and Bugs + + + + + + + + colwidth + + The CALS column width specification. + + + + + + :Outputs the LaTeX Code corresponding to a book. + + + + + + + + + + + + + + + + \title{ + + + + + + + + + + + } + + \author{ + + + + + + + + + \and + + + + + } + + + + \setcounter{tocdepth}{} + \setcounter{secnumdepth}{} + + + + + + \InputIfFileExists{ + }{\typeout{WARNING: Using cover page + + }} + + + + + + + + + + + + + + + + + + + + + + \bfseries + \\[12pt]\normalsize + \bfseries + \\[12pt]\normalsize + + + + + + + + + + + + + + + + Article XSL Template + + Most DocBook documents are either articles or books, so the article + XSL template is one classical entry point + when processign docbook documents. + + Tasks + + Calls generate.latex.article.preamble. + Outputs \title, \author, \date, getting the information from its children. + Calls latex.article.begindocument. + Calls latex.article.maketitle. + Applies templates. + Calls latex.article.end template. + + + + Remarks and Bugs + + EMPTY templates: article/title and article/subtitle + + + + + + + colwidth + + The CALS column width specification. + + + + + + Outputs the LaTeX Code corresponding to an article. + + + + + + + \makeatletter\if@openright\cleardoublepage\else\clearpage\fi + + \makeatother + + + + + + + + + + + + + + + \begin{center}{ + + { + + }}\par + + + + \textsf{ + + + + \and + + + }\par + + + \textsf{ + + }\par + + + \textsf{ + + + + \and + + + }\par + + + \textsf{ + + }\par + + + \textsf{ + + + + \and + + + }\par + + + + \end{center} + + + + + + + + + + + + + + + + + + + + + + + + + + + + \title{ + + { + + }} + + + + + + \date{ + + } + + \author{ + + + + + + + + + + + + \and + + + + + + + + \and + + + + + + + + \and + + + + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + copyright + + + + + + + + + + + + + , + + + + + + , + + + + + + + + + + + + + + + + + + legalnotice + + + + + + + + + + + \vspace{-.3em} + \if@twocolumn + \noindent\small{\itshape + + }\/\bfseries---$\!$% + \else + \noindent\begin{center}\small\bfseries + + \end{center}\quotation\small + \fi + + \vspace{0.6em}\par\if@twocolumn\else\endquotation\fi + \normalsize\rmfamily + + + + + + + + + + + + + + \tableofcontents + + + + + + + + \listoffigures + + + \listoftables + + + \listoffigures + \listoftables + + + + + \listoffigures + \listoftables + + + + + + + + + + + + + + Choose the preferred page style for document body + + + If no page style is preferred by the user, the defaults will be + "empty" for articles, "plain" for books, or "fancy" (if the + fancyhdr packages is permitted). + + Pertinent Variables + + + + + + + + + \pagestyle{ + + + + + fancy + plain + + + empty + + } + + +
+ -- cgit