From 32c24a382db1325791d7ff40b4e6de9904b54458 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 11 Sep 2011 23:32:25 +0000
Subject: notes2bib 2.0h (9sep11)

git-svn-id: svn://tug.org/texlive/trunk@23899 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/notes2bib/notes2bib.dtx | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/source/latex/notes2bib/notes2bib.dtx')

diff --git a/Master/texmf-dist/source/latex/notes2bib/notes2bib.dtx b/Master/texmf-dist/source/latex/notes2bib/notes2bib.dtx
index 26a4aafbcf6..2f56fad6e8b 100644
--- a/Master/texmf-dist/source/latex/notes2bib/notes2bib.dtx
+++ b/Master/texmf-dist/source/latex/notes2bib/notes2bib.dtx
@@ -628,7 +628,7 @@ This work consists of the file  notes2bib.dtx
 % Version data to start with.
 %    \begin{macrocode}
 \ProvidesExplPackage
-  {notes2bib} {2011/06/30} {2.0g}
+  {notes2bib} {2011/09/09} {2.0h}
   {Integrating notes into the bibliography}
 \RequirePackage{l3keys2e}
 %    \end{macrocode} 
@@ -1236,6 +1236,8 @@ This work consists of the file  notes2bib.dtx
 %  \pkg{biblatex} v1.1a or later}
 %\changes{v2.0f}{2011/02/23}{Use new \cs{addglobalbib} function with
 %  \pkg{biblatex} v1.2 or later}
+%\changes{v2.0h}{2011/09/09}{Use \cs{addglobalbib} function irrespective
+%  of load order}
 %\begin{macro}{\bibliography}
 %\begin{macro}{\niib_bibliography:n}
 % Getting the database created here to be scanned by \BibTeX\ is
@@ -1282,9 +1284,16 @@ This work consists of the file  notes2bib.dtx
 \@ifpackageloaded { biblatex } 
   {
     \@ifpackagelater { biblatex } { 2011/01/08 }
-      { \exp_args:NNV \bibliography * \g_niib_filename_tl }
+      { 
+        \@ifpackagelater { biblatex } { 2011/02/12 }
+          { 
+            
+            \exp_args:No \addglobalbib 
+              { \g_niib_filename_tl .bib }
+          }
+          { \exp_args:NNV \bibliography * \g_niib_filename_tl }
+      }
       { \exp_args:NV \bibliography \g_niib_filename_tl }
-    \cs_gundefine:N \niib_attach_bibliography:
   }
   { \AtBeginDocument { \niib_attach_bibliography: } }
 %    \end{macrocode}
-- 
cgit v1.2.3

