summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/apxproof
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-15 21:14:01 +0000
committerKarl Berry <karl@freefriends.org>2020-10-15 21:14:01 +0000
commit0cc0c2d961f797a7f87a28ceb63cefb6b2990bc2 (patch)
tree74d2a87a0498afefd2b4eeac9a51c2a8e30db6c9 /Master/texmf-dist/tex/latex/apxproof
parentf6b756d89776dfe0d09a41f4ca9184c2c5a8cfd0 (diff)
apxproof (15oct20)
git-svn-id: svn://tug.org/texlive/trunk@56673 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/apxproof')
-rw-r--r--Master/texmf-dist/tex/latex/apxproof/apxproof.sty18
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/apxproof/apxproof.sty b/Master/texmf-dist/tex/latex/apxproof/apxproof.sty
index ff6a5fe72e4..a7f9ce12d29 100644
--- a/Master/texmf-dist/tex/latex/apxproof/apxproof.sty
+++ b/Master/texmf-dist/tex/latex/apxproof/apxproof.sty
@@ -27,7 +27,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{apxproof}
- [2019/10/08 v1.2.0 Automatic proofs in appendix]
+ [2020/10/15 v1.2.1 Automatic proofs in appendix]
\RequirePackage{environ}
\RequirePackage{etoolbox}
\RequirePackage{fancyvrb}
@@ -116,7 +116,7 @@
}
\newenvironment{proofsketch}{\begin{axp@oldproof}[Proof sketch]}{\end{axp@oldproof}}
\newcommand{\mainbodyrepeatedtheorem}{}
-\newcommand{\appendixrefname}{References for the Appendix}
+\providecommand{\appendixrefname}{References for the Appendix}
\newcommand{\appendixbibliographystyle}{alpha}
\newcommand{\appendixbibliographyprelim}{}
\newcommand{\appendixprelim}{\clearpage\onecolumn}
@@ -213,8 +213,12 @@
\def\FV@ProcessLine{\immediate\write\axp@proofsfile}%
\let\FV@FontScanPrep\relax
\let\@noligs\relax
+ \immediate\write\axp@proofsfile{\noexpand\makeatother}%
+ \def\FV@CatCodesHook{}%
\FV@Scan}
- \def\FVE@axp@VerbatimOut{\endgroup\@esphack}
+ \def\FVE@axp@VerbatimOut{%
+ \immediate\write\axp@proofsfile{\noexpand\makeatletter}%
+ \endgroup\@esphack}
\newenvironment{toappendix}
{\axp@writesection\axp@VerbatimOut}
{\endaxp@VerbatimOut}
@@ -427,6 +431,11 @@
}
}{}
\AtEndDocument{
+ \ifdefined\NAT@testdef
+ \renewcommand\bibcite[2]{%
+ \global\@namedef{b@#1\@extra@binfo}{#2}%
+ }
+ \fi
\appendixprelim
\appendix
\ifthenelse{\equal{\axp@bibliography}{separate}}{
@@ -446,6 +455,9 @@
\appendixbibliographyprelim
\putbib
\end{bibunit}
+ \ifdefined\NAT@testdef
+ \let\bibcite\NAT@testdef
+ \fi
}{}
}
}{}