diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicetext/makedoc.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/nicetext/makedoc.cfg | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/nicetext/makedoc.cfg b/Master/texmf-dist/tex/latex/nicetext/makedoc.cfg index 9332a47124f..4af672f6b88 100644 --- a/Master/texmf-dist/tex/latex/nicetext/makedoc.cfg +++ b/Master/texmf-dist/tex/latex/nicetext/makedoc.cfg @@ -1,9 +1,9 @@ -\ProvidesFile{makedoc.cfg}[{2012/11/26 documentation settings}] - +\ProvidesFile{makedoc.cfg}[{2012/11/30 documentation settings}] +%% \author{Uwe L\"uck\thanks{% \url{http://contact-ednotes.sty.de.vu}}} - -%% hyperref: +%% +%% 'hyperref': \RequirePackage{ifpdf} \usepackage[% \ifpdf @@ -30,14 +30,15 @@ \hypersetup{% pdfauthor={Uwe L\374ck}% } -%% metadata, |\MDkeywords{<text>}|, |\MDkeywordsstring|, -%% 2011/08/22: +%% metadata, |\MDkeywords{<text>}|, |\MDkeywordsstring|: +%% %% 2011/08/22: \makeatletter \newcommand*{\MDkeywords}[1]{% \gdef\MDkeywordsstring{#1}% \hypersetup{pdfkeywords=\MDkeywordsstring}%% TODO!? } \@onlypreamble\MDkeywords +%% |\MDaddtoabstract{<par-head>}|, `:' added: \newcommand*{\MDaddtoabstract}[1]{% %% 2012/05/10 \par\smallskip\noindent \strong{#1:}\quad\ignorespaces} @@ -113,23 +114,33 @@ of \textsf{\jobname.sty} as of \UseDateOf{\jobname.sty}.}} %% TODO: %% |\TODO| bad with `mdoccorr.cfg' \newcommand*{\TODO}{\textcolor{blue}{\acro{TODO}}} %% 2012/11/06 -%% \[`\MDsampleinput[{<file>}'\] was added 2012/11/06. -%% Problems with `myfilist.tex' were due to \ctanpkgref{parskip} +%% `\MDsampleinput[{<file>}' was added 2012/11/06. +%% Problems with `myfilist.tex' were due to 'parskip.sty' %% there. On 2012/11/12, we change the former simple macro to a %% much more complex %% |\MDsamplecodeinput[<add-hfuss>]{<file>}| \newcommand*{\MDsamplecodeinput}[2][]{% \begingroup - \bigskip \hrule - \nobreak\vskip-\parskip \nobreak\vskip\medskipamount + \vskip\bigskipamount \hrule + \nobreak\vskip-\parskip +% \nobreak\vskip\medskipamount +%% Previous mistake (same below) due to manual change +%% of `\topsep' in the file `myfilist.tex' (2012/11/30). \ifx\\#1\\\else \hfuzz=\textwidth \advance\hfuzz#1\relax \fi \noNiceVerb \verbatiminput{#2}% - \nobreak\vskip\medskipamount - \hrule \vskip-\parskip \bigbreak +% \nobreak\vskip\medskipamount + \hrule \vskip-\parskip + \bigskip %%% \bigbreak +%% `\bigbreak' made much larger space in `myfilist.tex'. \endgroup } +%% |\ctanpkgdref{<pkg-id>}| adds the printed link to +%% `ctan.org/pkg' as a footnote. There is a little space +%% for coloured link borders: +\newcommand*{\ctanpkgdref}[1]{% + \ctanpkgref{#1}\,\urlfoot{CtanPkgRef}{#1}} \errorcontextlines=4 \pagestyle{headings} |