summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-15 21:23:39 +0000
committerKarl Berry <karl@freefriends.org>2024-03-15 21:23:39 +0000
commitf07458c32b8d58ab1e6fec2500fef7ca7ebfdbba (patch)
treeec3c0513ec5e3d986e83eadbde521895342b4d45 /Master
parent598cd65b4914c61adedea54f18c9b30b7702b5bb (diff)
cleveref-forward (15mar24)
git-svn-id: svn://tug.org/texlive/trunk@70649 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.pdfbin65462 -> 65745 bytes
-rw-r--r--Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.tex18
-rw-r--r--Master/texmf-dist/tex/latex/cleveref-forward/cleveref-forward.sty2
3 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.pdf b/Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.pdf
index 96eb8087026..7c6cb6a31d1 100644
--- a/Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.pdf
+++ b/Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.tex b/Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.tex
index fec042a3a69..2fc25c6f5b5 100644
--- a/Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.tex
+++ b/Master/texmf-dist/doc/latex/cleveref-forward/demo/cleveref-forward-demo.tex
@@ -36,7 +36,7 @@
backgroundcolor = \color{code-background},
basewidth = .5em,
escapeinside = {(*}{*)},
- alsoletter = {_,:},
+ alsoletter = {_:},
% numbers = left,
% firstnumber = last,
numberstyle = \scriptsize\ttfamily,
@@ -114,7 +114,7 @@
}
-\title{Demonstration on the usage and configuration of \textquote{\textsf{cleveref-forward}}}
+\title{\textsc{demonstration on the usage and configuration of}\\[.3\baselineskip]\fbox{\textsf{cleveref-forward}}}
\author{}
\date{\today[only-year-month]}
@@ -122,7 +122,7 @@
\maketitle
-\section{With the default configuration}
+\section{Demonstration with the default configuration}
\subsection{Theorem-like environments}
@@ -137,7 +137,7 @@
Some proof that involves the \cref[used by]{lem:result} and the equations \labelcref[used by and on]{eq:Euler}, \labelcref[used by]{eq:1,eq:2} in the next section. Here, \lstinline|\restorelabel| makes sure that this \texttt{proof} environment is being recognized as the theorem itself.
\end{proof}
-\subsection{Equations}
+\subsection{Displayed equations}
By default, the forward referencing infomation is placed immediately after the equation.
@@ -159,7 +159,7 @@ It can also be used for some other types, such as items in \texttt{enumerate} li
\section{Specify a default option}
-If you wish to apply the mode \commandoption{used on}, or \commandoption{used by}, or \commandoption{used by and on} to all \lstinline|\cref| (and \lstinline|\labelcref|, etc.), you can use the package option \packageoption{default=}\meta{mode}. Then you don't need to write it everywhere. And if you wish to manually change this \meta{mode} somewhere, you can still specify it as the command option; and if you don't want the message to display for some references, you may also use the option \commandoption{no use} on the corresponding \lstinline|\label| to disable the related messages.
+If you wish to apply the mode \commandoption{used on}, or \commandoption{used by}, or \commandoption{used by and on} to all \lstinline|\cref| (and \lstinline|\labelcref|, etc.), you can use the package option \packageoption{default=}\meta{mode}. Then you don't need to write it everywhere. And if you wish to manually change this \meta{mode} somewhere, you can still specify it as the command option; and if you don't want the message to display for some references, you may also use the option \commandoption{no use} (or \commandoption{not use}) on the corresponding \lstinline|\label| to disable the related messages.
\section{Customizations}
@@ -490,17 +490,17 @@ When writing in some European languages, it is possible to specify the definite
\UseLanguage{English}
-\subsection{Regarding the customization}
+\subsection{Regarding the customization for languages with declensions}
If you wish to change the content of the messages in such cases, you might need to be careful about the definite article and declension involved. For example, in German, if you wish to change the text to \textquote{Erscheint in ... auf ...} (\emph{Appears in ... on ...}), you need to write:
\begin{code}
\SetUsedOnMessageText{Erscheint auf~#1.}
\SetUsedByMessageText{Erscheint #1.}
\SetUsedByAndOnMessageText{Erscheint #1 auf~#2.}
-\SetForwardReferenceRefForm{\crefthe[in,dat.]}
-\SetForwardReferencePagerefForm{\cpagerefthe[noun]}
+\SetForwardReferenceRefForm{\crefthe[in,(*\commandoption{dat.}*)]}
+\SetForwardReferencePagerefForm{\cpagerefthe[(*\commandoption{noun}*)]}
\end{code}
-which set the \lstinline|\cref| command to use the definite article \textquote{in} and the declension \textquote{Dativ}, and hide the definite article when using \lstinline|\cpageref|.
+which set the \lstinline|\cref| command to use the definite article \textquote{in} and the declension \textquote{Dativ} (via the command option \commandoption{dat.}), and hide the definite article when using \lstinline|\cpageref| (via the command option \commandoption{noun}). For more detailed usage of these commands, please refer to the documentation of the package \textsf{crefthe}.
\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/cleveref-forward/cleveref-forward.sty b/Master/texmf-dist/tex/latex/cleveref-forward/cleveref-forward.sty
index c23612adc00..d9662942341 100644
--- a/Master/texmf-dist/tex/latex/cleveref-forward/cleveref-forward.sty
+++ b/Master/texmf-dist/tex/latex/cleveref-forward/cleveref-forward.sty
@@ -13,7 +13,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage{cleveref-forward}
- {2024/02/25} {}
+ {2024/03/15} {}
{Forward-referencing functionality for cleveref}
\keys_define:nn { cleveref-forward }