diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/varioref.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/tools/varioref.dtx | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/Master/texmf-dist/source/latex/tools/varioref.dtx b/Master/texmf-dist/source/latex/tools/varioref.dtx index 3cf17801dc7..5a1d3375fa0 100644 --- a/Master/texmf-dist/source/latex/tools/varioref.dtx +++ b/Master/texmf-dist/source/latex/tools/varioref.dtx @@ -2,22 +2,22 @@ % % Copyright 1993-2011 % The LaTeX3 Project and any individual authors listed elsewhere -% in this file. -% +% in this file. +% % This file is part of the Standard LaTeX `Tools Bundle'. % ------------------------------------------------------- -% +% % It may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3c or later is part of all distributions of LaTeX +% and version 1.3c or later is part of all distributions of LaTeX % version 2005/12/01 or later. -% +% % The list of all files belonging to the LaTeX `Tools Bundle' is % given in the file `manifest.txt'. -% +% % \fi % \iffalse %% Package varioref to use with LaTeX2e @@ -212,7 +212,7 @@ % \newcommand\amusingversion[2]{% % \vrefpagenum\firstnum{#1}% % \vrefpagenum\secondnum{#2}% -% the definition% +% the definition% % \ifthenelse{\equal\firstnum\secondnum}% % {s of \ref{#1} and \ref{#2} \vpageref{#1}}% % { of \ref{#1} \vpageref{#1} and of \ref{#2} \vpageref{#2}}% @@ -312,7 +312,7 @@ % The package supports all options defined by the babel package to % translate the fixed strings into other languages than English. % (Some languages need updating, however.) -% It also supports languages currently not in babel; +% It also supports languages currently not in babel; % check the section on options later on. % % You can also modify some or all of the strings by redefining the @@ -381,7 +381,7 @@ % \section{Options} % % As mentioned above the package supports all standard options offered -% by the Babel system to customize the strings produced. In addition it +% by the Babel system to customize the strings produced. In addition it % offers the option \texttt{draft} to turn error messages into warnings % during development. The default \texttt{final} produces error message % when a generated string falls onto a page boundary (see next section). @@ -432,7 +432,7 @@ % % The next bit of code contains the documentation driver file for % \TeX{}, i.e., the file that will produce the documentation you are -% currently reading. It will be extracted from this file by the +% currently reading. It will be extracted from this file by the % \texttt{docstrip} program. % \begin{macrocode} %<*driver> @@ -440,7 +440,7 @@ \usepackage{varioref} \GetFileInfo{varioref.sty} \setlength\hfuzz{1pt} % ignore slight overfulls -\EnableCrossrefs +\EnableCrossrefs %\DisableCrossrefs % Say \DisableCrossrefs if index is ready \RecordChanges % Gather update information @@ -477,7 +477,7 @@ %\ProvidesPackage{varioref}[\filedate\space\fileversion\space % LaTeX2e package for extended references (FMi)] % \end{macrocode} -% +% % % \begin{macro}{\vref@addto} % \changes{v1.0b}{1994/01/31}{Avoid using babel `addto} @@ -511,7 +511,7 @@ % \changes{v1.0q}{1995/04/06}{Use `PackageWarning} % \begin{macrocode} \def\vref@excuse#1{% - \PackageWarningNoLine{varioref}{Sorry, language `#1' + \PackageWarningNoLine{varioref}{Sorry, language `#1' not supported% \MessageBreak in this version. @@ -519,7 +519,7 @@ \MessageBreak Please modify \protect\reftext... commands manually.% \MessageBreak\MessageBreak - If you can suggest translations for + If you can suggest translations for this language,% \MessageBreak please mail them @@ -538,7 +538,7 @@ produced by \protect#1\on@line.\MessageBreak English string used instead.\MessageBreak \MessageBreak - If you can suggest translations for + If you can suggest translations for the current\MessageBreak language, please mail them to the author of this\MessageBreak package}} @@ -624,7 +624,7 @@ \def\reftextlabelrange#1#2{\ref{#1} bis~\ref{#2}}% }} % \end{macrocode} -% Text for basque defaults was contributed by +% Text for basque defaults was contributed by % I\~naki Larra\~naga Murgoitio (aka dooteo) % (|<dooteo@euskalgnu.org>|). % \changes{v1.4k}{2005/04/09}{Basque defaults added.} @@ -641,7 +641,7 @@ \def\reftextlabelrange#1#2{\ref{#1}.etik \ref{#2}.eraino}% }} % \end{macrocode} -% Text for the Bahasa Malaysia defaults was contributed by +% Text for the Bahasa Malaysia defaults was contributed by % Bob Margolis 2005-12-02. % % Notes: pada muka surat translates as ``on the page'' though BM has no @@ -665,7 +665,7 @@ \def\reftextlabelrange#1#2{\ref{#1}--\ref{#2}}% }} % \end{macrocode} -% Text for brazil defaults was contributed by +% Text for brazil defaults was contributed by % Alcino Dall Igna Junior\\ % (|adij@di.ufpe.br|). % \changes{v1.0g}{1994/05/18}{Brazil defaults added.} @@ -674,13 +674,13 @@ % \begin{macrocode} \DeclareOption{brazil} {\vref@addto\extrasbrazil{% - \def\reftextfaceafter {na \reftextvario{p\'agina oposta}{pr\'oxima + \def\reftextfaceafter {na \reftextvario{p\'agina oposta}{pr\'oxima p\'agina}}% \def\reftextfacebefore{na p\'agina \reftextvario{oposta}{anterior}}% \def\reftextafter {na \reftextvario{p\'agina seguinte}{pr\'oxima p\'agina}}% \def\reftextbefore{na p\'agina \reftextvario{anterior}{precedente}}% - \def\reftextcurrent {\reftextvario{nesta p\'agina}{na p\'agina + \def\reftextcurrent {\reftextvario{nesta p\'agina}{na p\'agina corrente}}% \def\reftextfaraway#1{na p\'agina~\pageref{#1}}% \def\reftextpagerange#1#2{nas p\'aginas~\pageref{#1}--\pageref{#2}}% @@ -714,29 +714,29 @@ % \begin{macrocode} \DeclareOption{bulgarian}% {\vref@addto\extrasbulgarian{% - \def\reftextfaceafter{\cyrn\cyra\ + \def\reftextfaceafter{\cyrn\cyra\ \reftextvario{\cyrs\cyrery\cyrs\cyre\cyrd\cyrn\cyra\cyrt\cyra}% {\cyrs\cyrl\cyre\cyrd\cyrv\cyra\cyrshch\cyra\cyrt\cyra} \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}% - \def\reftextfacebefore{\cyrn\cyra\ + \def\reftextfacebefore{\cyrn\cyra\ \reftextvario{\cyrs\cyrery\cyrs\cyre\cyrd\cyrn\cyra\cyrt\cyra}% {\cyrp\cyrr\cyre\cyrd\cyrn\cyra\cyrt\cyra} \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}% - \def\reftextafter{\cyrn\cyra\ + \def\reftextafter{\cyrn\cyra\ \reftextvario{\cyrs\cyrl\cyre\cyrd\cyrv\cyra\cyrshch\cyra\cyrt\cyra}% {\cyrs\cyrl\cyre\cyrd\cyrv\cyra\cyrshch\cyra\cyrt\cyra} \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}% - \def\reftextbefore{\cyrn\cyra\ + \def\reftextbefore{\cyrn\cyra\ \reftextvario{\cyrp\cyrr\cyre\cyrd\cyrn\cyra\cyrt\cyra}% {\cyrp\cyrr\cyre\cyrd\cyri\cyrsh\cyrn\cyra\cyrt\cyra} \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}% - \def\reftextcurrent{\cyrn\cyra\ + \def\reftextcurrent{\cyrn\cyra\ \reftextvario{\cyrt\cyra\cyrz\cyri}% {\cyrt\cyre\cyrk\cyru\cyrshch\cyra\cyrt\cyra} \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra}% \def\reftextfaraway#1{\cyrn\cyra\ \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra ~\pageref{#1}}% - \def\reftextpagerange#1#2{\cyrn\cyra\ + \def\reftextpagerange#1#2{\cyrn\cyra\ \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyri ~\pageref{#1}--\pageref{#2}}% \def\reftextlabelrange#1#2{\ref{#1} \cyrd\cyro~\ref{#2}}% @@ -755,12 +755,12 @@ \let\reftextbefore \reftextfacebefore \def\reftextcurrent {en aquesta p\`agina}% \def\reftextfaraway#1{a la p\`agina~\pageref{#1}}% - \def\reftextpagerange#1#2{a les + \def\reftextpagerange#1#2{a les p\`agines~\pageref{#1}--\pageref{#2}}% \def\reftextlabelrange#1#2{\ref{#1} a~\ref{#2}}% }} % \end{macrocode} -% Text for croatian defaults was contributed by Sime Ungar +% Text for croatian defaults was contributed by Sime Ungar % (\verb=ungar@math.hr=). % \changes{v1.4p}{2006/05/13}{Added defaults for croatian} % \begin{macrocode} @@ -794,7 +794,7 @@ }} % \end{macrocode} % Defaults for Danish provided by Torsten Martinsen -% (\verb=tmar91@kom.auc.dk=). Further defaults by Ole Laursen +% (\verb=tmar91@kom.auc.dk=). Further defaults by Ole Laursen % (\verb=olau@hardworking.dk=). % \changes{v1.0n}{1994/09/25}{Added Danish defaults} % \changes{v1.2h}{2000/12/30}{Updates to Danish defaults} @@ -843,7 +843,7 @@ % \end{macrocode} % Concerning the next defaults I received the following comment by % Frederik Fouvry \texttt{<fouvry@coli.uni-sb.de>}: -% ``In the Dutch options (where I can exert a proper language +% ``In the Dutch options (where I can exert a proper language % judgement ;-), `t/m' is not used in formal (scientific) texts. I % would either use `--' or `tot en met' (the abbreviation written % out). '' @@ -871,16 +871,16 @@ \def\reftextlabelrange#1#2{\ref{#1} to~\ref{#2}}% }} % \end{macrocode} -% +% % The esperanto strings were suggested by Albert Reiner % (\verb=areiner@tph.tuwien.ac.at=). % \changes{v1.4x}{2010/08/04}{Defaults for esperanto added} % \begin{macrocode} \DeclareOption{esperanto} {\vref@addto\extrasesperanto{% - \def\reftextfaceafter{en la + \def\reftextfaceafter{en la \reftextvario{flanka}{sekva} pa\^go}% - \def\reftextfacebefore{en la + \def\reftextfacebefore{en la \reftextvario{flanka}{anta\u ua} pa\^go}% \def\reftextafter{en la sekva pa\^go}% \def\reftextbefore{en la anta\u ua pa\^go}% @@ -892,7 +892,7 @@ }} % \end{macrocode} % The finnish strings were suggested by Matti Rintala -% (\verb=bitti@cs.tut.fi=) and Hillevi Gavel +% (\verb=bitti@cs.tut.fi=) and Hillevi Gavel % \verb=Hillevi.Gavel@mdh.se=. % \changes{v1.0m}{1994/09/23}{Added finnish strings} % \changes{v1.4o}{2005/11/07}{Added a few more finnish strings} @@ -911,10 +911,10 @@ % \end{macrocode} % Can't combine numbers with the necessary suffix well. % \begin{macrocode} - \def\reftextlabelrange#1#2{\ref{#1}--\ref{#2}}% + \def\reftextlabelrange#1#2{\ref{#1}--\ref{#2}}% }} % \end{macrocode} -% French defaults are provided by Daniel Flippo +% French defaults are provided by Daniel Flippo % (\verb=Daniel.Flipo@univ-lille1.fr=). % \changes{v1.0j}{1994/06/21}{Added french defaults} % \changes{v1.2a}{1998/08/22}{Added french defaults for @@ -949,7 +949,7 @@ \def\reftextfaraway#1{na p\'axina~\pageref{#1}}% \def\reftextpagerange#1#2{% nas p\'axinas~\pageref{#1}-\pageref{#2}}% - \def\reftextlabelrange#1#2{\ref{#1} a~\ref{#2}}% + \def\reftextlabelrange#1#2{\ref{#1} a~\ref{#2}}% }} % \end{macrocode} % There are no good variants for German (I think and still think but @@ -966,11 +966,11 @@ % \def\reftextfacebefore {auf der \reftextvario % {gegen\"uberliegenden}{anderen} Seite}% % \def\reftextafter {auf der \reftextvario -% {n\"achsten}{folgenden} Seite}% +% {n\"achsten}{folgenden} Seite}% % \def\reftextbefore {auf der \reftextvario % {vorigen}{vorhergehenden} Seite}% % \def\reftextcurrent {\reftextvario -% {auf dieser}{diese} Seite}% +% {auf dieser}{diese} Seite}% %\end{verbatim} % \changes{v1.4n}{2005/07/24}{Small change} % \begin{macrocode} @@ -1048,7 +1048,7 @@ % \changes{v1.2a}{1998/08/22}{Removed incorrect warning} % \changes{v1.4k}{2004/10/30}{Added missing defaults supplied by Lapo Mori} % \changes{v1.4n}{2005/07/24}{Small change} -% \changes{v1.4u}{2009/03/21}{Correction for \cs{reftextfaraway} suggested +% \changes{v1.4u}{2009/03/21}{Correction for \cs{reftextfaraway} suggested % by Lorenzo Pantieri} % \begin{macrocode} \DeclareOption{italian} @@ -1066,7 +1066,7 @@ \def\reftextlabelrange#1#2{da~\ref{#1} a~\ref{#2}}% }} % \end{macrocode} -% Defaults for Hungarian by Jeff Goldberg +% Defaults for Hungarian by Jeff Goldberg % (\verb=jeffrey@goldmark.org=). % There is a problem with the use of the definite article % \textit{a} or \textit{az} in Hungarian before expansions @@ -1103,7 +1103,7 @@ % --\pageref{#2}.~ol\-da\-la\-kon}% % \def\reftextlabelrange#1#2{{}\csname @@magyar@told\endcsname\ref{#1}+tol % \ref{#2}-ig}% Dat: `{}' is here for anti-\capitalize -%\end{verbatim} +%\end{verbatim} % \begin{macrocode} \def\reftextfaraway#1{\aza{\pageref{#1}} \pageref{#1}.~ol\-da\-lon}% \def\reftextpagerange#1#2{\vref@stringwarning\reftextpagerange @@ -1166,7 +1166,7 @@ % The polish translations have been provided by % Tomasz Michniewski \\ % \verb=<tomekm@ias.wat.waw.pl>=. -% The use of the command \verb=\eob= and \verb=aob= etc.\ +% The use of the command \verb=\eob= and \verb=aob= etc.\ % requires appropriate definitions as provided, for example, by % the babel system. This should probably be handled differently % but it would require modifications in babel's language support. @@ -1198,7 +1198,7 @@ % \begin{macrocode} \DeclareOption{portuges} {\vref@addto\extrasportuges{% - \def\reftextfaceafter {na \reftextvario{p\'agina ao lado}{pr\'oxima + \def\reftextfaceafter {na \reftextvario{p\'agina ao lado}{pr\'oxima p\'agina}}% \def\reftextfacebefore{na p\'agina \reftextvario{ao lado}{anterior}}% \def\reftextafter {na \reftextvario{p\'agina seguinte}{pr\'oxima @@ -1228,7 +1228,7 @@ % \end{macrocode} % The text for russian was taken from the book in Russian by % I.~A.~Kotelnikov and P.~Z.~Chebotaev, and adapted -% to the encoding-independent form by Vladimir Volovich +% to the encoding-independent form by Vladimir Volovich % (\verb=vvv@vsu.ru=). % \changes{v1.2a}{1998/11/23}{Added russion strings} % \changes{v1.2a}{1998/11/24}{Added defaults for @@ -1242,7 +1242,7 @@ \cyrr\cyra\cyrn\cyri\cyrc\cyre}% \def\reftextfacebefore{\cyrn\cyra\ \reftextvario{\cyrp\cyrr\cyro \cyrt\cyri\cyrv\cyro\cyrp\cyro\cyrl\cyro\cyrzh\cyrn\cyro\cyrishrt}% - {\cyrp\cyrr\cyre\cyrd\cyrery\cyrd\cyru\cyrshch\cyre\cyrishrt}\ + {\cyrp\cyrr\cyre\cyrd\cyrery\cyrd\cyru\cyrshch\cyre\cyrishrt}\ \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyre}% \def\reftextafter{\cyrn\cyra\ \cyrs\cyrl\cyre\cyrd\cyru\cyryu\cyrshch \cyre\cyrishrt\ \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyre}% @@ -1332,7 +1332,7 @@ \def\reftextbefore {p\aa\ f\"{o}reg\aa ende sida}% \def\reftextcurrent {p\aa\ denna sida}% \def\reftextfaraway#1{p\aa\ sidan~\pageref{#1}}% - \def\reftextpagerange#1#2{p\aa\ + \def\reftextpagerange#1#2{p\aa\ sidorna~\pageref{#1}--\pageref{#2}}% \def\reftextlabelrange#1#2{\ref{#1} till~\ref{#2}}% }} @@ -1393,8 +1393,8 @@ % \end{macro} % \end{macro} % -% During document preparation errors due to |\vref| are usually of -% not much interest. For this reason the draft option turns them into +% During document preparation errors due to |\vref| are usually of +% not much interest. For this reason the draft option turns them into % warnings by issuing a |\vrefwarning| command. The final option % (default) stops with an error message when varioref detects a possible % loop. @@ -1468,7 +1468,7 @@ \let\vref@space\space % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\@vpageref} % More parsing\ldots % \begin{macrocode} @@ -1767,7 +1767,7 @@ % \begin{macrocode} \def\vrefshowerrors{\def\vref@err##1{\PackageError{varioref}{##1}% {Please check the pages in question. You might need to replace - the \string\vref\MessageBreak + the \string\vref\MessageBreak or \noexpand\vpageref by a normal \noexpand\(page)ref to stop LaTeX running forever.}}} % \end{macrocode} @@ -1792,7 +1792,7 @@ \def\vr@f#1{% % \end{macrocode} % The use of|\nobreakspace| or |~| after the |\unskip| means that -% this command will always produce a normal space while +% this command will always produce a normal space while % something like |\nobreak\space| will % react to settings of |\nonfrenchspacing|. % Unfortunately the latter will also act in cases where one really @@ -1896,7 +1896,7 @@ % \subsubsection{Supporting ranges} % % \begin{macro}{\vref@pagenum} -% \changes{v1.2a}{1998/08/01}{Macro added} +% \changes{v1.2a}{1998/08/01}{Macro added} % This command takes a label as |#1| extracts the page number % associated with it and saves the result in a csname which is % passed as |#1|. If the label isn't associated with a page number @@ -1917,7 +1917,7 @@ % if the label contained active characters, e.g., a ``:'' in French. So now % we use even more |\expandafter| commands to avoid any expansion other % than what is absolutely required---I'm sure there is now a simpler way -% to code this, but \ldots\ in fact we didn't use enough initially resulting in another +% to code this, but \ldots\ in fact we didn't use enough initially resulting in another % bug (pr/4159): % \changes{v1.4w}{2009/09/13}{Use \cs{protected@edef} to avoid problems % in complicated setups, e.g., microtype (pr/4080)} @@ -1942,7 +1942,7 @@ % \begin{macrocode} \def\vrefpagenum#1#2{% \@ifundefined{r@#2}% - {\G@refundefinedtrue + {\G@refundefinedtrue \@latex@warning{Reference `#2' on page \thepage \space undefined}}{}% \vref@pagenum{#1}{#2}} @@ -2057,7 +2057,7 @@ % letter) one has to surround everything that needs uppercasing in % a brace group in the definition of |\labelformat|.\footnote{There % is one problem with this approach: the braces are kept in a -% normal \texttt{\textbackslash ref} which might spoil kerning. +% normal \texttt{\textbackslash ref} which might spoil kerning. % Perhaps one day this needs redoing.} % \begin{macrocode} \DeclareRobustCommand\Ref[1]{\protected@edef\@tempa{\ref{#1}}% |