From 51d2ed3f72df7d1a0db22453af2fda5d318eae6f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 27 Apr 2022 19:39:01 +0000 Subject: postnotes (27apr22) git-svn-id: svn://tug.org/texlive/trunk@63160 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/postnotes/postnotes.sty | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/postnotes/postnotes.sty b/Master/texmf-dist/tex/latex/postnotes/postnotes.sty index 9cd8913ae73..a58f51b2821 100644 --- a/Master/texmf-dist/tex/latex/postnotes/postnotes.sty +++ b/Master/texmf-dist/tex/latex/postnotes/postnotes.sty @@ -53,7 +53,7 @@ }% \endinput }% -\ProvidesExplPackage {postnotes} {2022-04-21} {0.1.1} +\ProvidesExplPackage {postnotes} {2022-04-27} {0.1.2} {Endnotes for LaTeX} \cs_new:Npn \__postnotes_data_name:n #1 { g__postnotes_ #1 _data_prop } @@ -491,6 +491,8 @@ } \NewDocumentCommand \postnotesection { O { } +m } { \__postnotes_section:nn {#1} {#2} } +\NewDocumentCommand \postnotesectionx { O { } +m } + { \__postnotes_section:nx {#1} {#2} } \int_new:N \g__postnotes_sectid_int \cs_new_protected:Npn \__postnotes_section:nn #1#2 { @@ -503,6 +505,7 @@ \__postnotes_store_section:nn { \l__postnotes_note_id_tl } {#2} \group_end: } +\cs_generate_variant:Nn \__postnotes_section:nn { nx } \tl_new:N \g__postnotes_section_name_tl \keys_define:nn { postnotes/section } { @@ -1207,6 +1210,19 @@ \__postnotes_set_babel_language:nn { portuges } { portuguese } \__postnotes_set_babel_language:nn { brazil } { portuguese } \__postnotes_set_polyglossia_language:nn { portuguese } { portuguese } +\__postnotes_define_language:nn { french } + { + \tl_set:Nn \pntitle { Notes } + \tl_set:Nn \pnhdnotes { Notes } + \tl_set:Nn \pnhdtopage { de~la~page } + \tl_set:Nn \pnhdtopages { des~pages } + } +\__postnotes_set_babel_language:nn { french } { french } +\__postnotes_set_babel_language:nn { acadian } { french } +\__postnotes_set_babel_language:nn { canadien } { french } +\__postnotes_set_babel_language:nn { francais } { french } +\__postnotes_set_babel_language:nn { frenchb } { french } +\__postnotes_set_polyglossia_language:nn { french } { french } %% %% %% End of file `postnotes.sty'. -- cgit v1.2.3