|
1147 | 1147 | % \end{macrocode}
|
1148 | 1148 | %
|
1149 | 1149 | % \paragraph{Internal encoding commands.}
|
1150 |
| -% \cs{pdfstringdef} interpretes text strings which are not allowed |
| 1150 | +% \cs{pdfstringdef} interprets text strings which are not allowed |
1151 | 1151 | % to contain mathematical stuff. The text glyph commands will produce
|
1152 | 1152 | % a warning, if called in math mode. But this warning disturbs while
|
1153 | 1153 | % expanding. Therefore we check for math mode here, before
|
|
1158 | 1158 | % If a glyph is used, that isn't in the PD1/PU encoding there will
|
1159 | 1159 | % be an infinite error loop, because the NFSS encoding stuff
|
1160 | 1160 | % have to be expanded unprotected (\cs{edef}), so that the
|
1161 |
| -% assigments of \cs{@changed@cmd} don't take place. |
| 1161 | +% assignments of \cs{@changed@cmd} don't take place. |
1162 | 1162 | % To patch this behaviour I only found \cs{@inmathwarn}
|
1163 | 1163 | % as a usable hook. While an \cs{edef} a warning message by
|
1164 | 1164 | % \cs{@inmathwarn} or \cs{TextSymbolUnavailable} cannot be give out,
|
|
1336 | 1336 | % \end{macrocode}
|
1337 | 1337 | %
|
1338 | 1338 | % \paragraph{Package babel.}
|
1339 |
| -% Whereever ``naturalnames'' is used, disable \cs{textlatin} |
| 1339 | +% Wherever ``naturalnames'' is used, disable \cs{textlatin} |
1340 | 1340 | % (from Babel 3.6k). Thanks to Felix Neubauer
|
1341 | 1341 | % (Email: \Email{Felix.Neubauer@gmx.net}).
|
1342 | 1342 | % \begin{macrocode}
|
|
1520 | 1520 | % it does not expand the font encoding commands. They are
|
1521 | 1521 | % made roboust and protect themselves.
|
1522 | 1522 | % \item[\cs{csname}:] First the string is
|
1523 |
| -% expanded whithin a \cs{csname} and \cs{endcsname}. |
| 1523 | +% expanded within a \cs{csname} and \cs{endcsname}. |
1524 | 1524 | % Then the command name is converted to characters
|
1525 | 1525 | % with catcode 12 by \cs{string} and the first
|
1526 | 1526 | % escape character removed by \cs{@gobble}.
|
|
1539 | 1539 | % \item[\cs{edef}] This version uses this standard form for expansion.
|
1540 | 1540 | % It is stronger than \LaTeX's \cs{protected@edef}.
|
1541 | 1541 | % So the font encoding mechanism works and the glyph commands
|
1542 |
| -% are converted to the correct tokens for PDF strings whith the |
| 1542 | +% are converted to the correct tokens for PDF strings with the |
1543 | 1543 | % definitions of the PD1 encoding.
|
1544 | 1544 | % Because the protecting mechanism of \LaTeX{} doesn't work
|
1545 | 1545 | % within an \cs{edef}, there are situations thinkable where
|
|
1607 | 1607 | % In order to check the tokens we must separate them. This will be
|
1608 | 1608 | % done with \TeX's argument parsing. With this method
|
1609 | 1609 | % we must the following item takes into account, that makes
|
1610 |
| -% makes things a litte more complicate: |
| 1610 | +% makes things a little more complicated: |
1611 | 1611 | % \begin{itemize}
|
1612 | 1612 | % \item \TeX{} does not accept a space as an undelimited argument,
|
1613 | 1613 | % it cancels space tokens while looking for an undelimited
|
|
1691 | 1691 | % \end{macrocode}
|
1692 | 1692 | %
|
1693 | 1693 | % \paragraph{Backslash.}
|
1694 |
| -% The double backslash disturbs parsing octal sequenzes, for |
| 1694 | +% The double backslash disturbs parsing octal sequences, for |
1695 | 1695 | % example in an string like |abc\\051| the sequence \cs{051}
|
1696 | 1696 | % is detected although the second \cs{} belongs to the
|
1697 | 1697 | % first backslash.
|
|
2197 | 2197 | % \end{macro}
|
2198 | 2198 | % \subsubsection{Babel languages}
|
2199 | 2199 | % change 2020-10-10: moved language patches to its own file as a first step
|
2200 |
| -% toward removing them completly. |
| 2200 | +% toward removing them completely. |
2201 | 2201 | % \begin{macrocode}
|
2202 | 2202 | \newif\ifHy@next
|
2203 | 2203 | %</package>
|
|
2738 | 2738 | % \begin{macro}{\HyPsd@XSPACE}
|
2739 | 2739 | % \begin{macro}{\HyPsd@ITALCORR}
|
2740 | 2740 | % \begin{macro}{\HyPsd@GLYPHERR}
|
2741 |
| -% Some commands and informations cannot be utilized before |
| 2741 | +% Some commands and information cannot be utilized before |
2742 | 2742 | % the string expansion and the checking process.
|
2743 | 2743 | % Command names are filtered out, so we need another way
|
2744 | 2744 | % to transport the information: An unusual |#| with catcode
|
|
3165 | 3165 | % \begin{macro}{\HyPsd@RemoveMask}
|
3166 | 3166 | % \cs{HyPsd@RemoveMask} removes the protecting \verb+|+.
|
3167 | 3167 | % It is used by \cs{HyPsd@@ProtectSpacesFi} and by the code in
|
3168 |
| -% \cs{pdfstringdef} that removes the grouping chararcters. |
| 3168 | +% \cs{pdfstringdef} that removes the grouping characters. |
3169 | 3169 | % \begin{macrocode}
|
3170 | 3170 | \def\HyPsd@RemoveMask|#1|\HyPsd@End#2{%
|
3171 | 3171 | \xdef#2{\unexpanded\expandafter{#1}}%
|
|
4707 | 4707 | \ifHy@breaklinks
|
4708 | 4708 | \Hy@WarningNoLine{%
|
4709 | 4709 | You have enabled option `breaklinks'.\MessageBreak
|
4710 |
| - But driver `\Hy@driver.def' does not suppport this.\MessageBreak |
| 4710 | + But driver `\Hy@driver.def' does not support this.\MessageBreak |
4711 | 4711 | Expect trouble with the link areas of broken links%
|
4712 | 4712 | }%
|
4713 | 4713 | \fi
|
|
9528 | 9528 | % All the code is delayed to |\begin{document}|
|
9529 | 9529 | % change 2023-08-13: with a new format it is no longer
|
9530 | 9530 | % needed to handle different |\newlabel|
|
9531 |
| -% definitions. The code can be removed completly later. |
| 9531 | +% definitions. The code can be removed completely later. |
9532 | 9532 | % \begin{macrocode}
|
9533 | 9533 | %<*package>
|
9534 | 9534 | \@ifl@t@r\fmtversion{2023-06-01}{}
|
|
9598 | 9598 | % \section{Title strings}
|
9599 | 9599 | %
|
9600 | 9600 | % If options |pdftitle| and |pdfauthor| are not used,
|
9601 |
| -% these informations for the pdf information dictionary |
| 9601 | +% these data for the pdf information dictionary |
9602 | 9602 | % can be extracted by the \cmd{\title} and \cmd{\author}.
|
9603 | 9603 | % \begin{macrocode}
|
9604 | 9604 | \ifHy@pdfusetitle
|
|
9892 | 9892 | % \begin{macro}{\HyPL@@CheckThePage}
|
9893 | 9893 | % The first check is, is \cmd{\thepage} is defined
|
9894 | 9894 | % such as in \LaTeX, e.\,g.: |\csname @arabic\endcsname\c@page|.
|
9895 |
| -% In the current implemenation the check fails, if there is |
| 9895 | +% In the current implement |
| 9896 | +% ation the check fails, if there is |
9896 | 9897 | % another \cmd{\csname} before.
|
9897 | 9898 | %
|
9898 | 9899 | % The second check tries to detect |\arabic{page}| at the
|
|
9934 | 9935 | % The help macro \cmd{\HyPL@Format} is executed while
|
9935 | 9936 | % a \cmd{\protected@edef} in the second check
|
9936 | 9937 | % method of \cmd{\HyPL@@CheckPage}.
|
9937 |
| -% The first occurences of, for example, |\arabic{page}| is |
| 9938 | +% The first occurrences of, for example, |\arabic{page}| is |
9938 | 9939 | % marked by \cmd{\HyPL@found} that is also defined by
|
9939 | 9940 | % \cmd{\csname}.
|
9940 | 9941 | % \begin{macrocode}
|
|
10284 | 10285 | % a trap to make |\theH<name>| be the same as |\arabic{<name>}|,
|
10285 | 10286 | % if |\theH<name>| is not defined, but this is not necessarily a good idea.
|
10286 | 10287 | % Alternatively, the `naturalnames' option uses whatever \LaTeX\
|
10287 |
| -% provides, which may be useable. But then its up to you to make |
| 10288 | +% provides, which may be usable. But then its up to you to make |
10288 | 10289 | % sure these are legal PDF and HTML names. The `hypertexnames=false' option
|
10289 | 10290 | % just makes up arbitrary names.
|
10290 | 10291 | %
|
|
11227 | 11228 | % \end{macrocode}
|
11228 | 11229 | %
|
11229 | 11230 | % Support for footnotes in p columns of longtable.
|
11230 |
| -% Here \verb+\footnote+ commands are splitted into |
| 11231 | +% Here \verb+\footnote+ commands are split into |
11231 | 11232 | % \verb+\footnotemark+ and a call of \verb+\footnotetext+
|
11232 | 11233 | % with the optional argument, that is not supported
|
11233 | 11234 | % by hyperref. The result is a link by \verb+\footnotemark+
|
|
13126 | 13127 | % \end{macrocode}
|
13127 | 13128 | % \begin{macro}{\Hy@DestName}
|
13128 | 13129 | % Wrap the call of \verb|\pdfdest name| in \cs{Hy@DestName}.
|
13129 |
| -% Then it can easier be catched by package |hypdestopt|. |
| 13130 | +% Then it can easier be caught by package |hypdestopt|. |
13130 | 13131 | % \begin{macrocode}
|
13131 | 13132 | \def\Hy@DestName#1#2{%
|
13132 | 13133 | \pdfdest name{#1}#2\relax
|
|
19030 | 19031 | /Fo<</S/JavaScript/JS(\Hy@escapestring{\Fld@onfocus@code})>>%
|
19031 | 19032 | \fi
|
19032 | 19033 | % \end{macrocode}
|
19033 |
| -% Bl loosing the input focus (blurred) |
| 19034 | +% Bl losing the input focus (blurred) |
19034 | 19035 | % \begin{macrocode}
|
19035 | 19036 | \ifx\Fld@onblur@code\@empty
|
19036 | 19037 | \else
|
|
21102 | 21103 | % \end{macrocode}
|
21103 | 21104 | % The canonical name of U+0138, small letter kra, would be
|
21104 | 21105 | % \cs{textkgreenlandic}, following the glyph naming convention.
|
21105 |
| -% However |latex/base/inputenc.dtx| has choosen \cs{textkra}. |
| 21106 | +% However |latex/base/inputenc.dtx| has chosen \cs{textkra}. |
21106 | 21107 | % \begin{macrocode}
|
21107 | 21108 | % U+0138 LATIN SMALL LETTER KRA; kgreenlandic
|
21108 | 21109 | \DeclareTextCommand{\textkra}{PU}{\81\070}% U+0138
|
|
0 commit comments