From f215e02bf85f68d3a6106c2a1f4f7f063f819064 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:17:27 +0200 Subject: Adding upstream version 7.0.14-dfsg. Signed-off-by: Daniel Baumann --- doc/manual/docbook2latex.xsl | 1305 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1305 insertions(+) create mode 100644 doc/manual/docbook2latex.xsl (limited to 'doc/manual/docbook2latex.xsl') diff --git a/doc/manual/docbook2latex.xsl b/doc/manual/docbook2latex.xsl new file mode 100644 index 00000000..101f6a80 --- /dev/null +++ b/doc/manual/docbook2latex.xsl @@ -0,0 +1,1305 @@ + + + + + + + + + + + + + Kapitel + chapitre + chapter + + + + + + + + + auf Seite + page + page + + + + + + + + + Hinweis + Note + Note + + + + + + + + + Warnung + Avertissement + Warning + + + + + + + + \ldots{} + |~ + + + + + + + + +\documentclass[oneside,a4paper,10pt,DIV10]{scrbook} +\usepackage{geometry} +\geometry{top=3cm,bottom=4cm} +\usepackage[T1]{fontenc} +\usepackage{tabulary} +\usepackage[pdftex, + a4paper, + colorlinks=true, + linkcolor=blue, + urlcolor=darkgreen, + bookmarksnumbered, + bookmarksopen=true, + bookmarksopenlevel=0, + hyperfootnotes=false, + plainpages=false, + pdfpagelabels + ]{hyperref} + +\usepackage{nameref} +\usepackage{graphicx} +\usepackage{hyperref} +\usepackage{fancybox} +\usepackage{alltt} +\usepackage{color} +\usepackage{scrextend} +\definecolor{darkgreen}{rgb}{0,0.6,0} +\tymin=21pt + + + \usepackage[ngerman]{babel} \PrerenderUnicode{ü} + + + +% use Palatino as serif font: +% \usepackage{mathpazo} +\usepackage{charter} +% use Helvetica as sans-serif font: +\usepackage{helvet} + +% use Bera Mono (a variant of Bitstream Vera Mono) as typewriter font +% (requires texlive-fontsextra) +\usepackage[scaled]{beramono} +% previously: use Courier as typewriter font: +% \usepackage{courier} + +\definecolor{colNote}{rgb}{0,0,0} +\definecolor{colWarning}{rgb}{0,0,0} +\definecolor{colScreenFrame}{rgb}{0,0,0} +\definecolor{colScreenText}{rgb}{0,0,0} + +% number headings down to this level +\setcounter{secnumdepth}{3} +% more space for the section numbers +\makeatletter +\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.9em}} +\renewcommand*\l@subsection{\@dottedtocline{2}{4.4em}{3.8em}} +\renewcommand*\l@subsubsection{\@dottedtocline{3}{8.2em}{3.8em}} +\renewcommand*\@pnumwidth{1.7em} +\renewcommand*\@tocrmarg{5.0em} +\makeatother + +% more tolerance at 2nd wrap stage: +\tolerance = 1000 +% allow 3rd wrap stage: +\emergencystretch = 10pt +% no Schusterjungen: +\clubpenalty = 10000 +% no Hurenkinder: +\widowpenalty = 10000 +\displaywidowpenalty = 10000 +% max pdf compression: +\pdfcompresslevel9 + +% opening and closing quotes: the OQ and CQ macros define this (and the makefile employs some sed magic also) + + + + \newcommand\OQ{\texorpdfstring{\glqq}{"}} \newcommand\CQ{\texorpdfstring{\grqq}{"}} + + + \newcommand\OQ{\texorpdfstring{``}{"}} \newcommand\CQ{\texorpdfstring{''}{"}} + + + \newcommand\OQ{\texorpdfstring{``}{"}} \newcommand\CQ{\texorpdfstring{''}{"}} + + + + + + + + + +\end{sloppypar} +\end{document} + + + + + + + \newcommand\docbookbookinfocopyright{Copyright \copyright{} \docbookbookinfocopyrightyear{} \docbookbookinfocopyrightholder{}} +\author{ \docbooktitleedition \\ % +\\ % + + + \docbookbookinfoaddress \\ % +\\ % + + + \docbookbookinfocopyright \\ % +} + +\title{\docbooktitle \\ +\docbooksubtitle} +% \subtitle{\docbooksubtitle} +\hypersetup{pdfauthor=\docbookcorpauthor} +\hypersetup{pdftitle=\docbooktitle{} \docbooksubtitle{}} + +\hyphenation{da-ta-ba-ses} +\hyphenation{deb-conf} +\hyphenation{VirtualBox} + +\begin{document} +\frontmatter +% bird/2018-05-14: Use sloppypar so we don't push path names and other long words +% thru the right margin. TODO: Find better solution? microtype? +\begin{sloppypar} +% \maketitle +%\begin{titlepage} +\thispagestyle{empty} +\begin{minipage}{\textwidth} +\begin{center} +\includegraphics[width=4cm]{images/vboxlogo.png} +\end{center}% +\vspace{10mm} + +{\fontsize{40pt}{40pt}\selectfont\rmfamily\bfseries% +\begin{center} +\docbooktitle +\end{center}% +\vspace{10mm} +} + +{\fontsize{30pt}{30pt}\selectfont\rmfamily\bfseries% +\begin{center} +\docbooksubtitle +\end{center}% +\vspace{10mm} +} + +{\fontsize{16pt}{20pt}\selectfont\rmfamily% +\begin{center} + + + \docbookbookinfoothercreditcontrib{}: \docbookbookinfoothercreditfirstname{} \docbookbookinfoothercreditsurname + +\vspace{8mm} + + + \docbooktitleedition + +\vspace{2mm} + +\docbookbookinfocopyright + +\vspace{2mm} + +\docbookbookinfoaddress +\end{center}% +} + +%\end{titlepage} +\end{minipage} + +\tableofcontents + + + + + + + \newcommand\docbooksubtitle{ + + } + + + + + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + 0 + 0 + 0 + 0 + + get-section-level was called on non-section element: + + + + + + + + + + + + + + \mainmatter + + + + + + + [ + + ] + + { + \raisebox{\ht\strutbox}{\hypertarget{ + + }{}} + + } + + + { + + } + + + + + + + + + \newcommand\docbooktitle{ + + } + + + + + + + \chapter + + + + + \section + + + + + \subsection* + + + + + \subsection + + + + + \subsubsection* + + + + + \subsubsection + + + + + \paragraph* + + + + + \paragraph + + + + + \subparagraph* + + + + + \subparagraph + + + + + \chapter + + + + + \section* + + + + + + Role not allowed with simplesect: + + + + + + + + + \section* + + + \subsection* + + + \subsubsection* + + + \paragraph* + + + \subparagraph* + + + Unsupported simplesect/title depth: + + + + + + + + + + + + + + + \newcommand\docbooktitleedition{ + + } + + + + + + + + \newcommand\docbookcorpauthor{ + + } + + + + + + + + \newcommand\docbookbookinfoaddress{ + + } + + + + + + + + \newcommand\docbookbookinfocopyrightyear{ + + } + + + + + + + + \newcommand\docbookbookinfocopyrightholder{ + + } + + + + + + + + \newcommand\docbookbookinfoothercreditfirstname{ + + } + + + + + + + + \newcommand\docbookbookinfoothercreditsurname{ + + } + + + + + + + + \newcommand\docbookbookinfoothercreditcontrib{ + + } + + + + + + \backmatter \chapter{Glossary} + + + + + + + + + + + + + + \end{minipage}}\end{center} \vspace{.2cm} + + + + + + \end{minipage}}\end{center} \vspace{.2cm} + + + + {\footnotesize\begin{alltt} + + \end{alltt}} + + + + {\small\begin{alltt} + + \end{alltt}} + + + + \footnote{ + + } + + + + + + {\small\begin{center} \begin{tabulary}{1.1\textwidth}[] + + + {\small\begin{center} \begin{tabulary}{.9\textwidth}[] + + + { + + + |L| + + + |L|L| + + + |L|L|L| + + + |L|L|L|L| + + + |L|L|L|L|L| + + + |L|L|L|L|L|L| + + + Unsupported number of columns (), fix document or converter + + + } \hline + + \end{tabulary} \end{center}} + + + + + \\ \hline + + + + + & + + + + + + + \begin{itemize} + + \setlength{\parskip}{0pt} + \setlength{\itemsep}{0pt} + \setlength{\topsep}{0pt} + \setlength{\parsep}{0pt} + \setlength{\partopsep}{0pt} + + + \end{itemize} + + + + + \begin{enumerate} + + \setlength{\parskip}{0pt} + \setlength{\itemsep}{0pt} + \setlength{\topsep}{0pt} + \setlength{\parsep}{0pt} + \setlength{\partopsep}{0pt} + + + \end{enumerate} + + + + + \begin{description} + + \setlength{\parskip}{0pt} + \setlength{\itemsep}{0pt} + \setlength{\topsep}{0pt} + \setlength{\parsep}{0pt} + \setlength{\partopsep}{0pt} + + + \end{description} + + + + + Expected at least one term and one listitem element in the varlistentry. + + \item[{\parbox[t]{\linewidth}{\raggedright + + + \\ + + + }}]\hfill\\ + + + + + \item + + + + + + + + + + \item[ + + ] + + + + \begin{description} + + \end{description} + + + + + + + + + + + + + \textbf{ + + + \textit{ + + + + } + + + + \texttt{ + + } + + + + \texttt{ + + } + + + + \textit{ + + } + + + + \textit{ + + } + + + + \url{ + + } + + + + \href{ + + }{ + + } + + + + \url{ + + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \textsuperscript{\textregistered} + + + + + + \begin{center} + + + + + \end{center} + + + + + + Expected refsynopsisdiv to start with cmdsynopsis + No title element supported in refsynopsisdiv + + \subsection*{Synopsis} + + + + + + + Expected exactly one title as the first refsect1 element (remarks goes after title!). + + + + + + + + Expected exactly one title as the first refsect2 element (remarks goes after title!). + + + + + + + + + + sbr only supported inside cmdsynopsis (because of hangindent) + + \newline + + + + is not supported + + + + + %cmdsynopsis + + + \begin{flushleft} + + + {\footnotesize + + \noindent\hspace{1em} + \hangindent3em\hangafter1\texttt{ + + } + + + + + + \linebreak + + + + \par} + + \end{flushleft} + + + + + + + + }\par%command + \noindent\hspace{1em} + \hangindent3em\hangafter1\texttt{ + + + + + \texttt{ + + } + + + + + + + + + + + \texttt{ + + } + + + + + + + + + + \textrm{} + + + + + + + + \textrm{} + \textrm{} + \textrm{} + + Invalid arg choice: "" + + + + + + + + + + + + + \textrm{} + + Invalid rep choice: "" + + + + + \textrm{} + \textrm{} + \textrm{} + + + + + + + + + + + + \texttt{\textit{ + + }} + + + \textit{< + + >} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3