diff options
Diffstat (limited to 'docs-xml/xslt/db2latex-xsl/xsl/latex.mapping.xml')
-rw-r--r-- | docs-xml/xslt/db2latex-xsl/xsl/latex.mapping.xml | 498 |
1 files changed, 498 insertions, 0 deletions
diff --git a/docs-xml/xslt/db2latex-xsl/xsl/latex.mapping.xml b/docs-xml/xslt/db2latex-xsl/xsl/latex.mapping.xml new file mode 100644 index 0000000000..8e1e0e1f96 --- /dev/null +++ b/docs-xml/xslt/db2latex-xsl/xsl/latex.mapping.xml @@ -0,0 +1,498 @@ +<?xml version='1.0'?> +<!DOCTYPE latexbindings SYSTEM "latex.mapping.dtd" []> + +<latexbindings> + + <!-- + ################################################################ + Keywords + %id% + %title% + ################################################################ --> + + + <!-- LaTeX mapping, role, BEGIN --> + <latexmapping role="begin"> + + <mapping key="abstract" text=""> + <line> </line> + <line>% -------------------------------------------- </line> + <line>% Abstract </line> + <line>% -------------------------------------------- </line> + <line>\begin{abstract} </line> + </mapping> + + <mapping key="abstract-title" text=""> + <line> </line> + <line>% -------------------------------------------- </line> + <line>% Abstract </line> + <line>% -------------------------------------------- </line> + <line>\makeatletter\let\save@@abstractname\abstractname\makeatother </line> + <line>\renewcommand{\abstractname}{%title%} </line> + <line>\begin{abstract} </line> + </mapping> + + <mapping key="admonition" text=""> + <line> </line> + <line>\begin{admonition}%title%% NOTICE: see the db2latex FAQ w.r.t db2latex variable $latex.admonition.path </line> + </mapping> + + <mapping key="appendices-chapter" text=""> + <line>% ------------------------------------------------------------- </line> + <line>% Appendices start here </line> + <line>% ------------------------------------------------------------- </line> + <line>\appendix </line> + </mapping> + + <mapping key="appendices-section" text=""/> + + <mapping key="appendix" text=""> + <line> </line> + <line>% ------------------------------------------------------------- </line> + <line>% appendix: %title% </line> + <line>% ------------------------------------------------------------- </line> + <line>\dbappendix{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="article" text=""> + <line>\begin{document} </line> + </mapping> + + <mapping key="bibliography-chapter" text=""> + <line>% ------------------------------------------- </line> + <line>% </line> + <line>% Bibliography - chapter </line> + <line>% </line> + <line>% ------------------------------------------- </line> + </mapping> + + <mapping key="bibliography-section" text=""/> + + <mapping key="blockquote" text=""> + <line>\begin{quote} </line> + </mapping> + + <mapping key="chapter" text=""> + <line> </line> + <line>% ------------------------------------------------------------- </line> + <line>% Chapter %title% </line> + <line>% ------------------------------------------------------------- </line> + <line>\chapter{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="colophon" text=""> + <line>% ------------------------------------------------------------- </line> + <line>% Colophon </line> + <line>% ------------------------------------------------------------- </line> + <line>\chapter*{%title%}% </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="dedication" text=""> + <line>% ------------------------------------------------------------- </line> + <line>% Dedication </line> + <line>% ------------------------------------------------------------- </line> + <line>\chapter*{%title%}% </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="epigraph" text=""> + <line>\begin{quote} </line> + </mapping> + + <mapping key="figure" text=""> + <line> </line> + <line>% figure ------------------------------------------------------ </line> + <line>\begin{figure}[%title%] </line> + <line>\begin{center}% </line> + <line>\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="index" text=""> + <line>\indexspace </line> + </mapping> + + <mapping key="informalfigure" text=""> + <line> </line> + <line>% informalfigure ------------------------------------------------------ </line> + <line>\begin{center}% </line> + <line>\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="keywordset" text=""> + <line> </line> + <line>% keywords ------------------------------------------------------ </line> + <line><![CDATA[ +\vspace{-.3em}{ +\if@twocolumn\small\textit{%title%}\bfseries---$\!$% +\else\begin{center}\small\bfseries{%title%}\end{center}\begin{quote}\small% +\fi +]]></line> + </mapping> + + <mapping key="table" text=""> + <line> </line> + <line>% table ------------------------------------------------------ </line> + <line>\begin{table}[%title%] </line> + <line>\begin{center}% </line> + <line>\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="informaltable" text=""> + <line> </line> + <line>% tabular ------------------------------------------------------ </line> + <line>\begin{center} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="equation" text=""> + <line> \begin{dbequation} </line> + <line>\begin{center} </line> + <line>\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="glossary" text=""> + <line>% ------------------------------------------------------------- </line> + <line>% </line> + <line>% GLOSSARY %title% </line> + <line>% </line> + <line>% ------------------------------------------------------------- </line> + <line>\dbglossary{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="glossdiv" text=""> + <line>% </line> + <line>% ------------------------------------------------------------- </line> + <line>\dbglossdiv{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + <line>\noindent% </line> + <line>\begin{description}% </line> + </mapping> + + <mapping key="glosslist" text=""> + <line>% </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + <line>\noindent% </line> + <line>\begin{description}% </line> + </mapping> + + <mapping key="part" text=""> + <line>% ------------------------------------------------------------- </line> + <line>% </line> + <line>% PART %title% </line> + <line>% </line> + <line>% ------------------------------------------------------------- </line> + <line>\part{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="partintro" text=""> + <line> </line> + <line>% ------------------------------------------------------------- </line> + <line>% PartIntro %title% </line> + <line>% ------------------------------------------------------------- </line> + <line>\chapter*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="preface" text=""> + <line>% ------------------------------------------------------------- </line> + <line>% Preface </line> + <line>% ------------------------------------------------------------- </line> + <line>\chapter*{%title%}% </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="refentry" text=""> + <line>% </line> + <line>% ------------------------------------------------------------- </line> + <line>% Refentry </line> + <line>% ------------------------------------------------------------- </line> + <line>\section*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="refsect1" text=" \subsection*{%title%} \label{%id%} "/> + <mapping key="refsect2" text=" \subsubsection*{%title%} \label{%id%} "/> + <mapping key="refsect3" text=" \paragraph*{%title%} \label{%id%} "/> + + <mapping key="reference" text=""> + <line>% </line> + <line>% ------------------------------------------------------------- </line> + <line>% Reference </line> + <line>% ------------------------------------------------------------- </line> + <line>\chapter{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="revhistory" text=""> + <line> </line> + <line>% ------------------------ </line> + <line>% RevHistory </line> + <line>% ------------------------ </line> + <line>\pagebreak </line> + <line>\section*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + <line>\begin{center} </line> + <line>\begin{tt} </line> + <line>\begin{tabular}{|l||l|l|} \hline </line> + </mapping> + + <mapping key="example" text=" \begin{example}% \hypertarget{%id%}{}% "/> + + <mapping key="programlisting" text=" \begin{program}% "/> + + <mapping key="sect1" text=""> + <line> </line> + <line>% ------------------------ </line> + <line>% Section </line> + <line>\section{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect1*" text=""> + <line> </line> + <line>% ------------------------ </line> + <line>% Section </line> + <line>\section*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect2" text=""> + <line>\subsection{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect2*" text=""> + <line>\subsection*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect3" text=""> + <line>\subsubsection{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect3*" text=""> + <line>\subsubsection*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect4" text=""> + <line>\subparagraph*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect4*" text=""> + <line>\subparagraph*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect5" text=""> + <line>\subparagraph*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect5*" text=""> + <line>\subparagraph*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect6" text=""> + <line>\subparagraph*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="sect6*" text=""> + <line>\subparagraph*{%title%} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="set" text=""> + <line>% ------------------------------------------------------------- </line> + <line>% </line> + <line>% SET %title% </line> + <line>% </line> + <line>% ------------------------------------------------------------- </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + <mapping key="setindex" text=""> + <line>\indexspace </line> + </mapping> + + <mapping key="formalpara" text=""> + <line>\subsubsection*{\small{%title%}} </line> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + </mapping> + + </latexmapping> + + + + <!-- LaTeX mapping, role, END --> + + <latexmapping role="end"> + + <mapping key="abstract" text=""> + <line>\end{abstract} </line> + <line> </line> + </mapping> + + <mapping key="abstract-title" text=""> + <line>\end{abstract} </line> + <line>\makeatletter\let\abstractname\save@@abstractname\makeatother </line> + <line> </line> + </mapping> + + <mapping key="admonition" text=""> + <line>\end{admonition} </line> + <line> </line> + </mapping> + + <mapping key="appendices-chapter" text=""/> + + <mapping key="appendices-section" text=""/> + + <mapping key="appendix" text=""/> + + <mapping key="article" text=""> + <line>\end{document} </line> + </mapping> + + <mapping key="bibliography-chapter" text=""> + <line>\addcontentsline{toc}{chapter}{%title%} </line> + </mapping> + + <mapping key="bibliography-section" text=""/> + + <mapping key="blockquote" text=""> + <line>\end{quote} </line> + </mapping> + + <mapping key="book" text=""> + <line> </line> + <line>\end{document} </line> + <line> </line> + </mapping> + + <mapping key="chapter" text=""/> + + <mapping key="colophon" text=""/> + + <mapping key="dedication" text=""/> + + <mapping key="epigraph" text=""> + <line>\end{quote} </line> + </mapping> + + <mapping key="example" text=""> + <line>\end{example} </line> + <line> </line> + </mapping> + + <mapping key="figure" text=""> + <line>\end{center} </line> + <line>\end{figure} </line> + <line> </line> + </mapping> + + <mapping key="index" text=""> + <line>\addcontentsline{toc}{chapter}{%title%} </line> + </mapping> + + <mapping key="informalfigure" text=""> + <line>\label{%id%} </line> + <line>\end{center} </line> + <line> </line> + </mapping> + + <mapping key="equation" text=""> + <line>\end{center} </line> + <line>\end{dbequation} </line> + <line> </line> + </mapping> + + <mapping key="glossary" text=""> + <line>\addcontentsline{toc}{chapter}{%title%} </line> + </mapping> + + <mapping key="glossdiv" text=""> + <line>\end{description}% </line> + </mapping> + + <mapping key="glosslist" text=""> + <line>\end{description}% </line> + </mapping> + + <mapping key="informaltable" text=""> + <line>\end{center} </line> + <line> </line> + </mapping> + + <mapping key="keywordset" text=""> + <line><![CDATA[ +\vspace{0.6em}\par +\if@twocolumn\else\end{quote}\fi +%\normalsize\rmfamily +} +]]></line> + </mapping> + + <mapping key="part" text=""/> + <mapping key="partintro" text=""/> + <mapping key="reference" text=""/> + <mapping key="refentry" text=""/> + <mapping key="refsect1" text=""/> + <mapping key="refsect2" text=""/> + <mapping key="refsect3" text=""/> + + <mapping key="sect1" text=""/> + <mapping key="sect1*" text=""/> + <mapping key="sect2" text=""/> + <mapping key="sect2*" text=""/> + <mapping key="sect3" text=""/> + <mapping key="sect3*" text=""/> + <mapping key="sect4" text=""/> + <mapping key="sect4*" text=""/> + <mapping key="sect5" text=""/> + <mapping key="sect5*" text=""/> + <mapping key="set" text=""/> + + <mapping key="setindex" text=""> + <line>\addcontentsline{toc}{chapter}{%title%} </line> + </mapping> + + <mapping key="table" text=""> + <line>\end{center} </line> + <line>\end{table} </line> + <line> </line> + </mapping> + + <mapping key="preface" text=""/> + + <mapping key="programlisting" text=""> + <line>\label{%id%}\hypertarget{%id%}{}% </line> + <line>\end{center} </line> + <line>\end{program} </line> + <line> </line> + </mapping> + + <mapping key="revhistory" text=""> + <line>\end{tabular} </line> + <line>\end{tt} </line> + <line>\end{center} </line> + <line>% ------------------------ </line> + <line>% End RevHistory </line> + <line>% ------------------------ </line> + </mapping> + </latexmapping> + + <latexmapping role="entities"> + <mapping key="∞" text=" \infty "/> + </latexmapping> + +</latexbindings> |