texlive[50786] Master: elsarticle (5apr19)

commits+karl at tug.org commits+karl at tug.org
Fri Apr 5 23:12:03 CEST 2019


Revision: 50786
          http://tug.org/svn/texlive?view=revision&revision=50786
Author:   karl
Date:     2019-04-05 23:12:03 +0200 (Fri, 05 Apr 2019)
Log Message:
-----------
elsarticle (5apr19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst
    trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex
    trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex
    trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex
    trunk/Master/texmf-dist/doc/latex/elsarticle/elsdoc.pdf
    trunk/Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex
    trunk/Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx
    trunk/Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls
    trunk/Master/tlpkg/bin/tlpkg-ctan-check

Modified: trunk/Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst	2019-04-05 21:09:13 UTC (rev 50785)
+++ trunk/Master/texmf-dist/bibtex/bst/elsarticle/elsarticle-num.bst	2019-04-05 21:12:03 UTC (rev 50786)
@@ -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 @@
   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 @@
     }
   if$
   format.note output
-    format.date "year" output.check
   fin.entry
   write.url
 }
@@ -1217,7 +1219,7 @@
   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 @@
   if$
   format.pages "pages" output.check
   format.note output
-    format.date "year" output.check
   fin.entry
   write.url
 }
@@ -1275,7 +1276,6 @@
   if$
   format.pages "pages" output.check
   format.note output
-    format.date "year" output.check
   fin.entry
   write.url
 }
@@ -1302,7 +1302,6 @@
   if$
   format.pages "pages" output.check
   format.note output
-    format.date "year" output.check
   fin.entry
   write.url
 }
@@ -1338,7 +1337,7 @@
   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 @@
   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
 }

Modified: trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex	2019-04-05 21:09:13 UTC (rev 50785)
+++ trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-harv.tex	2019-04-05 21:12:03 UTC (rev 50786)
@@ -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
 

Modified: trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex	2019-04-05 21:09:13 UTC (rev 50785)
+++ trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num-names.tex	2019-04-05 21:12:03 UTC (rev 50786)
@@ -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
 

Modified: trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex	2019-04-05 21:09:13 UTC (rev 50785)
+++ trunk/Master/texmf-dist/doc/latex/elsarticle/elsarticle-template-num.tex	2019-04-05 21:12:03 UTC (rev 50786)
@@ -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
 

Modified: trunk/Master/texmf-dist/doc/latex/elsarticle/elsdoc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex	2019-04-05 21:09:13 UTC (rev 50785)
+++ trunk/Master/texmf-dist/doc/latex/elsarticle/elsdoc.tex	2019-04-05 21:12:03 UTC (rev 50786)
@@ -71,7 +71,7 @@
 \author{Elsevier Ltd}
 \contact{elsarticle at stmdocs.in}
 
-\version{2.1}
+\version{3.2}
 \date{\today}
 \maketitle
 
@@ -440,7 +440,6 @@
 
 \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,8 +696,38 @@
 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}
 
 The authors can format their submission to the page size and margins

Modified: trunk/Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx	2019-04-05 21:09:13 UTC (rev 50785)
+++ trunk/Master/texmf-dist/source/latex/elsarticle/elsarticle.dtx	2019-04-05 21:12:03 UTC (rev 50786)
@@ -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 at addto@macro\elsauthors{%
+\def\@@author[#1]#2{%
+    \g at addto@macro\elsprelimauthors{%
+     \prelimauthorsep#2%
+     \def\prelimauthorsep{\unskip,\space}}%
+    \g at addto@macro\elsauthors{%
     \def\baselinestretch{1}%
     \authorsep#2\unskip\textsuperscript{%#1%
       \@for\@@affmark:=#1\do{%
@@ -306,7 +313,11 @@
     \g at addto@macro\useauthors{#2; }%
 }
 
-\def\@author#1{\g at addto@macro\elsauthors{\normalsize%
+\def\@author#1{%
+    \g at addto@macro\elsprelimauthors{%
+     \prelimauthorsep#1%
+     \def\prelimauthorsep{\unskip,\space}}%
+    \g at 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 at 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 at 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}}}%

Modified: trunk/Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls	2019-04-05 21:09:13 UTC (rev 50785)
+++ trunk/Master/texmf-dist/tex/latex/elsarticle/elsarticle.cls	2019-04-05 21:12:03 UTC (rev 50786)
@@ -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 at addto@macro\elsauthors{%
+\def\@@author[#1]#2{%
+    \g at addto@macro\elsprelimauthors{%
+     \prelimauthorsep#2%
+     \def\prelimauthorsep{\unskip,\space}}%
+    \g at addto@macro\elsauthors{%
     \def\baselinestretch{1}%
     \authorsep#2\unskip\textsuperscript{%#1%
       \@for\@@affmark:=#1\do{%
@@ -248,7 +254,11 @@
     \g at addto@macro\useauthors{#2; }%
 }
 
-\def\@author#1{\g at addto@macro\elsauthors{\normalsize%
+\def\@author#1{%
+    \g at addto@macro\elsprelimauthors{%
+     \prelimauthorsep#1%
+     \def\prelimauthorsep{\unskip,\space}}%
+    \g at 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 at 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 at 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}}}%

Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-04-05 21:09:13 UTC (rev 50785)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-04-05 21:12:03 UTC (rev 50786)
@@ -245,7 +245,7 @@
     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



More information about the tex-live-commits mailing list