diff options
author | Karl Berry <karl@freefriends.org> | 2020-10-07 21:59:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-10-07 21:59:05 +0000 |
commit | f9ad67f025daf41bc024597529f1e65e14f7c50e (patch) | |
tree | a59c7b668ccebfbcc2bfced4c6e64e54143a5cd3 /Master/texmf-dist/tex/latex | |
parent | a48050f58f08e3e3587a95252fd35700aa99f948 (diff) |
revtex4-1 from phelype .tds.zip, now its own package
git-svn-id: svn://tug.org/texlive/trunk@56590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/revtex4-1/aip4-1.rtx (renamed from Master/texmf-dist/tex/latex/revtex/aip4-1.rtx) | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/revtex4-1/aps10pt4-1.rtx (renamed from Master/texmf-dist/tex/latex/revtex/aps10pt4-1.rtx) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/revtex4-1/aps11pt4-1.rtx (renamed from Master/texmf-dist/tex/latex/revtex/aps11pt4-1.rtx) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/revtex4-1/aps12pt4-1.rtx (renamed from Master/texmf-dist/tex/latex/revtex/aps12pt4-1.rtx) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/revtex4-1/aps4-1.rtx (renamed from Master/texmf-dist/tex/latex/revtex/aps4-1.rtx) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/revtex4-1/apsrmp4-1.rtx (renamed from Master/texmf-dist/tex/latex/revtex/apsrmp4-1.rtx) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/revtex4-1/revsymb4-1.sty (renamed from Master/texmf-dist/tex/latex/revtex/revsymb4-1.sty) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/revtex4-1/revtex4-1.cls (renamed from Master/texmf-dist/tex/latex/revtex/revtex4-1.cls) | 170 |
8 files changed, 131 insertions, 60 deletions
diff --git a/Master/texmf-dist/tex/latex/revtex/aip4-1.rtx b/Master/texmf-dist/tex/latex/revtex4-1/aip4-1.rtx index f1227d8ff17..f8501a349a7 100644 --- a/Master/texmf-dist/tex/latex/revtex/aip4-1.rtx +++ b/Master/texmf-dist/tex/latex/revtex4-1/aip4-1.rtx @@ -28,10 +28,8 @@ %% %%% @LaTeX-file{ %%% filename = "aip.dtx", -%%% version = "4.1r", -%%% date = "2010/07/25", -%%% time = "20:32:00 GMT-8", -%%% checksum = "1163", +%%% version = "4.1s", +%%% date = "2020/09/30", %%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net), %%% commissioned by the American Institute of Physics. %%% ", @@ -51,11 +49,10 @@ %%% keywords = "latex, page grid, main vertical list", %%% supported = "yes", %%% abstract = "aip substyle for REVTeX", -%%% docstring = "The checksum field above generated by ltxdoc", %%% } \NeedsTeXFormat{LaTeX2e}[1996/12/01]% \ProvidesFile{aip4-1.rtx}% - [2010/07/25 4.1r AIP substyle for REVTeX]% \fileversion + [2020/09/30 4.1s AIP substyle for REVTeX]% \fileversion \ifx\undefined\substyle@ext \def\@tempa{% \endinput diff --git a/Master/texmf-dist/tex/latex/revtex/aps10pt4-1.rtx b/Master/texmf-dist/tex/latex/revtex4-1/aps10pt4-1.rtx index d50f6dc959a..2561028e011 100644 --- a/Master/texmf-dist/tex/latex/revtex/aps10pt4-1.rtx +++ b/Master/texmf-dist/tex/latex/revtex4-1/aps10pt4-1.rtx @@ -18,7 +18,7 @@ %% See the REVTeX 4 README file for restrictions and more information. %% \ProvidesFile{aps10pt4-1} - [2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)]% \fileversion + [2020/09/30 4.1s (http://publish.aps.org/revtex4/ for documentation)]% \fileversion \ifx\undefined\substyle@ext \def\@tempa{% \endinput diff --git a/Master/texmf-dist/tex/latex/revtex/aps11pt4-1.rtx b/Master/texmf-dist/tex/latex/revtex4-1/aps11pt4-1.rtx index 926155328a6..734917d28b6 100644 --- a/Master/texmf-dist/tex/latex/revtex/aps11pt4-1.rtx +++ b/Master/texmf-dist/tex/latex/revtex4-1/aps11pt4-1.rtx @@ -18,7 +18,7 @@ %% See the REVTeX 4 README file for restrictions and more information. %% \ProvidesFile{aps11pt4-1} - [2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)]% \fileversion + [2020/09/30 4.1s (http://publish.aps.org/revtex4/ for documentation)]% \fileversion \ifx\undefined\substyle@ext \def\@tempa{% \endinput diff --git a/Master/texmf-dist/tex/latex/revtex/aps12pt4-1.rtx b/Master/texmf-dist/tex/latex/revtex4-1/aps12pt4-1.rtx index 1ee76ff6be7..ce2d3ae033d 100644 --- a/Master/texmf-dist/tex/latex/revtex/aps12pt4-1.rtx +++ b/Master/texmf-dist/tex/latex/revtex4-1/aps12pt4-1.rtx @@ -18,7 +18,7 @@ %% See the REVTeX 4 README file for restrictions and more information. %% \ProvidesFile{aps12pt4-1} - [2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)]% \fileversion + [2020/09/30 4.1s (http://publish.aps.org/revtex4/ for documentation)]% \fileversion \ifx\undefined\substyle@ext \def\@tempa{% \endinput diff --git a/Master/texmf-dist/tex/latex/revtex/aps4-1.rtx b/Master/texmf-dist/tex/latex/revtex4-1/aps4-1.rtx index 0a4e8359d02..48ae17d514a 100644 --- a/Master/texmf-dist/tex/latex/revtex/aps4-1.rtx +++ b/Master/texmf-dist/tex/latex/revtex4-1/aps4-1.rtx @@ -19,7 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1996/12/01]% \ProvidesFile{aps4-1} - [2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)]% \fileversion + [2020/09/30 4.1s (http://publish.aps.org/revtex4/ for documentation)]% \fileversion \ifx\undefined\substyle@ext \def\@tempa{% \endinput diff --git a/Master/texmf-dist/tex/latex/revtex/apsrmp4-1.rtx b/Master/texmf-dist/tex/latex/revtex4-1/apsrmp4-1.rtx index 7f50662071d..ae9170bbc70 100644 --- a/Master/texmf-dist/tex/latex/revtex/apsrmp4-1.rtx +++ b/Master/texmf-dist/tex/latex/revtex4-1/apsrmp4-1.rtx @@ -19,7 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1996/12/01]% \ProvidesFile{apsrmp4-1} - [2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)]% \fileversion + [2020/09/30 4.1s (http://publish.aps.org/revtex4/ for documentation)]% \fileversion \ifx\undefined\substyle@ext \def\@tempa{% \endinput diff --git a/Master/texmf-dist/tex/latex/revtex/revsymb4-1.sty b/Master/texmf-dist/tex/latex/revtex4-1/revsymb4-1.sty index 0e52ff8baf4..3b74ce9c52b 100644 --- a/Master/texmf-dist/tex/latex/revtex/revsymb4-1.sty +++ b/Master/texmf-dist/tex/latex/revtex4-1/revsymb4-1.sty @@ -19,7 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1996/12/01]% \ProvidesPackage{revsymb4-1} - [2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)]% \fileversion + [2020/09/30 4.1s (http://publish.aps.org/revtex4/ for documentation)]% \fileversion \def\REVSYMB@warn#1{\PackageWarningNoLine{revsymb}{#1}}% \DeclareRobustCommand\lambdabar{% \bgroup diff --git a/Master/texmf-dist/tex/latex/revtex/revtex4-1.cls b/Master/texmf-dist/tex/latex/revtex4-1/revtex4-1.cls index 05601a82f3d..24a5590dfb4 100644 --- a/Master/texmf-dist/tex/latex/revtex/revtex4-1.cls +++ b/Master/texmf-dist/tex/latex/revtex4-1/revtex4-1.cls @@ -27,7 +27,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1996/12/01]% \ProvidesClass{revtex4-1} - [2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)]% \fileversion + [2020/09/30 4.1s (http://publish.aps.org/revtex4/ for documentation)]% \fileversion \let\class@name\@gtempa \GenericInfo{}{\space Copyright (c) 2009 The American Physical Society.^^J @@ -47,7 +47,7 @@ \fi \typeout{% ltxutil% - [2010/07/25/20:33:00 4.1r utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion + [2020/09/30 4.1s utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion }% \def\class@err#1{\ClassError{\class@name}{#1}\@eha}% \def\class@warn#1{\ClassWarningNoLine{\class@name}{#1}}% @@ -149,6 +149,11 @@ ltxutil% \long\def\@argswap#1#2{#2#1}% \long\def\@argswap@val#1#2{#2{#1}}% \def\@ifxundefined@cs#1{\expandafter\@ifx\expandafter{\csname#1\endcsname\relax}}% +\ifx\IfFormatAtLeastTF\undefined + \def\rvtx@ifformat@geq{\@ifl@t@r\fmtversion}% +\else + \let\rvtx@ifformat@geq\IfFormatAtLeastTF +\fi \def\@boolean#1#2{% \long\def#1{% #2% \if<something> @@ -184,11 +189,16 @@ ltxutil% \@ifx{\undefined#1}{\true@sw}{\@ifx{\relax#1}{\true@sw}{\false@sw}}% {\def#1}{\def\j@nk}% }% -\prepdef\document{% - \endgroup - \document@inithook - \true@sw{}% -}% +\rvtx@ifformat@geq{2020-10-01}% + {% + \AddToHook{begindocument/before}{\document@inithook}% + }{% + \prepdef\document{% + \endgroup + \document@inithook + \true@sw{}% + }% + } \let\document@inithook\@empty \appdef\document@inithook{% \AtBeginDocument{\class@documenthook}% @@ -198,6 +208,10 @@ ltxutil% }% \let\class@documenthook\@empty \let\class@enddocumenthook\@empty +\rvtx@ifformat@geq{2020-10-01}{% + % <definitions for newer LaTeX later> +}{% + % <definitions for older LaTeX> \def\enddocument{% \let\AtEndDocument\@firstofone \@enddocumenthook @@ -231,7 +245,7 @@ ltxutil% \@if@sw\if@tempswa\fi{% \@latex@warning@no@line{% Label(s) may have changed. - Rerun to get cross-references right + Rerun to get cross-references right% }% }{}% }{% @@ -239,6 +253,30 @@ ltxutil% }% }{}% }% +} +\rvtx@ifformat@geq{2020-10-01}{% + \AddToHook{enddocument}{\rvtx@enddocument@patch{}}% +}{} +\protected\long\def\rvtx@enddocument@patch#1#2\@checkend#3{% + \begingroup + \edef\x{\detokenize{#3}}% + \edef\y{\detokenize{document}}% + \expandafter\endgroup + \ifx\x\y + \expandafter\rvtx@enddocument@patch@end + \else + \expandafter\rvtx@enddocument@patch@more + \fi + {#1#2}{#3}} +\def\rvtx@enddocument@patch@more#1#2{% + \rvtx@enddocument@patch{#1\@checkend{#2}}} +\long\def\rvtx@enddocument@patch@end#1#2\clearpage#3\endgroup{% + \def\do@check@aux{#3\endgroup}% + #1% + \@checkend{#2}% + \clear@document + \check@aux} +\def\check@aux{\do@check@aux}% \def\clear@document{% \clearpage \do@output@cclv{% @@ -2041,12 +2079,17 @@ ltxutil% \endgroup }% \@ifx{\typeout\typeout@org}{% - \class@info{Making \string\typeout\space \string\long}% \let\typeout\typeout@ltx -}{}% + \true@sw +}{% + \rvtx@ifformat@geq{2020-10-01}% + {\true@sw}{\false@sw}% +}% + {\class@info{Making \string\typeout\space \string\long}}% + {}% \typeout{% ltxfront% - [2010/07/25/20:33:00 4.1r frontmatter package (AO,DPC)]% \fileversion + [2020/09/30 4.1s frontmatter package (AO,DPC)]% \fileversion }% \appdef\class@documenthook{\frontmatter@init}% \let\frontmatter@init\@empty @@ -3082,7 +3125,7 @@ ltxfront% }% \typeout{% ltxgrid% - [2010/07/25/20:33:00 4.1r page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion + [2020/09/30 4.1s page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion }% \newcounter{linecount} \def\loop@line#1#2{% @@ -4902,12 +4945,22 @@ ltxgrid% \def\recover@column@null#1#2#3#4{% \unvcopy#1% }% -\prepdef\@begindocumenthook{% - \open@column@one\@ne - \set@colht - \@floatplacement - \@dblfloatplacement -}% +\rvtx@ifformat@geq{2020-10-01}% + {% + \AddToHook{begindocument}{% + \open@column@one\@ne + \set@colht + \@floatplacement + \@dblfloatplacement + }% + }{% + \prepdef\@begindocumenthook{% + \open@column@one\@ne + \set@colht + \@floatplacement + \@dblfloatplacement + }% + } \def\longtable@longtable{% \par \ifx\multicols\@undefined\else\ifnum\col@number>\@ne\@twocolumntrue\fi\fi @@ -5440,38 +5493,41 @@ ltxgrid% \let\nopagebreak@ltx\nopagebreak \let\endline@ltx\\ \let\@arrayparboxrestore@ltx\@arrayparboxrestore -\def\@vspace@org #1{% +\def\@tempa#1{% +\def\@vspace@org ##1{% \ifvmode - \vskip #1 + #1% \vskip #1 \vskip\z@skip \else \@bsphack \vadjust{\@restorepar - \vskip #1 + #1% \vskip #1 \vskip\z@skip }% \@esphack \fi }% -\def\@vspace@ltx#1{% +\def\@vspace@ltx##1{% \@ifvmode{% - \vskip#1\vskip\z@skip + #1% \vskip #1 + \vskip\z@skip }{% \@bsphack \ex@vadjust@ltx{% \@restorepar \nobreak - \vskip#1\vskip\z@skip + #1% \vskip #1 + \vskip\z@skip }% \@esphack }% }% -\def\@vspacer@org#1{% +\def\@vspacer@org##1{% \ifvmode \dimen@\prevdepth \hrule \@height\z@ \nobreak - \vskip #1 + #1%\vskip #1 \vskip\z@skip \prevdepth\dimen@ \else @@ -5479,17 +5535,18 @@ ltxgrid% \vadjust{\@restorepar \hrule \@height\z@ \nobreak - \vskip #1 + #1%\vskip #1 \vskip\z@skip}% \@esphack \fi }% -\def\@vspacer@ltx#1{% +\def\@vspacer@ltx##1{% \@ifvmode{% \dimen@\prevdepth \hrule\@height\z@ \nobreak - \vskip#1\vskip\z@skip + #1%\vskip#1 + \vskip\z@skip \prevdepth\dimen@ }{% \@bsphack @@ -5497,11 +5554,16 @@ ltxgrid% \@restorepar \hrule\@height\z@ \nobreak - \vskip#1\vskip\z@skip + #1%\vskip#1 + \vskip\z@skip }% \@esphack }% }% +} +\rvtx@ifformat@geq{2020/10/01}% + {\@tempa{\@vspace@calcify{#1}}}% + {\@tempa{\vskip #1 }}% \def\@no@pgbk@org #1[#2]{% \ifvmode \penalty #1\@getpen{#2}% @@ -5522,7 +5584,8 @@ ltxgrid% \@esphack }% }% -\long\def\end@line@org{% +\rvtx@ifformat@geq{2020/02/02}% +{\protected}{\long}\def\end@line@org{% \let\reserved@e\relax \let\reserved@f\relax \@ifstar{% @@ -5532,7 +5595,8 @@ ltxgrid% }% \@xnewline }% -\long\def\end@line@ltx{% +\rvtx@ifformat@geq{2020/02/02}% +{\protected}{\long}\def\end@line@ltx{% \let\reserved@e\relax \let\reserved@f\relax \@ifstar{% @@ -5543,20 +5607,30 @@ ltxgrid% \@xnewline }% }% -\def\@newline@org[#1]{% - \let\reserved@e\vadjust - \@gnewline{\vskip#1}% -}% -\def\@newline@ltx[#1]{% - \let\reserved@e\ex@vadjust@ltx - \@gnewline{\vskip#1}% -}% +\def\@tempa#1{% + \def\@newline@org[##1]{% + \let\reserved@e\vadjust + \@gnewline{#1}% \vskip#1 + }% + \def\@newline@ltx[##1]{% + \let\reserved@e\ex@vadjust@ltx + \@gnewline{#1}% \vskip#1 + }% +} +\rvtx@ifformat@geq{2020/10/01}% + {\@tempa{\@vspace@calcify{#1}}}% + {\@tempa{\vskip #1}}% \@ifx{\@vspace\@vspace@org}{% \@ifx{\@vspacer\@vspacer@org}{% \@ifx{\@no@pgbk\@no@pgbk@org}{% \@ifx{\@newline\@newline@org}{% - \expandafter\@ifx\expandafter{\csname\expandafter\@gobble\string\\ \endcsname\end@line@org}{% - \true@sw + \expandafter\@ifx\expandafter{% + \csname\rvtx@ifformat@geq{2020/02/02}% + {\expandafter\@gobble\string\\}% + {\expandafter\@gobble\string\\ }\endcsname + \end@line@org + }{% + \true@sw }{\false@sw}% }{\false@sw}% }{\false@sw}% @@ -5565,7 +5639,10 @@ ltxgrid% {% \class@info{Overriding \string\@vspace, \string\@vspacer, \string\@no@pgbk, \string\@newline, and \string\\ }% \let\@normalcr\end@line@ltx - \expandafter\let\csname\expandafter\@gobble\string\\ \endcsname\@normalcr + \expandafter\let + \csname\rvtx@ifformat@geq{2020/02/02}% + {\expandafter\@gobble\string\\}% + {\expandafter\@gobble\string\\ }\endcsname\@normalcr \let\@newline\@newline@ltx \let\@vspace\@vspace@ltx \let\@vspacer\@vspacer@ltx @@ -6211,10 +6288,8 @@ ltxgrid% }% %%% @LaTeX-file{ %%% filename = "revtex4-1.dtx", -%%% version = "4.1r", -%%% date = "2010/07/25", -%%% time = "20:33:00 UT-8", -%%% checksum = "7177", +%%% version = "4.1s", +%%% date = "2020/09/30", %%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net), %%% commissioned by the American Physical Society. %%% ", @@ -6232,7 +6307,6 @@ ltxgrid% %%% keywords = "latex, page grid, main vertical list", %%% supported = "yes", %%% abstract = "package to change page grid, MVL", -%%% docstring = "The checksum field above generated by ltxdoc", %%% } \def\substyle@post{4-1}% \def\substyle@ext{rtx}% |