texlive[66019] Master/texmf-dist: postnotes (21feb23)

commits+karl at tug.org commits+karl at tug.org
Tue Feb 21 21:47:35 CET 2023


Revision: 66019
          http://tug.org/svn/texlive?view=revision&revision=66019
Author:   karl
Date:     2023-02-21 21:47:35 +0100 (Tue, 21 Feb 2023)
Log Message:
-----------
postnotes (21feb23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf
    trunk/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf
    trunk/Master/texmf-dist/doc/latex/postnotes/postnotes.tex
    trunk/Master/texmf-dist/source/latex/postnotes/postnotes.dtx
    trunk/Master/texmf-dist/tex/latex/postnotes/postnotes.sty

Modified: trunk/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md	2023-02-21 20:47:19 UTC (rev 66018)
+++ trunk/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md	2023-02-21 20:47:35 UTC (rev 66019)
@@ -1,7 +1,13 @@
 # Changelog
 
-## [Unreleased](https://github.com/gusbrs/postnotes/compare/v0.2.2...HEAD)
+## [Unreleased](https://github.com/gusbrs/postnotes/compare/v0.2.3...HEAD)
 
+## [v0.2.3](https://github.com/gusbrs/postnotes/compare/v0.2.2...v0.2.3) (2023-02-21)
+
+### Fixed
+- Don't apply fix for "perhaps a missing \item" error for option
+  `listenv=none`.
+
 ## [v0.2.2](https://github.com/gusbrs/postnotes/compare/v0.2.1...v0.2.2) (2023-02-15)
 
 ### Fixed

Modified: trunk/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/postnotes/postnotes.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/postnotes/postnotes.tex	2023-02-21 20:47:19 UTC (rev 66018)
+++ trunk/Master/texmf-dist/doc/latex/postnotes/postnotes.tex	2023-02-21 20:47:35 UTC (rev 66019)
@@ -302,7 +302,8 @@
 have been set to a particular postnote, which can be done by the standard
 \cs{label} command.  The starred version of the command inhibits hyperlinking.
 When the \pkg{zref-user} package is loaded, a corresponding \cs{postnotezref}
-is also provided.
+is also provided, and if \pkg{zref-hyperref} is also loaded, it is hyperlinked
+as its counterpart.
 
 
 \section{Options}
@@ -964,6 +965,7 @@
   % 2022-03-31: https://github.com/latex3/hyperref/issues/230
   % 2022-04-09: https://github.com/latex3/hyperref/issues/229
   % 2023-02-10: https://chat.stackexchange.com/transcript/message/62955941#62955941 (and discussion)
+  % 2023-02-19: https://tex.stackexchange.com/q/675818#comment1678904_675818
   David Carlisle,
   % 2022-03-28: https://chat.stackexchange.com/transcript/message/60754383#60754383
   % 2022-04-08: https://tex.stackexchange.com/a/640035 (comments)

Modified: trunk/Master/texmf-dist/source/latex/postnotes/postnotes.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/postnotes/postnotes.dtx	2023-02-21 20:47:19 UTC (rev 66018)
+++ trunk/Master/texmf-dist/source/latex/postnotes/postnotes.dtx	2023-02-21 20:47:35 UTC (rev 66019)
@@ -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 }
   {

Modified: trunk/Master/texmf-dist/tex/latex/postnotes/postnotes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/postnotes/postnotes.sty	2023-02-21 20:47:19 UTC (rev 66018)
+++ trunk/Master/texmf-dist/tex/latex/postnotes/postnotes.sty	2023-02-21 20:47:35 UTC (rev 66019)
@@ -53,7 +53,7 @@
       }%
     \endinput
   }%
-\ProvidesExplPackage {postnotes} {2023-02-15} {0.2.2}
+\ProvidesExplPackage {postnotes} {2023-02-21} {0.2.3}
   {Endnotes for LaTeX}
 \cs_new:Npn \__postnotes_data_name:n #1
   { g__postnotes_ #1 _data_prop }
@@ -649,7 +649,6 @@
                       { \l_postnotes_print_note_id_tl }
                       \l__postnotes_print_mark_tl
                   }
-                \mode_leave_vertical:
                 \l__postnotes_print_content_tl
                 \l__postnotes_post_printnote_tl
                 \group_end:
@@ -700,7 +699,10 @@
 \cs_new_protected:Npn \__postnotes_text_mark_wrapper:n #1
   {
     \bool_if:NTF \l__postnotes_print_as_list_bool
-      { \item [ \l__postnotes_pre_textmark_tl #1 \l__postnotes_post_textmark_tl ] }
+      {
+        \item [ \l__postnotes_pre_textmark_tl #1 \l__postnotes_post_textmark_tl ]
+        \mode_leave_vertical:
+      }
       { \l__postnotes_pre_textmark_tl #1 \l__postnotes_post_textmark_tl }
   }
 \cs_new_protected:Npn \__postnotes_verify_multipass:N #1



More information about the tex-live-commits mailing list.