texlive[42736] Master/texmf-dist: resphilosophica (17dec16)

commits+karl at tug.org commits+karl at tug.org
Sat Dec 17 21:39:05 CET 2016


Revision: 42736
          http://tug.org/svn/texlive?view=revision&revision=42736
Author:   karl
Date:     2016-12-17 21:39:05 +0100 (Sat, 17 Dec 2016)
Log Message:
-----------
resphilosophica (17dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/resphilosophica/README
    trunk/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf
    trunk/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf
    trunk/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex
    trunk/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx
    trunk/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls

Modified: trunk/Master/texmf-dist/doc/latex/resphilosophica/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/resphilosophica/README	2016-12-17 20:38:48 UTC (rev 42735)
+++ trunk/Master/texmf-dist/doc/latex/resphilosophica/README	2016-12-17 20:39:05 UTC (rev 42736)
@@ -7,6 +7,8 @@
 
 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
 

Modified: trunk/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex	2016-12-17 20:38:48 UTC (rev 42735)
+++ trunk/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex	2016-12-17 20:39:05 UTC (rev 42736)
@@ -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}

Modified: trunk/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx	2016-12-17 20:38:48 UTC (rev 42735)
+++ trunk/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx	2016-12-17 20:39:05 UTC (rev 42736)
@@ -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 at 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}
 % 

Modified: trunk/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls	2016-12-17 20:38:48 UTC (rev 42735)
+++ trunk/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls	2016-12-17 20:39:05 UTC (rev 42736)
@@ -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 at fontauto
 \RESP at 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}%



More information about the tex-live-commits mailing list