summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-06-23 18:19:20 +0000
committerKarl Berry <karl@freefriends.org>2015-06-23 18:19:20 +0000
commit94e7dfb978a1bd4455d0198c8d17938f35a78386 (patch)
tree96821c9d27a82594b7a82f2bfac8ccf56adff106 /Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
parent2a28908e80aaca3ef066f84e9d219cd68b8b54aa (diff)
dccpaper (22jun15)
git-svn-id: svn://tug.org/texlive/trunk@37647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex')
-rw-r--r--Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex30
1 files changed, 25 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex b/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
index 3a69afd11c8..0dfe2533106 100644
--- a/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
+++ b/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
@@ -14,7 +14,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.]
%
@@ -98,6 +98,16 @@
\everypar{}}
%
+% 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.
+%
+\RequirePackage{ifpdf}
+\ifpdf
+ \ifdef{\pdfinterwordspaceon}{\pdfinterwordspaceon}{}
+\fi
+
+%
% The classes have some special metadata requirements. We start with the author
% information.
%
@@ -193,7 +203,7 @@
%
\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}%
@@ -781,10 +791,20 @@
\AtBeginDocument{
\@ifpackageloaded{biblatex}{%
\defbibheading{bibliography}[\refname]{\section{#1}}%
+%
+% We also move the ‘doi:’ portion of a DOI inside the hyperlink.
+%
+ \DeclareFieldFormat{doi}{%
+ \ifhyperref{%
+ \href{http://dx.doi.org/#1}{\nolinkurl{doi:#1}}%
+ }{%
+ \nolinkurl{doi:#1}%
+ }%
+ }
}{%
%
-% 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.
%
\@ifpackageloaded{apacite}{%
%
@@ -1176,7 +1196,7 @@
\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'.