summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/catcodes/makedoc.cfg
blob: ea9293175e532f17c8f59339102b412c8a47b965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
\ProvidesFile{makedoc.cfg}[2012/11/06 documentation settings] 

\author{Uwe L\"uck\thanks{\url{http://contact-ednotes.sty.de.vu}}}
% \author{Uwe L\"uck---{\tt http://contact-ednotes.sty.de.vu}}

%% hyperref:
\RequirePackage{ifpdf}
\usepackage[%
  \ifpdf
%     bookmarks=false,          %% 2010/12/22
%     bookmarksnumbered,
    bookmarksopen,              %% 2011/01/24!?
    bookmarksopenlevel=2,       %% 2011/01/23
%     pdfpagemode=UseNone,
%     pdfstartpage=10,
%     pdfstartview=FitH,
    pdfstartview=0 0 100,       %% 2011/08/22
    pdffitwindow=true,          %% 2011/08/22
    citebordercolor={ .6 1    .6},
    filebordercolor={1    .6 1},
    linkbordercolor={1    .9  .7},
     urlbordercolor={ .7 1   1},   %% playing 2011/01/24
  \else
    draft
  \fi
]{hyperref}
%% metadata, |\MDkeywords|, |\MDkeywordsstring|, |\printMDkeywords|
%% 2011/08/22:
\makeatletter
  \newcommand*{\MDkeywords}[1]{%
    \gdef\MDkeywordsstring{#1}%
    \hypersetup{pdfkeywords=\MDkeywordsstring}%% TODO!?
  }
  \@onlypreamble\MDkeywords
  \newcommand*{\MDaddtoabstract}[1]{%               %% 2012/05/10
    \par\smallskip\noindent
    \strong{#1:}\quad\ignorespaces}
  \newcommand*{\printMDkeywords}{%
    \MDaddtoabstract{Keywords}%
    \MDkeywordsstring 
    \global\let\MDkeywordsstring\relax
  }
  \newenvironment{MDabstract}
                 {\abstract\noindent
                  \hspace{1sp}%% for niceverb
                  \ignorespaces}
                 {\@ifundefined{MDkeywordsstring}%
                               {}%
                               {\printMDkeywords}%
                  \endabstract}
\makeatother
\hypersetup{% 
    pdfauthor={Uwe L\374ck}% 
}
\RequirePackage{niceverb}[2011/01/24] 
\RequirePackage{readprov}               %% 2010/12/08
\RequirePackage{hypertoc}               %% 2011/01/23
\RequirePackage{texlinks}               %% 2011/01/24
\RequirePackage{relsize}                %% 2011/06/27
\RequirePackage{color}                  %% 2011/08/06
\RequirePackage{lmodern}                %% 2012/10/29
%% Logical markup |\strong{<text>}|, |\file{<text>}|, |\acro{<text>}|,
%% |\meta{<text>}|, |\pkg{<text>}|, |\code{<text>}|, |\qtdcode{<text>}|:
\makeatletter
  \def\do#1#2{\@ifdefinable#1{\let#1#2}}%% 2012/07/13
  \do\strong\textbf \do\file\texttt \do\acro\textsmaller 
  %% <- wrong tests before 2012/07/13
  \do\meta\textit   \do \pkg\textsf \do\code\texttt
  \newcommand*{\qtdcode}[1]{`\code{#1}'}            %% 2012/10/24
  \ifpdf
    \pdfstringdefDisableCommands{%
        \let\acro\textrm 
        \let\file\textrm                            %% 2011/11/09
        \let\code\textrm                            %% 2011/11/20
        \let\pkg \textrm                            %% 2012/03/23
    }
  \fi
  %% TODO 2011/07/22 -> `htlogml.sty'
\makeatother
\newcommand*{\pkgtitle}[2]{%            %% 2012/07/13
    \global\let\pkgtitle\relax
    \pkg{\huge #1}\\---\\#2\thanks{This 
       document describes version 
       \textcolor{blue}{\UseVersionOf{\jobname.sty}} 
       of \textsf{\jobname.sty} as of \UseDateOf{\jobname.sty}.}}
\newcommand*{\TODO}{\textcolor{blue}{\acro{TODO}}}
\newcommand*{\MDsampleinput}[1]{%          %% 2012/11/06
    \par\bigskip\hrule\verbatiminput{#1}%
                \hrule\bigskip}

\errorcontextlines=4
\pagestyle{headings}

\endinput