From bf5bf5657832349b1e6be897c7874b65578d4b93 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 8 Jul 2022 21:49:59 +0000 Subject: postnotes (8jul22) git-svn-id: svn://tug.org/texlive/trunk@63840 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md | 7 +++- .../doc/latex/postnotes/postnotes-code.pdf | Bin 813102 -> 812284 bytes .../texmf-dist/doc/latex/postnotes/postnotes.pdf | Bin 178034 -> 176560 bytes .../texmf-dist/doc/latex/postnotes/postnotes.tex | 46 +++++++++++++-------- .../source/latex/postnotes/postnotes.dtx | 2 +- .../texmf-dist/tex/latex/postnotes/postnotes.sty | 2 +- 6 files changed, 36 insertions(+), 21 deletions(-) diff --git a/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md b/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md index 42e0f5f7f76..c3cb3d525a6 100644 --- a/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/postnotes/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog -## [Unreleased](https://github.com/gusbrs/postnotes/compare/v0.1.4...HEAD) +## [Unreleased](https://github.com/gusbrs/postnotes/compare/v0.1.5...HEAD) + +## [v0.1.5](https://github.com/gusbrs/postnotes/compare/v0.1.4...v0.1.5) (2022-07-07) + +### Fixed +- Recompiled documentation with workaround for upstream `l3doc` bug. ## [v0.1.4](https://github.com/gusbrs/postnotes/compare/v0.1.3...v0.1.4) (2022-07-06) diff --git a/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf b/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf index c364f3c9b77..e2b82b38c89 100644 Binary files a/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf and b/Master/texmf-dist/doc/latex/postnotes/postnotes-code.pdf differ diff --git a/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf b/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf index 6059ea24381..4d11b82c55f 100644 Binary files a/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf and b/Master/texmf-dist/doc/latex/postnotes/postnotes.pdf differ diff --git a/Master/texmf-dist/doc/latex/postnotes/postnotes.tex b/Master/texmf-dist/doc/latex/postnotes/postnotes.tex index c47a9d9cdfe..e9fa40b215d 100644 --- a/Master/texmf-dist/doc/latex/postnotes/postnotes.tex +++ b/Master/texmf-dist/doc/latex/postnotes/postnotes.tex @@ -157,6 +157,16 @@ \ExplSyntaxOff \NewDocumentCommand\opt{m}{\texttt{#1}} +% Temporary workaround for 'l3doc' bug. +% https://github.com/latex3/latex3/issues/1111 +% FIXME Remove when fixed upstream. +\NewDocElement[ + macrolike = false , + printtype = \textit{opt.} , +]{Option}{optiondesc} +\NewDocElement[ + macrolike = true , +]{UserMacro}{usermacro} \begin{document} @@ -321,7 +331,7 @@ receives options and values in \texttt{key=value} fashion. \bigskip{} \DescribeOption{heading} % -\DescribeOption{\cs{pnheading}} % +\DescribeUserMacro{\pnheading} % The \opt{heading} option sets the heading for the printed notes or, more generally put, that which is printed at the beginning of \cs{printpostnotes}. Its default value depends on the document class in use. If \cs{chapter} is @@ -364,7 +374,7 @@ different than the defaults. \DescribeOption{makemark} % \DescribeOption{maketextmark} % -\DescribeOption{\cs{pnthepage}} % +\DescribeUserMacro{\pnthepage} % The \opt{makemark} and \opt{maketextmark} options control how the mark is to be typeset, at the point \cs{postnote} is called and at the point the note's text is printed at \cs{printpostnotes}, respectively. They both can receive @@ -520,10 +530,10 @@ case, but be able to override it manually for an occasional unnumbered one. For this reason, a more semantic name was chosen for it, instead of the generic ``add to''. -\DescribeOption{\cs{pnthechapter}} % -\DescribeOption{\cs{pnthesection}} % -\DescribeOption{\cs{pnthechapternextnote}} % -\DescribeOption{\cs{pnthesectionnextnote}} % +\DescribeUserMacro{\pnthechapter} % +\DescribeUserMacro{\pnthesection} % +\DescribeUserMacro{\pnthechapternextnote} % +\DescribeUserMacro{\pnthesectionnextnote} % Just like with \cs{postnote}, the contents of \cs{postnotesection} are not expanded in place, but rather stored with ``no manipulation'' to be typeset later at \cs{printpostnotes}. For this reason, some contextual information is @@ -679,14 +689,14 @@ part of the definition: \ExplSyntaxOff \end{pnsnippet} -\DescribeOption{\cs{pnhdpagefirst}} % -\DescribeOption{\cs{pnhdpagelast}} % -\DescribeOption{\cs{pnhdchapfirst}} % -\DescribeOption{\cs{pnhdchaplast}} % -\DescribeOption{\cs{pnhdsectfirst}} % -\DescribeOption{\cs{pnhdsectlast}} % -\DescribeOption{\cs{pnhdnamefirst}} % -\DescribeOption{\cs{pnhdnamelast}} % +\DescribeUserMacro{\pnhdpagefirst} % +\DescribeUserMacro{\pnhdpagelast} % +\DescribeUserMacro{\pnhdchapfirst} % +\DescribeUserMacro{\pnhdchaplast} % +\DescribeUserMacro{\pnhdsectfirst} % +\DescribeUserMacro{\pnhdsectlast} % +\DescribeUserMacro{\pnhdnamefirst} % +\DescribeUserMacro{\pnhdnamelast} % \cs{pnhdpagefirst} and \cs{pnhdpagelast} store the value of \cs{thepage} for the first and the last notes (where these notes were originally placed) of the current page (at the point they are being printed). These variables are @@ -810,10 +820,10 @@ places, etc. \section{Localization} \zlabel{sec:localization} -\DescribeOption{\cs{pntitle}} % -\DescribeOption{\cs{pnhdnotes}} % -\DescribeOption{\cs{pnhdtopage}} % -\DescribeOption{\cs{pnhdtopages}} % +\DescribeUserMacro{\pntitle} % +\DescribeUserMacro{\pnhdnotes} % +\DescribeUserMacro{\pnhdtopage} % +\DescribeUserMacro{\pnhdtopages} % \pkg{postnotes} uses a few localized strings, stored in the variables \cs{pntitle}, \cs{pnhdnotes}, \cs{pnhdtopage}, and \cs{pnhdtopages}. The first one is used in the default value of the \opt{heading} option and diff --git a/Master/texmf-dist/source/latex/postnotes/postnotes.dtx b/Master/texmf-dist/source/latex/postnotes/postnotes.dtx index 489c40bf5d3..f4cbdfe7a27 100644 --- a/Master/texmf-dist/source/latex/postnotes/postnotes.dtx +++ b/Master/texmf-dist/source/latex/postnotes/postnotes.dtx @@ -147,7 +147,7 @@ % % % \begin{macrocode} -\ProvidesExplPackage {postnotes} {2022-07-06} {0.1.4} +\ProvidesExplPackage {postnotes} {2022-07-07} {0.1.5} {Endnotes for LaTeX} % \end{macrocode} % diff --git a/Master/texmf-dist/tex/latex/postnotes/postnotes.sty b/Master/texmf-dist/tex/latex/postnotes/postnotes.sty index 51edd8057cb..56a0c0c8021 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-07-06} {0.1.4} +\ProvidesExplPackage {postnotes} {2022-07-07} {0.1.5} {Endnotes for LaTeX} \cs_new:Npn \__postnotes_data_name:n #1 { g__postnotes_ #1 _data_prop } -- cgit v1.2.3