From 543988770c8c489a8d8ad8e44e0f5bf2add66a2c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 28 Mar 2019 20:59:07 +0000 Subject: ejpecp (28mar19) git-svn-id: svn://tug.org/texlive/trunk@50628 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/ejpecp') diff --git a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls index 8e019a35b2e..847391dc3bb 100644 --- a/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls +++ b/Master/texmf-dist/tex/latex/ejpecp/ejpecp.cls @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{ejpecp} - [2016/09/06 v1.5 .dtx ejpecp file] + [2019/03/28 v1.6 .dtx ejpecp file] \ClassInfo{ejpecp}{Copyright (c) 2016 Eimantas GUMBAKIS, VTeX, Lithuania for EJP-ECP.} \ClassInfo{ejpecp}{Copyright (c), 2011-2015 BURDZY and CHAFAI for EJP-ECP.} %% We declare and handle our class options @@ -184,6 +184,8 @@ \textbf{ in PROBABILITY}\\ \rule[.08in]{1.3in}{1.6pt}}}% }%ECPLOGO +\def\@doiprefix{https://doi.org/} +\def\printdoi{\texttt{\href{\@doiprefix\@DOI}{\@doiprefix\@DOI}}} %% Macro handling the first page \newcommand{\FIRSTPAGE}{% \setcounter{page}{\@PAGESTART}% @@ -195,7 +197,7 @@ no. \@PAPERNUM, \,\@PAGESTART--\@PAGEEND.}% \centerline{ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}} % \ifx\@DOI\undefined\else - \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% + \ \printdoi \fi}% \bigskip \bigskip @@ -208,7 +210,7 @@ no. \@PAPERNUM, \@PAGESTART--\@PAGEEND.\\ \ifx\@DOI\undefined \else - \ DOI: \texttt{\href{http://dx.doi.org/\@DOI}{\@DOI}}% + \ \printdoi \fi \\ ISSN:\ \texttt{\href{http://\@URL/}{\@ISSN}}% }% @@ -263,12 +265,12 @@ %% Macro setting the PDF title \newcommand{\PDFFIELDS}{% \hypersetup{% - pdftitle={\@JOURNALA\ \@VOLUME\ (\@YEAR), no. \@PAPERNUM, DOI: \@DOI}}% + pdftitle={\@JOURNALA\ \@VOLUME\ (\@YEAR), no. \@PAPERNUM, \@doiprefix\@DOI}}% \hypersetup{pdfkeywords={\@KEYWORDS}}% \hypersetup{pdfproducer={\@JOURNAL\ Managing Editor http://\@URL/}}% \hypersetup{pdfcreator={LaTeX with ejpecp.cls v1.4}}% \hypersetup{pdfsubject={Probability Theory}}% - \hypersetup{pdfauthor={Please see http://dx.doi.org/\@DOI}}% + \hypersetup{pdfauthor={Please see \@doiprefix\@DOI}}% }%END-PDFFIELDS %% Bibliography @@ -373,7 +375,7 @@ \fi %% Headings \newcommand{\@HBLOB}{% - \href{http://dx.doi.org/\@DOI}% + \href{\@doiprefix\@DOI}% {\@JOURNAL\ \textbf{\@VOLUME}\, (\@YEAR),\ paper \@PAPERNUM.}} \renewcommand{\@evenfoot}{% \normalfont\footnotesize\@HBLOB\hfil -- cgit v1.2.3