summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-21 20:47:35 +0000
committerKarl Berry <karl@freefriends.org>2023-02-21 20:47:35 +0000
commit7bb9dc69bb3c94863b37f6c42521685c4b34a28f (patch)
tree59cd84de7288e2bea4d3dc7e9ebc98d3d3bf8def /Master
parentb6e475de74faa3b3884f46ab928ae63669452fe4 (diff)
postnotes (21feb23)
git-svn-id: svn://tug.org/texlive/trunk@66019 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md8
-rw-r--r--Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdfbin839836 -> 840032 bytes
-rw-r--r--Master/texmf-dist/doc/latex/postnotes/postnotes.pdfbin177383 -> 177453 bytes
-rw-r--r--Master/texmf-dist/doc/latex/postnotes/postnotes.tex4
-rw-r--r--Master/texmf-dist/source/latex/postnotes/postnotes.dtx23
-rw-r--r--Master/texmf-dist/tex/latex/postnotes/postnotes.sty8
6 files changed, 31 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md b/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md
index b626145fd0e..54cc0ec3456 100644
--- a/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md
+++ b/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md
@@ -1,6 +1,12 @@
# 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)
diff --git a/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf b/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf
index 76ed8d090bf..9c1f7bc4dd1 100644
--- a/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf
+++ b/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf b/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf
index 6a20c7ba76e..0b0f803611f 100644
--- a/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf
+++ b/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/postnotes/postnotes.tex b/Master/texmf-dist/doc/latex/postnotes/postnotes.tex
index 2496f321219..0be7d505735 100644
--- a/Master/texmf-dist/doc/latex/postnotes/postnotes.tex
+++ b/Master/texmf-dist/doc/latex/postnotes/postnotes.tex
@@ -302,7 +302,8 @@ Typesets a postnote reference to \meta{label}. Of course, \meta{label} must
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 @@ provided by (in chronological order):
% 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)
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 }
{
diff --git a/Master/texmf-dist/tex/latex/postnotes/postnotes.sty b/Master/texmf-dist/tex/latex/postnotes/postnotes.sty
index 8dce52caa5f..b5b2e1924b2 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} {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