| 1 |
% |
| 2 |
% Basic core definitions used for DocBook |
| 3 |
% |
| 4 |
\usepackage{graphicx} |
| 5 |
\usepackage{ifthen} |
| 6 |
\usepackage{subfigure} |
| 7 |
\usepackage{enumitem} |
| 8 |
\usepackage{footmisc} |
| 9 |
\usepackage{appendix} |
| 10 |
|
| 11 |
% Workaround to avoid troubles with accents in \appendixname used as hyperref |
| 12 |
% label: force the label prefix to 'appendix' whatever the lang is |
| 13 |
\let\orgresetsapp=\@resets@pp |
| 14 |
\let\orgrestoreapp=\restoreapp |
| 15 |
\let\restoreapp\relax |
| 16 |
\def\@resets@pp{% |
| 17 |
\orgresetsapp |
| 18 |
\if@pphyper |
| 19 |
\def\Hy@chapapp{appendix}% |
| 20 |
\fi |
| 21 |
\orgrestoreapp |
| 22 |
} |
| 23 |
|
| 24 |
% |
| 25 |
% These <bookinfo|articleinfo> parameters must be defined |
| 26 |
% |
| 27 |
\newcommand{\DBKreference}{} % mapped to <pubsnumber> |
| 28 |
\newcommand{\DBKsite}{} % mapped to <bookinfo/address> |
| 29 |
\newcommand{\DBKdate}{\today} % mapped to <bookinfo/date> |
| 30 |
\newcommand{\DBKreleaseinfo}{Working Paper} % mapped to <releaseinfo> |
| 31 |
\newcommand{\DBKedition}{} % mapped to <edition> |
| 32 |
\newcommand{\DBKsubtitle}{} % mapped to <subtitle> |
| 33 |
\newcommand{\DBKpubdate}{} % mapped to <pubdate> |
| 34 |
\newcommand{\DBKcopyright}{} % mapped to <copyright> |
| 35 |
\newcommand{\DBKlegalblock}{} % mapped to <legalnotice> stuff |
| 36 |
\newcommand{\DBKlegaltitle}{} % idem |
| 37 |
|
| 38 |
% Main latex <othercredit> command. It will be redefined by the XSL stylesheets. |
| 39 |
\newcommand{\DBKindexation}{} |
| 40 |
|
| 41 |
% Watermark command |
| 42 |
\def\showwatermark#1{} |
| 43 |
|
| 44 |
% Front/main/back matter macros |
| 45 |
\@ifundefined{frontmatter}{ \let\frontmatter\relax }{} |
| 46 |
\@ifundefined{mainmatter}{ \let\mainmatter\relax }{} |
| 47 |
\@ifundefined{backmatter}{ \let\backmatter\relax }{} |
| 48 |
|
| 49 |
|
| 50 |
% |
| 51 |
% Main latex <revhistory> command. It will be redefined by the XSL stylesheets. |
| 52 |
% |
| 53 |
\newcommand{\DBKrevhistory}{} |
| 54 |
|
| 55 |
\usepackage{dbk_fonts} |
| 56 |
\usepackage{dbk_hyper} |
| 57 |
\usepackage{dbk_biblio} |
| 58 |
\usepackage{dbk_table} |
| 59 |
\usepackage{dbk_graphic} |
| 60 |
\usepackage{dbk_cover} |
| 61 |
\usepackage{dbk_verbatim} |
| 62 |
\usepackage{dbk_misc} |
| 63 |
\usepackage{dbk_callout} |
| 64 |
\usepackage{dbk_locale} |
| 65 |
\usepackage{dbk_annot} |
| 66 |
% Beware with changebar and AtEndDocument! |
| 67 |
\usepackage{dbk_changebar} |