From 293604ad265c7c828f4f9183844ed5e6647c2b84 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 7 Nov 2016 22:14:47 +0000
Subject: apxproof (7nov16)

git-svn-id: svn://tug.org/texlive/trunk@42453 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/apxproof/apxproof.sty | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/apxproof/apxproof.sty')

diff --git a/Master/texmf-dist/tex/latex/apxproof/apxproof.sty b/Master/texmf-dist/tex/latex/apxproof/apxproof.sty
index ebb546fd8d6..9fcaa834947 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/10/31 v1.0.0 Automatic proofs in appendix]
+  [2016/11/07 v1.0.1 Automatic proofs in appendix]
 \RequirePackage{bibunits}
 \RequirePackage{environ}
 \RequirePackage{etoolbox}
@@ -244,6 +244,9 @@
         \immediate\closeout\axp@proofsfile
         \input{\jobname.axp}
         \renewcommand{\refname}{\appendixrefname}
+        \let\axp@oldthebibliography\thebibliography
+        \renewcommand\thebibliography[1]{%
+          \ifx\relax#1\relax\else\axp@oldthebibliography{#1}\fi}
         \appendixbibliographyprelim
         \putbib
       \end{bibunit}
-- 
cgit v1.2.3

