From cdbf138eeebd04def89eca636d48726ff60fd5cb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 3 Mar 2021 22:42:55 +0000 Subject: apa7 (3mar21) git-svn-id: svn://tug.org/texlive/trunk@58083 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/apa7/config/APA7endfloat.cfg | 79 ++++------------------ 1 file changed, 14 insertions(+), 65 deletions(-) (limited to 'Master/texmf-dist/tex/latex/apa7/config') diff --git a/Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg b/Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg index 031bac6e8e3..4c33c92c8e9 100644 --- a/Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg +++ b/Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg @@ -27,77 +27,26 @@ %% %% ---------------------------------------------------------------------- %% +\ProvidesFile{APA7endfloat.cfg}[2021/03/03 v2.00 apa7 configuration endfloat] %% %% This is file `endfloat.cfg', -%% modifed from the original supplied with the endfloat package +%% modifed from the original supplied efxmpl.cfg with the endfloat package %% to handle both sideways floats and longtable %% -%% Athanassios Protopapas -%% July 2005 -%% -%% Original authors: James Darrell McCauley , -%% Jeff Goldberg -%% Original version: Version 2.4i +%% Description: LaTeX style to put figures and tables at end of article +%% Keywords: LaTeX, style-option, float, figure, table +%% Authors: James Darrell McCauley , +%% Jeff Goldberg , +%% Axel Sommerfeldt +%% Maintainer: -none- +%% Latest Version: Version 2.7 %% \RequirePackage{rotating} -\let\efsaved@sidewaysfigure\sidewaysfigure -\let\efsaved@sidewaystable\sidewaystable -\let\efsaved@longtable\longtable -\AtBeginTables{\let\sidewaystable=\efsaved@sidewaystable\relax} -\AtBeginTables{\let\longtable=\efsaved@longtable\relax} -\AtBeginFigures{\let\sidewaysfigure=\efsaved@sidewaysfigure\relax} -\def\sidewaystable{\efloat@condopen{ttt} - \efloat@iwrite{ttt}{\string\begin{sidewaystable}}% - \def\@currenvir{efloat@float}% - \begingroup - \let\do\ef@makeinnocent \dospecials - \ef@makeinnocent\^^L% and whatever other special cases - \endlinechar`\^^M \catcode`\^^M=12 \ef@xsidetable} -{\catcode`\^^M=12 \endlinechar=-1 % - \gdef\ef@xsidetable#1^^M{\def\test{#1} - \ifx\test\ef@endsidetabletest - \efloat@foundend{ttt}{sidewaystable} - \else - \efloat@iwrite{ttt}{#1}% - \let\next\ef@xsidetable - \fi \next} -} -\def\sidewaysfigure{\efloat@condopen{fff} - \efloat@iwrite{fff}{\string\begin{sidewaysfigure}}% - \def\@currenvir{efloat@float}% - \begingroup - \let\do\ef@makeinnocent \dospecials - \ef@makeinnocent\^^L% and whatever other special cases - \endlinechar`\^^M \catcode`\^^M=12 \ef@xsidefigure} -{\catcode`\^^M=12 \endlinechar=-1 % - \gdef\ef@xsidefigure#1^^M{\def\test{#1} - \ifx\test\ef@endsidefiguretest - \efloat@foundend{fff}{sidewaysfigure} - \else - \efloat@iwrite{fff}{#1}% - \let\next\ef@xsidefigure - \fi \next} -} -\def\longtable{\efloat@condopen{ttt} - \efloat@iwrite{ttt}{\string\begin{longtable}}% - \def\@currenvir{efloat@float}% - \begingroup - \let\do\ef@makeinnocent \dospecials - \ef@makeinnocent\^^L% and whatever other special cases - \endlinechar`\^^M \catcode`\^^M=12 \ef@xlongtable} -{\catcode`\^^M=12 \endlinechar=-1 % - \gdef\ef@xlongtable#1^^M{\def\test{#1} - \ifx\test\ef@endlongtabletest - \efloat@foundend{ttt}{longtable} - \else - \efloat@iwrite{ttt}{#1}% - \let\next\ef@xlongtable - \fi \next} -} -{\escapechar=-1% - \xdef\ef@endsidefiguretest{\string\\end\string\{sidewaysfigure\string\}}% - \xdef\ef@endsidetabletest{\string\\end\string\{sidewaystable\string\}} - \xdef\ef@endlongtabletest{\string\\end\string\{longtable\string\}}}% +\RequirePackage{longtable} +\DeclareDelayedFloatFlavor{sidewaysfigure}{figure} +\DeclareDelayedFloatFlavor{sidewaystable}{table} +\DeclareDelayedFloatFlavor{longtable}{table} +\endinput% %% %% Copyright (C) 2021 by Daniel A. Weiss %% -- cgit v1.2.3