summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-16 23:23:12 +0000
committerKarl Berry <karl@freefriends.org>2015-01-16 23:23:12 +0000
commit38abb16203e10729d9936fef27a395edfb1860e8 (patch)
tree205b22c23903106a8810de242a650745b68acaf6
parent99552c8035c88f114240fe666033aa77db869b39 (diff)
resphilosophica (16jan15)
git-svn-id: svn://tug.org/texlive/trunk@36074 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/resphilosophica/Makefile4
-rw-r--r--Master/texmf-dist/doc/latex/resphilosophica/README11
-rw-r--r--Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdfbin409421 -> 414028 bytes
-rw-r--r--Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdfbin114599 -> 111614 bytes
-rw-r--r--Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex11
-rw-r--r--Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx100
-rw-r--r--Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls42
7 files changed, 140 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/latex/resphilosophica/Makefile b/Master/texmf-dist/doc/latex/resphilosophica/Makefile
index 2d6cfa7ca3b..034673e062a 100644
--- a/Master/texmf-dist/doc/latex/resphilosophica/Makefile
+++ b/Master/texmf-dist/doc/latex/resphilosophica/Makefile
@@ -3,7 +3,7 @@
#
# This file is in public domain
#
-# $Id: Makefile,v 1.7 2013-12-08 03:38:39 boris Exp $
+# $Id: Makefile,v 1.8 2014-04-14 16:05:06 boris Exp $
#
PACKAGE=resphilosophica
@@ -55,4 +55,4 @@ distclean: clean
# Archive for the distribution. Includes typeset documentation
#
archive: all clean
- tar -czvf $(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude CVS .
+ tar -czvf $(PACKAGE).tgz -C .. --exclude '*~' --exclude '*.tgz' --exclude CVS latex
diff --git a/Master/texmf-dist/doc/latex/resphilosophica/README b/Master/texmf-dist/doc/latex/resphilosophica/README
index db36cf7c7aa..e727c1348bb 100644
--- a/Master/texmf-dist/doc/latex/resphilosophica/README
+++ b/Master/texmf-dist/doc/latex/resphilosophica/README
@@ -7,6 +7,17 @@ This work was commissioned by the Saint Louis University.
Changes
+ version 1.24 Added authornote
+
+ version 1.23 Made inner margins slightly smaller than outer margins
+ in the print mode
+
+ version 1.22 Empty recto page is no longer added unless
+ the default mode is selected
+
+ version 1.21 Internal changes for paper processing
+
+ version 1.20 A footnote bug corrected
version 1.19 More editorial commands
Bibliography style changes
diff --git a/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf b/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf
index 31c49bd5314..f0a16d4597a 100644
--- a/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf
+++ b/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf
index 03416454a0a..196016e1819 100644
--- a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf
+++ b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex
index b257b08399b..d3234dd4cf6 100644
--- a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex
+++ b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex
@@ -1,8 +1,8 @@
%\documentclass[screen]{resphilosophica}
-\documentclass[manuscript]{resphilosophica}
+%\documentclass[manuscript]{resphilosophica}
%\documentclass[preprint]{resphilosophica}
%\documentclass[forthcoming]{resphilosophica}
-%\documentclass{resphilosophica}
+\documentclass{resphilosophica}
\usepackage{kantlipsum}
\title[A Sample Paper: A Template]{A Sample Paper:\\ A
Template}
@@ -15,6 +15,7 @@
\papernumber{2}
\onlinedate{January 1 2013}
%\doinumber{}
+\paperUrl{http://borisv.lk.net/paper12}
\author{Boris Veytsman}
\address{Computational Materials Science Center, MS 6A2\\
George Mason University\\
@@ -32,6 +33,8 @@
Germany}
\thanks{The work on this package was supported by Sant Lois University}
+\authornote{This is an authornote}
+
\TCSelect{0,1}
\TCSelect[cyan]{blueline}
\ECSelect{0,1}
@@ -93,7 +96,7 @@
\citep{Hoff10}, \citep{Rao07:BeliefPropagation}, \citep{faga06a},
\citep{bochnga}, \citep{aqui51a}, \citep{Mapas12}, \citep{ande97a},
and \citep{Knuth94:TheTeXbook}.}\EditorialComment[1]{Are all quotes
- here relevant?}
+ here relevant?}\textsuperscript{, }\footnote{Another footnote}
\section{Discussion}
\label{sec:discussion}
@@ -148,7 +151,7 @@ the existence of the Antinomies in general.\footnote{The never-ending
transcendental aesthetic.}
\begin{notes}{Bibliography notes}
- \kant[4-8]
+ \kant[4-12]
\end{notes}
diff --git a/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx b/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx
index b54f3a9be3e..25f5001e8f7 100644
--- a/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx
+++ b/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx
@@ -1,8 +1,8 @@
% \iffalse
%<*gobble>
-% $Id: resphilosophica.dtx,v 1.44 2013-12-23 20:38:14 boris Exp $
+% $Id: resphilosophica.dtx,v 1.50 2015-01-16 01:00:49 boris Exp $
%
-% Copyright 2012-2013, Boris Veytsman <boris@varphi.com>
+% Copyright 2012-2014, Boris Veytsman <boris@varphi.com>
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3 of this license or (at your option) any
@@ -20,7 +20,7 @@
% derived file resphilosophica.cls
%
% \fi
-% \CheckSum{1306}
+% \CheckSum{0}
%
%
%% \CharacterTable
@@ -53,7 +53,7 @@
\ProvidesFile{resphilosophica.dtx}
%</gobble>
%<class>\ProvidesClass{resphilosophica}
-[2013/12/23 v1.19 Typesetting articles for Res Philosophica]
+[2015/01/14 v1.24 Typesetting articles for Res Philosophica]
%<*gobble>
% \end{macrocode}
%
@@ -81,6 +81,7 @@
% comments}
% \changes{v1.17}{2013/12/01}{Bibliography changes:
% `inloosecollection' entry}
+% \changes{v1.24}{2015/01/14}{New command: authornote}
%
%\iffalse
% \begin{macrocode}
@@ -306,11 +307,16 @@
% Note that the right vertical positioning of this footnote might
% require an additional run of \LaTeX.
%
-% \DescribeMacro{\titlenote}
-% The \cs{titlenote}\marg{note} command creates a specila footnote for
+% \DescribeMacro{\titlenote}%
+% The \cs{titlenote}\marg{note} command creates a special footnote for
% the title. This command should be issued \emph{outside} the
% \cs{title} command.
%
+% \DescribeMacro{\authornote}%
+% The similar \cs{authornote}\marg{note} command creates a special
+% footnote for the author. This command should be issued
+% \emph{outside} the \cs{author} command.
+%
% \DescribeMacro{\copyrightnote}
% Normally each paper is copyrighted by the authors and by the
% journal. This is reflected in the footnote on the
@@ -407,6 +413,13 @@
% this case |latex| will read the last page of the previous paper, and
% start the current one from the proper page number.
%
+% \DescribeMacro{\paperUrl}
+% When a paper is submitted to the Crossref service, which keeps the
+% database of Digital Object Identifiers, its URL is calculated by
+% the script used by editors. The command \cs{paperURL}\marg{url}
+% overrides this choice.
+%
+%
% \DescribeMacro{\EditorialComment}
% The macro |\EditorialComment|\oarg{level}\marg{comments} typesets
% the comments
@@ -681,7 +694,7 @@
% \begin{macro}{natbib}
% Checking natbib option:
% \begin{macrocode}
-\define@boolkey+{resphilosophica.cls}[RESP@]{natbib}[tue]{}{%
+\define@boolkey+{resphilosophica.cls}[RESP@]{natbib}[true]{}{%
\PackageWarning{resphilosophica}{The option natbib must be
yes or no. Using yes}}
\RESP@natbibtrue
@@ -760,9 +773,10 @@
%\subsection{Loading Classes and Packages}
%\label{sec:classes}
%
+% \changes{v1.23}{2014/11/17}{Switched to twoside mode of amsart}
% We use |amsart| since it has nice features for front matter:
% \begin{macrocode}
-\LoadClass[noamsfonts]{amsart}
+\LoadClass[noamsfonts,twoside]{amsart}
% \end{macrocode}
%
% \changes{v1.3}{2012/09/05}{Ifpdf is no longer needed with modern engines}
@@ -860,10 +874,12 @@
% \begin{macro}{\pdfpaperheight}
% \changes{v1.3}{2012/09/05}{Deleted ifpdf}
% \changes{v1.4}{2012/09/06}{Changed paper in the manuscript mode}
+% \changes{v1.23}{2014/11/17}{Added to paper width to accomodate
+% larger thumb side margins}
% Paper:
% \begin{macrocode}
\ifRESP@manuscript\else
-\AtBeginDocument{\setlength{\pdfpagewidth}{432bp}%
+\AtBeginDocument{\setlength{\pdfpagewidth}{441bp}%
\setlength{\pdfpageheight}{648bp}}
\fi
% \end{macrocode}
@@ -883,10 +899,20 @@
%
% \begin{macro}{\evensidemargin}
% \begin{macro}{\oddsidemargin}
+% \changes{v1.23}{2014/11/17}{Made even- and odd- side margins
+% different, except in screen and forthcoming modes}
% The margins:
% \begin{macrocode}
-\setlength{\evensidemargin}{-18pt}
-\setlength{\oddsidemargin}{\evensidemargin}
+\setlength{\evensidemargin}{-9pt}
+\setlength{\oddsidemargin}{-18pt}
+\ifRESP@screen
+\setlength{\evensidemargin}{-13pt}
+\setlength{\oddsidemargin}{-13pt}
+\fi
+\ifRESP@forthcoming
+\setlength{\evensidemargin}{-13pt}
+\setlength{\oddsidemargin}{-13pt}
+\fi
% \end{macrocode}
%
% \end{macro}
@@ -1126,6 +1152,16 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\paperUrl}
+% \changes{v1.21}{2014/04/11}{Added macro}
+% The url to submit to crossref
+% \begin{macrocode}
+\def\paperUrl#1{\gdef\@paperUrl{#1}}
+\paperUrl{}
+% \end{macrocode}
+%
+% \end{macro}
+%
% \begin{macro}{\startpage}
% This defines the starting page of the paper. We have some nice
% features to set up roman page numbers for editorial
@@ -1313,6 +1349,17 @@
% \end{macrocode}
%
% \end{macro}
+% \begin{macro}{\authornote}
+% \changes{v1.24}{2015/01/14}{Added command}
+% This command adds an entry to the list of titlenotes
+% \begin{macrocode}
+\def\@authornotes{}%
+\def\authornote#1{%
+ \ifx\@empty\@authornotes\gdef\@authornotes{\footnote{#1}}%
+ \else\g@addto@macro\@authornotes{\footnote{#1}}\fi}
+% \end{macrocode}
+%
+% \end{macro}
%
%\subsection{Typesetting Top Matter}
%\label{sec:maketitle}
@@ -1339,6 +1386,7 @@
% \changes{v1.1}{2012/09/01}{Changed font}
% \changes{v1.2}{2012/09/04}{Changed font}
% \changes{v1.3}{2012/09/05}{Deleted ifpdf}
+% \changes{v1.24}{2015/01/14}{Added authornotes}
% Now we typeset authors according to our specs. Again, we use this
% occasion to set some PDF information:
% \begin{macrocode}
@@ -1354,7 +1402,8 @@
\author@andify\authors
\hypersetup{pdfauthor=\authors}%
\def\\{\protect\linebreak}%
- \large\normalfont\authors%
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \large\normalfont\authors\@authornotes
\endtrivlist
\endgroup
\fi}
@@ -1432,6 +1481,7 @@
% \changes{v1.1}{2012/09/01}{Added protection for \cmd{\\}}
% \changes{v1.2}{2012/09/02}{Used \cmd{\protected@write}}
% \changes{v1.11}{2012/12/25}{Added writing info for crossref}
+% \changes{v1.21}{2014/04/11}{Added paperUrl}
% This writes the information about the paper into the file
% |jobname.rpi|. Note that hyperref makes our life a little bit
% more complex
@@ -1471,6 +1521,10 @@
{\@percentchar endpage=\@tempa}%
\protected@write\@mainrpi{}%
{\@percentchar doi=\@doinumber}%
+ \ifx\@paperUrl\@empty\else
+ \protected@write\@mainrpi{}%
+ {\@percentchar paperUrl=\@paperUrl}%
+ \fi
\closeout\@mainrpi
\fi
\egroup}
@@ -1655,9 +1709,18 @@
%
% \end{macro}
%
-% At the end we eject the last page
+% \changes{v1.22}{2014/04/17}{Now we add empty even page at the end
+% for printed version only}
+% At the end we eject the last page. If the document is printed and
+% the last page is odd, we add an empty page.
% \begin{macrocode}
-\AtEndDocument{\cleardoublepage}
+\AtEndDocument{\clearpage
+ \ifRESP@manuscript\else
+ \ifRESP@screen\else
+ \ifRESP@preprint\else
+ \ifRESP@forthcoming\else
+ \cleardoublepage
+ \fi\fi\fi\fi}
% \end{macrocode}
%
%
@@ -1818,6 +1881,15 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\@makefnmark}
+% \changes{v1.20}{2014/03/25}{Redefined}
+% The definition of \cs{@makefnmark} in amsart has a bug. Here we
+% return to the \LaTeX\ one:
+% \begin{macrocode}
+\def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}}
+% \end{macrocode}
+%
+% \end{macro}
%
% \begin{macro}{\@makefntext}
% \changes{v1.4}{2012/09/06}{Redefined}
diff --git a/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls b/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls
index 213340a874b..0586df683a5 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}
-[2013/12/23 v1.19 Typesetting articles for Res Philosophica]
+[2015/01/14 v1.24 Typesetting articles for Res Philosophica]
\RequirePackage{xkeyval}
\newif\ifRESP@fontauto
\RESP@fontautotrue
@@ -46,7 +46,7 @@
\fi}{%
\PackageWarning{resphilosophica}{The option bodyfont must be auto,
sabon or cm. Using auto}\RESP@fontautotrue}
-\define@boolkey+{resphilosophica.cls}[RESP@]{natbib}[tue]{}{%
+\define@boolkey+{resphilosophica.cls}[RESP@]{natbib}[true]{}{%
\PackageWarning{resphilosophica}{The option natbib must be
yes or no. Using yes}}
\RESP@natbibtrue
@@ -72,7 +72,7 @@
\DeclareOptionX{forthcoming}{\RESP@forthcomingtrue}
\DeclareOptionX{*}{\PassOptionsToClass{\CurrentOption}{amsart}}
\ProcessOptionsX
-\LoadClass[noamsfonts]{amsart}
+\LoadClass[noamsfonts,twoside]{amsart}
\RequirePackage{microtype, fancyhdr, xcolor, lastpage, collect}
\RequirePackage[bottom,multiple]{footmisc}
\RequirePackage[hyperfootnotes=false]{hyperref}
@@ -101,13 +101,21 @@
\def\bibfont{\Small}
\fi
\ifRESP@manuscript\else
-\AtBeginDocument{\setlength{\pdfpagewidth}{432bp}%
+\AtBeginDocument{\setlength{\pdfpagewidth}{441bp}%
\setlength{\pdfpageheight}{648bp}}
\fi
\setlength{\textwidth}{318pt}
\setlength{\textheight}{540pt}
-\setlength{\evensidemargin}{-18pt}
-\setlength{\oddsidemargin}{\evensidemargin}
+\setlength{\evensidemargin}{-9pt}
+\setlength{\oddsidemargin}{-18pt}
+\ifRESP@screen
+\setlength{\evensidemargin}{-13pt}
+\setlength{\oddsidemargin}{-13pt}
+\fi
+\ifRESP@forthcoming
+\setlength{\evensidemargin}{-13pt}
+\setlength{\oddsidemargin}{-13pt}
+\fi
\setlength{\topmargin}{-48pt}
\listisep\medskipamount
\setlength{\headsep}{14pt}
@@ -203,6 +211,8 @@
\papernumber{0000}
\def\doinumber#1{\gdef\@doinumber{#1}}
\doinumber{10.11612/resphil.\currentyear.\currentvolume.\currentissue.\currentpaper}
+\def\paperUrl#1{\gdef\@paperUrl{#1}}
+\paperUrl{}
\def\startpage#1{\pagenumbering{arabic}\setcounter{page}{#1}%
\def\start@page{#1}%
\ifnum\c@page<\z@ \pagenumbering{roman}\setcounter{page}{-#1}%
@@ -281,6 +291,10 @@
\def\titlenote#1{%
\ifx\@empty\@titlenotes\gdef\@titlenotes{\footnote{#1}}%
\else\g@addto@macro\@titlenotes{\footnote{#1}}\fi}
+\def\@authornotes{}%
+\def\authornote#1{%
+ \ifx\@empty\@authornotes\gdef\@authornotes{\footnote{#1}}%
+ \else\g@addto@macro\@authornotes{\footnote{#1}}\fi}
\def\@settitle{\begin{center}%
\baselineskip20\p@\relax
\LARGE\scshape
@@ -301,7 +315,8 @@
\author@andify\authors
\hypersetup{pdfauthor=\authors}%
\def\\{\protect\linebreak}%
- \large\normalfont\authors%
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \large\normalfont\authors\@authornotes
\endtrivlist
\endgroup
\fi}
@@ -380,6 +395,10 @@
{\@percentchar endpage=\@tempa}%
\protected@write\@mainrpi{}%
{\@percentchar doi=\@doinumber}%
+ \ifx\@paperUrl\@empty\else
+ \protected@write\@mainrpi{}%
+ {\@percentchar paperUrl=\@paperUrl}%
+ \fi
\closeout\@mainrpi
\fi
\egroup}
@@ -453,7 +472,13 @@
\addresses
\endgroup
}
-\AtEndDocument{\cleardoublepage}
+\AtEndDocument{\clearpage
+ \ifRESP@manuscript\else
+ \ifRESP@screen\else
+ \ifRESP@preprint\else
+ \ifRESP@forthcoming\else
+ \cleardoublepage
+ \fi\fi\fi\fi}
\def\@seccntformat#1{%
\csname the#1\endcsname\enspace
}
@@ -500,6 +525,7 @@
\color{#1}##1\egroup}}%
\fi}
\def\doi#1{\url{http://dx.doi.org/#1}}
+\def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}}
\def\@makefntext{\noindent\@makefnmark
\if@enddoc\else
\immediate\write\@mainaux%