diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc b/Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc index 19e84582887..f2a5297f37a 100644 --- a/Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc +++ b/Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc @@ -1,4 +1,4 @@ -\ProvidesFile{dccpaper-base.doc}[2015/01/22 automatically generated with makedoc.sty] +\ProvidesFile{dccpaper-base.doc}[2015/06/23 automatically generated with makedoc.sty] \begin{lstlisting}[firstnumber=1] %% %% This is file `dccpaper-base.tex', @@ -16,7 +16,7 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2015/01/21 v1.3.2} +\def\Version{2015/06/22 v1.4.1} \ProvidesFile{dccpaper-base.tex} [\Version\space Common class code for IJDC and IDCC papers.] \end{lstlisting} @@ -119,6 +119,18 @@ needed. \end{lstlisting} +Pdf\TeX\ 1.40.15 introduced the facility to include dummy interword spaces +to improve text extraction and reflow. We test for this facility and use it +if available. + +\begin{lstlisting}[firstnumber=last] +\RequirePackage{ifpdf} +\ifpdf + \ifdef{\pdfinterwordspaceon}{\pdfinterwordspaceon}{} +\fi + +\end{lstlisting} + The classes have some special metadata requirements. We start with the author information. @@ -233,7 +245,7 @@ space. \begin{lstlisting}[firstnumber=last] \ifnum\theauthorsinblock=0% \stepcounter{block}% - \expandafter\def\csname block\roman{block}@auth\endcsname{#1}% + \expandafter\def\csname block\roman{block}@auth\endcsname{\Authfont#1}% \ifnum\theblock>1\appto\AuthorBlock{\quad}\fi \appto\AuthorBlock{% \stepcounter{block}% @@ -895,11 +907,23 @@ PDF bookmarks. \AtBeginDocument{ \@ifpackageloaded{biblatex}{% \defbibheading{bibliography}[\refname]{\section{#1}}% +\end{lstlisting} + +We also move the ‘doi:’ portion of a DOI inside the hyperlink. + +\begin{lstlisting}[firstnumber=last] + \DeclareFieldFormat{doi}{% + \ifhyperref{% + \href{http://dx.doi.org/#1}{\nolinkurl{doi:#1}}% + }{% + \nolinkurl{doi:#1}% + }% + } }{% \end{lstlisting} -If \textsf{apacite} is used, we can do the same with a package option (see -below). But there are a few other adaptations we need to make. +If \textsf{apacite} is used, there are a few other adaptations we need to +make. \begin{lstlisting}[firstnumber=last] \@ifpackageloaded{apacite}{% @@ -1338,7 +1362,7 @@ to embed the XMP packet. \endgroup } %% -%% Copyright (C) 2014 Digital Curation Centre, University of Edinburgh +%% Copyright (C) 2015 Digital Curation Centre, University of Edinburgh %% <info@dcc.ac.uk> %% %% End of file `dccpaper-base.tex'. |