diff options
author | Karl Berry <karl@freefriends.org> | 2023-02-21 20:50:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-02-21 20:50:10 +0000 |
commit | 4dab3fee13d9ae126c7767567c5b2f8e5547d9be (patch) | |
tree | 43c472f4c7da26b82c59a6351478c5c46d415af6 /Master/texmf-dist/source | |
parent | 840e55d412fc9d003da8ea77ce89d1415ed61ad6 (diff) |
postnotes (21feb23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66027 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/postnotes/postnotes.dtx | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/postnotes/postnotes.dtx b/Master/texmf-dist/source/latex/postnotes/postnotes.dtx index 47271ac97a6..edf129ed9c1 100644 --- a/Master/texmf-dist/source/latex/postnotes/postnotes.dtx +++ b/Master/texmf-dist/source/latex/postnotes/postnotes.dtx @@ -153,7 +153,7 @@ % % % \begin{macrocode} -\ProvidesExplPackage {postnotes} {2023-02-15} {0.2.2} +\ProvidesExplPackage {postnotes} {2023-02-21} {0.2.3} {Endnotes for LaTeX} % \end{macrocode} % @@ -771,7 +771,7 @@ % not all cases are as tricky as \cs{caption} or \cs{text}, and even that can % be decently dealt with without a separation between ``mark'' and ``text''. % Besides, in difficult cases, the package offers a \opt{nomark} option to -% \cs{postnote} to place a note, but typeset no mark. Than we can typeset a +% \cs{postnote} to place a note, but typeset no mark. Then we can typeset a % mark with \cs{postnoteref} referring to a \cs{label} in the note of % interest. This would result in a correct mark without duplicity, and in a % correct link from there to the note's text at \cs{printpostnotes}. The @@ -1377,10 +1377,6 @@ { \l_postnotes_print_note_id_tl } \l_@@_print_mark_tl } -% \end{macrocode} -% Leave vertical mode to avoid ``perhaps a missing \cs{item}'' error. -% \begin{macrocode} - \mode_leave_vertical: \l_@@_print_content_tl \l_@@_post_printnote_tl \group_end: @@ -1464,7 +1460,14 @@ \cs_new_protected:Npn \@@_text_mark_wrapper:n #1 { \bool_if:NTF \l_@@_print_as_list_bool - { \item [ \l_@@_pre_textmark_tl #1 \l_@@_post_textmark_tl ] } + { + \item [ \l_@@_pre_textmark_tl #1 \l_@@_post_textmark_tl ] +% \end{macrocode} +% Leave vertical mode to avoid ``perhaps a missing \cs{item}'' error for empty +% notes. +% \begin{macrocode} + \mode_leave_vertical: + } { \l_@@_pre_textmark_tl #1 \l_@@_post_textmark_tl } } % \end{macrocode} @@ -2454,6 +2457,12 @@ % \pkg{tabularray} a trial/measure pass from the final one. So we use % \cs{@@_verify_multipass:N} for it. % +% See, however, \url{https://tex.stackexchange.com/q/675818} and +% \url{https://github.com/lvjr/tabularray/issues/179} (thanks +% \contributor{Ulrike Fischer}). In sum, there's a not yet released new +% boolean \cs{lTblrMeasuringBool} provided by \pkg{tabularray}, use it when it +% comes. +% % \begin{macrocode} \AddToHook { package/tabularray/after } { |