summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-06 23:37:17 +0000
committerKarl Berry <karl@freefriends.org>2017-02-06 23:37:17 +0000
commit3b82837a4c3eea1141abcab4c26823c64a671fe1 (patch)
tree8e518513c5a75963de62ea7d2236d6f6349ee1f3
parentc8298012226892dc8ff271a400afe8539498ae97 (diff)
apxproof (6feb17)
git-svn-id: svn://tug.org/texlive/trunk@43158 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/apxproof/apxproof.pdfbin434445 -> 435613 bytes
-rw-r--r--Master/texmf-dist/source/latex/apxproof/apxproof.dtx17
-rw-r--r--Master/texmf-dist/tex/latex/apxproof/apxproof.sty8
3 files changed, 16 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/apxproof/apxproof.pdf b/Master/texmf-dist/doc/latex/apxproof/apxproof.pdf
index 47177046aa5..743d81905c4 100644
--- a/Master/texmf-dist/doc/latex/apxproof/apxproof.pdf
+++ b/Master/texmf-dist/doc/latex/apxproof/apxproof.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/apxproof/apxproof.dtx b/Master/texmf-dist/source/latex/apxproof/apxproof.dtx
index 1ac32c3b48b..95141af7d5a 100644
--- a/Master/texmf-dist/source/latex/apxproof/apxproof.dtx
+++ b/Master/texmf-dist/source/latex/apxproof/apxproof.dtx
@@ -24,7 +24,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<package>\ProvidesPackage{apxproof}
-%<package> [2016/12/13 v1.0.2 Automatic proofs in appendix]
+%<package> [2017/02/06 v1.0.3 Automatic proofs in appendix]
%
%<*driver>
\documentclass{ltxdoc}
@@ -44,7 +44,7 @@
%</driver>
% \fi
%
-% \CheckSum{445}
+% \CheckSum{446}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -132,6 +132,11 @@ This content is in the appendix.
%</driver>
% \end{toappendix}
% \end{example}
+% \changes{v1.0.3}{2017/01/10}{Note on entire sections in appendix}
+% When the content to put in appendix is an entire section, make sure
+% that \verb|\section| is the very first command that appears within the
+% \verb|toappendix| environment. It will disable the automatic production
+% of a section heading.
% \subsection{Repeated Theorems and Proofs}
% In some scientific papers that include proofs, it is common to defer
% proofs to the appendix. This can easily be achieved using the
@@ -517,9 +522,10 @@ This is a citation in the appendix~\cite{proofsAreHard}.
% \end{macro}
% \begin{environment}{proofsketch}
% Simple |proofsketch| environment.
+% \changes{v1.0.3}{2016/12/16}{Ignore spaces after beginning of Proof sketch}
% \begin{macrocode}
\newenvironment{proofsketch}
- {\vskip3pt\noindent\textit{Proof sketch.} \upshape}
+ {\vskip3pt\noindent\textit{Proof sketch.} \upshape\ignorespaces}
{\hfill\qed\vskip3pt}
% \end{macrocode}
% \end{environment}
@@ -1011,9 +1017,10 @@ This is a citation in the appendix~\cite{proofsAreHard}.
% \end{macrocode}
% \paragraph{\textsf{lipcs}}
% \begin{macrocode}
- \ifthenelse{\equal{\@currentclass}{lipics}}{
+ \ifdefined\lipics@opterrshort
% \end{macrocode}
% \begin{macro}{\appendixbibliographyprelim}
+% \changes{v1.0.3}{2017/02/06}{Support for lipics-v2016}
% The default bibliography in the \textsf{lipics} document class
% formatting is not compatible with the
% \textsf{alpha} bibliography style. We fix this here.
@@ -1025,7 +1032,7 @@ This is a citation in the appendix~\cite{proofsAreHard}.
% \end{macrocode}
% \end{macro}
% \begin{macrocode}
- }
+ \fi
% \end{macrocode}
% \begin{macrocode}
}
diff --git a/Master/texmf-dist/tex/latex/apxproof/apxproof.sty b/Master/texmf-dist/tex/latex/apxproof/apxproof.sty
index 6168172238d..a558fc4f623 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}
- [2016/12/13 v1.0.2 Automatic proofs in appendix]
+ [2017/02/06 v1.0.3 Automatic proofs in appendix]
\RequirePackage{bibunits}
\RequirePackage{environ}
\RequirePackage{etoolbox}
@@ -61,7 +61,7 @@
\@oparg{\axp@newtheoremrep{#1}}[]%
}
\newenvironment{proofsketch}
- {\vskip3pt\noindent\textit{Proof sketch.} \upshape}
+ {\vskip3pt\noindent\textit{Proof sketch.} \upshape\ignorespaces}
{\hfill\qed\vskip3pt}
\AtBeginDocument{%
\def\thmhead#1#2#3{%
@@ -270,12 +270,12 @@
\label{axp@s\roman{axp@seccounter}}%
}
\fi
- \ifthenelse{\equal{\@currentclass}{lipics}}{
+ \ifdefined\lipics@opterrshort
\renewcommand{\appendixbibliographyprelim}{%
\global\let\@oldbiblabel\@biblabel
\def\@biblabel{\hspace*{-2em}\small\@oldbiblabel}%
}
- }
+ \fi
}
\endinput
%%