summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dccpaper
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-03 21:05:53 +0000
committerKarl Berry <karl@freefriends.org>2018-05-03 21:05:53 +0000
commit30c0a7e937262deb33c9d2df7323349ab24cabb9 (patch)
treed34e47a5f8df08578dbe4ef7384e72b061c76ff6 /Master/texmf-dist/tex/latex/dccpaper
parentd7405477b5490f2081dff1cf8060d9e6d4c44ac7 (diff)
dccpaper (3may18)
git-svn-id: svn://tug.org/texlive/trunk@47600 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dccpaper')
-rw-r--r--Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty74
-rw-r--r--Master/texmf-dist/tex/latex/dccpaper/idcc.cls32
-rw-r--r--Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls9
3 files changed, 85 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty b/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty
index c368b048892..be0915c1067 100644
--- a/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty
+++ b/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty
@@ -14,24 +14,57 @@
%% See: http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%%
-\def\Version{2017/10/20 v1.6}
+\def\Version{2018/05/01 v1.7}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{dccpaper-base}
[\Version\space Common class code for IJDC and IDCC papers.]
\RequirePackage[british]{babel}
\RequirePackage{etoolbox}
-\RequirePackage[T1]{fontenc}
-\IfFileExists{newtxtext.sty}%
- {\RequirePackage{newtxtext,newtxmath}}%
- {\RequirePackage{times}}
-\RequirePackage[scaled=0.92]{helvet}
-\renewcommand{\ttdefault}{cmtt}
+\RequirePackage{iftex}
+\ifPDFTeX
+ \RequirePackage[T1]{fontenc}
+ \IfFileExists{newtxtext.sty}%
+ {\RequirePackage{newtxtext,newtxmath}}%
+ {\RequirePackage{times}}
+ \IfFileExists{tgheros.sty}%
+ {\ifx\undefined\qhv@scale\RequirePackage[scale=0.92]{tgheros}\fi}
+ {\RequirePackage[scaled=0.92]{helvet}}
+ \renewcommand{\ttdefault}{cmtt}
+\else
+ \RequirePackage[no-math]{fontspec}
+ \IfFileExists{newtxtext.sty}{%
+ \setmainfont{TeXGyreTermesX}
+ \RequirePackage{newtxmath}
+ }{%
+ \RequirePackage[T1]{fontenc}
+ \RequirePackage{times}
+ \renewcommand{\ttdefault}{cmtt}
+ }
+ \IfFontExistsTF{texgyreheros-regular.otf}{%
+ \setsansfont{texgyreheros}%
+ [ Extension = .otf
+ , UprightFont = *-regular
+ , ItalicFont = *-italic
+ , BoldFont = *-bold
+ , BoldItalicFont = *-bolditalic
+ , Scale = 0.92
+ ]
+ }{%
+ \RequirePackage[T1]{fontenc}
+ \RequirePackage[scaled=0.92]{helvet}
+ }
+\fi
\RequirePackage{graphicx}
\IfFileExists{xcolor.sty}%
{\RequirePackage{xcolor}}%
{\RequirePackage{color}}
-\definecolor[named]{struct}{rgb}{0,0.5,0.5}
-\definecolor[named]{links}{rgb}{0,0.4,0.4}
+\ifdcp@proposal
+ \definecolor[named]{struct}{rgb}{0.862,0.420,0.184}
+ \definecolor[named]{links}{rgb}{0.862,0.420,0.184}
+\else
+ \definecolor[named]{struct}{rgb}{0,0.5,0.5}
+ \definecolor[named]{links}{rgb}{0,0.4,0.4}
+\fi
\RequirePackage{calc}
\let\OrigLineBreak\\
@@ -53,9 +86,16 @@
\everypar{}}
\RequirePackage{ifpdf}
-\ifpdf
- \ifdef{\pdfinterwordspaceon}{\pdfinterwordspaceon}{}
-\fi
+\newtoggle{dccp@dummyspaces}
+\def\fixspaces{\toggletrue{dccp@dummyspaces}}
+\def\nofixspaces{\togglefalse{dccp@dummyspaces}}
+\AtBeginDocument{%
+\iftoggle{dccp@dummyspaces}{%
+ \ifpdf
+ \ifdef{\pdfinterwordspaceon}{\pdfinterwordspaceon}{}%
+ \fi
+}{}%
+}
\def\thecorrespondence{}
\newcommand*{\correspondence}[1]{\def\thecorrespondence{#1}}
@@ -147,7 +187,7 @@
\newcommand*{\theissue}{0}
\newcommand*{\issue}[1]{\renewcommand*{\theissue}{#1}}
\newcommand*{\thesubno}{0}
-\newcommand*{\subno}[1]{\renewcommand*{\thesubno}{#1}}
+\newcommand*{\subno}[1]{\renewcommand*{\thesubno}{#1}\fixspaces}
\newcommand*{\thedoi}{10.2218/ijdc.v\thevolume i\theissue .\thesubno}
\newcounter{lastpage}
\setcounter{lastpage}{0}
@@ -479,7 +519,7 @@
\defbibheading{bibliography}[\refname]{\section{#1}}%
\DeclareFieldFormat{doi}{%
\ifhyperref{%
- \href{http://dx.doi.org/#1}{\nolinkurl{doi:#1}}%
+ \href{https://doi.org/#1}{\nolinkurl{doi:#1}}%
}{%
\nolinkurl{doi:#1}%
}%
@@ -558,7 +598,7 @@
}%
\urlstyle{APACrm}
}%
- \newcommand{\doi}[1]{\href{http://dx.doi.org/#1}{\nolinkurl{doi:#1}}}%
+ \newcommand{\doi}[1]{\href{https://doi.org/#1}{\nolinkurl{doi:#1}}}%
\renewcommand{\doiprefix}{\unskip}%
}{}%
}%
@@ -569,7 +609,7 @@
}
\PassOptionsToPackage{numberedbib}{apacite}
-\usepackage
+\RequirePackage
[ colorlinks=true
, linkcolor=black
, anchorcolor=black
@@ -761,7 +801,7 @@
\endgroup
}
%%
-%% Copyright (C) 2015 Digital Curation Centre, University of Edinburgh
+%% Copyright (C) 2018 Digital Curation Centre, University of Edinburgh
%% <info@dcc.ac.uk>
%%
%% End of file `dccpaper-base.sty'.
diff --git a/Master/texmf-dist/tex/latex/dccpaper/idcc.cls b/Master/texmf-dist/tex/latex/dccpaper/idcc.cls
index 365b8ad2823..7e4b7d82d3e 100644
--- a/Master/texmf-dist/tex/latex/dccpaper/idcc.cls
+++ b/Master/texmf-dist/tex/latex/dccpaper/idcc.cls
@@ -14,7 +14,7 @@
%% See: http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%%
-\def\Version{2017/10/20 v1.6}
+\def\Version{2018/05/01 v1.7}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{idcc}
[\Version\space Class for submissions to the International Digital Curation Conference.]
@@ -24,37 +24,51 @@
\url{http://www.dcc.ac.uk/events/international-digital-curation-conference-idcc}}
\def\dccp@subject{\dccp@publ@long}
-\def\dccp@type{Practice Paper}
+\def\dccp@type@fallback{Extended Abstract}
+\def\dccp@type{\dccp@type@fallback}
+\newif\ifdcp@proposal
+\DeclareOption{abstract}{\def\dccp@type{Extended Abstract}}
\DeclareOption{research}{\def\dccp@type{Research Paper}}
+\DeclareOption{lightning}{\def\dccp@type{Lightning Talk}\dcp@proposaltrue}
\DeclareOption{data}{\def\dccp@type{Data Paper}}
-\DeclareOption{poster}{\def\dccp@type{Poster}}
-\DeclareOption{demo}{\def\dccp@type{Demonstration}}
-\DeclareOption{bof}{\def\dccp@type{Birds of a Feather}}
-\DeclareOption{workshop}{\def\dccp@type{Workshop}}
-\DeclareOption{practice}{\def\dccp@type{Practice Paper}}
+\DeclareOption{poster}{\def\dccp@type{Poster}\dcp@proposaltrue}
+\DeclareOption{demo}{\def\dccp@type{Demonstration}\dcp@proposaltrue}
+\DeclareOption{bof}{\def\dccp@type{Birds of a Feather}\dcp@proposaltrue}
+\DeclareOption{workshop}{\def\dccp@type{Workshop}\dcp@proposaltrue}
+\DeclareOption{practice}{\def\dccp@type{Practice Paper}\dcp@proposaltrue}
\DeclareOption{15}{%
\def\dccp@publ@short{IDCC15}
\def\dccp@publ@msg{The 10th \dccp@publ@long\ takes place on 9--12 February
2015 in London. URL: \url{http://www.dcc.ac.uk/events/idcc15/}}
\def\dccp@subject{10th \dccp@publ@long, 2015}
+ \def\dccp@type@fallback{Practice Paper}
}
\DeclareOption{16}{%
\def\dccp@publ@short{IDCC16}
\def\dccp@publ@msg{The 11th \dccp@publ@long\ takes place on 22--25 February
2016 in Amsterdam. URL: \url{http://www.dcc.ac.uk/events/idcc16/}}
\def\dccp@subject{11th \dccp@publ@long, 2016}
+ \def\dccp@type@fallback{Practice Paper}
}
\DeclareOption{17}{%
\def\dccp@publ@short{IDCC17}
\def\dccp@publ@msg{The 12th \dccp@publ@long\ takes place on 20--23 February
2017 in Edinburgh. URL: \url{http://www.dcc.ac.uk/events/idcc17/}}
\def\dccp@subject{12th \dccp@publ@long, 2017}
+ \def\dccp@type@fallback{Practice Paper}
}
\DeclareOption{18}{%
\def\dccp@publ@short{IDCC18}
\def\dccp@publ@msg{The 13th \dccp@publ@long\ takes place on 19--22 February
2018 in Barcelona. URL: \url{http://www.dcc.ac.uk/events/idcc18/}}
\def\dccp@subject{13th \dccp@publ@long, 2018}
+ \def\dccp@type@fallback{Practice Paper}
+}
+\DeclareOption{19}{%
+ \def\dccp@publ@short{IDCC19}
+ \def\dccp@publ@msg{The 14th \dccp@publ@long\ takes place on 4--7 February
+ 2019 in Melbourne. URL: \url{http://www.dcc.ac.uk/events/idcc19/}}
+ \def\dccp@subject{14th \dccp@publ@long, 2019}
}
\ProcessOptions\relax
@@ -77,9 +91,9 @@
\LoadClass[a4paper,12pt,twoside]{article}
-\usepackage{dccpaper-base}
+\RequirePackage{dccpaper-base}
%%
-%% Copyright (C) 2015 Digital Curation Centre, University of Edinburgh
+%% Copyright (C) 2018 Digital Curation Centre, University of Edinburgh
%% <info@dcc.ac.uk>
%%
%% End of file `idcc.cls'.
diff --git a/Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls b/Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls
index c7b3534bfd1..ca087ecc1c2 100644
--- a/Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls
+++ b/Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls
@@ -14,12 +14,13 @@
%% See: http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%%
-\def\Version{2017/10/20 v1.6}
+\def\Version{2018/05/01 v1.7}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ijdc-v9}
[\Version\space Class for submissions to the International Journal of Digital Curation, volume 9 onwards.]
\def\dccp@type{General Article}
\def\dccp@editorial{Editorial}
+\newif\ifdcp@proposal
\DeclareOption{editorial}{\let\dccp@type=\dccp@editorial%
\AtBeginDocument{% Editorials use Roman numerals for page numbers
\pagenumbering{roman}%
@@ -42,7 +43,7 @@ the University of Edinburgh on behalf of the Digital Curation Centre. ISSN:
\thedate, Vol.\ \thevolume, Iss.\ \theissue, \thepage--\thelastpage.%
}
\def\dccp@titlefoot@doi{%
- \url{http://dx.doi.org/\thedoi}\\
+ \url{https://doi.org/\thedoi}\\
DOI: \thedoi
}
\def\dccp@normhead@doi{doi:\thedoi}
@@ -50,9 +51,9 @@ the University of Edinburgh on behalf of the Digital Curation Centre. ISSN:
\LoadClass[a4paper,12pt,twoside]{article}
-\usepackage{dccpaper-base}
+\RequirePackage{dccpaper-base}
%%
-%% Copyright (C) 2015 Digital Curation Centre, University of Edinburgh
+%% Copyright (C) 2018 Digital Curation Centre, University of Edinburgh
%% <info@dcc.ac.uk>
%%
%% End of file `ijdc-v9.cls'.