From c2865b4883a4c207e9d2667938e6c1bdd3936764 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 26 Sep 2009 23:20:46 +0000 Subject: cleveref 0.14.2 (26sep09) git-svn-id: svn://tug.org/texlive/trunk@15470 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/cleveref/cleveref.dtx | 1247 +++++++++++++------- 1 file changed, 795 insertions(+), 452 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/cleveref/cleveref.dtx b/Master/texmf-dist/source/latex/cleveref/cleveref.dtx index cdb12ab0e85..8e4cf481010 100644 --- a/Master/texmf-dist/source/latex/cleveref/cleveref.dtx +++ b/Master/texmf-dist/source/latex/cleveref/cleveref.dtx @@ -21,11 +21,11 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{cleveref} -% [2009/08/18 v0.14.1 Intelligent cross-referencing] +% [2009/09/22 v0.14.2 Intelligent cross-referencing] % %<*driver> -\documentclass{ltxdoc} -%\documentclass[draft]{ltxdoc} +%\documentclass{ltxdoc} +\documentclass[draft]{ltxdoc} \usepackage{url} \usepackage{pifont} % FIXME: find nicer line-continuation symbol than \ding{229} % \usepackage{hyperref} % breaks index @@ -62,7 +62,7 @@ % % \fi % -% \CheckSum{7343} +% \CheckSum{7724} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -83,8 +83,9 @@ % \changes{v0.02}{2007/04/18}{Complete rewrite} % \changes{v0.03}{2007/04/26}{Added reference ranges} % \changes{v0.04}{2007/05/26}{Renamed "cleveref" -- first public release} -% \changes{v0.05}{2007/05/31}{Added poorman option} -% \changes{v0.06}{2007/06/11}{Poorman no longer writes extra .tmp file} +% \changes{v0.05}{2007/05/31}{Added \option{poorman} option} +% \changes{v0.06}{2007/06/11}{\option{poorman} no longer writes extra +% .tmp file} % \changes{v0.07}{2007/06/21}{Allow prevention of reference range % collapsing} % \changes{v0.08}{2007/07/10}% @@ -101,38 +102,42 @@ % commands.} % \changes{v0.10}{2007/10/30}% % {Allow optional argument to \textbackslash{}label to override -% reference type. Removed hyperref and ntheorem options; support for -% these and amsmath is enabled automatically if those packages are -% loaded.} +% reference type. Removed \option{hyperref} and \option{ntheorem} +% options; support for these and \package{amsmath} is enabled +% automatically if those packages are loaded.} % \changes{v0.11}{2007/11/21}{Made referencing aware of appendices.} % \changes{v0.11.1}{2007/11/29}{Bug fixes.} % \changes{v0.12}{2009/02/11}{Restore working \textbackslash{}ref* when % hyperref is loaded -- first release mirrored on www.dr-qubit.org} -% \changes{v0.13}{2009/04/17}{Finally implemented sort and compress -% package options. Support amsmath \textbackslash{}tag command. Added -% babel support for English, German and French. Added varioref -% support.} +% \changes{v0.13}{2009/04/17}{Finally implemented \option{sort} and +% \option{compress} package options. Support \package{amsmath} +% \textbackslash{}tag command. Added \package{babel} support for +% English, German and French. Added \package{varioref} support.} % \changes{v0.13.1}{2009/07/01}{Bug fix to \textbackslash{}cref@get* % commands to allow fragile and non-expandable commands in label tags.} % \changes{v0.13.2}{2009/07/26}{Added\newline % \textbackslash{}crefrangepreconjunction and % \textbackslash{}crefrangepostconjunction commands, needed by some -% languages (such as Italian). Added babel support for Spanish and -% Italian. Added notes about memoir (in)compatibility.} +% languages (such as Italian). Added \package{babel} support for +% Spanish and Italian. Added notes about \package{memoir} +% (in)compatibility.} % \changes{v0.14}{2009/08/07}{Fixed bug that caused labels containing % components with values of 10 or higher to be sorted -% incorrectly. Fixed \textbackslash{}Cref to no longer capitalises all -% cross-reference names in a multi-reference, just the first one. The -% \option{capitalise} option is now provided to force capitalisation -% everywhere.} -% \changes{v0.14.1}{2009/08/18}{Added support for amsmath's subequations -% environment} +% incorrectly. Fixed \textbackslash{}Cref to no longer capitalise all +% cross-reference names in a multi-reference, just the first one. Added +% \option{capitalise} option to force capitalisation everywhere.} +% \changes{v0.14.1}{2009/08/18}{Added support for \package{amsmath}'s +% subequations environment} +% \changes{v0.14.2}{2009/09/22}{Fixed subequations sorting bug. Fixed bug +% in \option{poorman} when used without babel. \option{capitalise} +% option no longer uses \textbackslash{}Cref variant everywhere; it now +% redefines the \textbackslash{}cref variants instead.} % % % \GetFileInfo{cleveref.sty} % -% \def\fileversion{0.14.1} -% \def\filedate{18/08/2009} +% \def\fileversion{0.14.2} +% \def\filedate{22/09/2009} % % \title{The \package{cleveref} package\thanks{This document % corresponds to \textsf{cleveref}~\fileversion, dated @@ -302,14 +307,15 @@ % labels: they are no longer allowed to contain commas ``,''. These are % instead used to type-set multiple cross-references (see below). % -% \DescribeMacro\Cref -% As it is very difficult\footnote{Actually, very likely impossible!} -% for \LaTeX{} to determine whether a cross-reference appears at the -% beginning of a sentence or not, a capitalised version exists: -% |\Cref{|\meta{label}|}|. By default, this type-sets the cross-reference -% with the first letter capitalised. (Though the formatting of the -% |\cref| and |\Cref| forms can be fully and independently customised, -% see \cref{sec:customising}.) +% \DescribeMacro\Cref As it is very difficult\footnote{Actually, very +% likely impossible!} for \LaTeX{} to determine whether a +% cross-reference appears at the beginning of a sentence or not, a +% beginning-of-sentence variant exists: |\Cref{|\meta{label}|}|. By +% default, this type-sets the cross-reference with the first letter +% capitalised, and without using an abbreviation in those cases where the +% standard variant does use one. (However, the formatting of the |\cref| +% and |\Cref| forms can be fully and independently customised, see +% \cref{sec:customising}.) % % \DescribeMacro\ref % \package{cleveref} does \emph{not} modify the standard |\ref| @@ -416,12 +422,26 @@ % % \section{Capitalising All Cross-Reference Names} % \label{sec:capitalise} -% Many authors prefer to always capitalise cross-reference names, -% regardless of where they appear in the sentence, writing Theorem~1 and -% Equation~3 (as opposed to theorem~1 and equation~3). If you count -% yourself among this group, you can pass the \option{capitalise} option -% to the \package{cleveref} package (\option{capitalize} also works). All -% cross-references will then be type-set using the \cmd{\Cref} variant. +% \DescribeMacro{capitalise} Many authors prefer to always capitalise +% cross-reference names, regardless of where they appear in the sentence, +% writing Theorem~1 and Equation~3 (as opposed to theorem~1 and +% equation~3). If you count yourself among this group, you can pass the +% \option{capitalise} option to the \package{cleveref} package +% (\option{capitalize} also works). +% +% All the default cross-reference formats will then have the first letter +% capitalised, as will the automatically generated |\cref| variants (see +% \cref{sec:individual_customisation,sec:full-control_customisation}). +% (However, if you explicitly define a |\cref| variant to \emph{not} be +% capitalised, \package{cleveref} will still honour your definition. In +% other words, you're responsible for defining the capitalisation +% correctly in your own format definitions.) +% +% You should \emph{still} use the |\Cref| variants at the beginning of +% sentences, for one thing, because abbreviations should not be used at +% the beginning of a sentence\footnote{At least in English; I'm not sure +% about other languages.}, and for another, in case you later change +% your mind and remove the \option{capitalise} option. % % % @@ -608,17 +628,17 @@ % used by the |\cref| and |\Cref| commands, respectively. You must supply % both \meta{singular} and \meta{plural} forms of the name. If the % corresponding |\Crefname| is undefined when |\crefname| is called, it -% will define |\Crefname| to be a capitalised version of |\crefname|, -% using |\MakeUppercase|. Conversely, if the corresponding |\crefname| is -% undefined when |\Crefname| is called, it will define |\crefname| to be -% a lower-case version of |\Crefname|, using |\MakeLowercase|. Obviously, -% this will only work properly if the names begin with a letter. If the -% first letter is a special character construct, such as an accented -% character, you will need to surround it by braces. If the first thing -% in the name is \emph{not} a letter at all (e.g.\ if it is a \LaTeX{} -% command), you \emph{must} define both capitalisation variants -% explicitly. Otherwise you will get strange and fatal errors when -% processing the document. +% will automatically define |\Crefname| to be a capitalised version of +% |\crefname|, using |\MakeUppercase|. Conversely, if the corresponding +% |\crefname| is undefined when |\Crefname| is called, it will +% automatically define |\crefname| to be a lower-case version of +% |\Crefname|, using |\MakeLowercase|. Obviously, this will only work +% properly if the names begin with a letter. If the first letter is a +% special character construct, such as an accented character, you will +% need to surround it by braces. If the first thing in the name is +% \emph{not} a letter at all (e.g.\ if it is a \LaTeX{} command), you +% \emph{must} define both capitalisation variants explicitly. Otherwise +% you will get strange and fatal errors when processing the document. % % The cross-reference \meta{type} is usually the name of the counter for % the environment (equation, chapter, section, etc.). The exceptions are @@ -711,7 +731,7 @@ % this way. If you change any of them using the low-level customisation % commands, but still want them to be grouped together, then you must % ensure that the formats are \emph{identical}. (It is \emph{not} -% sufficient for the formats to producing identical type-set text; the +% sufficient for the formats to produce identical type-set text; the % format definitions must contain identical \LaTeX{} code.) % % @@ -770,8 +790,8 @@ % Note that the hyper-link arguments are \emph{not} letters, so if |#2| % appears at the beginning of \meta{format}, \package{cleveref} will not % be able to automatically define the other capitalisation variant -% automatically using |\MakeUppercase| or |\MakeLowercase|. In this case, -% you will have to define both variants separately. For example, if you +% automatically using |\MakeUppercase| or |\MakeLowercase|. In this case, you +% will have to define both variants separately. For example, if you % wanted to the ``Eq.'' to be part of the hyper-link, you would have to % define: % \begin{quote} @@ -1184,7 +1204,11 @@ % \item \package{cleveref} is almost certainly incompatible with % \package{titleref}, \package{byname}, \package{nameref} and the % like. This shouldn't be difficult to fix, and if you want this -% feature, then\dots patches are always welcome! +% feature, then\dots patches are always welcome! (Note that +% \package{cleveref} \emph{is} compatible with \package{hyperref}, +% despite that fact that this loads \package{nameref} +% automatically. It's just that the \package{nameref} features won't +% work.) % \item Given all the above, it's not surprising that \package{cleveref} % is incompatible with the \package{memoir} class, which incorporates % many of the above packages. There are some reports of some versions @@ -1344,6 +1368,16 @@ % \end{macro} % \end{macro} % +% In order for |subequations| to be sorted properly, \package{cleveref} +% needs to know that the |equation| counter is effectively reset by the +% |parentequation| counter within the |subequations| environment. This +% isn't how |amsmath| implements subequations (for obvious reasons!), but +% we harmlessly add the |equation| counter to the |parentequation| +% counter's reset list \emph{within} |subequations| environments, so that +% \package{cleveref}'s sorting mechanism can figure things out. We also +% harmlessly make sure |parentequation| is reset by the same counter as +% |equation|. +% \begin{macro}{subequations} % \begin{macrocode} \let\cref@old@subequations\subequations% \let\cref@old@endsubequations\endsubequations% @@ -1357,8 +1391,10 @@ }{% \gdef\cl@parentequation{}% \cref@old@endsubequations% + \setcounter{parentequation}{0}% }% % \end{macrocode} +% \end{macro} % % \begin{macro}{\make@df@tag@@} % \begin{macro}{\make@df@tag@@@} @@ -2029,13 +2065,15 @@ \fi% % \end{macrocode} % If counter in question is |equation|, and the counter |parentequation| -% is defined, check if it's reset by that (|parentequation| is used by -% \package{amsmath}'s |subequations| environment. Although +% is defined, check if it's reset by that. The |parentequation| counter +% is used by \package{amsmath}'s |subequations| environment. Although % \package{amsmath} doesn't implement |subequations| using counter reset % lists, \package{cleveref}'s \package{amsmath} support (above) tweaks -% the reset lists inside |subequetions| environments to hook into this -% mechanism. We could dispense with all this particular check when -% \package{amsmath} isn't loaded, but it hardly seems worth it. +% the reset lists inside |subequations| environments to hook into this +% mechanism. We should really only check this when \package{amsmath} is +% loaded, but checking it anyway might catch other packages that +% independently implement amsmath's |subequations| environment (are there +% any?). % \begin{macrocode} \@ifundefined{cl@parentequation}{}{% \def\@tmpa{#1}% @@ -2043,7 +2081,9 @@ \ifx\@tmpa\@tmpb% \cref@isinresetlist{#1}{parentequation}% \if@cref@inresetlist% - \def#2{parentequation}% + \expandafter\ifnum\c@parentequation=0\else% + \def#2{parentequation}% + \fi% \fi% \fi}% % \end{macrocode} @@ -2483,11 +2523,7 @@ \fi% \fi% \advance\count@group 1% - \if@cref@capitalise% - \def\cref@variant{Cref}% - \else - \def\cref@variant{cref}% - \fi% + \def\cref@variant{cref}% \fi% % \end{macrocode} % @@ -2850,10 +2886,14 @@ \def\@tmpa##1##2\@nil{% \if##1c% \def\@other{C##2}% - \def\@changecase{\MakeUppercase}% + \def\@changecase{\expandafter\MakeUppercase}% \else% \def\@other{c##2}% - \def\@changecase{\MakeLowercase}% + \if@cref@capitalise% + \def\@changecase{}% + \else% + \def\@changecase{\MakeLowercase}% + \fi% \fi}% \@tmpa#1\@nil% % \end{macrocode} @@ -3257,10 +3297,9 @@ % \end{macro} % \end{macro} % -% The utility macros do the real work, by using the first argument -% (``cref'' or ``Cref'', and ``crefrange'' or ``Crefrange'') to -% determine how to define the corresponding command with the other -% capitalisation. +% The utility macros do the real work, by using the first argument +% (``cref'' or ``Cref'', and ``crefrange'' or ``Crefrange'') to determine +% how to define the corresponding command with the other capitalisation. % \begin{macro}{\@crefformat} % \cmd{\@crefformat} defines the macros for single references. % \begin{macrocode} @@ -3276,10 +3315,14 @@ \def\@tmpa##1##2\@nil{% \if##1c% \def\@other{C##2}% - \def\@changecase{\MakeUppercase}% + \def\@changecase{\expandafter\MakeUppercase}% \else% \def\@other{c##2}% - \def\@changecase{\MakeLowercase}% + \if@cref@capitalise% + \def\@changecase{}% + \else% + \def\@changecase{\MakeLowercase}% + \fi% \fi}% \@tmpa#1\@nil% % \end{macrocode} @@ -3334,10 +3377,14 @@ \def\@tmpa##1##2\@nil{% \if##1c% \def\@other{C##2}% - \def\@changecase{\MakeUppercase}% + \def\@changecase{\expandafter\MakeUppercase}% \else% \def\@other{c##2}% - \def\@changecase{\MakeLowercase}% + \if@cref@capitalise% + \def\@changecase{}% + \else% + \def\@changecase{\MakeLowercase}% + \fi% \fi}% \@tmpa#1\@nil% % \end{macrocode} @@ -3394,10 +3441,14 @@ \def\@tmpa##1##2\@nil{% \if##1c% \def\@other{C##2}% - \def\@changecase{\MakeUppercase}% + \def\@changecase{\expandafter\MakeUppercase}% \else% \def\@other{c##2}% - \def\@changecase{\MakeLowercase}% + \if@cref@capitalise% + \def\@changecase{}% + \else% + \def\@changecase{\MakeLowercase}% + \fi% \fi}% \@tmpa#1\@nil% % \end{macrocode} @@ -3486,10 +3537,14 @@ \def\@tmpa##1##2\@nil{% \if##1c% \def\@other{C##2}% - \def\@changecase{\MakeUppercase}% + \def\@changecase{\expandafter\MakeUppercase}% \else% \def\@other{c##2}% - \def\@changecase{\MakeLowercase}% + \if@cref@capitalise% + \def\@changecase{}% + \else% + \def\@changecase{\MakeLowercase}% + \fi% \fi}% \@tmpa#1\@nil% % \end{macrocode} @@ -3916,7 +3971,7 @@ \@ifpackageloaded{varioref}{% \PackageInfo{cleveref}{`varioref' support loaded} \PackageInfo{cleveref}{`cleveref' supersedes `varioref's % - $\backslash$\labelformat command, which will not work} + $\backslash$labelformat command, which will not work} \AtBeginDocument{% \def\cref@vref#1#2{% % \end{macrocode} @@ -4106,9 +4161,9 @@ % are only applied to the regions in which that particular language was % in use. % -% Note that we write substitution rules for the \emph{previou} language -% block when the language is changed, because we need the rules to -% appear in the script \emph{after} all the cross-reference +% Note that we write substitution rules for the \emph{previous} +% language block when the language is changed, because we need the +% rules to appear in the script \emph{after} all the cross-reference % substitution rules for that language block. \cmd{cref@inputlineno} % stores the input-file line-number of the start of the previous % language block. @@ -4144,169 +4199,170 @@ \@cref@switched@languagetrue% \cref@writelanguagerules% \cref@old@forreign@language} - \edef\cref@inputlineno{\the\inputlineno}} + \edef\cref@inputlineno{\the\inputlineno}}% + }{} % \end{macrocode} % \end{macro} % \end{macro} % % The final set of substitution rules gets written at the end of the -% document. +% document. This is the only set or rules that gets written if +% \package{babel} is not loaded. % \begin{macrocode} - \AtEndDocument{% - \let\select@language\cref@old@select@language% - \let\forreign@language\cref@old@forreign@language% - \cref@writelanguagerules} + \AtEndDocument{% + \let\select@language\cref@old@select@language% + \let\forreign@language\cref@old@forreign@language% + \cref@writelanguagerules} % \end{macrocode} % % \begin{macro}{\cref@writelanguagerules} % \cmd{\cref@writelanguagerules} does the grunt work of writing out the % necessary substitution rules. % \begin{macrocode} - \def\cref@writelanguagerules{% - \begingroup% + \def\cref@writelanguagerules{% + \begingroup% % \end{macrocode} % If |\if@cref@switched@language| hasn't been set, then we must be % writing the final set of substitution rules at the end of a document, % in which no language switching command was ever used. In which case, % the substitution rules don't specify a line-number address. % \begin{macrocode} - \if@cref@switched@language% - \edef\@address{\cref@inputlineno,\the\inputlineno}% - \else% - \def\@address{}% - \fi% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \crefrangeconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\crefrangeconjunction}} - \expandafter\cref@writescript\@tmpa% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \crefrangepreconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\crefrangepreconjunction}} - \expandafter\cref@writescript\@tmpa% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \crefrangepostconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\crefrangepostconjunction}} - \expandafter\cref@writescript\@tmpa% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \crefpairconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\crefpairconjunction}} - \expandafter\cref@writescript\@tmpa% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \crefmiddleconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\crefmiddleconjunction}} - \expandafter\cref@writescript\@tmpa% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \creflastconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\creflastconjunction}} - \expandafter\cref@writescript\@tmpa% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \crefpairgroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\crefpairgroupconjunction}} - \expandafter\cref@writescript\@tmpa% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \crefmiddlegroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\crefmiddlegroupconjunction}} - \expandafter\cref@writescript\@tmpa% - \expandafter\def\expandafter\cref@poorman@text\expandafter{% - \creflastgroupconjunction}% - \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\creflastgroupconjunction}} - \expandafter\cref@writescript\@tmpa% + \if@cref@switched@language% + \edef\@address{\cref@inputlineno,\the\inputlineno}% + \else% + \def\@address{}% + \fi% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \crefrangeconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\crefrangeconjunction}} + \expandafter\cref@writescript\@tmpa% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \crefrangepreconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\crefrangepreconjunction}} + \expandafter\cref@writescript\@tmpa% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \crefrangepostconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\crefrangepostconjunction}} + \expandafter\cref@writescript\@tmpa% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \crefpairconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\crefpairconjunction}} + \expandafter\cref@writescript\@tmpa% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \crefmiddleconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\crefmiddleconjunction}} + \expandafter\cref@writescript\@tmpa% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \creflastconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\creflastconjunction}} + \expandafter\cref@writescript\@tmpa% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \crefpairgroupconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\crefpairgroupconjunction}} + \expandafter\cref@writescript\@tmpa% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \crefmiddlegroupconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\crefmiddlegroupconjunction}} + \expandafter\cref@writescript\@tmpa% + \expandafter\def\expandafter\cref@poorman@text\expandafter{% + \creflastgroupconjunction}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter{\@address}{\string\creflastgroupconjunction}} + \expandafter\cref@writescript\@tmpa% % \end{macrocode} % We write substitution rules for all component-derived cross-reference % formats, as listed in \cmd{\cref@label@types}. % \begin{macrocode} - \let\@tmpstack\cref@label@types% - \cref@isstackfull{\@tmpstack}% - \@whilesw\if@cref@stackfull\fi{% + \let\@tmpstack\cref@label@types% + \cref@isstackfull{\@tmpstack}% + \@whilesw\if@cref@stackfull\fi{% % \end{macrocode} % \cmd{\cref@}\meta{type}|@name| substitution rules. % \begin{macrocode} - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\cref@poorman@text% - \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name\endcsname}% - \edef\@tmpa{% - \string\cref@\expandafter\noexpand\@tmpa @name\space}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \expandafter\expandafter\expandafter\def% + \expandafter\expandafter\expandafter\cref@poorman@text% + \expandafter\expandafter\expandafter{% + \csname cref@\@tmpa @name\endcsname}% + \edef\@tmpa{% + \string\cref@\expandafter\noexpand\@tmpa @name\space}% + \expandafter\expandafter\expandafter\def% + \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \expandafter\expandafter\expandafter{% - \expandafter\@address\expandafter}% - \expandafter{\@tmpa}} - \expandafter\cref@writescript\@tmpa% + \expandafter\@address\expandafter}% + \expandafter{\@tmpa}} + \expandafter\cref@writescript\@tmpa% % \end{macrocode} % \cmd{\cref@}\meta{type}|@name@plural| substitution rules. % \begin{macrocode} - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\cref@poorman@text% - \expandafter\expandafter\expandafter{% - \csname cref@\@tmpa @name@plural\endcsname}% - \edef\@tmpa{% - \string\cref@\expandafter\noexpand\@tmpa% - @name@plural\space}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% + \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \expandafter\expandafter\expandafter\def% + \expandafter\expandafter\expandafter\cref@poorman@text% + \expandafter\expandafter\expandafter{% + \csname cref@\@tmpa @name@plural\endcsname}% + \edef\@tmpa{% + \string\cref@\expandafter\noexpand\@tmpa% + @name@plural\space}% + \expandafter\expandafter\expandafter\def% + \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% - \expandafter\expandafter\expandafter{% - \expandafter\@address\expandafter}% - \expandafter{\@tmpa}} - \expandafter\cref@writescript\@tmpa% + \expandafter\@address\expandafter}% + \expandafter{\@tmpa}} + \expandafter\cref@writescript\@tmpa% % \end{macrocode} % \cmd{\Cref@}\meta{type}|@name| substitution rules. % \begin{macrocode} - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\cref@poorman@text% - \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name\endcsname}% - \edef\@tmpa{% - \string\Cref@\expandafter\noexpand\@tmpa @name\space}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% - \expandafter\expandafter\expandafter{% - \expandafter\expandafter\expandafter% - {\expandafter\@address\expandafter}% - \expandafter{\@tmpa}} - \expandafter\cref@writescript\@tmpa% + \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \expandafter\expandafter\expandafter\def% + \expandafter\expandafter\expandafter\cref@poorman@text% + \expandafter\expandafter\expandafter{% + \csname Cref@\@tmpa @name\endcsname}% + \edef\@tmpa{% + \string\Cref@\expandafter\noexpand\@tmpa @name\space}% + \expandafter\expandafter\expandafter\def% + \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter{% + \expandafter\expandafter\expandafter% + {\expandafter\@address\expandafter}% + \expandafter{\@tmpa}} + \expandafter\cref@writescript\@tmpa% % \end{macrocode} % \cmd{\Cref@}\meta{type}|@name@plural| substitution rules. % \begin{macrocode} - \edef\@tmpa{\cref@stack@top{\@tmpstack}}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\cref@poorman@text% - \expandafter\expandafter\expandafter{% - \csname Cref@\@tmpa @name@plural\endcsname}% - \edef\@tmpa{% - \string\Cref@\expandafter\noexpand\@tmpa% - @name@plural\space}% - \expandafter\expandafter\expandafter\def% - \expandafter\expandafter\expandafter\@tmpa% - \expandafter\expandafter\expandafter{% - \expandafter\expandafter\expandafter% - {\expandafter\@address\expandafter}% - \expandafter{\@tmpa}} - \expandafter\cref@writescript\@tmpa% + \edef\@tmpa{\cref@stack@top{\@tmpstack}}% + \expandafter\expandafter\expandafter\def% + \expandafter\expandafter\expandafter\cref@poorman@text% + \expandafter\expandafter\expandafter{% + \csname Cref@\@tmpa @name@plural\endcsname}% + \edef\@tmpa{% + \string\Cref@\expandafter\noexpand\@tmpa% + @name@plural\space}% + \expandafter\expandafter\expandafter\def% + \expandafter\expandafter\expandafter\@tmpa% + \expandafter\expandafter\expandafter{% + \expandafter\expandafter\expandafter% + {\expandafter\@address\expandafter}% + \expandafter{\@tmpa}} + \expandafter\cref@writescript\@tmpa% % \end{macrocode} % After the loop over cross-reference types, we set % \cmd{\cref@inputlineno} to the current input-file line, in preparation % for the next language block. % \begin{macrocode} - \cref@stack@pop{\@tmpstack}% - \cref@isstackfull{\@tmpstack}}% - \endgroup% - \edef\cref@inputlineno{\the\inputlineno}}% - }{}% end of \@ifpackageloaded + \cref@stack@pop{\@tmpstack}% + \cref@isstackfull{\@tmpstack}}% + \endgroup% + \edef\cref@inputlineno{\the\inputlineno}}% % \end{macrocode} % \end{macro} % @@ -4968,38 +5024,56 @@ \def\crefpairgroupconjunction@preamble{ and~}% \def\crefmiddlegroupconjunction@preamble{, }% \def\creflastgroupconjunction@preamble{, and~}% - \crefname@preamble{equation}{eq.}{eqs.}% \Crefname@preamble{equation}{Equation}{Equations}% - \crefname@preamble{chapter}{chapter}{chapters}% \Crefname@preamble{chapter}{Chapter}{Chapters}% - \crefname@preamble{section}{section}{sections}% \Crefname@preamble{section}{Section}{Sections}% - \crefname@preamble{appendix}{appendix}{appendices}% \Crefname@preamble{appendix}{Appendix}{Appendices}% - \crefname@preamble{figure}{fig.}{figs.}% \Crefname@preamble{figure}{Figure}{Figures}% - \crefname@preamble{table}{table}{tables}% \Crefname@preamble{table}{Table}{Tables}% - \crefname@preamble{theorem}{theorem}{theorems}% - \Crefname@preamble{theorem}{Theorem}{Theorems}% - \crefname@preamble{enumi}{item}{items}% \Crefname@preamble{enumi}{Item}{Items}% - \crefname@preamble{lemma}{lemma}{lemmas}% \Crefname@preamble{lemma}{Lemma}{Lemmas}% - \crefname@preamble{corollary}{corollary}{corollaries}% \Crefname@preamble{corollary}{Corollary}{Corollaries}% - \crefname@preamble{proposition}{proposition}{propositions}% \Crefname@preamble{proposition}{Proposition}{Propositions}% - \crefname@preamble{definition}{definition}{definitions}% \Crefname@preamble{definition}{Definition}{Definitions}% - \crefname@preamble{result}{result}{results}% \Crefname@preamble{result}{Result}{Results}% - \crefname@preamble{example}{example}{examples}% \Crefname@preamble{example}{Example}{Examples}% - \crefname@preamble{remark}{remark}{remarks}% \Crefname@preamble{remark}{Remark}{Remarks}% - \crefname@preamble{note}{note}{notes}% \Crefname@preamble{note}{Note}{Notes}% + \if@cref@capitalise% + \crefname@preamble{equation}{Eq.}{Eqs.}% + \crefname@preamble{chapter}{Chapter}{Chapters}% + \crefname@preamble{section}{Section}{Sections}% + \crefname@preamble{appendix}{Appendix}{Appendices}% + \crefname@preamble{figure}{Fig.}{Figs.}% + \crefname@preamble{table}{Table}{Tables}% + \crefname@preamble{theorem}{Theorem}{Theorems}% + \crefname@preamble{enumi}{Item}{Items}% + \crefname@preamble{lemma}{Lemma}{Lemmas}% + \crefname@preamble{corollary}{Corollary}{Corollaries}% + \crefname@preamble{proposition}{Proposition}{Propositions}% + \crefname@preamble{definition}{Definition}{Definitions}% + \crefname@preamble{result}{Result}{Results}% + \crefname@preamble{example}{Example}{Examples}% + \crefname@preamble{remark}{Remark}{Remarks}% + \crefname@preamble{note}{Note}{Notes}% + \else% + \crefname@preamble{equation}{eq.}{eqs.}% + \crefname@preamble{chapter}{chapter}{chapters}% + \crefname@preamble{section}{section}{sections}% + \crefname@preamble{appendix}{appendix}{appendices}% + \crefname@preamble{figure}{fig.}{figs.}% + \crefname@preamble{table}{table}{tables}% + \crefname@preamble{theorem}{theorem}{theorems}% + \crefname@preamble{enumi}{item}{items}% + \crefname@preamble{lemma}{lemma}{lemmas}% + \crefname@preamble{corollary}{corollary}{corollaries}% + \crefname@preamble{proposition}{proposition}{propositions}% + \crefname@preamble{definition}{definition}{definitions}% + \crefname@preamble{result}{result}{results}% + \crefname@preamble{example}{example}{examples}% + \crefname@preamble{remark}{remark}{remarks}% + \crefname@preamble{note}{note}{notes}% + \fi% \def\cref@language{english}% % \end{macrocode} % @@ -5017,60 +5091,90 @@ \renewcommand{\crefpairgroupconjunction}{ and~}% \renewcommand{\crefmiddlegroupconjunction}{, }% \renewcommand{\creflastgroupconjunction}{, and~}% - \crefname{equation}{eq.}{eqs.}% \Crefname{equation}{Equation}{Equations}% - \crefname{chapter}{chapter}{chapters}% \Crefname{chapter}{Chapter}{Chapters}% - \crefname{section}{section}{sections}% \Crefname{section}{Section}{Sections}% - \crefname{subsection}{section}{sections}% \Crefname{subsection}{Section}{Sections}% - \crefname{subsubsection}{section}{sections}% \Crefname{subsubsection}{Section}{Sections}% - \crefname{appendix}{appendix}{appendices}% \Crefname{appendix}{Appendix}{Appendices}% - \crefname{subappendix}{appendix}{appendices}% \Crefname{subappendix}{Appendix}{Appendices}% - \crefname{subsubappendix}{appendix}{appendices}% \Crefname{subsubappendix}{Appendix}{Appendices}% - \crefname{subsubsubappendix}{appendix}{appendices}% \Crefname{subsubsubappendix}{Appendix}{Appendices}% - \crefname{figure}{fig.}{figs.}% \Crefname{figure}{Figure}{Figures}% - \crefname{subfigure}{fig.}{figs.}% \Crefname{subfigure}{Figure}{Figures}% - \crefname{table}{table}{tables}% \Crefname{table}{Table}{Tables}% - \crefname{subtable}{table}{tables}% \Crefname{subtable}{Table}{Tables}% - \crefname{theorem}{theorem}{theorems}% \Crefname{theorem}{Theorem}{Theorems}% - \crefname{enumi}{item}{items}% \Crefname{enumi}{Item}{Items}% - \crefname{enumii}{item}{items}% \Crefname{enumii}{Item}{Items}% - \crefname{enumiii}{item}{items}% \Crefname{enumiii}{Item}{Items}% - \crefname{enumiv}{item}{items}% \Crefname{enumiv}{Item}{Items}% - \crefname{enumv}{item}{items}% \Crefname{enumv}{Item}{Items}% - \crefname{lemma}{lemma}{lemmas}% \Crefname{lemma}{Lemma}{Lemmas}% - \crefname{corollary}{corollary}{corollaries}% \Crefname{corollary}{Corollary}{Corollaries}% - \crefname{proposition}{proposition}{propositions}% \Crefname{proposition}{Proposition}{Propositions}% - \crefname{definition}{definition}{definitions}% \Crefname{definition}{Definition}{Definitions}% - \crefname{result}{result}{results}% \Crefname{result}{Result}{Results}% - \crefname{example}{example}{examples}% \Crefname{example}{Example}{Examples}% - \crefname{remark}{remark}{remarks}% \Crefname{remark}{Remark}{Remarks}% - \crefname{note}{note}{notes}% \Crefname{note}{Note}{Notes}% + \if@cref@capitalise% + \crefname{equation}{Eq.}{Eqs.}% + \crefname{chapter}{Chapter}{Chapters}% + \crefname{section}{Section}{Sections}% + \crefname{subsection}{Section}{Sections}% + \crefname{subsubsection}{Section}{Sections}% + \crefname{appendix}{Appendix}{Appendices}% + \crefname{subappendix}{Appendix}{Appendices}% + \crefname{subsubappendix}{Appendix}{Appendices}% + \crefname{subsubsubappendix}{Appendix}{Appendices}% + \crefname{figure}{Fig.}{Figs.}% + \crefname{subfigure}{Fig.}{Figs.}% + \crefname{table}{Table}{Tables}% + \crefname{subtable}{Table}{Tables}% + \crefname{theorem}{Theorem}{Theorems}% + \crefname{enumi}{Item}{Items}% + \crefname{enumii}{Item}{Items}% + \crefname{enumiii}{Item}{Items}% + \crefname{enumiv}{Item}{Items}% + \crefname{enumv}{Item}{Items}% + \crefname{lemma}{Lemma}{Lemmas}% + \crefname{corollary}{Corollary}{Corollaries}% + \crefname{proposition}{Proposition}{Propositions}% + \crefname{definition}{Definition}{Definitions}% + \crefname{result}{Result}{Results}% + \crefname{example}{Example}{Examples}% + \crefname{remark}{Remark}{Remarks}% + \crefname{note}{Note}{Notes}% + \else% + \crefname{equation}{eq.}{eqs.}% + \crefname{chapter}{chapter}{chapters}% + \crefname{section}{section}{sections}% + \crefname{subsection}{section}{sections}% + \crefname{subsubsection}{section}{sections}% + \crefname{appendix}{appendix}{appendices}% + \crefname{subappendix}{appendix}{appendices}% + \crefname{subsubappendix}{appendix}{appendices}% + \crefname{subsubsubappendix}{appendix}{appendices}% + \crefname{figure}{fig.}{figs.}% + \crefname{subfigure}{fig.}{figs.}% + \crefname{table}{table}{tables}% + \crefname{subtable}{table}{tables}% + \crefname{theorem}{theorem}{theorems}% + \crefname{enumi}{item}{items}% + \crefname{enumii}{item}{items}% + \crefname{enumiii}{item}{items}% + \crefname{enumiv}{item}{items}% + \crefname{enumv}{item}{items}% + \crefname{lemma}{lemma}{lemmas}% + \crefname{corollary}{corollary}{corollaries}% + \crefname{proposition}{proposition}{propositions}% + \crefname{definition}{definition}{definitions}% + \crefname{result}{result}{results}% + \crefname{example}{example}{examples}% + \crefname{remark}{remark}{remarks}% + \crefname{note}{note}{notes}% + \fi% }}} % \end{macrocode} % @@ -5104,38 +5208,57 @@ \def\crefpairgroupconjunction@preamble{ und~}% \def\crefmiddlegroupconjunction@preamble{, }% \def\creflastgroupconjunction@preamble{ und~}% - \crefname@preamble{equation}{Gleichung}{Gleichungen}% \Crefname@preamble{equation}{Gleichung}{Gleichungen}% - \crefname@preamble{chapter}{Kapitel}{Kapitel}% \Crefname@preamble{chapter}{Kapitel}{Kapitel}% - \crefname@preamble{section}{Abschnitt}{Abschnitte}% \Crefname@preamble{section}{Abschnitt}{Abschnitte}% - \crefname@preamble{appendix}{Anhang}{Anh\"ange}% \Crefname@preamble{appendix}{Anhang}{Anh\"ange}% - \crefname@preamble{figure}{Abbildung}{Abbildungen}% \Crefname@preamble{figure}{Abbildung}{Abbildungen}% - \crefname@preamble{table}{Tabelle}{Tabellen}% \Crefname@preamble{table}{Tabelle}{Tabellen}% - \crefname@preamble{theorem}{Theorem}{Theoremen}% \Crefname@preamble{theorem}{Theorem}{Theoremen}% - \crefname@preamble{enumi}{Punkt}{Punkte}% \Crefname@preamble{enumi}{Punkt}{Punkte}% - \crefname@preamble{lemma}{Lemma}{Lemmata}% \Crefname@preamble{lemma}{Lemma}{Lemmata}% - \crefname@preamble{corollary}{Korollar}{Korollaren}% \Crefname@preamble{corollary}{Korollar}{Korollaren}% - \crefname@preamble{proposition}{Satz}{S\"atze}% \Crefname@preamble{proposition}{Satz}{S\"atze}% - \crefname@preamble{definition}{Definition}{Definitionen}% \Crefname@preamble{definition}{Definition}{Definitionen}% - \crefname@preamble{result}{Ergebnis}{Ergebnisse}% \Crefname@preamble{result}{Ergebnis}{Ergebnisse}% \Crefname@preamble{example}{Beispiel}{Beispiele}% - \Crefname@preamble{example}{Beispiel}{Beispiele}% - \crefname@preamble{remark}{Bemerkung}{Bemerkungen}% \Crefname@preamble{remark}{Bemerkung}{Bemerkungen}% - \crefname@preamble{note}{Anmerkung}{Anmerkungen}% \Crefname@preamble{note}{Anmerkung}{Anmerkungen}% + \if@cref@capitalise% + \crefname@preamble{equation}{Gleichung}{Gleichungen}% + \crefname@preamble{chapter}{Kapitel}{Kapitel}% + \crefname@preamble{section}{Abschnitt}{Abschnitte}% + \crefname@preamble{appendix}{Anhang}{Anh\"ange}% + \crefname@preamble{figure}{Abbildung}{Abbildungen}% + \crefname@preamble{table}{Tabelle}{Tabellen}% + \crefname@preamble{theorem}{Theorem}{Theoremen}% + \crefname@preamble{enumi}{Punkt}{Punkte}% + \crefname@preamble{lemma}{Lemma}{Lemmata}% + \crefname@preamble{corollary}{Korollar}{Korollaren}% + \crefname@preamble{proposition}{Satz}{S\"atze}% + \crefname@preamble{definition}{Definition}{Definitionen}% + \crefname@preamble{result}{Ergebnis}{Ergebnisse}% + \crefname@preamble{example}{Beispiel}{Beispiele}% + \crefname@preamble{remark}{Bemerkung}{Bemerkungen}% + \crefname@preamble{note}{Anmerkung}{Anmerkungen}% + \else% + \crefname@preamble{equation}{Gleichung}{Gleichungen}% + \crefname@preamble{chapter}{Kapitel}{Kapitel}% + \crefname@preamble{section}{Abschnitt}{Abschnitte}% + \crefname@preamble{appendix}{Anhang}{Anh\"ange}% + \crefname@preamble{figure}{Abbildung}{Abbildungen}% + \crefname@preamble{table}{Tabelle}{Tabellen}% + \crefname@preamble{theorem}{Theorem}{Theoremen}% + \crefname@preamble{enumi}{Punkt}{Punkte}% + \crefname@preamble{lemma}{Lemma}{Lemmata}% + \crefname@preamble{corollary}{Korollar}{Korollaren}% + \crefname@preamble{proposition}{Satz}{S\"atze}% + \crefname@preamble{definition}{Definition}{Definitionen}% + \crefname@preamble{result}{Ergebnis}{Ergebnisse}% + \crefname@preamble{example}{Beispiel}{Beispiele}% + \crefname@preamble{remark}{Bemerkung}{Bemerkungen}% + \crefname@preamble{note}{Anmerkung}{Anmerkungen}% + \fi% \def\cref@language{german}% % \end{macrocode} % @@ -5153,60 +5276,90 @@ \renewcommand{\crefpairgroupconjunction}{ und~}% \renewcommand{\crefmiddlegroupconjunction}{, }% \renewcommand{\creflastgroupconjunction}{ und~}% - \crefname{equation}{Gleichung}{Gleichungen}% \Crefname{equation}{Gleichung}{Gleichungen}% - \crefname{chapter}{Kapitel}{Kapitel}% \Crefname{chapter}{Kapitel}{Kapitel}% - \crefname{section}{Abschnitt}{Abschnitte}% \Crefname{section}{Abschnitt}{Abschnitte}% - \crefname{subsection}{Abschnitt}{Abschnitte}% \Crefname{subsection}{Abschnitt}{Abschnitte}% - \crefname{subsubsection}{Abschnitt}{Abschnitte}% \Crefname{subsubsection}{Abschnitt}{Abschnitte}% - \crefname{appendix}{Anhang}{Anh\"ange}% \Crefname{appendix}{Anhang}{Anh\"ange}% - \crefname{subappendix}{Anhang}{Anh\"ange}% \Crefname{subappendix}{Anhang}{Anh\"ange}% - \crefname{subsubappendix}{Anhang}{Anh\"ange}% \Crefname{subsubappendix}{Anhang}{Anh\"ange}% - \crefname{subsubsubappendix}{Anhang}{Anh\"ange}% \Crefname{subsubsubappendix}{Anhang}{Anh\"ange}% - \crefname{figure}{Abbildung}{Abbildungen}% \Crefname{figure}{Abbildung}{Abbildungen}% - \crefname{subfigure}{Abbildung}{Abbildungen}% \Crefname{subfigure}{Abbildung}{Abbildungen}% - \crefname{table}{Tabelle}{Tabellen}% \Crefname{table}{Tabelle}{Tabellen}% - \crefname{subtable}{Tabelle}{Tabellen}% \Crefname{subtable}{Tabelle}{Tabellen}% - \crefname{theorem}{Theorem}{Theoremen}% \Crefname{theorem}{Theorem}{Theoremen}% - \crefname{enumi}{Punkt}{Punkte}% \Crefname{enumi}{Punkt}{Punkte}% - \crefname{enumii}{Punkt}{Punkte}% \Crefname{enumii}{Punkt}{Punkte}% - \crefname{enumiii}{Punkt}{Punkte}% \Crefname{enumiii}{Punkt}{Punkte}% - \crefname{enumiv}{Punkt}{Punkte}% \Crefname{enumiv}{Punkt}{Punkte}% - \crefname{enumv}{Punkt}{Punkte}% \Crefname{enumv}{Punkt}{Punkte}% - \crefname{lemma}{Lemma}{Lemmata}% \Crefname{lemma}{Lemma}{Lemmata}% - \crefname{corollary}{Korollar}{Korollaren}% \Crefname{corollary}{Korollar}{Korollaren}% - \crefname{proposition}{Satz}{S\"atze}% \Crefname{proposition}{Satz}{S\"atze}% - \crefname{definition}{Definition}{Definitionen}% \Crefname{definition}{Definition}{Definitionen}% - \crefname{result}{Ergebnis}{Ergebnisse}% \Crefname{result}{Ergebnis}{Ergebnisse}% - \crefname{example}{Beispiel}{Beispiele}% \Crefname{example}{Beispiel}{Beispiele}% - \crefname{remark}{Bemerkung}{Bemerkungen}% \Crefname{remark}{Bemerkung}{Bemerkungen}% - \crefname{note}{Anmerkung}{Anmerkungen}% \Crefname{note}{Anmerkung}{Anmerkungen}% + \if@cref@capitalise% + \crefname{equation}{Gleichung}{Gleichungen}% + \crefname{chapter}{Kapitel}{Kapitel}% + \crefname{section}{Abschnitt}{Abschnitte}% + \crefname{subsection}{Abschnitt}{Abschnitte}% + \crefname{subsubsection}{Abschnitt}{Abschnitte}% + \crefname{appendix}{Anhang}{Anh\"ange}% + \crefname{subappendix}{Anhang}{Anh\"ange}% + \crefname{subsubappendix}{Anhang}{Anh\"ange}% + \crefname{subsubsubappendix}{Anhang}{Anh\"ange}% + \crefname{figure}{Abbildung}{Abbildungen}% + \crefname{subfigure}{Abbildung}{Abbildungen}% + \crefname{table}{Tabelle}{Tabellen}% + \crefname{subtable}{Tabelle}{Tabellen}% + \crefname{theorem}{Theorem}{Theoremen}% + \crefname{enumi}{Punkt}{Punkte}% + \crefname{enumii}{Punkt}{Punkte}% + \crefname{enumiii}{Punkt}{Punkte}% + \crefname{enumiv}{Punkt}{Punkte}% + \crefname{enumv}{Punkt}{Punkte}% + \crefname{lemma}{Lemma}{Lemmata}% + \crefname{corollary}{Korollar}{Korollaren}% + \crefname{proposition}{Satz}{S\"atze}% + \crefname{definition}{Definition}{Definitionen}% + \crefname{result}{Ergebnis}{Ergebnisse}% + \crefname{example}{Beispiel}{Beispiele}% + \crefname{remark}{Bemerkung}{Bemerkungen}% + \crefname{note}{Anmerkung}{Anmerkungen}% + \else% + \crefname{equation}{Gleichung}{Gleichungen}% + \crefname{chapter}{Kapitel}{Kapitel}% + \crefname{section}{Abschnitt}{Abschnitte}% + \crefname{subsection}{Abschnitt}{Abschnitte}% + \crefname{subsubsection}{Abschnitt}{Abschnitte}% + \crefname{appendix}{Anhang}{Anh\"ange}% + \crefname{subappendix}{Anhang}{Anh\"ange}% + \crefname{subsubappendix}{Anhang}{Anh\"ange}% + \crefname{subsubsubappendix}{Anhang}{Anh\"ange}% + \crefname{figure}{Abbildung}{Abbildungen}% + \crefname{subfigure}{Abbildung}{Abbildungen}% + \crefname{table}{Tabelle}{Tabellen}% + \crefname{subtable}{Tabelle}{Tabellen}% + \crefname{theorem}{Theorem}{Theoremen}% + \crefname{enumi}{Punkt}{Punkte}% + \crefname{enumii}{Punkt}{Punkte}% + \crefname{enumiii}{Punkt}{Punkte}% + \crefname{enumiv}{Punkt}{Punkte}% + \crefname{enumv}{Punkt}{Punkte}% + \crefname{lemma}{Lemma}{Lemmata}% + \crefname{corollary}{Korollar}{Korollaren}% + \crefname{proposition}{Satz}{S\"atze}% + \crefname{definition}{Definition}{Definitionen}% + \crefname{result}{Ergebnis}{Ergebnisse}% + \crefname{example}{Beispiel}{Beispiele}% + \crefname{remark}{Bemerkung}{Bemerkungen}% + \crefname{note}{Anmerkung}{Anmerkungen}% + \fi% }}} % \end{macrocode} % @@ -5234,60 +5387,90 @@ \renewcommand{\crefpairgroupconjunction}{ und~}% \renewcommand{\crefmiddlegroupconjunction}{, }% \renewcommand{\creflastgroupconjunction}{ und~}% - \crefname{equation}{Gleichung}{Gleichungen}% \Crefname{equation}{Gleichung}{Gleichungen}% - \crefname{chapter}{Kapitel}{Kapitel}% \Crefname{chapter}{Kapitel}{Kapitel}% - \crefname{section}{Abschnitt}{Abschnitte}% \Crefname{section}{Abschnitt}{Abschnitte}% - \crefname{subsection}{Abschnitt}{Abschnitte}% \Crefname{subsection}{Abschnitt}{Abschnitte}% - \crefname{subsubsection}{Abschnitt}{Abschnitte}% \Crefname{subsubsection}{Abschnitt}{Abschnitte}% - \crefname{appendix}{Anhang}{Anh\"ange}% \Crefname{appendix}{Anhang}{Anh\"ange}% - \crefname{subappendix}{Anhang}{Anh\"ange}% \Crefname{subappendix}{Anhang}{Anh\"ange}% - \crefname{subsubappendix}{Anhang}{Anh\"ange}% \Crefname{subsubappendix}{Anhang}{Anh\"ange}% - \crefname{subsubsubappendix}{Anhang}{Anh\"ange}% \Crefname{subsubsubappendix}{Anhang}{Anh\"ange}% - \crefname{figure}{Abbildung}{Abbildungen}% \Crefname{figure}{Abbildung}{Abbildungen}% - \crefname{subfigure}{Abbildung}{Abbildungen}% \Crefname{subfigure}{Abbildung}{Abbildungen}% - \crefname{table}{Tabelle}{Tabellen}% \Crefname{table}{Tabelle}{Tabellen}% - \crefname{subtable}{Tabelle}{Tabellen}% \Crefname{subtable}{Tabelle}{Tabellen}% - \crefname{theorem}{Theorem}{Theoremen}% \Crefname{theorem}{Theorem}{Theoremen}% - \crefname{enumi}{Punkt}{Punkte}% \Crefname{enumi}{Punkt}{Punkte}% - \crefname{enumii}{Punkt}{Punkte}% \Crefname{enumii}{Punkt}{Punkte}% - \crefname{enumiii}{Punkt}{Punkte}% \Crefname{enumiii}{Punkt}{Punkte}% - \crefname{enumiv}{Punkt}{Punkte}% \Crefname{enumiv}{Punkt}{Punkte}% - \crefname{enumv}{Punkt}{Punkte}% \Crefname{enumv}{Punkt}{Punkte}% - \crefname{lemma}{Lemma}{Lemmata}% \Crefname{lemma}{Lemma}{Lemmata}% - \crefname{corollary}{Korollar}{Korollaren}% \Crefname{corollary}{Korollar}{Korollaren}% - \crefname{proposition}{Satz}{S\"atze}% \Crefname{proposition}{Satz}{S\"atze}% - \crefname{definition}{Definition}{Definitionen}% \Crefname{definition}{Definition}{Definitionen}% - \crefname{result}{Ergebnis}{Ergebnisse}% \Crefname{result}{Ergebnis}{Ergebnisse}% - \crefname{example}{Beispiel}{Beispiele}% \Crefname{example}{Beispiel}{Beispiele}% - \crefname{remark}{Bemerkung}{Bemerkungen}% \Crefname{remark}{Bemerkung}{Bemerkungen}% - \crefname{note}{Anmerkung}{Anmerkungen}% \Crefname{note}{Anmerkung}{Anmerkungen}% + \if@cref@capitalise% + \crefname{equation}{Gleichung}{Gleichungen}% + \crefname{chapter}{Kapitel}{Kapitel}% + \crefname{section}{Abschnitt}{Abschnitte}% + \crefname{subsection}{Abschnitt}{Abschnitte}% + \crefname{subsubsection}{Abschnitt}{Abschnitte}% + \crefname{appendix}{Anhang}{Anh\"ange}% + \crefname{subappendix}{Anhang}{Anh\"ange}% + \crefname{subsubappendix}{Anhang}{Anh\"ange}% + \crefname{subsubsubappendix}{Anhang}{Anh\"ange}% + \crefname{figure}{Abbildung}{Abbildungen}% + \crefname{subfigure}{Abbildung}{Abbildungen}% + \crefname{table}{Tabelle}{Tabellen}% + \crefname{subtable}{Tabelle}{Tabellen}% + \crefname{theorem}{Theorem}{Theoremen}% + \crefname{enumi}{Punkt}{Punkte}% + \crefname{enumii}{Punkt}{Punkte}% + \crefname{enumiii}{Punkt}{Punkte}% + \crefname{enumiv}{Punkt}{Punkte}% + \crefname{enumv}{Punkt}{Punkte}% + \crefname{lemma}{Lemma}{Lemmata}% + \crefname{corollary}{Korollar}{Korollaren}% + \crefname{proposition}{Satz}{S\"atze}% + \crefname{definition}{Definition}{Definitionen}% + \crefname{result}{Ergebnis}{Ergebnisse}% + \crefname{example}{Beispiel}{Beispiele}% + \crefname{remark}{Bemerkung}{Bemerkungen}% + \crefname{note}{Anmerkung}{Anmerkungen}% + \else% + \crefname{equation}{Gleichung}{Gleichungen}% + \crefname{chapter}{Kapitel}{Kapitel}% + \crefname{section}{Abschnitt}{Abschnitte}% + \crefname{subsection}{Abschnitt}{Abschnitte}% + \crefname{subsubsection}{Abschnitt}{Abschnitte}% + \crefname{appendix}{Anhang}{Anh\"ange}% + \crefname{subappendix}{Anhang}{Anh\"ange}% + \crefname{subsubappendix}{Anhang}{Anh\"ange}% + \crefname{subsubsubappendix}{Anhang}{Anh\"ange}% + \crefname{figure}{Abbildung}{Abbildungen}% + \crefname{subfigure}{Abbildung}{Abbildungen}% + \crefname{table}{Tabelle}{Tabellen}% + \crefname{subtable}{Tabelle}{Tabellen}% + \crefname{theorem}{Theorem}{Theoremen}% + \crefname{enumi}{Punkt}{Punkte}% + \crefname{enumii}{Punkt}{Punkte}% + \crefname{enumiii}{Punkt}{Punkte}% + \crefname{enumiv}{Punkt}{Punkte}% + \crefname{enumv}{Punkt}{Punkte}% + \crefname{lemma}{Lemma}{Lemmata}% + \crefname{corollary}{Korollar}{Korollaren}% + \crefname{proposition}{Satz}{S\"atze}% + \crefname{definition}{Definition}{Definitionen}% + \crefname{result}{Ergebnis}{Ergebnisse}% + \crefname{example}{Beispiel}{Beispiele}% + \crefname{remark}{Bemerkung}{Bemerkungen}% + \crefname{note}{Anmerkung}{Anmerkungen}% + \fi% }}} % \end{macrocode} % @@ -5318,38 +5501,56 @@ \def\crefpairgroupconjunction@preamble{ et~}% \def\crefmiddlegroupconjunction@preamble{, }% \def\creflastgroupconjunction@preamble{, et~}% - \crefname@preamble{equation}{{\'e}quation}{{\'e}quations}% \Crefname@preamble{equation}{{\'E}quation}{{\'E}quations}% - \crefname@preamble{chapter}{chapitre}{chapitres}% \Crefname@preamble{chapter}{Chapitre}{Chapitres}% - \crefname@preamble{section}{section}{sections}% \Crefname@preamble{section}{Section}{Sections}% - \crefname@preamble{appendix}{appendice}{appendices}% \Crefname@preamble{appendix}{Appendice}{Appendices}% - \crefname@preamble{figure}{figure}{figures}% \Crefname@preamble{figure}{Figure}{Figures}% - \crefname@preamble{table}{tableau}{tableaux}% \Crefname@preamble{table}{Tableau}{Tableaux}% - \crefname@preamble{theorem}{th\'eor\`eme}{th\'eor\`emes}% \Crefname@preamble{theorem}{Th\'eor\`eme}{Th\'eor\`emes}% - \crefname@preamble{enumi}{point}{points}% \Crefname@preamble{enumi}{Point}{Points}% - \crefname@preamble{lemma}{lemme}{lemmes}% \Crefname@preamble{lemma}{Lemme}{Lemmes}% - \crefname@preamble{corollary}{corollaire}{corollaires}% \Crefname@preamble{corollary}{Corollaire}{Corollaires}% - \crefname@preamble{proposition}{proposition}{propositions}% \Crefname@preamble{proposition}{Proposition}{Propositions}% - \crefname@preamble{definition}{d\'efinition}{d\'efinitions}% \Crefname@preamble{definition}{D\'efinition}{D\'efinitions}% - \crefname@preamble{result}{r\'esultat}{r\'esultats}% \Crefname@preamble{result}{R\'esultat}{R\'esultats}% - \crefname@preamble{example}{exemple}{exemples}% \Crefname@preamble{example}{Exemple}{Exemples}% - \crefname@preamble{remark}{remarque}{remarques}% \Crefname@preamble{remark}{Remarque}{Remarques}% - \crefname@preamble{note}{commentaire}{commentaires}% - \Crefname@preamble{note}{Commentaire}{Commentaires}% + \if@cref@capitalise% + \crefname@preamble{equation}{{\'E}quation}{{\'E}quations}% + \crefname@preamble{chapter}{Chapitre}{Chapitres}% + \crefname@preamble{section}{Section}{Sections}% + \crefname@preamble{appendix}{Appendice}{Appendices}% + \crefname@preamble{figure}{Figure}{Figures}% + \crefname@preamble{table}{Tableau}{Tableaux}% + \crefname@preamble{theorem}{Th\'eor\`eme}{Th\'eor\`emes}% + \crefname@preamble{enumi}{Point}{Points}% + \crefname@preamble{lemma}{Lemme}{Lemmes}% + \crefname@preamble{corollary}{Corollaire}{Corollaires}% + \crefname@preamble{proposition}{Proposition}{Propositions}% + \crefname@preamble{definition}{D\'efinition}{D\'efinitions}% + \crefname@preamble{result}{R\'esultat}{R\'esultats}% + \crefname@preamble{example}{Exemple}{Exemples}% + \crefname@preamble{remark}{Remarque}{Remarques}% + \crefname@preamble{note}{Commentaire}{Commentaires}% + \else% + \crefname@preamble{equation}{{\'e}quation}{{\'e}quations}% + \crefname@preamble{chapter}{chapitre}{chapitres}% + \crefname@preamble{section}{section}{sections}% + \crefname@preamble{appendix}{appendice}{appendices}% + \crefname@preamble{figure}{figure}{figures}% + \crefname@preamble{table}{tableau}{tableaux}% + \crefname@preamble{theorem}{th\'eor\`eme}{th\'eor\`emes}% + \crefname@preamble{enumi}{point}{points}% + \crefname@preamble{lemma}{lemme}{lemmes}% + \crefname@preamble{corollary}{corollaire}{corollaires}% + \crefname@preamble{proposition}{proposition}{propositions}% + \crefname@preamble{definition}{d\'efinition}{d\'efinitions}% + \crefname@preamble{result}{r\'esultat}{r\'esultats}% + \crefname@preamble{example}{exemple}{exemples}% + \crefname@preamble{remark}{remarque}{remarques}% + \crefname@preamble{note}{commentaire}{commentaires}% + \fi% \def\cref@language{french}% % \end{macrocode} % @@ -5367,60 +5568,90 @@ \renewcommand{\crefpairgroupconjunction}{ et~}% \renewcommand{\crefmiddlegroupconjunction}{, }% \renewcommand{\creflastgroupconjunction}{ et~}% - \crefname{equation}{{\'e}quation}{{\'e}quations}% \Crefname{equation}{{\'E}quation}{{\'E}quations}% - \crefname{chapter}{chapitre}{chapitres}% \Crefname{chapter}{Chapitre}{Chapitres}% - \crefname{section}{section}{sections}% \Crefname{section}{Section}{Sections}% - \crefname{subsection}{section}{sections}% \Crefname{subsection}{Section}{Sections}% - \crefname{subsubsection}{section}{sections}% \Crefname{subsubsection}{Section}{Sections}% - \crefname{appendix}{appendice}{appendices}% \Crefname{appendix}{Appendice}{Appendices}% - \crefname{subappendix}{appendice}{appendices}% \Crefname{subappendix}{Appendice}{Appendices}% - \crefname{subsubappendix}{appendice}{appendices}% \Crefname{subsubappendix}{Appendice}{Appendices}% - \crefname{subsubsubappendix}{appendice}{appendices}% \Crefname{subsubsubappendix}{Appendice}{Appendices}% - \crefname{figure}{figure}{figures}% \Crefname{figure}{Figure}{Figures}% - \crefname{subfigure}{figure}{figures}% \Crefname{subfigure}{Figure}{Figures}% - \crefname{table}{tableau}{tableaux}% \Crefname{table}{Tableau}{Tableaux}% - \crefname{subtable}{tableau}{tableaux}% \Crefname{subtable}{Tableau}{Tableaux}% - \crefname{theorem}{th\'eor\`eme}{th\'eor\`emes}% \Crefname{theorem}{Th\'eor\`eme}{Th\'eor\`emes}% - \crefname{enumi}{point}{points}% \Crefname{enumi}{Point}{Points}% - \crefname{enumii}{point}{points}% \Crefname{enumii}{Point}{Points}% - \crefname{enumiii}{point}{points}% \Crefname{enumiii}{Point}{Points}% - \crefname{enumiv}{point}{points}% \Crefname{enumiv}{Point}{Points}% - \crefname{enumv}{point}{points}% \Crefname{enumv}{Point}{Points}% - \crefname{lemma}{lemme}{lemmes}% \Crefname{lemma}{Lemme}{Lemmes}% - \crefname{corollary}{corollaire}{corollaires}% \Crefname{corollary}{Corollaire}{Corollaires}% - \crefname{proposition}{proposition}{propositions}% \Crefname{proposition}{Proposition}{Propositions}% - \crefname{definition}{d\'efinition}{d\'efinitions}% \Crefname{definition}{D\'efinition}{D\'efinitions}% - \crefname{result}{r\'esultat}{r\'esultats}% \Crefname{result}{R\'esultat}{R\'esultats}% - \crefname{example}{exemple}{exemples}% \Crefname{example}{Exemple}{Exemples}% - \crefname{remark}{remarque}{remarques}% \Crefname{remark}{Remarque}{Remarques}% - \crefname{note}{commentaire}{commentaires}% \Crefname{note}{Commentaire}{Commentaires}% + \if@cref@capitalise% + \crefname{equation}{{\'E}quation}{{\'E}quations}% + \crefname{chapter}{Chapitre}{Chapitres}% + \crefname{section}{Section}{Sections}% + \crefname{subsection}{Section}{Sections}% + \crefname{subsubsection}{Section}{Sections}% + \crefname{appendix}{Appendice}{Appendices}% + \crefname{subappendix}{Appendice}{Appendices}% + \crefname{subsubappendix}{Appendice}{Appendices}% + \crefname{subsubsubappendix}{Appendice}{Appendices}% + \crefname{figure}{Figure}{Figures}% + \crefname{subfigure}{Figure}{Figures}% + \crefname{table}{Tableau}{Tableaux}% + \crefname{subtable}{Tableau}{Tableaux}% + \crefname{theorem}{Th\'eor\`eme}{Th\'eor\`emes}% + \crefname{enumi}{Point}{Points}% + \crefname{enumii}{Point}{Points}% + \crefname{enumiii}{Point}{Points}% + \crefname{enumiv}{Point}{Points}% + \crefname{enumv}{Point}{Points}% + \crefname{lemma}{Lemme}{Lemmes}% + \crefname{corollary}{Corollaire}{Corollaires}% + \crefname{proposition}{Proposition}{Propositions}% + \crefname{definition}{D\'efinition}{D\'efinitions}% + \crefname{result}{R\'esultat}{R\'esultats}% + \crefname{example}{Exemple}{Exemples}% + \crefname{remark}{Remarque}{Remarques}% + \crefname{note}{Commentaire}{Commentaires}% + \else% + \crefname{equation}{{\'e}quation}{{\'e}quations}% + \crefname{chapter}{chapitre}{chapitres}% + \crefname{section}{section}{sections}% + \crefname{subsection}{section}{sections}% + \crefname{subsubsection}{section}{sections}% + \crefname{appendix}{appendice}{appendices}% + \crefname{subappendix}{appendice}{appendices}% + \crefname{subsubappendix}{appendice}{appendices}% + \crefname{subsubsubappendix}{appendice}{appendices}% + \crefname{figure}{figure}{figures}% + \crefname{subfigure}{figure}{figures}% + \crefname{table}{tableau}{tableaux}% + \crefname{subtable}{tableau}{tableaux}% + \crefname{theorem}{th\'eor\`eme}{th\'eor\`emes}% + \crefname{enumi}{point}{points}% + \crefname{enumii}{point}{points}% + \crefname{enumiii}{point}{points}% + \crefname{enumiv}{point}{points}% + \crefname{enumv}{point}{points}% + \crefname{lemma}{lemme}{lemmes}% + \crefname{corollary}{corollaire}{corollaires}% + \crefname{proposition}{proposition}{propositions}% + \crefname{definition}{d\'efinition}{d\'efinitions}% + \crefname{result}{r\'esultat}{r\'esultats}% + \crefname{example}{exemple}{exemples}% + \crefname{remark}{remarque}{remarques}% + \crefname{note}{commentaire}{commentaires}% + \fi% }}} % \end{macrocode} % @@ -5442,43 +5673,60 @@ \def\crefpairconjunction@preamble{ y~}% \def\crefmiddleconjunction@preamble{, }% \def\creflastconjunction@preamble{ y~}% -% \end{macrocode} -% \begin{macrocode} \def\crefpairgroupconjunction@preamble{ y~}% \def\crefmiddlegroupconjunction@preamble{, }% \def\creflastgroupconjunction@preamble{ y~}% - \crefname@preamble{equation}{ecuaci\'on}{ecuaciones}% \Crefname@preamble{equation}{Ecuaci\'on}{Ecuaciones}% - \crefname@preamble{chapter}{cap\'itulo}{cap\'itulos}% \Crefname@preamble{chapter}{Cap\'itulo}{Cap\'itulos}% - \crefname@preamble{section}{secci\'on}{secciones}% \Crefname@preamble{section}{Secci\'on}{Secciones}% - \crefname@preamble{appendix}{ap\'endice}{ap\'endices}% \Crefname@preamble{appendix}{Ap\'endice}{Ap\'endices}% - \crefname@preamble{figure}{figura}{figuras}% \Crefname@preamble{figure}{Figura}{Figuras}% - \crefname@preamble{table}{cuadro}{cuadros}% \Crefname@preamble{table}{Cuadro}{Cuadros}% - \crefname@preamble{theorem}{teorema}{teoremas}% \Crefname@preamble{theorem}{Teorema}{Teoremas}% - \crefname@preamble{enumi}{punto}{puntos}% \Crefname@preamble{enumi}{Punto}{Puntos}% - \crefname@preamble{lemma}{lema}{lemas}% \Crefname@preamble{lemma}{Lema}{Lemas}% - \crefname@preamble{corollary}{corolario}{corolarios}% \Crefname@preamble{corollary}{Corolario}{Corolarios}% - \crefname@preamble{proposition}{proposici\'on}{proposiciones}% \Crefname@preamble{proposition}{Proposici\'on}{Proposiciones}% - \crefname@preamble{definition}{definici\'on}{definiciones}% \Crefname@preamble{definition}{Definici\'on}{Definiciones}% - \crefname@preamble{result}{resultado}{resultados}% \Crefname@preamble{result}{Resultado}{Resultados}% - \crefname@preamble{example}{ejemplo}{ejemplos}% \Crefname@preamble{example}{Ejemplo}{Ejemplos}% - \crefname@preamble{remark}{observaci\'on}{observaciones}% \Crefname@preamble{remark}{Observaci\'on}{Observaciones}% - \crefname@preamble{note}{nota}{notas}% \Crefname@preamble{note}{Nota}{Notas}% + \if@cref@capitalise% + \crefname@preamble{equation}{Ecuaci\'on}{ecuaciones}% + \crefname@preamble{chapter}{Cap\'itulo}{cap\'itulos}% + \crefname@preamble{section}{Secci\'on}{secciones}% + \crefname@preamble{appendix}{Ap\'endice}{ap\'endices}% + \crefname@preamble{figure}{Figura}{figuras}% + \crefname@preamble{table}{Cuadro}{cuadros}% + \crefname@preamble{theorem}{Teorema}{teoremas}% + \crefname@preamble{enumi}{Punto}{puntos}% + \crefname@preamble{lemma}{Lema}{lemas}% + \crefname@preamble{corollary}{Corolario}{corolarios}% + \crefname@preamble{proposition}{Proposici\'on}{proposiciones}% + \crefname@preamble{definition}{Definici\'on}{definiciones}% + \crefname@preamble{result}{Resultado}{resultados}% + \crefname@preamble{example}{Ejemplo}{ejemplos}% + \crefname@preamble{remark}{Observaci\'on}{observaciones}% + \crefname@preamble{note}{Nota}{notas}% + \else% + \crefname@preamble{equation}{ecuaci\'on}{ecuaciones}% + \crefname@preamble{chapter}{cap\'itulo}{cap\'itulos}% + \crefname@preamble{section}{secci\'on}{secciones}% + \crefname@preamble{appendix}{ap\'endice}{ap\'endices}% + \crefname@preamble{figure}{figura}{figuras}% + \crefname@preamble{table}{cuadro}{cuadros}% + \crefname@preamble{theorem}{teorema}{teoremas}% + \crefname@preamble{enumi}{punto}{puntos}% + \crefname@preamble{lemma}{lema}{lemas}% + \crefname@preamble{corollary}{corolario}{corolarios}% + \crefname@preamble{proposition}{proposici\'on}{proposiciones}% + \crefname@preamble{definition}{definici\'on}{definiciones}% + \crefname@preamble{result}{resultado}{resultados}% + \crefname@preamble{example}{ejemplo}{ejemplos}% + \crefname@preamble{remark}{observaci\'on}{observaciones}% + \crefname@preamble{note}{nota}{notas}% + \fi% \def\cref@language{spanish}% % \end{macrocode} % @@ -5496,60 +5744,90 @@ \renewcommand{\crefpairgroupconjunction}{ y~}% \renewcommand{\crefmiddlegroupconjunction}{, }% \renewcommand{\creflastgroupconjunction}{ y~}% - \crefname{equation}{ecuaci\'on}{ecuaciones}% \Crefname{equation}{Ecuaci\'on}{Ecuaciones}% - \crefname{chapter}{cap\'itulo}{cap\'itulos}% \Crefname{chapter}{Cap\'itulo}{Cap\'itulos}% - \crefname{section}{secci\'on}{secciones}% \Crefname{section}{Secci\'on}{Secciones}% - \crefname{subsection}{secci\'on}{secciones}% \Crefname{subsection}{Secci\'on}{Secciones}% - \crefname{subsubsection}{secci\'on}{secciones}% \Crefname{subsubsection}{Secci\'on}{Secciones}% - \crefname{appendix}{ap\'endice}{ap\'endices}% \Crefname{appendix}{Ap\'endice}{Ap\'endices}% - \crefname{subappendix}{ap\'endice}{ap\'endices}% \Crefname{subappendix}{Ap\'endice}{Ap\'endices}% - \crefname{subsubappendix}{ap\'endice}{ap\'endices}% \Crefname{subsubappendix}{Ap\'endice}{Ap\'endices}% - \crefname{subsubsubappendix}{ap\'endice}{ap\'endices}% \Crefname{subsubsubappendix}{Ap\'endice}{Ap\'endices}% - \crefname{figure}{figura}{figuras}% \Crefname{figure}{Figura}{Figuras}% - \crefname{subfigure}{figura}{figuras}% \Crefname{subfigure}{Figura}{Figuras}% - \crefname{table}{cuadro}{cuadros}% \Crefname{table}{Cuadro}{Cuadros}% - \crefname{subtable}{cuadro}{cuadros}% \Crefname{subtable}{Cuadro}{Cuadros}% - \crefname{theorem}{teorema}{teoremas}% \Crefname{theorem}{Teorema}{Teoremas}% - \crefname{enumi}{punto}{puntos}% \Crefname{enumi}{Punto}{Puntos}% - \crefname{enumii}{punto}{puntos}% \Crefname{enumii}{Punto}{Puntos}% - \crefname{enumiii}{punto}{puntos}% \Crefname{enumiii}{Punto}{Puntos}% - \crefname{enumiv}{punto}{puntos}% \Crefname{enumiv}{Punto}{Puntos}% - \crefname{enumv}{punto}{puntos}% \Crefname{enumv}{Punto}{Puntos}% - \crefname{lemma}{lema}{lemas}% \Crefname{lemma}{Lema}{Lemas}% - \crefname{corollary}{corolario}{corolarios}% \Crefname{corollary}{Corolario}{Corolarios}% - \crefname{proposition}{proposici\'on}{proposiciones}% \Crefname{proposition}{Proposici\'on}{Proposiciones}% - \crefname{definition}{definici\'on}{definiciones}% \Crefname{definition}{Definici\'on}{Definiciones}% - \crefname{result}{resultado}{resultados}% \Crefname{result}{Resultado}{Resultados}% - \crefname{example}{ejemplo}{ejemplos}% \Crefname{example}{Ejemplo}{Ejemplos}% - \crefname{remark}{observaci\'on}{observaci\'ones}% \Crefname{remark}{Observaci\'on}{Observaci\'on}% - \crefname{note}{nota}{notas}% \Crefname{note}{Nota}{Notas}% + \if@cref@capitalise% + \crefname{equation}{Ecuaci\'on}{Ecuaciones}% + \crefname{chapter}{Cap\'itulo}{Cap\'itulos}% + \crefname{section}{Secci\'on}{Secciones}% + \crefname{subsection}{Secci\'on}{Secciones}% + \crefname{subsubsection}{Secci\'on}{Secciones}% + \crefname{appendix}{Ap\'endice}{Ap\'endices}% + \crefname{subappendix}{Ap\'endice}{Ap\'endices}% + \crefname{subsubappendix}{Ap\'endice}{Ap\'endices}% + \crefname{subsubsubappendix}{Ap\'endice}{Ap\'endices}% + \crefname{figure}{Figura}{Figuras}% + \crefname{subfigure}{Figura}{Figuras}% + \crefname{table}{Cuadro}{Cuadros}% + \crefname{subtable}{Cuadro}{Cuadros}% + \crefname{theorem}{Teorema}{Teoremas}% + \crefname{enumi}{Punto}{Puntos}% + \crefname{enumii}{Punto}{Puntos}% + \crefname{enumiii}{Punto}{Puntos}% + \crefname{enumiv}{Punto}{Puntos}% + \crefname{enumv}{Punto}{Puntos}% + \crefname{lemma}{Lema}{Lemas}% + \crefname{corollary}{Corolario}{Corolarios}% + \crefname{proposition}{Proposici\'on}{Proposiciones}% + \crefname{definition}{Definici\'on}{Definiciones}% + \crefname{result}{Resultado}{Resultados}% + \crefname{example}{Ejemplo}{Ejemplos}% + \crefname{remark}{Observaci\'on}{Observaci\'ones}% + \crefname{note}{Nota}{Notas}% + \else% + \crefname{equation}{ecuaci\'on}{ecuaciones}% + \crefname{chapter}{cap\'itulo}{cap\'itulos}% + \crefname{section}{secci\'on}{secciones}% + \crefname{subsection}{secci\'on}{secciones}% + \crefname{subsubsection}{secci\'on}{secciones}% + \crefname{appendix}{ap\'endice}{ap\'endices}% + \crefname{subappendix}{ap\'endice}{ap\'endices}% + \crefname{subsubappendix}{ap\'endice}{ap\'endices}% + \crefname{subsubsubappendix}{ap\'endice}{ap\'endices}% + \crefname{figure}{figura}{figuras}% + \crefname{subfigure}{figura}{figuras}% + \crefname{table}{cuadro}{cuadros}% + \crefname{subtable}{cuadro}{cuadros}% + \crefname{theorem}{teorema}{teoremas}% + \crefname{enumi}{punto}{puntos}% + \crefname{enumii}{punto}{puntos}% + \crefname{enumiii}{punto}{puntos}% + \crefname{enumiv}{punto}{puntos}% + \crefname{enumv}{punto}{puntos}% + \crefname{lemma}{lema}{lemas}% + \crefname{corollary}{corolario}{corolarios}% + \crefname{proposition}{proposici\'on}{proposiciones}% + \crefname{definition}{definici\'on}{definiciones}% + \crefname{result}{resultado}{resultados}% + \crefname{example}{ejemplo}{ejemplos}% + \crefname{remark}{observaci\'on}{observaci\'ones}% + \crefname{note}{nota}{notas}% + \fi% }}} % \end{macrocode} % @@ -5582,38 +5860,57 @@ \def\crefpairgroupconjunction@preamble{ e~}% \def\crefmiddlegroupconjunction@preamble{, }% \def\creflastgroupconjunction@preamble{ e~}% - \crefname@preamble{equation}{eq.}{eq.}% \Crefname@preamble{equation}{Equazione}{Equazioni}% - \crefname@preamble{chapter}{capitolo}{capitoli}% \Crefname@preamble{chapter}{Capitolo}{Capitoli}% - \crefname@preamble{section}{sezione}{sezioni}% \Crefname@preamble{section}{Sezione}{Sezioni}% - \crefname@preamble{appendix}{appendice}{appendici}% \Crefname@preamble{appendix}{Appendice}{Appendici}% - \crefname@preamble{figure}{fig.}{fig.}% \Crefname@preamble{figure}{Figura}{Figure}% - \crefname@preamble{table}{tabella}{tabelle}% \Crefname@preamble{table}{Tabella}{Tabelle}% - \crefname@preamble{theorem}{teorema}{teoremi}% \Crefname@preamble{theorem}{Teorema}{Teoremi}% - \crefname@preamble{enumi}{voce}{voci}% \Crefname@preamble{enumi}{Voce}{Voci}% - \crefname@preamble{lemma}{lemma}{lemmi}% \Crefname@preamble{lemma}{Lemma}{Lemmi}% - \crefname@preamble{corollary}{corollario}{corollari}% \Crefname@preamble{corollary}{Corollario}{Corollari}% - \crefname@preamble{proposition}{proposizione}{proposizioni}% \Crefname@preamble{proposition}{Proposizione}{Proposizioni}% - \crefname@preamble{definition}{definizione}{definizioni}% \Crefname@preamble{definition}{Definizioni}{Definizioni}% - \crefname@preamble{result}{risultato}{risultati}% \Crefname@preamble{result}{Risultato}{Risultati}% - \crefname@preamble{example}{esempio}{esempi}% \Crefname@preamble{example}{esempio}{esempi}% - \crefname@preamble{remark}{osservazione}{osservazioni}% \Crefname@preamble{remark}{Osservazione}{Osservazioni}% - \crefname@preamble{note}{nota}{note}% \Crefname@preamble{note}{Nota}{Note}% + \if@cref@capitalise% + \crefname@preamble{equation}{Eq.}{Eq.}% + \crefname@preamble{chapter}{Capitolo}{Capitoli}% + \crefname@preamble{section}{Sezione}{Sezioni}% + \crefname@preamble{appendix}{Appendice}{Appendici}% + \crefname@preamble{figure}{Fig.}{Fig.}% + \crefname@preamble{table}{Tabella}{Tabelle}% + \crefname@preamble{theorem}{Teorema}{Teoremi}% + \crefname@preamble{enumi}{Voce}{Voci}% + \crefname@preamble{lemma}{Lemma}{Lemmi}% + \crefname@preamble{corollary}{Corollario}{Corollari}% + \crefname@preamble{proposition}{Proposizione}{Proposizioni}% + \crefname@preamble{definition}{Definizione}{Definizioni}% + \crefname@preamble{result}{Risultato}{Risultati}% + \crefname@preamble{example}{Esempio}{Esempi}% + \crefname@preamble{remark}{Osservazione}{Osservazioni}% + \crefname@preamble{note}{Nota}{Note}% + \else% + \crefname@preamble{equation}{eq.}{eq.}% + \crefname@preamble{chapter}{capitolo}{capitoli}% + \crefname@preamble{section}{sezione}{sezioni}% + \crefname@preamble{appendix}{appendice}{appendici}% + \crefname@preamble{figure}{fig.}{fig.}% + \crefname@preamble{table}{tabella}{tabelle}% + \crefname@preamble{theorem}{teorema}{teoremi}% + \crefname@preamble{enumi}{voce}{voci}% + \crefname@preamble{lemma}{lemma}{lemmi}% + \crefname@preamble{corollary}{corollario}{corollari}% + \crefname@preamble{proposition}{proposizione}{proposizioni}% + \crefname@preamble{definition}{definizione}{definizioni}% + \crefname@preamble{result}{risultato}{risultati}% + \crefname@preamble{example}{esempio}{esempi}% + \crefname@preamble{remark}{osservazione}{osservazioni}% + \crefname@preamble{note}{nota}{note}% + \fi% \def\cref@language{italiano}% % \end{macrocode} % @@ -5631,60 +5928,90 @@ \renewcommand{\crefpairgroupconjunction}{ e~}% \renewcommand{\crefmiddlegroupconjunction}{, }% \renewcommand{\creflastgroupconjunction}{ e~}% - \crefname{equation}{eq.}{eq.}% \Crefname{equation}{Equazione}{Equazioni}% - \crefname{chapter}{capitolo}{capitoli}% \Crefname{chapter}{Capitolo}{Capitoli}% - \crefname{section}{sezione}{sezioni}% \Crefname{section}{Sezione}{Sezioni}% - \crefname{subsection}{sezione}{sezioni}% \Crefname{subsection}{Sezione}{Sezioni}% - \crefname{subsubsection}{sezione}{sezioni}% \Crefname{subsubsection}{Sezione}{Sezioni}% - \crefname{appendix}{appendice}{appendici}% \Crefname{appendix}{Appendice}{Appendici}% - \crefname{subappendix}{appendice}{appendici}% \Crefname{subappendix}{Appendice}{Appendici}% - \crefname{subsubappendix}{appendice}{appendici}% \Crefname{subsubappendix}{Appendice}{Appendici}% - \crefname{subsubsubappendix}{appendice}{appendici}% \Crefname{subsubsubappendix}{Appendice}{Appendici}% - \crefname{figure}{fig.}{fig.}% \Crefname{figure}{Figura}{Figure}% - \crefname{subfigure}{fig.}{fig.}% \Crefname{subfigure}{Figura}{Figure}% - \crefname{table}{tabella}{tabelle}% \Crefname{table}{Tabella}{Tabelle}% - \crefname{subtable}{tabella}{tabelle}% \Crefname{subtable}{Tabella}{Tabelle}% - \crefname{theorem}{teorema}{teoremi}% \Crefname{theorem}{Teorema}{Teoremi}% - \crefname{enumi}{voce}{voci}% \Crefname{enumi}{Voce}{Voci}% - \crefname{enumii}{voce}{voci}% \Crefname{enumii}{Voce}{Voci}% - \crefname{enumiii}{voce}{voci}% \Crefname{enumiii}{Voce}{Voci}% - \crefname{enumiv}{voce}{voci}% \Crefname{enumiv}{Voce}{Voci}% - \crefname{enumv}{voce}{voci}% \Crefname{enumv}{Voce}{Voci}% - \crefname{lemma}{lemma}{lemmi}% \Crefname{lemma}{Lemma}{Lemmi}% - \crefname{corollary}{corollario}{corollari}% \Crefname{corollary}{Corollario}{Corollari}% - \crefname{proposition}{proposizione}{proposizioni}% \Crefname{proposition}{Proposizione}{Proposizioni}% - \crefname{definition}{definizione}{definizione}% \Crefname{definition}{Definizione}{Definizione}% - \crefname{result}{risultato}{risultati}% \Crefname{result}{Risultato}{Risultati}% - \crefname{example}{esempio}{esempi}% \Crefname{example}{esempio}{esempi}% - \crefname{remark}{osservazione}{osservazioni}% \Crefname{remark}{Osservazione}{Osservazioni}% - \crefname{note}{nota}{note}% \Crefname{note}{Nota}{Note}% + \if@cref@capitalise% + \crefname{equation}{Eq.}{Eq.}% + \crefname{chapter}{Capitolo}{Capitoli}% + \crefname{section}{Sezione}{Sezioni}% + \crefname{subsection}{Sezione}{Sezioni}% + \crefname{subsubsection}{Sezione}{Sezioni}% + \crefname{appendix}{Appendice}{Appendici}% + \crefname{subappendix}{Appendice}{Appendici}% + \crefname{subsubappendix}{Appendice}{Appendici}% + \crefname{subsubsubappendix}{Appendice}{Appendici}% + \crefname{figure}{Fig.}{Fig.}% + \crefname{subfigure}{Fig.}{Fig.}% + \crefname{table}{Tabella}{Tabelle}% + \crefname{subtable}{Tabella}{Tabelle}% + \crefname{theorem}{Teorema}{Teoremi}% + \crefname{enumi}{Voce}{Voci}% + \crefname{enumii}{Voce}{Voci}% + \crefname{enumiii}{Voce}{Voci}% + \crefname{enumiv}{Voce}{Voci}% + \crefname{enumv}{Voce}{Voci}% + \crefname{lemma}{Lemma}{Lemmi}% + \crefname{corollary}{Corollario}{Corollari}% + \crefname{proposition}{Proposizione}{Proposizioni}% + \crefname{definition}{Definizione}{Definizione}% + \crefname{result}{Risultato}{Risultati}% + \crefname{example}{Esempio}{Esempi}% + \crefname{remark}{Osservazione}{Osservazioni}% + \crefname{note}{Nota}{Note}% + \else% + \crefname{equation}{eq.}{eq.}% + \crefname{chapter}{capitolo}{capitoli}% + \crefname{section}{sezione}{sezioni}% + \crefname{subsection}{sezione}{sezioni}% + \crefname{subsubsection}{sezione}{sezioni}% + \crefname{appendix}{appendice}{appendici}% + \crefname{subappendix}{appendice}{appendici}% + \crefname{subsubappendix}{appendice}{appendici}% + \crefname{subsubsubappendix}{appendice}{appendici}% + \crefname{figure}{fig.}{fig.}% + \crefname{subfigure}{fig.}{fig.}% + \crefname{table}{tabella}{tabelle}% + \crefname{subtable}{tabella}{tabelle}% + \crefname{theorem}{teorema}{teoremi}% + \crefname{enumi}{voce}{voci}% + \crefname{enumii}{voce}{voci}% + \crefname{enumiii}{voce}{voci}% + \crefname{enumiv}{voce}{voci}% + \crefname{enumv}{voce}{voci}% + \crefname{lemma}{lemma}{lemmi}% + \crefname{corollary}{corollario}{corollari}% + \crefname{proposition}{proposizione}{proposizioni}% + \crefname{definition}{definizione}{definizione}% + \crefname{result}{risultato}{risultati}% + \crefname{example}{esempio}{esempi}% + \crefname{remark}{osservazione}{osservazioni}% + \crefname{note}{nota}{note}% + \fi% }}} % \end{macrocode} % @@ -5692,9 +6019,25 @@ % % \subsubsection{Default Cross-Reference Formats} % \label{sec:code:default_formats} -% Setup default English format definitions, then process options in -% the order they were supplied. -% \begin{macrocode} +% Setup default English format definitions, then process options in the +% order they were supplied. However, the \option{capitalise} option must +% be processed before the language options, so that it takes effect in +% the default format definitions. Therefore, we have to manually check +% whether it's present, and force processing of it before the other +% options. +% \begin{macrocode} +\edef\@curroptions{\@ptionlist{\@currname.\@currext}}% +\@expandtwoargs\in@{,capitalise,}{% + ,\@classoptionslist,\@curroptions,}% +\ifin@% + \ExecuteOptions{capitalise}% +\else% + \@expandtwoargs\in@{,capitalize,}{% + ,\@classoptionslist,\@curroptions,}% + \ifin@% + \ExecuteOptions{capitalise}% + \fi% +\fi% \ExecuteOptions{english} \ProcessOptions*\relax % \end{macrocode} -- cgit v1.2.3