From 1421f3557eb7d3fbb2baea644579434d290bb587 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 23 Apr 2014 21:37:27 +0000 Subject: dccpaper (23apr14) git-svn-id: svn://tug.org/texlive/trunk@33643 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/dccpaper/ijdc-v9.doc | 93 ++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/dccpaper/ijdc-v9.doc (limited to 'Master/texmf-dist/doc/latex/dccpaper/ijdc-v9.doc') diff --git a/Master/texmf-dist/doc/latex/dccpaper/ijdc-v9.doc b/Master/texmf-dist/doc/latex/dccpaper/ijdc-v9.doc new file mode 100644 index 00000000000..106a466298e --- /dev/null +++ b/Master/texmf-dist/doc/latex/dccpaper/ijdc-v9.doc @@ -0,0 +1,93 @@ +\ProvidesFile{ijdc-v9.doc}[2014/04/23 automatically generated with makedoc.sty] +\begin{lstlisting}[firstnumber=1] +%% +%% This is file `ijdc-v9.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% dccpaper.dtx (with options: `ijdc9') +%% +%% ---------------------------------------------------------------- +%% 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{2014/04/11 v1.2} +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesClass{ijdc-v9} + [\Version\space Class for submissions to the International Journal of Digital Curation, volume 9 onwards.] +\end{lstlisting} + +The type of paper is recorded in |\dccp@type|. The possible values are +`General Article', `Peer-Reviewed Paper', or `Editorial'. +The latter is provided through the constant |\dccp@editorial| so we can +test for it later with ease. + +\begin{lstlisting}[firstnumber=last] +\def\dccp@type{General Article} +\def\dccp@editorial{Editorial} +\end{lstlisting} + +These three options set |\dccp@type| appropriately. The |editorial| +option additionally switches page numbers to roman numerals. +The |article| option is redundant, but included for symmetry. + +\begin{lstlisting}[firstnumber=last] +\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{Peer-Reviewed Paper}} +\DeclareOption{article}{\def\dccp@type{General Article}} +\ProcessOptions\relax + +\end{lstlisting} + +These definitions are used to fill out the headers and footers. They include +some details that are defined in \textsf{dccpaper-base.tex} and provided by +the user: |\thedate|, |\thevolume|, |\theissue|, |\thelastpage|, |\thedoi|. + +\begin{lstlisting}[firstnumber=last] +\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{http://dx.doi.org/\thedoi}\\ + DOI: \thedoi +} +\def\dccp@normhead@doi{doi:\thedoi} +\end{lstlisting} + +|\dccp@subject| will be used for the PDF subject, and will specify the journal +and the issue. + +\begin{lstlisting}[firstnumber=last] +\def\dccp@subject{\dccp@publ@long, \thedate, Vol.\ \thevolume, Iss.\ \theissue} + +\end{lstlisting} + +The rest of the formatting happens in the following file. + +\begin{lstlisting}[firstnumber=last] +\input{dccpaper-base} +%% +%% Copyright (C) 2014 Digital Curation Centre, University of Edinburgh +%% +%% +%% End of file `ijdc-v9.cls'. + +\end{lstlisting} -- cgit v1.2.3