summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/apa6
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/apa6')
-rw-r--r--Master/texmf-dist/source/latex/apa6/apa6.dtx30
-rw-r--r--Master/texmf-dist/source/latex/apa6/apa6.ins8
2 files changed, 22 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/latex/apa6/apa6.dtx b/Master/texmf-dist/source/latex/apa6/apa6.dtx
index 647e6410a9a..718df749363 100644
--- a/Master/texmf-dist/source/latex/apa6/apa6.dtx
+++ b/Master/texmf-dist/source/latex/apa6/apa6.dtx
@@ -4,11 +4,11 @@
% %
% CHANGE THESE VALUES WITH EACH NEW RELEASE: %
% %
-%<class>\ProvidesClass{apa6}[2020/01/13 v2.34 APA formatting (6th edition)]
+%<class>\ProvidesClass{apa6}[2023/08/07 v2.35 APA formatting (6th edition)]
% %
%<*internal> %
-\def\apaSixVersionDate{2020/01/13}
-\def\apaSixVersionNumber{2.34}
+\def\apaSixVersionDate{2023/08/07}
+\def\apaSixVersionNumber{2.35}
% %
% %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -20,7 +20,7 @@
apa6 - A LaTeX class for formatting documents in compliance with the
American Psychological Association's Publication Manual, 6th edition
-Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com>
+Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
@@ -64,7 +64,7 @@ details.
apa6 - A LaTeX class for formatting documents in compliance with the
American Psychological Association's Publication Manual, 6th edition
-Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com>
+Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
@@ -84,7 +84,7 @@ by, the American Psychological Association.
\endpreamble
\postamble
-Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com>
+Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
@@ -321,6 +321,9 @@ and the derived files apa6.ins,
% \changes{v2.34}{2020/01/13}{Changed biblatex loading to freeze to
% APA 6th Edition compatibility}
%
+% \changes{v2.35}{2023/08/07}{Sanitize title string (credit: Ulrike
+% Fischer)}
+%
% \begin{abstract}
% The \textit{Publication Manual} of the American Psychological
% Association is widely used in the social sciences. The most
@@ -943,6 +946,7 @@ and the derived files apa6.ins,
% non-boldface; used only if no bibliographic options have been
% specified
% \item \textsf{geometry}: formats margins
+% \item \textsf{gettitlestring}: for cleaning title references
% \item \textsf{graphicx}: allows inclusion of figures
% \item \textsf{longtable}: formats tables that exceed one page in
% length; loaded only if the |longtable| option is specified. Also
@@ -1449,6 +1453,8 @@ and the derived files apa6.ins,
\RequirePackage{graphicx} % this is for including graphics
+\RequirePackage{gettitlestring} % this helps clean up section and title references
+
\RequirePackage{booktabs} % this is for nice-looking tables
\setlength{\abovetopsep}{0pt} % set the distance between the table title and the table toprule
\setlength{\belowbottomsep}{0pt} % set the distance between the table bottomrule and any notes
@@ -2214,10 +2220,9 @@ and the derived files apa6.ins,
% \newlength{\app@t@width}
% \setlength{\app@t@width}{\columnwidth}
% \addtolength{\app@t@width}{-8em}%% leveltwo is defined with leftskip=rightskip=4em plus 1fill
- \long\def\section##1{%
- \makeatletter%
- \def\@currentlabelname{##1}%
- \makeatother%
+\long\def\section##1{%
+ \GetTitleString{##1}%
+ \let\@currentlabelname\GetTitleStringResult
\ifapamodeman{%
\clearpage
\setcounter{postfig}{0}
@@ -2759,7 +2764,8 @@ and the derived files apa6.ins,
% need the `keeplastbox' option to allow final reference to be
% properly indented on the final line
% https://tex.stackexchange.com/questions/198287/reference-and-biography-indentation-issue
-\IfFileExists{flushend.sty}{\RequirePackage[keeplastbox]{flushend}}{}
+% \IfFileExists{flushend.sty}{\RequirePackage[keeplastbox]{flushend}}{} % old package version
+\IfFileExists{flushend.sty}{\RequirePackage{flushend}}{}
%========== ftnright and alterations ==================
@@ -4766,4 +4772,4 @@ End Sub
%\end{macro}
%
%
-%\Finale
+%\Finale \ No newline at end of file
diff --git a/Master/texmf-dist/source/latex/apa6/apa6.ins b/Master/texmf-dist/source/latex/apa6/apa6.ins
index 6d5485881b2..7fb1dbae9a9 100644
--- a/Master/texmf-dist/source/latex/apa6/apa6.ins
+++ b/Master/texmf-dist/source/latex/apa6/apa6.ins
@@ -10,7 +10,7 @@
%% apa6 - A LaTeX class for formatting documents in compliance with the
%% American Psychological Association's Publication Manual, 6th edition
%%
-%% Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com>
+%% Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
@@ -36,7 +36,7 @@
apa6 - A LaTeX class for formatting documents in compliance with the
American Psychological Association's Publication Manual, 6th edition
-Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com>
+Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
@@ -56,7 +56,7 @@ by, the American Psychological Association.
\endpreamble
\postamble
-Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com>
+Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
@@ -127,7 +127,7 @@ and the derived files apa6.ins,
}
\endbatchfile
%%
-%% Copyright (C) 2011-2020 by Brian D. Beitzel <brian at beitzel.com>
+%% Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either