From 3ad11a84df06ccfbf00d1663d5b6595dd72f07a9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 11 Jan 2013 23:58:24 +0000 Subject: resphilosophica 1.11 (10jan13) git-svn-id: svn://tug.org/texlive/trunk@28799 c570f23f-e606-0410-a88d-b1316a301751 --- .../bibtex/bst/resphilosophica/resphilosophica.bst | 2 - Master/texmf-dist/doc/latex/resphilosophica/README | 5 +- .../doc/latex/resphilosophica/resphilosophica.pdf | Bin 382649 -> 387099 bytes .../doc/latex/resphilosophica/rpsample.bib | 23 ++++++++ .../doc/latex/resphilosophica/rpsample.pdf | Bin 95948 -> 96232 bytes .../doc/latex/resphilosophica/rpsample.tex | 27 +++++----- .../latex/resphilosophica/resphilosophica.dtx | 59 +++++++++++++++++---- .../tex/latex/resphilosophica/resphilosophica.cls | 24 ++++++++- 8 files changed, 113 insertions(+), 27 deletions(-) diff --git a/Master/texmf-dist/bibtex/bst/resphilosophica/resphilosophica.bst b/Master/texmf-dist/bibtex/bst/resphilosophica/resphilosophica.bst index 3d22f88b418..86f0be4e6fd 100644 --- a/Master/texmf-dist/bibtex/bst/resphilosophica/resphilosophica.bst +++ b/Master/texmf-dist/bibtex/bst/resphilosophica/resphilosophica.bst @@ -1184,7 +1184,6 @@ FUNCTION {incollection} new.block crossref missing$ { format.in.ed.booktitle "booktitle" output.check - new.sentence format.bvolume output format.number.series output format.chapter.pages output @@ -1215,7 +1214,6 @@ FUNCTION {inproceedings} new.block crossref missing$ { format.in.ed.booktitle "booktitle" output.check - new.sentence format.bvolume output format.number.series output titlenote empty$ diff --git a/Master/texmf-dist/doc/latex/resphilosophica/README b/Master/texmf-dist/doc/latex/resphilosophica/README index b7847a27c24..7280a3af5f6 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/README +++ b/Master/texmf-dist/doc/latex/resphilosophica/README @@ -7,4 +7,7 @@ This work was commissioned by the Saint Louis University. Changes - version 1.10: Bibliography formatting + version 1.11: Automatic doi generation + Bibliography formatting changes + + version 1.10: Bibliography formatting changes \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf b/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf index 6b9d9252536..1e70cc97eb4 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.bib b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.bib index 0f254493480..cd6202b2451 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.bib +++ b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.bib @@ -46,3 +46,26 @@ titlenote = {Rev. and Enl. by E.~M.~Lifshitz and L.~P.~Pitaevskii} } + +@InCollection{Rao07:BeliefPropagation, + author = {Rajesh P. N. Rao}, + title = {Neural Models of {B}ayesian Belief Propagation}, + booktitle = {Bayesian Brain: Probabilictic Approaches to Neural Coding}, + crossref = {BayesianBrain2007}, + chapter = 11, + pages = {239--267} +} + +@Book{BayesianBrain2007, + editor = {Doya, Kenji and Ishii, Shin and Pouget, Alexandre + and Rao, Rajesh P. N.}, + title = {Bayesian Brain: Probabilistic Approaches to Neural Coding}, + booktitle = {Bayesian Brain: Probabilistic Approaches to Neural Coding}, + publisher = {The MIT Press}, + year = 2007, + series = {Computational Neuroscience}, + address = {Cambridge, MA; London, England}, + isbn = {026204238X}, + keywords = {bayesian, computational, neural-implementation, + probabilistic-inference, probabilistic-reasoning}, +} diff --git a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf index 9ada70632ff..678dccb0dca 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 d01b46067f6..32259a81ca5 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex +++ b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex @@ -2,20 +2,12 @@ %\documentclass[manuscript]{resphilosophica} \documentclass{resphilosophica} \usepackage{kantlipsum} - -\begin{document} -% -% Paper information -% -% -% We do not want \\ in the headers, hence the -% optional argument for \title \title[A Sample Paper: A Template]{A Sample Paper:\\ A Template} \volumenumber{90} \issuenumber{1--2} \publicationyear{2013} \publicationmonth{January--February} -\doinumber{100.200/rp-32-56-78} +\papernumber{2} \author{Boris Veytsman} \address{Computational Materials Science Center, MS 6A2\\ George Mason University\\ @@ -25,7 +17,7 @@ \urladdr{http://borisv.lk.net} % The next affiliation refers to both authors here -\author{A. U. Th\o r} +\author{A. U. Th{\o}r} \author{C. O. R\"espondent} \address{Kant-Forschungsstelle Universit\"at Mainz\\ Colonel-Kleinmann-Weg 2\\ @@ -33,6 +25,14 @@ Germany} \thanks{The work on this package was supported by Sant Lois University} +\begin{document} +% +% Paper information +% +% +% We do not want \\ in the headers, hence the +% optional argument for \title + % Abstract must PRECEDE \maketitle \begin{abstract} The things in themselves are what first give rise to reason, as is @@ -68,13 +68,14 @@ % here, we need to explicitly suppress indentation. \kant[2-4]\kant[34] -\kant*[6]\footnote{As is shown in the writings of Aristotle, pure +\kant*[7]\footnote{As is shown in the writings of Aristotle, pure logic, in the case of the discipline of natural reason, abstracts from all content of knowledge. Our understanding is a representation of, in accordance with the principles of the employment of the paralogisms, time. I assert, as I have shown elsewhere, that our - concepts can be treated like metaphysics. See also \citep{Landau5}, - \citep{Hoff10} and \citep{Knuth94:TheTeXbook}.} + concepts can be treated like metaphysics. See also \citep{Landau5}, + \citep{Hoff10}, \citep{Rao07:BeliefPropagation} and + \citep{Knuth94:TheTeXbook}.} \section{Discussion} \label{sec:discussion} diff --git a/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx b/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx index 8a527831338..bb90b2f474f 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.22 2012-09-20 02:54:34 boris Exp $ +% $Id: resphilosophica.dtx,v 1.25 2013-01-08 18:42:59 boris Exp $ % -% Copyright 2012, Boris Veytsman +% Copyright 2012-2013, Boris Veytsman % 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{1030} +% \CheckSum{1080} % % %% \CharacterTable @@ -53,7 +53,7 @@ \ProvidesFile{resphilosophica.dtx} % %\ProvidesClass{resphilosophica} -[2012/09/19 v1.10 Typesetting articles for Res Philosophica] +[2013/01/08 v1.11 Typesetting articles for Res Philosophica] %<*gobble> % \end{macrocode} % @@ -69,6 +69,7 @@ % \changes{v1.8}{2012/09/12}{Added blank last page if the last page is % odd} % \changes{v1.10}{2012/09/19}{Bibliography changes} +% \changes{v1.11}{2013/01/08}{Bibliography changes} % %\iffalse % \begin{macrocode} @@ -337,11 +338,11 @@ % \DescribeMacro{\issuenumber} % \DescribeMacro{\publicationyear} % \DescribeMacro{\publicationmonth} -% \DescribeMacro{\doinumber} +% \DescribeMacro{\papernumber} % \DescribeMacro{\startpage} % \DescribeMacro{\endpage} % The macros |\volumenumber|, |\issuenumber|, |\publicationyear|, -% |\publicationmonth|, |\doinumber|, |\startpage|, |\endpage| set up the +% |\publicationmonth|, |\papernumber|, |\startpage|, |\endpage| set up the % corresponding % data for the paper, for example: % \begin{verbatim} @@ -349,13 +350,21 @@ % \issuenumber{1--2} % \publicationyear{2012} % \publicationmonth{January and April} -% \doinumber{100.234/RP-2-3-12} +% \papernumber{2} % \startpage{1} % \endpage{39} % \end{verbatim} % Note that if the argument of |\endpage| is empty, \LaTeX{} tries to % calculate the last page number as best as it can. % +% \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. +% % \DescribeMacro{\prevpaper} % Instead of setting |\startpage|, one can use the the command % |\prevpaper|\marg{previous paper}, with the argument being the @@ -878,12 +887,22 @@ % \end{macrocode} % \end{macro} % +% \begin{macro}{\papernumber} +% \changes{v1.11}{2012/12/24}{Added macro} +% This is absent from the |\issueinfo|. +% \begin{macrocode} +\def\papernumber#1{\def\currentpaper{#1}} +\papernumber{0000} +% +% \end{macro} +% +% % \begin{macro}{\doinumber} -% \changes{v1.1}{2012/09/01}{Added macro} +% \changes{v1.11}{2012/12/25}{Added default} % DOI number for the article: % \begin{macrocode} \def\doinumber#1{\gdef\@doinumber{#1}} -\doinumber{} +\doinumber{10.11612/resphil.\currentyear.\currentvolume.\currentissue.\currentpaper} % \end{macrocode} % \end{macro} % @@ -1157,6 +1176,7 @@ % \begin{macro}{\RESP@write@paper@info} % \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} % This writes the information about the paper into the file % |jobname.rpi|. Note that hyperref makes our life a little bit % more complex @@ -1175,6 +1195,27 @@ \def\and{\string\and\space}% \protected@write\@mainrpi{}% {\string\articleentry{\authors}{\@title}{\start@page}{\@tempa}}% +% \end{macrocode} +% The next lines are for crossref software +% \begin{macrocode} + \protected@write\@mainrpi{}% + {\@percentchar authors=\authors}% + \protected@write\@mainrpi{}% + {\@percentchar title=\@title}% + \protected@write\@mainrpi{}% + {\@percentchar year=\currentyear}% + \protected@write\@mainrpi{}% + {\@percentchar volume=\currentvolume}% + \protected@write\@mainrpi{}% + {\@percentchar issue=\currentissue}% + \protected@write\@mainrpi{}% + {\@percentchar paper=\currentpaper}% + \protected@write\@mainrpi{}% + {\@percentchar startpage=\start@page}% + \protected@write\@mainrpi{}% + {\@percentchar endpage=\@tempa}% + \protected@write\@mainrpi{}% + {\@percentchar doi=\@doinumber}% \closeout\@mainrpi \fi \egroup} diff --git a/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls b/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls index 5d569126b8c..70587b3f363 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} -[2012/09/19 v1.10 Typesetting articles for Res Philosophica] +[2013/01/08 v1.11 Typesetting articles for Res Philosophica] \RequirePackage{xkeyval} \newif\ifRESP@fontauto \RESP@fontautotrue @@ -172,8 +172,10 @@ \publicationyear{2090} \def\publicationmonth#1{\def\currentmonth{#1}} \publicationmonth{January--February} +\def\papernumber#1{\def\currentpaper{#1}} +\papernumber{0000} \def\doinumber#1{\gdef\@doinumber{#1}} -\doinumber{} +\doinumber{10.11612/resphil.\currentyear.\currentvolume.\currentissue.\currentpaper} \def\startpage#1{\pagenumbering{arabic}\setcounter{page}{#1}% \def\start@page{#1}% \ifnum\c@page<\z@ \pagenumbering{roman}\setcounter{page}{-#1}% @@ -324,6 +326,24 @@ \def\and{\string\and\space}% \protected@write\@mainrpi{}% {\string\articleentry{\authors}{\@title}{\start@page}{\@tempa}}% + \protected@write\@mainrpi{}% + {\@percentchar authors=\authors}% + \protected@write\@mainrpi{}% + {\@percentchar title=\@title}% + \protected@write\@mainrpi{}% + {\@percentchar year=\currentyear}% + \protected@write\@mainrpi{}% + {\@percentchar volume=\currentvolume}% + \protected@write\@mainrpi{}% + {\@percentchar issue=\currentissue}% + \protected@write\@mainrpi{}% + {\@percentchar paper=\currentpaper}% + \protected@write\@mainrpi{}% + {\@percentchar startpage=\start@page}% + \protected@write\@mainrpi{}% + {\@percentchar endpage=\@tempa}% + \protected@write\@mainrpi{}% + {\@percentchar doi=\@doinumber}% \closeout\@mainrpi \fi \egroup} -- cgit v1.2.3