diff options
author | Norbert Preining <norbert@preining.info> | 2022-07-09 03:01:16 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-07-09 03:01:16 +0000 |
commit | 7891283a2f2fb8a8a884bb212c36da8082764a9b (patch) | |
tree | 98a050dec8439492144177997c6f66e4f9543d62 /macros/latex/contrib/postnotes | |
parent | c600912bde983d6a04c7ce42321d50d4c7c1a50b (diff) |
CTAN sync 202207090301
Diffstat (limited to 'macros/latex/contrib/postnotes')
-rw-r--r-- | macros/latex/contrib/postnotes/CHANGELOG.md | 7 | ||||
-rw-r--r-- | macros/latex/contrib/postnotes/postnotes-code.pdf | bin | 813102 -> 812284 bytes | |||
-rw-r--r-- | macros/latex/contrib/postnotes/postnotes.dtx | 2 | ||||
-rw-r--r-- | macros/latex/contrib/postnotes/postnotes.pdf | bin | 178034 -> 176560 bytes | |||
-rw-r--r-- | macros/latex/contrib/postnotes/postnotes.tex | 46 |
5 files changed, 35 insertions, 20 deletions
diff --git a/macros/latex/contrib/postnotes/CHANGELOG.md b/macros/latex/contrib/postnotes/CHANGELOG.md index 42e0f5f7f7..c3cb3d525a 100644 --- a/macros/latex/contrib/postnotes/CHANGELOG.md +++ b/macros/latex/contrib/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/macros/latex/contrib/postnotes/postnotes-code.pdf b/macros/latex/contrib/postnotes/postnotes-code.pdf Binary files differindex c364f3c9b7..e2b82b38c8 100644 --- a/macros/latex/contrib/postnotes/postnotes-code.pdf +++ b/macros/latex/contrib/postnotes/postnotes-code.pdf diff --git a/macros/latex/contrib/postnotes/postnotes.dtx b/macros/latex/contrib/postnotes/postnotes.dtx index 489c40bf5d..f4cbdfe7a2 100644 --- a/macros/latex/contrib/postnotes/postnotes.dtx +++ b/macros/latex/contrib/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/macros/latex/contrib/postnotes/postnotes.pdf b/macros/latex/contrib/postnotes/postnotes.pdf Binary files differindex 6059ea2438..4d11b82c55 100644 --- a/macros/latex/contrib/postnotes/postnotes.pdf +++ b/macros/latex/contrib/postnotes/postnotes.pdf diff --git a/macros/latex/contrib/postnotes/postnotes.tex b/macros/latex/contrib/postnotes/postnotes.tex index c47a9d9cdf..e9fa40b215 100644 --- a/macros/latex/contrib/postnotes/postnotes.tex +++ b/macros/latex/contrib/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 |