From de0332fcc5336a39edea9f6a5103f6d8f1c4d608 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 17 Dec 2016 20:39:05 +0000 Subject: resphilosophica (17dec16) git-svn-id: svn://tug.org/texlive/trunk@42736 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/resphilosophica/README | 2 ++ .../doc/latex/resphilosophica/resphilosophica.pdf | Bin 422752 -> 416901 bytes .../doc/latex/resphilosophica/rpsample.pdf | Bin 112164 -> 112450 bytes .../doc/latex/resphilosophica/rpsample.tex | 1 + .../latex/resphilosophica/resphilosophica.dtx | 39 +++++++++++++++------ .../tex/latex/resphilosophica/resphilosophica.cls | 10 ++++-- 6 files changed, 39 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/resphilosophica/README b/Master/texmf-dist/doc/latex/resphilosophica/README index 9a8ea3f8c6b..897b85706b3 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/README +++ b/Master/texmf-dist/doc/latex/resphilosophica/README @@ -7,6 +7,8 @@ This work was commissioned by the Saint Louis University. Changes + version 1.29 Added \manuscriptid and used it to form doi + version 1.28 Commands enquote and ensquote work correctly in the case of embedded quotations diff --git a/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf b/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf index 713118c76cc..a04a242b7dc 100644 Binary files a/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf and b/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf differ diff --git a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf index 4db36922ff9..f811f280f54 100644 Binary files a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf and b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf differ diff --git a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex index 4944d88495c..c64d8d79c39 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex +++ b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex @@ -14,6 +14,7 @@ \publicationmonth[Jan--Feb]{January--February} \papernumber{2} \onlinedate{January 1 2013} +\manuscriptid{A31245} %\doinumber{} \paperUrl{http://borisv.lk.net/paper12} \author{Boris Veytsman} 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 % 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} % %\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} % diff --git a/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls b/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls index 7bde54f1fea..3b27c41eb53 100644 --- a/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls +++ b/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{resphilosophica} -[2015/11/14 v1.28 Typesetting articles for Res Philosophica] +[2016/08/26 v1.29 Typesetting articles for Res Philosophica] \RequirePackage{xkeyval} \newif\ifRESP@fontauto \RESP@fontautotrue @@ -209,8 +209,14 @@ \publicationmonth{} \def\papernumber#1{\def\currentpaper{#1}} \papernumber{0000} +\def\manuscriptid#1{\gdef\@manuscriptid{#1}} +\manuscriptid{} \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} \def\paperUrl#1{\gdef\@paperUrl{#1}} \paperUrl{} \def\startpage#1{\pagenumbering{arabic}\setcounter{page}{#1}% -- cgit v1.2.3