From eebb145928deadb0949e17b6a16471491808e684 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 17 Dec 2009 23:52:39 +0000 Subject: cleveref 0.15.3 (17dec09) git-svn-id: svn://tug.org/texlive/trunk@16439 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/cleveref/cleveref.sty | 344 ++++++++++++++++------ 1 file changed, 258 insertions(+), 86 deletions(-) (limited to 'Master/texmf-dist/tex/latex/cleveref') diff --git a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty index f2a447d8f46..8a119ef5231 100644 --- a/Master/texmf-dist/tex/latex/cleveref/cleveref.sty +++ b/Master/texmf-dist/tex/latex/cleveref/cleveref.sty @@ -22,7 +22,7 @@ %% version 1999/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{cleveref} - [2009/11/26 v0.15 Intelligent cross-referencing] + [2009/12/11 v0.15.3 Intelligent cross-referencing] %% \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 @@ -112,7 +112,11 @@ \gdef\refstepcounter@noarg##1{% \cref@old@refstepcounter{##1}% \cref@constructprefix{##1}{\@result}% - \edef\@result{2147483647,\@result}% + \ifx\@result\@empty% + \def\@result{2147483647}% + \else% + \edef\@result{2147483647,\@result}% + \fi% \def\@tmpa{##1}% \def\@tmpb{section}% \ifx\@tmpa\@tmpb% @@ -141,7 +145,11 @@ \def\refstepcounter@noarg##1{% \cref@old@refstepcounter{##1}% \cref@constructprefix{##1}{\@result}% - \edef\@result{2147483647,\@result}% + \ifx\@result\@empty% + \def\@result{2147483647}% + \else% + \edef\@result{2147483647,\@result}% + \fi% \def\@tmpa{##1}% \def\@tmpb{chapter}% \ifx\@tmpa\@tmpb% @@ -286,8 +294,7 @@ \else% \cref@stack@pop{\@tmpstack}% \cref@isstackfull{\@tmpstack}% - \fi - }% + \fi}% \expandafter\endgroup% \if@notthere\cref@stack@push{#1}{#2}\fi} \newif\if@cref@stackempty @@ -776,6 +783,8 @@ \DeclareRobustCommand{\Cref}[1]{\@cref{Cref}{#1}} \DeclareRobustCommand{\crefrange}[2]{\@setcrefrange{#1}{#2}{cref}{}} \DeclareRobustCommand{\Crefrange}[2]{\@setcrefrange{#1}{#2}{Cref}{}} +\@ifpackageloaded{hyperref}{\newif\if@crefstarred}{% + \@ifpackageloaded{varioref}{\newif\if@crefstarred}{}} \def\@cref#1#2{% \leavevmode% \begingroup% @@ -1489,7 +1498,11 @@ \def\H@refstepcounter##1{% \stepcounter{##1}% \cref@constructprefix{##1}{\@result}% - \edef\@result{2147483647,\@result}% + \ifx\@result\@empty% + \def\@result{2147483647}% + \else% + \edef\@result{2147483647,\@result}% + \fi% \def\@tmpa{##1}% \def\@tmpb{section}% \ifx\@tmpa\@tmpb% @@ -1521,7 +1534,11 @@ \def\H@refstepcounter##1{% \stepcounter{##1}% \cref@constructprefix{##1}{\@result}% - \edef\@result{2147483647,\@result}% + \ifx\@result\@empty% + \def\@result{2147483647}% + \else% + \edef\@result{2147483647,\@result}% + \fi% \def\@tmpa{##1}% \def\@tmpb{chapter}% \ifx\@tmpa\@tmpb% @@ -1559,7 +1576,6 @@ \fi}% }% } - \newif\if@crefstarred \DeclareRobustCommand{\cref}{% \@ifstar{\@crefstar{cref}}{\@crefnostar{cref}}} \DeclareRobustCommand{\Cref}{% @@ -1640,29 +1656,29 @@ \let\@thmnoarg\@thm \def\@thm{\@ifnextchar[{\@thmoptarg}{\@thmnoarg}}%] \def\@thmoptarg[#1]#2#3#4{% - \ifhmode\unskip\unskip\par\fi - \normalfont - \trivlist - \let\thmheadnl\relax - \let\thm@swap\@gobble + \ifhmode\unskip\unskip\par\fi% + \normalfont% + \trivlist% + \let\thmheadnl\relax% + \let\thm@swap\@gobble% \thm@notefont{\fontseries\mddefault\upshape}% \thm@headpunct{.}% add period after heading - \thm@headsep 5\p@ plus\p@ minus\p@\relax - \thm@space@setup + \thm@headsep 5\p@ plus\p@ minus\p@\relax% + \thm@space@setup% #2% style overrides - \@topsep \thm@preskip % used by thm head - \@topsepadd \thm@postskip % used by \@endparenv - \def\@tempa{#3}\ifx\@empty\@tempa + \@topsep \thm@preskip% used by thm head + \@topsepadd \thm@postskip% used by \@endparenv + \def\@tempa{#3}\ifx\@empty\@tempa% \def\@tempa{\@oparg{\@begintheorem{#4}{}}[]}% - \else + \else% \refstepcounter[#1]{#3}% \def\@tempa{\@oparg{\@begintheorem{#4}{\csname the#3\endcsname}}[]}% - \fi + \fi% \@tempa} \def\@ynthm#1[#2]#3{% - \ifx\relax#2\relax + \ifx\relax#2\relax% \def\@tempa{\@oparg{\@xthm{#1}{#3}}[]}% - \else + \else% \@ifundefined{c@#2}{% \def\@tempa{\@nocounterr{#2}}% }{% @@ -1670,13 +1686,13 @@ \toks@{#3}% \@xp\xdef\csname#1\endcsname{% \@nx\@thm[#1]{% <<<<< new optional argument for theorem name - \let\@nx\thm@swap - \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi + \let\@nx\thm@swap% + \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi% \@xp\@nx\csname th@\the\thm@style\endcsname}% {#2}{\the\toks@}}% - \let\@tempa\relax + \let\@tempa\relax% }% - \fi + \fi% \@tempa} }{}% end of \@ifpackageloaded \@ifpackageloaded{varioref}{% @@ -1686,21 +1702,24 @@ \AtBeginDocument{% \def\cref@vref#1#2{% \if@cref@legacyvarioref% - \leavevmode\unskip\vref@space + \leavevmode\unskip\vref@space% \fi% \@cref{#1}{#2} % space here is deliberate \begingroup% \def\@tmpstack{#2,\@nil}% \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% \ifx\@lastref\@empty% - \vpageref{#2}% + \vpageref[\unskip]{#2}% \else% \edef\@tmpa{{\@firstref}{\@lastref}}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter[\expandafter\unskip\expandafter]% + \@tmpa}% \expandafter\vpagerefrange\@tmpa% \fi% \endgroup} \def\cref@vrefrange#1#2#3{% - \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange{#2}{#3}} + \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange[\unskip]{#2}{#3}} \def\cref@fullref#1#2{% \@cref{#1}{#2} % space here is deliberate \begingroup% @@ -1713,9 +1732,9 @@ \@tmpa\expandafter{\@firstref}% \expandafter\vrefpagenum\expandafter% \@tmpb\expandafter{\@lastref}% - \ifx\@tmpa\@tmpb + \ifx\@tmpa\@tmpb% \expandafter\reftextfaraway\expandafter{\@firstref}% - \else + \else% \edef\@tmpa{{\@firstref}{\@lastref}}% \expandafter\reftextpagerange\@tmpa% \fi% @@ -1725,7 +1744,7 @@ \def\vr@f#1{\cref@vref{cref}{#1}} \def\Vr@f#1{\cref@vref{Cref}{#1}} \renewcommand\vrefrange[3][\reftextcurrent]{% - \crefrange{#2}{#3} \vpagerefrange{#2}{#3}} + \crefrange{#2}{#3} \vpagerefrange[\unskip]{#2}{#3}} \def\fullref#1{\cref@fullref{cref}{#1}} \else% \@ifpackageloaded{hyperref}{% @@ -1742,17 +1761,11 @@ \DeclareRobustCommand{\Fullref}{% \@ifstar{\cref@fullrefstar{Cref}}{\cref@fullref{Cref}}} \def\cref@vrefstar#1#2{% - \@crefstarredtrue% - \cref@vref{#1}{#2}% - \@crefstarredfalse} + \@crefstarredtrue\cref@vref{#1}{#2}\@crefstarredfalse} \def\cref@vrefrangestar#1#2#3{% - \@crefstarredtrue% - \cref@vrefrange{#1}{#2}{#3}% - \@crefstarredfalse} + \@crefstarredtrue\cref@vrefrange{#1}{#2}{#3}\@crefstarredfalse} \def\cref@fullrefstar#1#2{% - \@crefstarredtrue% - \cref@fullref{#1}{#2}% - \@crefstarredfalse} + \@crefstarredtrue\cref@fullref{#1}{#2}\@crefstarredfalse} }{% \DeclareRobustCommand{\vref}{\cref@vref{cref}} \DeclareRobustCommand{\Vref}{\cref@vref{Cref}} @@ -1803,47 +1816,47 @@ \expandafter\def\expandafter\cref@poorman@text\expandafter{% \crefrangeconjunction}% \expandafter\def\expandafter\@tmpa\expandafter{% - \expandafter{\@address}{\string\crefrangeconjunction}} + \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{\@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{\@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{\@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{\@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{\@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{\@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{\@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{\@address}{\string\creflastgroupconjunction}}% \expandafter\cref@writescript\@tmpa% \let\@tmpstack\cref@label@types% \cref@isstackfull{\@tmpstack}% @@ -1860,7 +1873,7 @@ \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% \expandafter\@address\expandafter}% - \expandafter{\@tmpa}} + \expandafter{\@tmpa}}% \expandafter\cref@writescript\@tmpa% \edef\@tmpa{\cref@stack@top{\@tmpstack}}% \expandafter\expandafter\expandafter\def% @@ -1875,7 +1888,7 @@ \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter{% \expandafter\@address\expandafter}% - \expandafter{\@tmpa}} + \expandafter{\@tmpa}}% \expandafter\cref@writescript\@tmpa% \edef\@tmpa{\cref@stack@top{\@tmpstack}}% \expandafter\expandafter\expandafter\def% @@ -1889,7 +1902,7 @@ \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter% {\expandafter\@address\expandafter}% - \expandafter{\@tmpa}} + \expandafter{\@tmpa}}% \expandafter\cref@writescript\@tmpa% \edef\@tmpa{\cref@stack@top{\@tmpstack}}% \expandafter\expandafter\expandafter\def% @@ -1904,7 +1917,7 @@ \expandafter\expandafter\expandafter{% \expandafter\expandafter\expandafter% {\expandafter\@address\expandafter}% - \expandafter{\@tmpa}} + \expandafter{\@tmpa}}% \expandafter\cref@writescript\@tmpa% \cref@stack@pop{\@tmpstack}% \cref@isstackfull{\@tmpstack}}% @@ -1957,7 +1970,7 @@ s/||label|[[^]]*|]/||label/g}} \expandafter\g@addto@macro\expandafter% \cref@poorman@text\expandafter{\@tmpa^^J}% - \lowercase{\edef\@tmpa{s/||usepackage|(|[.*|]|)|?//g}}% + \lowercase{\edef\@tmpa{s/||usepackage|(|[.*|]|)|<0,1|>//g}}% \expandafter\g@addto@macro\expandafter% \cref@poorman@text\expandafter{\@tmpa^^J}% \lowercase{\edef\@tmpa{s/||[cC]refformat<.*><.*>//g}}% @@ -2020,7 +2033,7 @@ \immediate\openout\@crefscript=\jobname.sed% \immediate\write\@crefscript{\cref@poorman@text}% \immediate\closeout\@crefscript% - } + }% end of \AtEndDocument \def\cref@getmeaning#1{\expandafter\@cref@getmeaning\meaning#1\@nil} \def\@cref@getmeaning#1->#2\@nil{#2} \def\cref@writescript#1#2{% @@ -2030,31 +2043,47 @@ \def\@crefnostar#1#2{% \gdef\cref@poorman@text{}% \@cref{#1}{#2}% - \begingroup% - \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67 - \lowercase{\cref@writescript{}{|#1<#2>}}% - \endgroup} + \def\@tmpa##1##2\@nil{% + \if##1c% + \cref@writescript{}{\string\cref\string{#2\string}}% + \else% + \cref@writescript{}{\string\Cref\string{#2\string}}% + \fi}% + \@tmpa#1\@nil} \def\@crefstar#1#2{% \gdef\cref@poorman@text{}% \@crefstarredtrue\@cref{#1}{#2}\@crefstarredfalse% - \begingroup% - \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67 - \lowercase{\cref@writescript{}{|#1*<#2>}}% - \endgroup} + \def\@tmpa##1##2\@nil{% + \if##1c% + \cref@writescript{}{\string\cref*\string{#2\string}}% + \else% + \cref@writescript{}{\string\Cref*\string{#2\string}}% + \fi}% + \@tmpa#1\@nil} \def\@crefrangenostar#1#2#3{% \gdef\cref@poorman@text{}% \@setcrefrange{#2}{#3}{#1}{}% - \begingroup% - \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67 - \lowercase{\cref@writescript{}{|#1range<#2><#3>}}% - \endgroup} + \def\@tmpa##1##2\@nil{% + \if##1c% + \cref@writescript{}{% + \string\crefrange\string{#2\string}\string{#3\string}}% + \else% + \cref@writescript{}{% + \string\Crefrange\string{#2\string}\string{#3\string}}% + \fi}% + \@tmpa#1\@nil} \def\@crefrangestar#1#2#3{% \gdef\cref@poorman@text{}% \@crefstarredtrue\@setcrefrange{#2}{#3}{#1}{}\@crefstarredfalse% - \begingroup% - \lccode`|=92 \lccode`<=123 \lccode`>=125 \lccode`C=67 - \lowercase{\cref@writescript{}{|#1range*<#2><#3>}}% - \endgroup} + \def\@tmpa##1##2\@nil{% + \if##1c% + \cref@writescript{}{% + \string\crefrange*\string{#2\string}\string{#3\string}}% + \else% + \cref@writescript{}{% + \string\Crefrange*\string{#2\string}\string{#3\string}}% + \fi}% + \@tmpa#1\@nil} }{% \DeclareRobustCommand{\cref}[1]{% \edef\cref@poorman@text{}% @@ -2082,11 +2111,11 @@ \@ifstar{\cref@vrefstar{cref}}{\cref@vref{cref}}} \def\cref@vrefstar#1#2{% \@crefstarredtrue\cref@vref{#1}{#2}\@crefstarredfalse} - \fi + \fi% \def\cref@vref#1#2{% \gdef\cref@poorman@text{}% \if@cref@legacyvarioref% - \leavevmode\unskip\vref@space + \leavevmode\unskip\vref@space% \fi% \begingroup% \let\if@tmp\if@crefstarred% @@ -2096,11 +2125,14 @@ \def\@tmpstack{#2,\@nil}% \cref@stack@topandbottom{\@tmpstack}{\@firstref}{\@lastref}% \ifx\@lastref\@empty% - \vpageref{#2}% - \g@addto@macro\cref@poorman@text{ \vpageref{#2}}% + \vpageref[\unskip]{#2}% + \g@addto@macro\cref@poorman@text{ \vpageref[\unskip]{#2}}% \else% \g@addto@macro\cref@poorman@text{ }% \edef\@tmpa{{\@firstref}{\@lastref}}% + \expandafter\def\expandafter\@tmpa\expandafter{% + \expandafter[\expandafter\unskip\expandafter]% + \@tmpa}% \expandafter\vpagerefrange\@tmpa% \expandafter\g@addto@macro\expandafter\cref@poorman@text% \expandafter{\expandafter\vpagerefrange\@tmpa}% @@ -2123,8 +2155,8 @@ \endgroup} \def\cref@vrefrange#1#2#3{% \gdef\cref@poorman@text{}% - \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange{#2}{#3}% - \g@addto@macro\cref@poorman@text{ \vpagerefrange{#2}{#3}}% + \@setcrefrange{#2}{#3}{#1}{} \vpagerefrange[\unskip]{#2}{#3}% + \g@addto@macro\cref@poorman@text{ \vpagerefrange[\unskip]{#2}{#3}}% \def\@tmpa##1##2\@nil{% \if##1c% \if@crefstarred% @@ -2158,11 +2190,11 @@ \@tmpa\expandafter{\@firstref}% \expandafter\vrefpagenum\expandafter% \@tmpb\expandafter{\@lastref}% - \ifx\@tmpa\@tmpb + \ifx\@tmpa\@tmpb% \expandafter\reftextfaraway\expandafter{\@firstref}% \expandafter\def\expandafter\@pageref\expandafter{% \expandafter\reftextfaraway\expandafter{\@firstref}}% - \else + \else% \edef\@tmpa{{\@firstref}{\@lastref}}% \expandafter\reftextpagerange\@tmpa% \expandafter\def\expandafter\@pageref\expandafter{% @@ -2186,7 +2218,7 @@ \cref@writescript{}{\string\Fullref\string{#2\string}}% \fi% \fi}% - \@tmpa#1\@nil + \@tmpa#1\@nil% \endgroup} }% end of \AtBeginDocument }{}% end of \@ifpackageloaded @@ -2233,6 +2265,8 @@ \expandafter{#1{\ref{#2}}{\ref{#3}}{}{}{}{}}% \fi} }{% + \let\old@@setcref\@@setcref% + \let\old@@setcrefrange\@@setcrefrange% \def\@@setcref#1#2{% \old@@setcref{#1}{#2}% \expandafter\g@addto@macro\expandafter{% @@ -2277,12 +2311,12 @@ \creflabelformat{equation}{\textup{(#2#1#3)}} \def\cref@addto#1#2{% \@temptokena{#2}% - \ifx#1\undefined + \ifx#1\undefined% \edef#1{\the\@temptokena}% - \else + \else% \toks@\expandafter{#1}% \edef#1{\the\toks@\the\@temptokena}% - \fi + \fi% \@temptokena{}\toks@\@temptokena% } \@onlypreamble\cref@addto @@ -2304,6 +2338,7 @@ \Crefname@preamble{appendix}{Appendix}{Appendices}% \Crefname@preamble{figure}{Figure}{Figures}% \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}% @@ -2703,6 +2738,143 @@ \crefname{note}{Anmerkung}{Anmerkungen}% \fi% }}} +\DeclareOption{dutch}{% + \PackageInfo{cleveref}{loaded `dutch' language definitions} + \AtBeginDocument{% + \def\crefrangeconjunction@preamble{ tot~}% + \def\crefrangepreconjunction@preamble{}% + \def\crefrangepostconjunction@preamble{}% + \def\crefpairconjunction@preamble{ en~}% + \def\crefmiddleconjunction@preamble{, }% + \def\creflastconjunction@preamble{ en~}% + \def\crefpairgroupconjunction@preamble{ en~}% + \def\crefmiddlegroupconjunction@preamble{, }% + \def\creflastgroupconjunction@preamble{ en~}% + \Crefname@preamble{equation}% + {Ver\-ge\-l\ij{}k\-ing}{Ver\-ge\-l\ij{}k\-ing\-en}% + \Crefname@preamble{chapter}{Hoofdstuk}{Hoofdstuken}% + \Crefname@preamble{section}{Paragraaf}{Paragrafen}% + \Crefname@preamble{appendix}{Appendix}{Appendices}% + \Crefname@preamble{figure}{Figuur}{Figuren}% + \Crefname@preamble{table}{Tabel}{Tabellen}% + \Crefname@preamble{enumi}{Punt}{Punten}% + \Crefname@preamble{lemma}{Lemma}{Lemma's}% + \Crefname@preamble{corollary}{Corollarium}{Corollaria}% + \Crefname@preamble{proposition}{Bewering}{Beweringen}% + \Crefname@preamble{definition}{Definitie}{Definities}% + \Crefname@preamble{result}{Resultaat}{Resultaten}% + \Crefname@preamble{example}{Voorbeeld}{Voorbeelden}% + \Crefname@preamble{remark}{Opmerking}{Opmerkingen}% + \Crefname@preamble{note}{Aantekening}{Aantekeningen}% + \if@cref@capitalise% + \crefname@preamble{equation}{Verg.}{Verg's.}% + \crefname@preamble{chapter}{Hoofdstuk}{Hoofdstukken}% + \crefname@preamble{section}{Paragraaf}{Paragrafen}% + \crefname@preamble{appendix}{Appendix}{Appendices}% + \crefname@preamble{figure}{Fig.}{Fig's.}% + \crefname@preamble{table}{Tabel}{Tabellen}% + \crefname@preamble{theorem}{Theorema}{Theorema's}% + \crefname@preamble{enumi}{Punt}{Punten}% + \crefname@preamble{lemma}{Lemma}{Lemma's}% + \crefname@preamble{corollary}{Corollarium}{Corollaria}% + \crefname@preamble{proposition}{Bewering}{Beweringen}% + \crefname@preamble{definition}{Definitie}{Definities}% + \crefname@preamble{result}{Resultaat}{Resultaten}% + \crefname@preamble{example}{Voorbeeld}{Voorbeelden}% + \crefname@preamble{remark}{Opmerking}{Opmerkingen}% + \crefname@preamble{note}{Aantekening}{Aantekeningen}% + \else% + \crefname@preamble{equation}{verg.}{verg's.}% + \crefname@preamble{chapter}{hoofdstuk}{hoofdstukken}% + \crefname@preamble{section}{paragraaf}{paragrafen}% + \crefname@preamble{appendix}{appendix}{appendices}% + \crefname@preamble{figure}{fig.}{fig's.}% + \crefname@preamble{table}{tabel}{tabellen}% + \crefname@preamble{theorem}{theorema}{theorema's}% + \crefname@preamble{enumi}{punt}{punten}% + \crefname@preamble{lemma}{lemma}{lemma's}% + \crefname@preamble{corollary}{corollarium}{corollaria}% + \crefname@preamble{proposition}{bewering}{beweringen}% + \crefname@preamble{definition}{definitie}{definities}% + \crefname@preamble{result}{resultaat}{resultaten}% + \crefname@preamble{example}{voorbeeld}{voorbeelden}% + \crefname@preamble{remark}{opmerking}{opmerkingen}% + \crefname@preamble{note}{aantekening}{aantekeningen}% + \fi% + \def\cref@language{dutch}% + \cref@addto\extrasdutch{% + \renewcommand{\crefrangeconjunction}{ tot~}% + \renewcommand\crefrangepreconjunction{}% + \renewcommand\crefrangepostconjunction{}% + \renewcommand{\crefpairconjunction}{ en~}% + \renewcommand{\crefmiddleconjunction}{, }% + \renewcommand{\creflastconjunction}{ en~}% + \renewcommand{\crefpairgroupconjunction}{ en~}% + \renewcommand{\crefmiddlegroupconjunction}{, }% + \renewcommand{\creflastgroupconjunction}{ en~}% + \Crefname{equation}{Ver\-ge\-l\ij{}k\-ing}{Ver\-ge\-l\ij{}k\-ing\-en}% + \Crefname{chapter}{Hoofdstuk}{Hoofdstuken}% + \Crefname{section}{Paragraaf}{Paragrafen}% + \Crefname{subsection}{Paragraaf}{Paragrafen}% + \Crefname{subsubsection}{Paragraaf}{Paragrafen}% + \Crefname{appendix}{Appendix}{Appendices}% + \Crefname{subappendix}{Appendix}{Appendices}% + \Crefname{subsubappendix}{Appendix}{Appendices}% + \Crefname{subsubsubappendix}{Appendix}{Appendices}% + \Crefname{figure}{Figuur}{Figuren}% + \Crefname{subfigure}{Figuur}{Figuren}% + \Crefname{table}{Tabel}{Tabellen}% + \Crefname{subtable}{Tabel}{Tabellen}% + \Crefname{theorem}{Theorema}{Theorema's}% + \Crefname{enumi}{Punt}{Punten}% + \Crefname{enumii}{Punt}{Punten}% + \Crefname{enumiii}{Punt}{Punten}% + \Crefname{enumiv}{Punt}{Punten}% + \Crefname{enumv}{Punt}{Punten}% + \Crefname{lemma}{Lemma}{Lemma's}% + \Crefname{corollary}{Corollarium}{Corollaria}% + \Crefname{proposition}{Bewering}{Beweringen}% + \Crefname{definition}{Definitie}{Definities}% + \Crefname{result}{Resultaat}{Resultaten}% + \Crefname{example}{Voorbeeld}{Voorbeelden}% + \Crefname{remark}{Opmerking}{Opmerkingen}% + \Crefname{note}{Aantekening}{Aantekeningen}% + \if@cref@capitalise% + \crefname{equation}{Verg.}{Verg's.}% + \crefname{chapter}{Hoofdstuk}{Hoofdstukken}% + \crefname{section}{Paragraaf}{Paragrafen}% + \crefname{appendix}{Appendix}{Appendices}% + \crefname{figure}{Fig.}{Fig's.}% + \crefname{table}{Tabel}{Tabellen}% + \crefname{theorem}{Theorema}{Theorema's}% + \crefname{enumi}{Punt}{Punten}% + \crefname{lemma}{Lemma}{Lemma's}% + \crefname{corollary}{Corollarium}{Corollaria}% + \crefname{proposition}{Bewering}{Beweringen}% + \crefname{definition}{Definitie}{Definities}% + \crefname{result}{Resultaat}{Resultaten}% + \crefname{example}{Voorbeeld}{Voorbeelden}% + \crefname{remark}{Opmerking}{Opmerkingen}% + \crefname{note}{Aantekening}{Aantekeningen}% + \else% + \crefname{equation}{verg.}{verg's.}% + \crefname{chapter}{hoofdstuk}{hoofdstukken}% + \crefname{section}{paragraaf}{paragrafen}% + \crefname{appendix}{appendix}{appendices}% + \crefname{figure}{fig.}{fig's.}% + \crefname{table}{tabel}{tabellen}% + \crefname{theorem}{theorema}{theorema's}% + \crefname{enumi}{punt}{punten}% + \crefname{lemma}{lemma}{lemma's}% + \crefname{corollary}{corollarium}{corollaria}% + \crefname{proposition}{bewering}{beweringen}% + \crefname{definition}{definitie}{definities}% + \crefname{result}{resultaat}{resultaten}% + \crefname{example}{voorbeeld}{voorbeelden}% + \crefname{remark}{opmerking}{opmerkingen}% + \crefname{note}{aantekening}{aantekeningen}% + \fi% + }}} \DeclareOption{french}{% \PackageInfo{cleveref}{loaded `french' language definitions} \AtBeginDocument{% @@ -3309,7 +3481,7 @@ \csname cref@\@tmpa @name@plural\endcsname}% \expandafter\def\expandafter\@tmpc\expandafter{% \csname cref@\@tmpa @name@plural@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc + \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% }{% \edef\@tmpb{% \expandafter\noexpand\csname extras\cref@language\endcsname}% @@ -3338,7 +3510,7 @@ \csname Cref@\@tmpa @name@plural\endcsname}% \expandafter\def\expandafter\@tmpc\expandafter{% \csname Cref@\@tmpa @name@plural@preamble\endcsname}% - \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc + \expandafter\expandafter\expandafter\let\expandafter\@tmpb\@tmpc% }{% \edef\@tmpb{% \expandafter\noexpand\csname extras\cref@language\endcsname}% -- cgit v1.2.3