texlive[43158] Master/texmf-dist: apxproof (6feb17)

commits+karl at tug.org commits+karl at tug.org
Tue Feb 7 00:37:17 CET 2017


Revision: 43158
          http://tug.org/svn/texlive?view=revision&revision=43158
Author:   karl
Date:     2017-02-07 00:37:17 +0100 (Tue, 07 Feb 2017)
Log Message:
-----------
apxproof (6feb17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/apxproof/apxproof.pdf
    trunk/Master/texmf-dist/source/latex/apxproof/apxproof.dtx
    trunk/Master/texmf-dist/tex/latex/apxproof/apxproof.sty

Modified: trunk/Master/texmf-dist/doc/latex/apxproof/apxproof.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/apxproof/apxproof.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/apxproof/apxproof.dtx	2017-02-06 23:37:01 UTC (rev 43157)
+++ trunk/Master/texmf-dist/source/latex/apxproof/apxproof.dtx	2017-02-06 23:37:17 UTC (rev 43158)
@@ -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 @@
 %</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 @@
 % \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 @@
 %    \end{macrocode}
 % \paragraph{\textsf{lipcs}}
 %    \begin{macrocode}
-   \ifthenelse{\equal{\@currentclass}{lipics}}{
+   \ifdefined\lipics at 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 @@
 %    \end{macrocode}
 % \end{macro}    
 %    \begin{macrocode}
-  }
+  \fi
 %    \end{macrocode}
 %    \begin{macrocode}
 }

Modified: trunk/Master/texmf-dist/tex/latex/apxproof/apxproof.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/apxproof/apxproof.sty	2017-02-06 23:37:01 UTC (rev 43157)
+++ trunk/Master/texmf-dist/tex/latex/apxproof/apxproof.sty	2017-02-06 23:37:17 UTC (rev 43158)
@@ -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 at 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 at s\roman{axp at seccounter}}%
     }
   \fi
-   \ifthenelse{\equal{\@currentclass}{lipics}}{
+   \ifdefined\lipics at opterrshort
     \renewcommand{\appendixbibliographyprelim}{%
       \global\let\@oldbiblabel\@biblabel
       \def\@biblabel{\hspace*{-2em}\small\@oldbiblabel}%
     }
-  }
+  \fi
 }
 \endinput
 %%



More information about the tex-live-commits mailing list