diff options
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/dccpaper/dccpaper.dtx | 137 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/dccpaper/dccpaper.ins | 4 |
2 files changed, 123 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/dccpaper/dccpaper.dtx b/Master/texmf-dist/source/latex/dccpaper/dccpaper.dtx index c1608026c83..0c909381d83 100644 --- a/Master/texmf-dist/source/latex/dccpaper/dccpaper.dtx +++ b/Master/texmf-dist/source/latex/dccpaper/dccpaper.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment %<*internal|ijdc9|idcc|base> -\def\Version{2015/01/21 v1.3.2} +\def\Version{2015/06/22 v1.4.1} %</internal|ijdc9|idcc|base> %<*internal> \iffalse @@ -77,7 +77,7 @@ Manual way Licence ------- -Copyright 2014 Digital Curation Centre, University of Edinburgh. +Copyright 2015 Digital Curation Centre, University of Edinburgh. This work consists of the image files dccpaper-by.eps and dccpaper-by.pdf, the documented LaTeX file dccpaper.dtx and a Makefile. @@ -217,9 +217,38 @@ the University of Edinburgh on behalf of the Digital Curation Centre. ISSN: 2015 in London. URL: \url{http://www.dcc.ac.uk/events/idcc15/}} \def\dccp@subject{10th \dccp@publ@long, 2015} } +\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} +} \ProcessOptions\relax % +% The |demo| option, if passed, would be passed on to the \textsf{graphics} +% package wreaking havoc with each and every included image. To avoid this, +% we clear it from the list of class options using +% \href{http://tex.stackexchange.com/q/33245}{code from Enrico Gregorio}. +% +\def\@clearglobaloption#1{% + \def\@tempa{#1}% + \def\@tempb{\@gobble}% + \@for\next:=\@classoptionslist\do{% + \ifx\next\@tempa + \message{Option \next\space has been hidden from subsequent packages}% + \else + \edef\@tempb{\@tempb,\next}% + \fi + }% + \let\@classoptionslist\@tempb + \expandafter\ifx\@tempb\@gobble + \let\@classoptionslist\@empty + \fi +} +\@clearglobaloption{demo} + +% % The rest of the formatting happens in the following file. % \input{dccpaper-base} @@ -308,6 +337,18 @@ the University of Edinburgh on behalf of the Digital Curation Centre. ISSN: \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} +%LITERATE +%<base>\ifpdf +%<base> \ifdef{\pdfinterwordspaceon}{\pdfinterwordspaceon}{} +%<base>\fi +%<<LITERATE + +% % The classes have some special metadata requirements. We start with the author % information. % @@ -403,7 +444,7 @@ the University of Edinburgh on behalf of the Digital Curation Centre. ISSN: % \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}% @@ -991,10 +1032,20 @@ the University of Edinburgh on behalf of the Digital Curation Centre. ISSN: \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}{% % @@ -1587,7 +1638,7 @@ See: http://www.latex-project.org/lppl.txt \endpreamble \postamble -Copyright (C) 2014 Digital Curation Centre, University of Edinburgh +Copyright (C) 2015 Digital Curation Centre, University of Edinburgh <info@dcc.ac.uk> \endpostamble @@ -1778,12 +1829,13 @@ In some cases the class prefers to use packages that are not part of the base in For referencing, you are encouraged to use either \textsf{biblatex} using the styles provided by \textsf{biblatex-apa} (preferred), or \textsf{apacite}. -\section{Loading the classes} +\section{Loading the Classes} -The class is loaded in the usual way with -\lstinline|\documentclass[$\subtext{options}$]{ijdc-v9}| or \lstinline|\documentclass[$\subtext{options}$]{idcc}|. +\subsection{International Journal of Digital Curation} -The following options are available for \textsf{ijdc-v9}: +The class is loaded in the usual way with +\lstinline|\documentclass[$\subtext{options}$]{ijdc-v9}|. +The following options are available: \begin{description}[font=\color{violet}\ttfamily] \item[paper] @@ -1794,7 +1846,11 @@ Use this for general (non-peer-reviewed) articles if you like, but you do not ha Use this for an editorial. \end{description} -Two types of option are available for \textsf{idcc}. The first relates to the type of submission: +\subsection{International Digital Curation Conference} + +The class is loaded in the usual way with +\lstinline|\documentclass[$\subtext{options}$]{idcc}|. +Two types of option are available. The first relates to the type of submission: \begin{description}[font=\color{violet}\ttfamily] \item[research] Use this for full research papers. @@ -1816,9 +1872,11 @@ The second type of option relates to the conference to which the submission will \begin{description}[font=\color{violet}\ttfamily] \item[15] Use this for the 2015 conference. +\item[16] +Use this for the 2016 conference. \end{description} -\section{Preamble commands} +\section{Preamble Commands} The following commands should be given in the preamble to fill out the document metadata. @@ -1922,7 +1980,7 @@ The number of the IJDC issue in which the submission will be published. The year in which the submission will be published. \end{description} -\section{Document body} +\section{Document Body} When it comes to writing the body of the submission, the template should allow you to use the usual \LaTeX\ markup without much adaptation. So, for example, you would start as in Figure~\ref{fig:start-paper}. @@ -1978,7 +2036,7 @@ Quotations should be put in a \texttt{quote} environment, wrapped in inverted co \item Table text should be in the \lstinline|\small| font size. \item -Tables should not use vertical lines to separate columns, and ideally should not use horizontal lines to separate rows in the body of the table; white space and text alignment should be sufficient. See the documentation of the \textsf{booktabs} package for more information. +Tables should not use vertical lines to separate columns, and ideally should not use horizontal lines to separate rows in the body of the table; white space and text alignment should be sufficient. The top and bottom rules should be drawn with \lstinline|\toprule| and \lstinline|\bottomrule| respectively, with other rules drawn with \lstinline|\midrule| or \lstinline|\cmidrule|. See the documentation of the \textsf{booktabs} package for more information. \item Text in the body of tables should normally be left-aligned. Numeric data should be aligned at the decimal point among itself but centred with respect to the heading; the \texttt{D} column type from the \textsf{dcolumn} package and the \texttt{S} column type from the \textsf{siunitx} package are particularly useful for this. \item @@ -2077,6 +2135,10 @@ Any acknowledgements should be placed in a section immediately before the refere \section{Appendix A: Change History} \begin{description} +\item[v1.4.1] 2014-06-22\\ +Fixed bug preventing compilation in DVI mode. +\item[v1.4] 2015-05-22\\ +Added details of IDCC 2016. Improved whitespace handling. Fixed bug triggered by \texttt{demo} option. Fixed missing use of \lstinline|\Authfont|. Added missing DOI tweak for \textsf{biblatex-apa}. \item[v1.3.2] 2015-01-21\\ Removed dependence on user supplying a title. Fixed bug triggered by numbered sections. \item[v1.3.1] 2014-10-14\\ @@ -2196,9 +2258,52 @@ A makefile is provided which you can use with the Make utility: \end{enumerate} \newpage -\section{Appendix D: Licence} +\section{Appendix D: Sample Document} + +The following code demonstrates how to use \textsf{dccpaper} to write a IDCC conference paper. + +\begin{lstlisting}[frame=single] +\documentclass[research,15]{idcc} + +\title{How to write a conference paper} +\author{Alex Ball} +\affil{Digital Curation Centre} +\author{Fred Bloggs} +\affil{University of Life} + +\submitted{1 October 2014} + +\usepackage[style=apa]{biblatex} +\addbibresource{references.bib} +\DeclareLanguageMapping{british}{british-apa} + +\begin{document} +\maketitle + +\begin{abstract} +Text of the abstract\dots +\end{abstract} + +\section{Introduction} + +The text of the introduction starts here\dots + +\section{Conclusions} + +The text of the conclusions starts here\dots + +\section{Acknowledgements} + +Any acknowledgements should be placed here\dots + +\printbibliography +\end{document} +\end{lstlisting} + +\newpage +\section{Appendix E: Licence} -Copyright \textcopyright\ 2014 Digital Curation Centre, University of Edinburgh. +Copyright \textcopyright\ 2015 Digital Curation Centre, University of Edinburgh. This work consists of the image files dccpaper-by.eps and dccpaper-by.pdf, the documented LaTeX file dccpaper.dtx and a Makefile. diff --git a/Master/texmf-dist/source/latex/dccpaper/dccpaper.ins b/Master/texmf-dist/source/latex/dccpaper/dccpaper.ins index 635f9733827..4e64d01f5d0 100644 --- a/Master/texmf-dist/source/latex/dccpaper/dccpaper.ins +++ b/Master/texmf-dist/source/latex/dccpaper/dccpaper.ins @@ -30,7 +30,7 @@ See: http://www.latex-project.org/lppl.txt \endpreamble \postamble -Copyright (C) 2014 Digital Curation Centre, University of Edinburgh +Copyright (C) 2015 Digital Curation Centre, University of Edinburgh <info@dcc.ac.uk> \endpostamble @@ -42,7 +42,7 @@ Copyright (C) 2014 Digital Curation Centre, University of Edinburgh } \endbatchfile %% -%% 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.ins'. |