diff options
author | Karl Berry <karl@freefriends.org> | 2019-04-05 21:12:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-04-05 21:12:03 +0000 |
commit | 1380632dabfaef1d93e599a7066e094d9dff89a6 (patch) | |
tree | 4a831992e2b00d9d6ce1bbfd4e7b4ed5176072fc | |
parent | 64837c1745f816a584f5bc1841c74dccfbf99643 (diff) |
elsarticle (5apr19)
git-svn-id: svn://tug.org/texlive/trunk@50786 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/elsarticle/elsdoc.pdf | bin | 450411 -> 453062 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex | 35 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx | 75 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls | 72 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 |
9 files changed, 209 insertions, 28 deletions
diff --git a/Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst b/Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst index 5f9f0171811..7c26b989b39 100644 --- a/Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst +++ b/Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst @@ -14,7 +14,7 @@ %% version 1999/12/01 or later. %% %% -%% $Id: elsarticle-num.bst 163 2019-01-14 09:54:24Z rishi $ +%% $Id: elsarticle-num.bst 174 2019-04-05 09:50:32Z rishi $ %% %% $URL: http://lenova.river-valley.com/svn/elsarticle/trunk/elsarticle-num.bst $ %% @@ -1174,7 +1174,10 @@ FUNCTION {article} if$ format.journal.pages format.note output - format.date "year" output.check + pages empty$ + { format.date "year" output.check } + 'skip$ + if$ fin.entry write.url } @@ -1204,7 +1207,6 @@ FUNCTION {book} } if$ format.note output - format.date "year" output.check fin.entry write.url } @@ -1217,7 +1219,7 @@ FUNCTION {booklet} howpublished output address output format.note output - format.date "year" output.check + format.date "year" output.check fin.entry write.url } @@ -1251,7 +1253,6 @@ FUNCTION {inbook} if$ format.pages "pages" output.check format.note output - format.date "year" output.check fin.entry write.url } @@ -1275,7 +1276,6 @@ FUNCTION {incollection} if$ format.pages "pages" output.check format.note output - format.date "year" output.check fin.entry write.url } @@ -1302,7 +1302,6 @@ FUNCTION {inproceedings} if$ format.pages "pages" output.check format.note output - format.date "year" output.check fin.entry write.url } @@ -1338,7 +1337,7 @@ FUNCTION {manual} if$ format.edition output format.note output - format.date "year" output.check + format.date "year" output.check fin.entry write.url } @@ -1364,9 +1363,8 @@ FUNCTION {misc} format.title output howpublished output format.note output - format.date "year" output.check + format.date "year" output.check fin.entry - format.date "year" output.check write.url empty.misc.check } diff --git a/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex b/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex index e460c69014f..0b26bd2e8c0 100644 --- a/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex +++ b/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex @@ -87,6 +87,17 @@ \end{abstract} +%%Graphical abstract +\begin{graphicalabstract} +%\includegraphics{grabs} +\end{graphicalabstract} + +%%Research highlights +\begin{highlights} +\item Research highlight 1 +\item Research highlight 2 +\end{highlights} + \begin{keyword} %% keywords here, in the form: keyword \sep keyword diff --git a/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex b/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex index 38be4167ec6..46898bcb4e4 100644 --- a/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex +++ b/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex @@ -87,6 +87,17 @@ \end{abstract} +%%Graphical abstract +\begin{graphicalabstract} +%\includegraphics{grabs} +\end{graphicalabstract} + +%%Research highlights +\begin{highlights} +\item Research highlight 1 +\item Research highlight 2 +\end{highlights} + \begin{keyword} %% keywords here, in the form: keyword \sep keyword diff --git a/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex b/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex index 0fb5f502a61..af5ce75c33a 100644 --- a/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex +++ b/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex @@ -21,7 +21,7 @@ %% %% %% -%% $Id: elsarticle-template-num.tex 164 2019-01-14 09:57:55Z rishi $ +%% $Id: elsarticle-template-num.tex 168 2019-02-25 07:15:41Z apu.v $ %% %% \documentclass[preprint,12pt]{elsarticle} @@ -94,6 +94,17 @@ \end{abstract} +%%Graphical abstract +\begin{graphicalabstract} +%\includegraphics{grabs} +\end{graphicalabstract} + +%%Research highlights +\begin{highlights} +\item Research highlight 1 +\item Research highlight 2 +\end{highlights} + \begin{keyword} %% keywords here, in the form: keyword \sep keyword diff --git a/Master/texmf-dist/doc/latex/elsarticle/elsdoc.pdf b/Master/texmf-dist/doc/latex/elsarticle/elsdoc.pdf Binary files differindex 0b6419dfadc..16698273347 100644 --- a/Master/texmf-dist/doc/latex/elsarticle/elsdoc.pdf +++ b/Master/texmf-dist/doc/latex/elsarticle/elsdoc.pdf diff --git a/Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex b/Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex index bb62a8a8861..0c3e02cb319 100644 --- a/Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex +++ b/Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex @@ -71,7 +71,7 @@ \author{Elsevier Ltd} \contact{elsarticle@stmdocs.in} -\version{2.1} +\version{3.2} \date{\today} \maketitle @@ -440,7 +440,6 @@ author details and abstract \& keywords one one page. \end{itemize} - \section{Floats} {Figures} may be included using the command, \verb+\includegraphics+ in combination with or without its several options to further control @@ -697,7 +696,37 @@ journal-specific \verb+.bst+ files also available. Instruction for using these \verb+.bst+ files can be found at \href{http://support.stmdocs.in/wiki/index.php?title=Model-wise_bibliographic_style_files} {http://support.stmdocs.in} - + +\section{Graphical abstract and highlights} +A template for adding graphical abstract and highlights are available +now. This will appear as the first two pages of the PDF before the +article content begins. + +\pagebreak +Please refer below to see how to code them. + +\begin{vquote} +.... +.... + +\end{abstract} + +%%Graphical abstract +\begin{graphicalabstract} +%\includegraphics{grabs} +\end{graphicalabstract} + +%%Research highlights +\begin{highlights} +\item Research highlight 1 +\item Research highlight 2 +\end{highlights} + +\begin{keyword} +%% keywords here, in the form: keyword \sep keyword +.... +.... +\end{vquote} \section{Final print}\label{sec:final} diff --git a/Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx b/Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx index 3f4c5ce2f02..187b6d5b0c6 100644 --- a/Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx +++ b/Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx @@ -16,7 +16,8 @@ % \fi % \CheckSum{2634} % -% $Id: elsarticle.dtx 159 2019-01-14 09:10:30Z rishi $ +% $Id: elsarticle.dtx 167 2019-02-25 07:12:21Z apu.v $ +% $URL: http://lenova.river-valley.com/svn/elsarticle/trunk/elsarticle.dtx $ % \iffalse %<*driver> \documentclass{ltxdoc} @@ -77,8 +78,8 @@ %% %% \def\RCSfile{elsarticle}% - \def\RCSversion{3.1}% - \def\RCSdate{2019/01/14}% + \def\RCSversion{3.2}% + \def\RCSdate{2019/02/25}% \def\@shortjnl{\relax} \def\@journal{Elsevier Ltd} \def\@company{Elsevier Ltd} @@ -127,7 +128,7 @@ \DeclareOption{times}{\IfFileExists{txfonts.sty}% {\AtEndOfClass{\RequirePackage{txfonts}% \gdef\ttdefault{cmtt}% - \let\iint\relax + \let\iint\relax \let\iiint\relax \let\iiiint\relax \let\idotsint\relax @@ -282,15 +283,21 @@ \def\elsauthors{} \def\useauthors{} +\def\elsprelimauthors{} \def\pprinttitle{} \let\authorsep\@empty +\let\prelimauthorsep\@empty \let\sep\@empty \newcounter{author} \def\author{\@ifnextchar[{\@@author}{\@author}} \newtoks\@eadauthor -\def\@@author[#1]#2{\g@addto@macro\elsauthors{% +\def\@@author[#1]#2{% + \g@addto@macro\elsprelimauthors{% + \prelimauthorsep#2% + \def\prelimauthorsep{\unskip,\space}}% + \g@addto@macro\elsauthors{% \def\baselinestretch{1}% \authorsep#2\unskip\textsuperscript{%#1% \@for\@@affmark:=#1\do{% @@ -306,7 +313,11 @@ \g@addto@macro\useauthors{#2; }% } -\def\@author#1{\g@addto@macro\elsauthors{\normalsize% +\def\@author#1{% + \g@addto@macro\elsprelimauthors{% + \prelimauthorsep#1% + \def\prelimauthorsep{\unskip,\space}}% + \g@addto@macro\elsauthors{\normalsize% \def\baselinestretch{1}% \upshape\authorsep#1\unskip\textsuperscript{% \ifx\@fnmark\@empty\else\unskip\sep\@fnmark\let\sep=,\fi @@ -381,6 +392,51 @@ \noindent\unskip\textbf{\@elsarticleabstitle} %*% \par\medskip\noindent\unskip\ignorespaces} {\egroup} + +\newbox\elsarticlehighlightsbox +\newbox\elsarticlegrabsbox +\def\@elsarticlehighlightstitle{Highlights} +\def\@elsarticlegrabstitle{Graphical Abstract} +\newif\ifelsprelimpagegrabs\global\elsprelimpagegrabsfalse +\newif\ifelsprelimpagehl\global\elsprelimpagehlfalse +\def\elsarticleprelims{% + \ifelsprelimpagegrabs\relax% + \thispagestyle{empty}% + \unvbox\elsarticlegrabsbox% + \pagebreak\clearpage% + \fi% + \ifelsprelimpagehl\relax% + \thispagestyle{empty} + \unvbox\elsarticlehighlightsbox% + \pagebreak\clearpage% + \setcounter{page}{1}% + \fi% +} +\newenvironment{highlights}{% + \global\elsprelimpagehltrue% + \global\setbox\elsarticlehighlightsbox=\vbox\bgroup + \hsize=\textwidth\def\baselinestretch{1}% + \noindent\unskip{\Large\@elsarticlehighlightstitle}%*% + \par\vskip12pt\noindent\unskip\ignorespaces\textbf{\@title}% + \ifx\elsprelimauthors\@empty\relax\else% + \par\vskip6pt\noindent\unskip\ignorespaces\elsprelimauthors% + \fi% + \par\medskip\noindent\unskip\ignorespaces + \begin{itemize} + } + {\end{itemize} + \egroup} +\newenvironment{graphicalabstract}{% + \global\elsprelimpagegrabstrue% + \global\setbox\elsarticlegrabsbox=\vbox\bgroup + \hsize=\textwidth\def\baselinestretch{1}% + \noindent\unskip{\Large\@elsarticlegrabstitle}%*% + \par\vskip12pt\noindent\unskip\ignorespaces\textbf{\@title}% + \ifx\elsprelimauthors\@empty\relax\else% + \par\vskip6pt\noindent\unskip\ignorespaces\elsprelimauthors% + \fi% + \par\medskip\noindent\unskip\ignorespaces} + {\egroup} \newbox\keybox \let\@elsarticlekwdtitle\@empty %*% @@ -565,10 +621,11 @@ \newbox\els@boxb \ifpreprint - \def\maketitle{\pprintMaketitle} + \def\maketitle{\elsarticleprelims\pprintMaketitle} \else \ifnum\jtype=1 \def\maketitle{% + \elsarticleprelims% \iflongmktitle\getSpaceLeft \ifdim\noteheight>0pt% \advance\@tempdima-1.35\baselineskip @@ -591,6 +648,7 @@ \else \ifnum\jtype=5 \def\maketitle{% + \elsarticleprelims% \iflongmktitle\getSpaceLeft \ifdim\noteheight>0pt% \advance\@tempdima-1.35\baselineskip @@ -613,6 +671,7 @@ \else \if@twocolumn \def\maketitle{% + \elsarticleprelims% \iflongmktitle\getSpaceLeft \ifdim\noteheight>0pt% \advance\@tempdima-1.35\baselineskip @@ -634,6 +693,7 @@ \gdef\thefootnote{\arabic{footnote}}}% \else \def\maketitle{% + \elsarticleprelims% \iflongmktitle\getSpaceLeft \ifdim\noteheight>0pt% \advance\@tempdima-1.35\baselineskip @@ -650,6 +710,7 @@ \fi% \box0% \else + \elsarticleprelims% \finalMaketitle\printFirstPageNotes \fi \gdef\thefootnote{\arabic{footnote}}}% diff --git a/Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls b/Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls index d8ee17a5bd4..53a1072651a 100644 --- a/Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls +++ b/Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls @@ -25,8 +25,8 @@ %% %% \def\RCSfile{elsarticle}% - \def\RCSversion{3.1}% - \def\RCSdate{2019/01/14}% + \def\RCSversion{3.2}% + \def\RCSdate{2019/02/25}% \def\@shortjnl{\relax} \def\@journal{Elsevier Ltd} \def\@company{Elsevier Ltd} @@ -75,7 +75,7 @@ \DeclareOption{times}{\IfFileExists{txfonts.sty}% {\AtEndOfClass{\RequirePackage{txfonts}% \gdef\ttdefault{cmtt}% - \let\iint\relax + \let\iint\relax \let\iiint\relax \let\iiiint\relax \let\idotsint\relax @@ -224,15 +224,21 @@ \def\elsauthors{} \def\useauthors{} +\def\elsprelimauthors{} \def\pprinttitle{} \let\authorsep\@empty +\let\prelimauthorsep\@empty \let\sep\@empty \newcounter{author} \def\author{\@ifnextchar[{\@@author}{\@author}} \newtoks\@eadauthor -\def\@@author[#1]#2{\g@addto@macro\elsauthors{% +\def\@@author[#1]#2{% + \g@addto@macro\elsprelimauthors{% + \prelimauthorsep#2% + \def\prelimauthorsep{\unskip,\space}}% + \g@addto@macro\elsauthors{% \def\baselinestretch{1}% \authorsep#2\unskip\textsuperscript{%#1% \@for\@@affmark:=#1\do{% @@ -248,7 +254,11 @@ \g@addto@macro\useauthors{#2; }% } -\def\@author#1{\g@addto@macro\elsauthors{\normalsize% +\def\@author#1{% + \g@addto@macro\elsprelimauthors{% + \prelimauthorsep#1% + \def\prelimauthorsep{\unskip,\space}}% + \g@addto@macro\elsauthors{\normalsize% \def\baselinestretch{1}% \upshape\authorsep#1\unskip\textsuperscript{% \ifx\@fnmark\@empty\else\unskip\sep\@fnmark\let\sep=,\fi @@ -324,6 +334,51 @@ \par\medskip\noindent\unskip\ignorespaces} {\egroup} +\newbox\elsarticlehighlightsbox +\newbox\elsarticlegrabsbox +\def\@elsarticlehighlightstitle{Highlights} +\def\@elsarticlegrabstitle{Graphical Abstract} +\newif\ifelsprelimpagegrabs\global\elsprelimpagegrabsfalse +\newif\ifelsprelimpagehl\global\elsprelimpagehlfalse +\def\elsarticleprelims{% + \ifelsprelimpagegrabs\relax% + \thispagestyle{empty}% + \unvbox\elsarticlegrabsbox% + \pagebreak\clearpage% + \fi% + \ifelsprelimpagehl\relax% + \thispagestyle{empty} + \unvbox\elsarticlehighlightsbox% + \pagebreak\clearpage% + \setcounter{page}{1}% + \fi% +} +\newenvironment{highlights}{% + \global\elsprelimpagehltrue% + \global\setbox\elsarticlehighlightsbox=\vbox\bgroup + \hsize=\textwidth\def\baselinestretch{1}% + \noindent\unskip{\Large\@elsarticlehighlightstitle}%*% + \par\vskip12pt\noindent\unskip\ignorespaces\textbf{\@title}% + \ifx\elsprelimauthors\@empty\relax\else% + \par\vskip6pt\noindent\unskip\ignorespaces\elsprelimauthors% + \fi% + \par\medskip\noindent\unskip\ignorespaces + \begin{itemize} + } + {\end{itemize} + \egroup} +\newenvironment{graphicalabstract}{% + \global\elsprelimpagegrabstrue% + \global\setbox\elsarticlegrabsbox=\vbox\bgroup + \hsize=\textwidth\def\baselinestretch{1}% + \noindent\unskip{\Large\@elsarticlegrabstitle}%*% + \par\vskip12pt\noindent\unskip\ignorespaces\textbf{\@title}% + \ifx\elsprelimauthors\@empty\relax\else% + \par\vskip6pt\noindent\unskip\ignorespaces\elsprelimauthors% + \fi% + \par\medskip\noindent\unskip\ignorespaces} + {\egroup} + \newbox\keybox \let\@elsarticlekwdtitle\@empty %*% \def\keywordtitle#1{\gdef\@elsarticlekwdtitle{#1}} %*% @@ -507,10 +562,11 @@ \newbox\els@boxb \ifpreprint - \def\maketitle{\pprintMaketitle} + \def\maketitle{\elsarticleprelims\pprintMaketitle} \else \ifnum\jtype=1 \def\maketitle{% + \elsarticleprelims% \iflongmktitle\getSpaceLeft \ifdim\noteheight>0pt% \advance\@tempdima-1.35\baselineskip @@ -533,6 +589,7 @@ \else \ifnum\jtype=5 \def\maketitle{% + \elsarticleprelims% \iflongmktitle\getSpaceLeft \ifdim\noteheight>0pt% \advance\@tempdima-1.35\baselineskip @@ -555,6 +612,7 @@ \else \if@twocolumn \def\maketitle{% + \elsarticleprelims% \iflongmktitle\getSpaceLeft \ifdim\noteheight>0pt% \advance\@tempdima-1.35\baselineskip @@ -576,6 +634,7 @@ \gdef\thefootnote{\arabic{footnote}}}% \else \def\maketitle{% + \elsarticleprelims% \iflongmktitle\getSpaceLeft \ifdim\noteheight>0pt% \advance\@tempdima-1.35\baselineskip @@ -592,6 +651,7 @@ \fi% \box0% \else + \elsarticleprelims% \finalMaketitle\printFirstPageNotes \fi \gdef\thefootnote{\arabic{footnote}}}% diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index c5e2bb58abd..afe728c0114 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -245,7 +245,7 @@ my @TLP_working = qw( elbioimp electrum eledform eledmac elegantbook elegantnote elegantpaper elements ellipse ellipsis - elmath elocalloc elpres els-cas-template elsarticle + elmath elocalloc elpres els-cas-template els-cas-templates elsarticle elteikthesis eltex elvish elzcards emarks embedall embrac emf emisa emptypage emulateapj emp enctex encxvlna endfloat endheads endiagram endnotes endnotesj endofproofwd |