From b554526dd34e1597e4fd49148ace4a911c6dc9e3 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 15 Dec 2011 02:02:01 +0000
Subject: ejpecp (13dec11)

git-svn-id: svn://tug.org/texlive/trunk@24846 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx | 29 ++++++++++++++----------
 1 file changed, 17 insertions(+), 12 deletions(-)

(limited to 'Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx')

diff --git a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx
index fb60a2de718..7fb1a043297 100644
--- a/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx
+++ b/Master/texmf-dist/source/latex/ejpecp/ejpecp.dtx
@@ -23,7 +23,7 @@
 %<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<class>\ProvidesClass{ejpecp}
 %<*class>   
-    [2011/12/01 v0.57 .dtx ejpecp file]
+    [2011/12/12 v0.57 .dtx ejpecp file]
 %</class>
 %<class>\ClassInfo{ejpecp}{Copyright (c) BURDZY and CHAFAI for EJP-ECP, 2011.}
 %
@@ -40,7 +40,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{616}
+% \CheckSum{622}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -59,7 +59,8 @@
 %   Right brace   \}     Tilde         \~}
 % 
 % \changes{v0.5}{2011/11/26}{Initial version.}
-% \changes{v0.57}{2011/12/01}{Minor improvements, see the README file.}
+% \changes{v0.57}{2011/12/01}{Improvements, see the README file.}
+% \changes{v0.577}{2011/12/12}{Improvements, see the README file.}
 % \GetFileInfo{ejpecp.dtx}
 %
 % \DoNotIndex{\newcommand,\newenvironment}
@@ -104,18 +105,18 @@
 %% We declare and handle our class options
 \DeclareOption{EJP}{%
   \makeatletter
+  \newcommand{\@EJP}{}
   \newcommand{\@JOURNAL}{EJP}
   \newcommand{\@JOURNALL}{Electronic Journal of Probability}
-  \newcommand{\@EJP}{}
   \newcommand{\@ISSN}{1083-6489}
   \newcommand{\@URL}{ejp.ejpecp.org}
   \makeatother
 }
 \DeclareOption{ECP}{%
   \makeatletter
+  \newcommand{\@ECP}{}
   \newcommand{\@JOURNAL}{ECP}
   \newcommand{\@JOURNALL}{Electronic Communications in Probability}
-  \newcommand{\@ECP}{}
   \newcommand{\@ISSN}{1083-589X}
   \newcommand{\@URL}{ecp.ejpecp.org}
   \makeatother
@@ -139,7 +140,6 @@
 %% We use the standard article class
 \LoadClass[a4paper,10pt,twoside]{article} 
 %% Packages and their options
-\RequirePackage{xstring}
 \RequirePackage[pdftex]{graphicx}
 \DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG}
 \RequirePackage{amsmath,amsfonts,amssymb,amsthm,latexsym,dsfont}
@@ -166,7 +166,7 @@
 \newcommand{\@SUBMITTED}{FIXME!}
 \newcommand{\@ACCEPTED}{FIXME!}
 \newcommand{\TITLE}[1]{\renewcommand{\@TITLE}{#1}}
-\newcommand{\THANKS}[1]{\gdef\@THANKS{#1}}
+%\newcommand{\THANKS}[1]{\gdef\@THANKS{#1}}
 \newcommand{\SHORTTITLE}[1]{\renewcommand{\@SHORTTITLE}{#1}}
 \newcommand{\AUTHORS}[1]{\author{#1}}
 \newcommand{\KEYWORDS}[1]{\renewcommand{\@KEYWORDS}{#1}}
@@ -182,6 +182,7 @@
 \newcommand{\ACCEPTED}[1]{\renewcommand{\@ACCEPTED}{#1}}
 \newcommand{\DOI}[1]{\gdef\@DOI{10.1214/\@JOURNAL.#1}}
 \newcommand{\ARXIVID}[1]{\gdef\@ARXIVID{#1}}
+\newcommand{\ACKNO}[1]{\noindent\textbf{Acknowledgments.} #1}
 \makeatother
 %% Logos
 \makeatletter
@@ -252,7 +253,7 @@
      Paper no. \@PAPERNUM, pages \,\@PAGESTART--\@PAGEEND.}
     \bigskip
     \bigskip
-    {\Large\bfseries\@TITLE}\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi
+    {\Large\bfseries\@TITLE}%\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi
     \fi%EJP
     \ifx\@ECP\undefined\else%
     \emph{Elect. Comm. in Probab.}
@@ -261,7 +262,7 @@
     \@ECPLOGO\\
     \bigskip
     \bigskip
-    {\Large\@TITLE\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi}
+    {\Large\@TITLE}%\ifx\@THANKS\undefined\else\thanks{\@THANKS}\fi
     \fi%ECP
   } % end title
  \date{}%
@@ -298,9 +299,9 @@
 \makeatother
 %% Bibliography
 \makeatletter
+\def\@MRExtract#1 #2!{#1}     % thanks, Martin!
 \newcommand{\MR}[1]{% we need to strip the "(...)"
-  \def\@MRBLOB{#1(} % add fake "(" to force presence of "("
-  \StrBefore{\@MRBLOB}{(}[\@MRSTRIP] % do the strip with xstring package!
+  \xdef\@MRSTRIP{\@MRExtract#1 !}%
   \href{http://www.ams.org/mathscinet-getitem?mr=\@MRSTRIP}{MR-\@MRSTRIP}}
 \makeatother
 \newcommand{\ARXIV}[1]{\href{http://arXiv.org/abs/#1}{arXiv:#1}}
@@ -379,7 +380,11 @@
 \makeatother
 %% Replace \mathbb by \mathds except if we require the contrary
 \makeatletter
-\ifx\@NODS\undefined\let\mathbb=\mathds\else\fi
+\ifx\@NODS\undefined%
+\let\realmathbb=\mathbb
+\let\mathbb=\mathds
+\else%
+\fi
 \makeatother
 %% Headings
 \makeatletter
-- 
cgit v1.2.3

