From 2d3bedd1a7e270e4dd23b31bfc71332f97689ec0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 15 Jan 2020 21:48:33 +0000 Subject: dccpaper (15jan20) git-svn-id: svn://tug.org/texlive/trunk@53412 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/dccpaper/dccpaper-base.sty | 150 +++++++++++++++------ Master/texmf-dist/tex/latex/dccpaper/idcc.cls | 10 +- Master/texmf-dist/tex/latex/dccpaper/ijdc-v14.cls | 62 +++++++++ Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls | 9 +- 4 files changed, 187 insertions(+), 44 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/dccpaper/ijdc-v14.cls (limited to 'Master/texmf-dist/tex/latex/dccpaper') diff --git a/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty b/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty index 4b36afe5833..7e5bc3d1b00 100644 --- a/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty +++ b/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.sty @@ -14,7 +14,7 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2019/10/07 v1.8.1} +\def\Version{2020/01/15 v2.0} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{dccpaper-base} [\Version\space Common class code for IJDC and IDCC papers.] @@ -23,22 +23,106 @@ \RequirePackage{iftex} \ifPDFTeX \RequirePackage[T1]{fontenc} - \IfFileExists{newtxtext.sty}{% - \RequirePackage{newtxtext,newtxmath} - }{% - \RequirePackage{mathptmx}} - \IfFileExists{tgheros.sty}{% - \ifx\undefined\qhv@scale - \RequirePackage[scale=0.92]{tgheros}\else - \def\qhv@scale{0.92}\fi + \ifdefstring{\dccp@variant}{baskerville}{% + \IfFileExists{baskervillef.sty}{ + \RequirePackage[scaled=.95]{baskervillef} + \RequirePackage[baskerville,vvarbb]{newtxmath} + }{ + \IfFileExists{Baskervaldx.sty}{ + \RequirePackage[scaled=.95]{baskervaldx} + \RequirePackage[baskervaldx,vvarbb]{newtxmath} + }{ + \IfFileExists{baskervald.sty}{ + \RequirePackage{baskervald} + \RequirePackage[baskervaldx,vvarbb]{newtxmath} + }{} + } + } + \IfFileExists{lsr.pfb}{% + \renewcommand{\sfdefault}{hls} + \def\hls@scale{0.805} + }{% + \IfFileExists{GoSans.sty}{% + \RequirePackage[scale=.8]{GoSans} + }{% + \RequirePackage[scaled=0.82]{helvet}}} }{% - \RequirePackage[scaled=0.92]{helvet}} - \renewcommand{\ttdefault}{cmtt} + \IfFileExists{newtxtext.sty}{% + \RequirePackage{newtxtext,newtxmath} + }{% + \RequirePackage{mathptmx}} + \IfFileExists{tgheros.sty}{% + \ifx\undefined\qhv@scale + \RequirePackage[scale=0.92]{tgheros}\else + \def\qhv@scale{0.92}\fi + }{% + \RequirePackage[scaled=0.92]{helvet}} + \renewcommand{\ttdefault}{cmtt} + } \else \RequirePackage{fontspec} - \IfFileExists{newtxtext.sty}{% - \setmainfont{TeXGyreTermesX} - \RequirePackage{newtxmath} + \ifdefstring{\dccp@variant}{baskerville}{% + \IfFontExistsTF{Baskerville}{% + \setmainfont{Baskerville} + \RequirePackage[baskerville,vvarbb]{newtxmath} + }{% + \IfFileExists{baskervillef.sty}{% + \setmainfont[Scale=.95]{BaskervilleF} + \RequirePackage[baskerville,vvarbb]{newtxmath} + }{% + \IfFileExists{Baskervaldx.sty}{% + \setmainfont[Scale=.95]{baskervaldx} + \RequirePackage[baskervaldx,vvarbb]{newtxmath} + }{% + \IfFileExists{baskervald.sty}{% + \RequirePackage[T1]{fontenc} + \RequirePackage{baskervald} + \RequirePackage[baskervaldx,vvarbb]{newtxmath} + }{} + } + } + } + \IfFontExistsTF{Lucida Sans}{% + \setsansfont[Scale=.805]{Lucida Sans} + }{ + \IfFontExistsTF{LucidaSansOT}{% + \setsansfont[Scale=.805]{LucidaSansOT} + }{% + \IfFileExists{GoSans.sty}{% + \RequirePackage[scale=.8]{GoSans} + }{% + \@ifpackageloaded{fontenc}{}{% + \appto\sffamily{\fontencoding{T1}\selectfont} + } + \RequirePackage[scaled=0.82]{helvet} + } + } + } + }{% + \IfFileExists{newtxtext.sty}{% + \setmainfont{TeXGyreTermesX} + \RequirePackage{newtxmath} + }{% + \RequirePackage[T1]{fontenc} + \RequirePackage{mathptmx} + } + \IfFontExistsTF{texgyreheros-regular.otf}{% + \setsansfont{texgyreheros}% + [ Extension = .otf + , UprightFont = *-regular + , ItalicFont = *-italic + , BoldFont = *-bold + , BoldItalicFont = *-bolditalic + , Scale = 0.92 + ] + }{% + \IfFileExists{newtxtext.sty}{% + \appto\sffamily{\fontencoding{T1}\selectfont}% + }{} + \RequirePackage[scaled=0.92]{helvet} + } + } + \@ifpackageloaded{newtxmath}{% \DeclareSymbolFont{oldoperators}{OT1}{ntxtlf}{m}{n} \SetSymbolFont{oldoperators}{bold}{OT1}{ntxtlf}{b}{n} \AtBeginDocument{% @@ -84,25 +168,7 @@ \DeclareMathAccent{\dot}{\mathalpha}{oldoperators}{"5F}% \DeclareMathAccent{\mathring}{\mathalpha}{oldoperators}{"17}% \DeclareMathSymbol{\mathdollar}{\mathord}{operators}{"24}% - } - }{% - \RequirePackage[T1]{fontenc} - \RequirePackage{mathptmx} - } - \IfFontExistsTF{texgyreheros-regular.otf}{% - \setsansfont{texgyreheros}% - [ Extension = .otf - , UprightFont = *-regular - , ItalicFont = *-italic - , BoldFont = *-bold - , BoldItalicFont = *-bolditalic - , Scale = 0.92 - ] - }{% - \IfFileExists{newtxtext.sty}{% - \appto\sffamily{\fontencoding{T1}\selectfont}% - }{} - \RequirePackage[scaled=0.92]{helvet} + }% } \fi \RequirePackage{graphicx} @@ -254,12 +320,16 @@ \def\dccp@dates{\emph{Received} #1}} \newcommand*{\revised}[1]{% \appto\dccp@dates{% - \space\space\space\textbar\space\space\space + \space\space\space + \ifdefstring{\dccp@variant}{baskerville}{$\sim$}{\textbar}% + \space\space\space \emph{Revision received} #1}% } \newcommand*{\accepted}[1]{% \appto\dccp@dates{% - \space\space\space\textbar\space\space\space + \space\space\space + \ifdefstring{\dccp@variant}{baskerville}{$\sim$}{\textbar}% + \space\space\space \emph{Accepted} #1}% } \let\dccp@conf=\empty @@ -298,7 +368,8 @@ \def\@oddhead{% \begin{minipage}{\textwidth}% \centering - \LARGE\bfseries\color{struct}% + \ifdefstring{\dccp@variant}{baskerville}{\huge\sffamily}{\LARGE\bfseries}% + \color{struct}% \ifx\dccp@type\dccp@editorial \dccp@publ@long \else @@ -379,7 +450,8 @@ }% \let\NormalHead=\@oddhead \def\@oddfoot{\begin{minipage}[b]{\textwidth} - \centering\bfseries\normalsize\color{struct} + \centering\ifdefstring{\dccp@variant}{baskerville}{\sffamily}{\bfseries}% + \normalsize\color{struct} \ifx\dccp@type\dccp@editorial \dccp@publ@long \else @@ -437,7 +509,7 @@ \null\nobreak\vspace*{-0.528\baselineskip}% \begingroup \centering - {\Large\thetitle\par} + {\Large\ifdefstring{\dccp@variant}{baskerville}{\bfseries}{}\thetitle\par} \vspace{0.7\baselineskip} \AuthorBlock\par \vspace{1.7\baselineskip} @@ -847,7 +919,7 @@ \endgroup } %% -%% Copyright (C) 2019 Digital Curation Centre, University of Edinburgh +%% Copyright (C) 2020 Digital Curation Centre, University of Edinburgh %% %% %% 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 b2e6cf47a1b..b88b5fc71dd 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{2019/10/07 v1.8.1} +\def\Version{2020/01/15 v2.0} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{idcc} [\Version\space Class for submissions to the International Digital Curation Conference.] @@ -36,12 +36,14 @@ \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} +\def\dccp@variant{baskerville} \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} + \def\dccp@variant{times} } \DeclareOption{16}{% \def\dccp@publ@short{IDCC16} @@ -49,6 +51,7 @@ 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} + \def\dccp@variant{times} } \DeclareOption{17}{% \def\dccp@publ@short{IDCC17} @@ -56,6 +59,7 @@ 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} + \def\dccp@variant{times} } \DeclareOption{18}{% \def\dccp@publ@short{IDCC18} @@ -63,12 +67,14 @@ 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} + \def\dccp@variant{times} } \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} + \def\dccp@variant{times} } \DeclareOption{20}{% \def\dccp@publ@short{IDCC20} @@ -99,7 +105,7 @@ \RequirePackage{dccpaper-base} %% -%% Copyright (C) 2019 Digital Curation Centre, University of Edinburgh +%% Copyright (C) 2020 Digital Curation Centre, University of Edinburgh %% %% %% End of file `idcc.cls'. diff --git a/Master/texmf-dist/tex/latex/dccpaper/ijdc-v14.cls b/Master/texmf-dist/tex/latex/dccpaper/ijdc-v14.cls new file mode 100644 index 00000000000..1b9d63adfa0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/dccpaper/ijdc-v14.cls @@ -0,0 +1,62 @@ +%% +%% This is file `ijdc-v14.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% dccpaper.dtx (with options: `ijdc14') +%% +%% ---------------------------------------------------------------- +%% The dccpaper bundle: Classes for submissions to IJDC and IDCC +%% Author: Alex Ball +%% E-mail: a.ball@ukoln.ac.uk +%% License: Released under the LaTeX Project Public License v1.3c or later +%% See: http://www.latex-project.org/lppl.txt +%% ---------------------------------------------------------------- +%% +\def\Version{2020/01/15 v2.0} +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesClass{ijdc-v14} + [\Version\space Class for submissions to the International Journal of Digital Curation, volume 14 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}% + \renewcommand{\thelastpage}{\@roman\c@lastpage}% + }% +} +\DeclareOption{paper}{\def\dccp@type{Research Paper}} +\DeclareOption{preprint}{\def\dccp@type{Conference Preprint}} +\DeclareOption{article}{\def\dccp@type{General Article}} +\ProcessOptions\relax + +\def\dccp@publ@long{International Journal of Digital Curation} +\def\dccp@publ@short{IJDC} +\def\dccp@publ@msg{The \emph{\dccp@publ@long} is an international journal +committed to scholarly excellence and dedicated to the advancement of digital +curation across a wide range of sectors. The \dccp@publ@short\ is published by +the University of Edinburgh on behalf of the Digital Curation Centre. ISSN: +1746-8256. URL: \url{http://www.ijdc.net/}} +\def\dccp@titlefoot@bib{% + \dccp@publ@long\\ + \thedate, Vol.\ \thevolume, Iss.\ \theissue, \thepage--\thelastpage.% +} +\def\dccp@titlefoot@doi{% + \url{https://doi.org/\thedoi}\\ + DOI: \thedoi +} +\def\dccp@normhead@doi{doi:\thedoi} +\def\dccp@subject{\dccp@publ@long, \thedate, Vol.\ \thevolume, Iss.\ \theissue} + +\def\dccp@variant{baskerville} + +\LoadClass[a4paper,12pt,twoside]{article} + +\RequirePackage{dccpaper-base} +%% +%% Copyright (C) 2020 Digital Curation Centre, University of Edinburgh +%% +%% +%% End of file `ijdc-v14.cls'. diff --git a/Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls b/Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls index 498b90afb48..95f69d86c68 100644 --- a/Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls +++ b/Master/texmf-dist/tex/latex/dccpaper/ijdc-v9.cls @@ -14,10 +14,10 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2019/10/07 v1.8.1} +\def\Version{2020/01/15 v2.0} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{ijdc-v9} - [\Version\space Class for submissions to the International Journal of Digital Curation, volume 9 onwards.] + [\Version\space Class for submissions to the International Journal of Digital Curation, volumes 9--13 inclusive.] \def\dccp@type{General Article} \def\dccp@editorial{Editorial} \newif\ifdcp@proposal @@ -28,6 +28,7 @@ }% } \DeclareOption{paper}{\def\dccp@type{Peer-Reviewed Paper}} +\DeclareOption{preprint}{\def\dccp@type{Conference Preprint}} \DeclareOption{article}{\def\dccp@type{General Article}} \ProcessOptions\relax @@ -49,11 +50,13 @@ the University of Edinburgh on behalf of the Digital Curation Centre. ISSN: \def\dccp@normhead@doi{doi:\thedoi} \def\dccp@subject{\dccp@publ@long, \thedate, Vol.\ \thevolume, Iss.\ \theissue} +\def\dccp@variant{times} + \LoadClass[a4paper,12pt,twoside]{article} \RequirePackage{dccpaper-base} %% -%% Copyright (C) 2019 Digital Curation Centre, University of Edinburgh +%% Copyright (C) 2020 Digital Curation Centre, University of Edinburgh %% %% %% End of file `ijdc-v9.cls'. -- cgit v1.2.3