From 22917af7ced7579b6c1cba90f72199305d2c54ec Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Tue, 2 Aug 2011 18:17:04 +0000 Subject: notes2bib 2.0g git-svn-id: svn://tug.org/texlive/trunk@23318 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/notes2bib/notes2bib.sty | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/notes2bib/notes2bib.sty b/Master/texmf-dist/tex/latex/notes2bib/notes2bib.sty index c7a632ab935..e9a9b8d1def 100644 --- a/Master/texmf-dist/tex/latex/notes2bib/notes2bib.sty +++ b/Master/texmf-dist/tex/latex/notes2bib/notes2bib.sty @@ -15,7 +15,7 @@ %% \RequirePackage{xparse} \ProvidesExplPackage - {notes2bib} {2011/02/23} {2.0f} + {notes2bib} {2011/06/30} {2.0g} {Integrating notes into the bibliography} \RequirePackage{l3keys2e} \tl_new:N \c_niib_file_message_tl @@ -197,8 +197,8 @@ \cs_new_nopar:Npn \niib_note_name: { \niib_insert_refsection: \tl_use:N \l_niib_note_name_tl - \intexpr_compare:nT { \g_niib_previous_notes_int > \c_nine } - { \intexpr_compare:nT { \g_niib_note_int < \c_ten } { 0 } } + \int_compare:nNnT \g_niib_previous_notes_int > \c_nine + { \int_compare:nNnT \g_niib_note_int < \c_ten { 0 } } \int_to_arabic:n { \g_niib_note_int } } \cs_new_nopar:Npn \niib_filesw: { } @@ -329,7 +329,7 @@ \cs_new_eq:NN \niib_bibliography:n \bibliography \RenewDocumentCommand \bibliography { m } { - \intexpr_compare:nTF { \g_niib_total_notes_int = \c_zero } + \int_compare:nNnTF \g_niib_total_notes_int = \c_zero { \niib_bibliography:n {##1} } { \cs_set_nopar:Npx \niib_attach_bibliography: @@ -484,7 +484,7 @@ } } \AtEndDocument { - \intexpr_compare:nT { \g_niib_note_int > \c_zero } + \int_compare:nNnT \g_niib_note_int > \c_zero { \iow_now:Nx \@auxout { \TotalNotes { \int_to_arabic:n { \g_niib_note_int } } } -- cgit v1.2.3