texlive[58835] Master/texmf-dist: apa7
commits+karl at tug.org
commits+karl at tug.org
Sun Apr 11 23:32:08 CEST 2021
Revision: 58835
http://tug.org/svn/texlive?view=revision&revision=58835
Author: karl
Date: 2021-04-11 23:32:08 +0200 (Sun, 11 Apr 2021)
Log Message:
-----------
apa7
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/apa7/apa7.pdf
trunk/Master/texmf-dist/doc/latex/apa7/samples/longsample.pdf
trunk/Master/texmf-dist/doc/latex/apa7/samples/shortsample.pdf
trunk/Master/texmf-dist/source/latex/apa7/apa7.dtx
trunk/Master/texmf-dist/tex/latex/apa7/apa7.cls
Modified: trunk/Master/texmf-dist/doc/latex/apa7/apa7.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/apa7/samples/longsample.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/apa7/samples/shortsample.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/apa7/apa7.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/apa7/apa7.dtx 2021-04-11 21:30:47 UTC (rev 58834)
+++ trunk/Master/texmf-dist/source/latex/apa7/apa7.dtx 2021-04-11 21:32:08 UTC (rev 58835)
@@ -4,11 +4,11 @@
% %
% CHANGE THESE VALUES WITH EACH NEW RELEASE: %
% %
-%<class>\ProvidesClass{apa7}[2021/04/05 v2.11 APA formatting (7th edition)]
+%<class>\ProvidesClass{apa7}[2021/04/08 v2.12 APA formatting (7th edition)]
% %
%<*internal> %
-\def\apaSevenVersionDate{2021/04/05}
-\def\apaSevenVersionNumber{2.11}
+\def\apaSevenVersionDate{2021/04/08}
+\def\apaSevenVersionNumber{2.12}
% %
% %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -271,6 +271,8 @@
%
% \changes{v2.11}{2021/04/05}{Updated linebreaks in caption separators to prevent warning. }
%
+% \changes{v2.12}{2021/04/08}{Reset equation counter for every appendix (like for figures and tables). Thanks mmrabe. }
+%
% \begin{abstract}
% The \textit{Publication Manual} of the American Psychological
% Association is widely used in the social sciences. The most
@@ -2248,6 +2250,8 @@
\def\apaSevenapptab{%
\renewcommand\thetable{\theappendix\@arabic\c at table}%
\ifapamodeman{\renewcommand\theposttbl{\theappendix\arabic{posttbl}}}{}}
+\def\apaSevenappeq{%
+ \renewcommand\theequation{\theappendix\@arabic\c at equation}}
\newif\ifoneappendix
\oneappendixtrue % one appendix by default
\newif\ifappendix
@@ -2260,6 +2264,7 @@
\appendixtrue
\apaSevenappfig
\apaSevenapptab
+ \apaSevenappeq
% \ifapamodejou{}{\clearpage} %% commented out -- thp 2005/07/23
\let\old at apaSeven@section=\section % This will not work right with five levels in appendix.
% Should go into \section, not \leveltwo but would also require
@@ -2290,6 +2295,7 @@
}%
\setcounter{figure}{0}%
\setcounter{table}{0}%
+ \setcounter{equation}{0}%
\vskip2.5ex%
% \addtocounter{appendix}{1}%
\refstepcounter{appendix}% 2002/07/20 this takes care of references too
@@ -3874,4 +3880,4 @@
%\end{macro}
%
%
-%\Finale
\ No newline at end of file
+%\Finale
Modified: trunk/Master/texmf-dist/tex/latex/apa7/apa7.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/apa7/apa7.cls 2021-04-11 21:30:47 UTC (rev 58834)
+++ trunk/Master/texmf-dist/tex/latex/apa7/apa7.cls 2021-04-11 21:32:08 UTC (rev 58835)
@@ -27,7 +27,7 @@
%%
%% ----------------------------------------------------------------------
%%
-\ProvidesClass{apa7}[2021/04/05 v2.11 APA formatting (7th edition)]
+\ProvidesClass{apa7}[2021/04/08 v2.12 APA formatting (7th edition)]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{man}{%
@@ -1034,6 +1034,8 @@
\def\apaSevenapptab{%
\renewcommand\thetable{\theappendix\@arabic\c at table}%
\ifapamodeman{\renewcommand\theposttbl{\theappendix\arabic{posttbl}}}{}}
+\def\apaSevenappeq{%
+ \renewcommand\theequation{\theappendix\@arabic\c at equation}}
\newif\ifoneappendix
\oneappendixtrue % one appendix by default
\newif\ifappendix
@@ -1044,6 +1046,7 @@
\appendixtrue
\apaSevenappfig
\apaSevenapptab
+ \apaSevenappeq
\let\old at apaSeven@section=\section % This will not work right with five levels in appendix.
% Should go into \section, not \leveltwo but would also require
% changes to section* and section[ (see \def\section above)
@@ -1060,6 +1063,7 @@
}%
\setcounter{figure}{0}%
\setcounter{table}{0}%
+ \setcounter{equation}{0}%
\vskip2.5ex%
\refstepcounter{appendix}% 2002/07/20 this takes care of references too
\ifnum\c at appendix>1\immediate\write\@auxout{\global\string\oneappendixfalse}\fi%
More information about the tex-live-commits
mailing list.