summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-07-15 21:37:37 +0000
committerKarl Berry <karl@freefriends.org>2024-07-15 21:37:37 +0000
commit03841d704642b23c2f3019d0b8922e198ab4868d (patch)
tree9d4d9da41d75d335c568695dbd8d33c9e81ff52e /Master/texmf-dist/doc
parent4320a78558317d5c6c80ce26a11d9bd30c6164aa (diff)
passopt (15jul24)
git-svn-id: svn://tug.org/texlive/trunk@71811 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/passopt/README.md9
-rw-r--r--Master/texmf-dist/doc/latex/passopt/passopt.pdfbin48207 -> 52267 bytes
-rw-r--r--Master/texmf-dist/doc/latex/passopt/passopt.tex15
3 files changed, 19 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/passopt/README.md b/Master/texmf-dist/doc/latex/passopt/README.md
index 4538008c182..3b819c42b41 100644
--- a/Master/texmf-dist/doc/latex/passopt/README.md
+++ b/Master/texmf-dist/doc/latex/passopt/README.md
@@ -1,5 +1,5 @@
# The `passopt` package
-Passing options to packages or classes (v1.00b)
+Passing options to packages or classes (v1.01)
## Abstract
`passopt` allow reset the global options of a loaded macro package or document class, or to change the position of the pre-passed options in the list to the right.
@@ -11,5 +11,8 @@ This work may be distributed and/or modified under the conditions of the CC-BY 4
| [Gitee](https://gitee.com/texno3/passopt) | [Github](https://github.com/texno3/passopt) | [CTAN](https://ctan.org/pkg/passopt) |
## Maintainer
-QuYi<br/>
-Email: toquyi@163.com \ No newline at end of file
+Qu Yi<br/>
+Email: toquyi@163.com
+
+## Contributor
+Jonathan P. Spratte \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/passopt/passopt.pdf b/Master/texmf-dist/doc/latex/passopt/passopt.pdf
index c99277687cd..d6c865c112e 100644
--- a/Master/texmf-dist/doc/latex/passopt/passopt.pdf
+++ b/Master/texmf-dist/doc/latex/passopt/passopt.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/passopt/passopt.tex b/Master/texmf-dist/doc/latex/passopt/passopt.tex
index 16b20d5ac65..76568eeff16 100644
--- a/Master/texmf-dist/doc/latex/passopt/passopt.tex
+++ b/Master/texmf-dist/doc/latex/passopt/passopt.tex
@@ -5,8 +5,8 @@
\setcnltx
{
package = passopt,
- version = v1.00b,
- date = 2024/07/11,
+ version = v1.01,
+ date = 2024/07/15,
authors = Qu Yi,
info = Passing options to packages or classes,
email = toquyi@163.com,
@@ -42,6 +42,7 @@
\setlist{nosep,topsep = \smallskipamount}
\setlist[description,1]{leftmargin = \parindent}
\setlist[itemize,1]{leftmargin = *}
+\deffootnote{2em}{1em}{\llap{\color{red}\thefootnotemark.\space}}
\makeatother
\begin{document}
@@ -59,6 +60,7 @@ For a developer, there are some cases where packages and classes may load other
In the example above, the list of options that the \pkg*{mypackage} macro package ends up executing is \fbox{\code{opt1,opt2=A,opt3}}. If you wish to \textcolor{red}{disable} the pre-enabled options or place the newly enabled options to the \textcolor{red}{right} of the list (last executed), then you need to modify the code of the load command in the package or class file, but this is not recommended for public sharing. Therefore, this macro package provides commands to reset the options and change the order of the new options.
\section{User commands}
+Four commands are provided to set the options to be passed later, all of which are \textcolor{red}{locally} assigned.
\begin{commands}
\command{SetOptionsToPackage}[\sarg\marg{options list}\marg{package}]
Passes options to the macro package, the location of the passed options is to the right of the options used when loading the macro package. If an asterisk parameter is used, only the passed options were ultimately retained.
@@ -87,7 +89,16 @@ In the example above, the list of options that the \pkg*{mypackage} macro packag
Similar to the previous command, but passing options for the document class.
\end{commands}
+\section{Acknowledgment}
+Thanks Jonathan P. Spratte for the improvement suggestions.
+
\appendix
+\begin{changelog}[simple]
+ \begin{version}[v = 1.01,date = 2024/07/15]
+ \item Synchronization modifier for lists of \code{@raw@opt@} and \code{opt@}.
+ \item Options that are set are expanded once rather than fully expanded.
+ \end{version}
+\end{changelog}
\nocite{*}
\end{document} \ No newline at end of file