diff options
author | Karl Berry <karl@freefriends.org> | 2016-12-17 20:39:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-12-17 20:39:05 +0000 |
commit | de0332fcc5336a39edea9f6a5103f6d8f1c4d608 (patch) | |
tree | 8912fc33c683b9a4fab4a444ffb1ad33e47fd69e /Master/texmf-dist/source/latex/resphilosophica | |
parent | a9fa5abfd28aa2e0c3501f0962ce48c4a4ad62d9 (diff) |
resphilosophica (17dec16)
git-svn-id: svn://tug.org/texlive/trunk@42736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/resphilosophica')
-rw-r--r-- | Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx b/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx index 768a57c7a99..7df18d03549 100644 --- a/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx +++ b/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx @@ -1,6 +1,6 @@ % \iffalse %<*gobble> -% $Id: resphilosophica.dtx,v 1.60 2015/11/15 00:16:06 boris Exp $ +% $Id: resphilosophica.dtx,v 1.61 2016/08/27 01:12:02 boris Exp $ % % Copyright 2012-2015, Boris Veytsman <boris@varphi.com> % This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ % derived file resphilosophica.cls % % \fi -% \CheckSum{1378} +% \CheckSum{1396} % % %% \CharacterTable @@ -53,7 +53,7 @@ \ProvidesFile{resphilosophica.dtx} %</gobble> %<class>\ProvidesClass{resphilosophica} -[2015/11/14 v1.28 Typesetting articles for Res Philosophica] +[2016/08/26 v1.29 Typesetting articles for Res Philosophica] %<*gobble> % \end{macrocode} % @@ -400,15 +400,18 @@ % \publicationmonth[Jan--Feb]{January--February} % \end{verbatim} % +% \DescribeMacro{\manuscriptid}% +% The comman \cs{manuscriptid}\oarg{id} sets the number of the +% manuscript assigned at submission. If it is set, it is used to +% calculate the doi number (see below). % -% -% \DescribeMacro{\doinumber} +% \DescribeMacro{\doinumber}% % Normally you do not need to set the DOI of the paper: \TeX{} will -% construct the number using the paper data (including paper number in -% the current issue). However, you \emph{may} override its decision -% using the command |\doinumber| which sets the DOI explicitly, for -% example, |\doinumber|\marg{10.11612/resphilosophica.2013.01.01}. -% You probably should not use this macro. +% construct the number using the paper data. However, you \emph{may} +% override its decision using the command |\doinumber| which sets the +% DOI explicitly, for example, +% |\doinumber|\marg{10.11612/resphilosophica.2013.01.01}. You +% probably should not use this macro. % % \DescribeMacro{\prevpaper} % Instead of setting |\startpage|, one can use the the command @@ -1159,13 +1162,27 @@ % % \end{macro} % +% \begin{macro}{\manuscriptid} +% \changes{v1.29}{2016/08/26}{Added macro} +% Submission id +% \begin{macrocode} +\def\manuscriptid#1{\gdef\@manuscriptid{#1}} +\manuscriptid{} +% +% \end{macro} +% % % \begin{macro}{\doinumber} % \changes{v1.11}{2012/12/25}{Added default} +% \changes{v1.29}{2016/08/26}{Now we use \cs{manuscriptid} to make doi} % DOI number for the article: % \begin{macrocode} \def\doinumber#1{\gdef\@doinumber{#1}} -\doinumber{10.11612/resphil.\currentyear.\currentvolume.\currentissue.\currentpaper} +\doinumber{\ifx\@manuscriptid\@empty + 10.11612/resphil.\currentyear.\currentvolume.\currentissue.\currentpaper + \else + 10.11612/resphil.\@manuscriptid + \fi} % \end{macrocode} % \end{macro} % |