Skip to content

Commit b85e851

Browse files
committed
correct typos (from PR #339)
1 parent 9b6f7a9 commit b85e851

File tree

8 files changed

+49
-45
lines changed

8 files changed

+49
-45
lines changed

ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-21 Ulrike Fischer/Matthew Bertucci
2+
* nameref, backref, xrhyper, hyperref, hyperref-doc: correct typos
3+
14
2025-06-20 Ulrike Fischer
25
* hyperref.dtx: test if \ifmeasuring@ already exists, tagging-project issue #920
36

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ A bug report should contain:
9898
* Used drivers/programs.
9999
* Version information about used packages and programs.
100100
* If you are using LaTeX, then add "`\listfiles`". Then
101-
a list of version informations is printed at the end
101+
a list of version information is printed at the end
102102
of the LaTeX run.
103103
* Please no other files than the minimal test file.
104104
The other files .log, .dvi, .ps, .pdf are seldom necessary,

backref.dtx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%% File: backref.dtx
33
%% Copyright (C) 1995-2000 David Carlisle, Sebastian Rahtz, Heiko Oberdiek
44
%% 2001-2012 Heiko Oberdiek
5-
%% 2016-2019 Oberdiek Package Suport Group
5+
%% 2016-2019 Oberdiek Package Support Group
66
%% 2019-2025 The LaTeX Project
77
%% https://github.com/latex3/hyperref/issues
88
%%
@@ -32,7 +32,7 @@
3232
%<driver>\ProvidesFile{backref.drv}
3333
% \fi
3434
% \ProvidesFile{backref.dtx}
35-
[2023-11-26 v1.44 Bibliographical back referencing]%
35+
[2025-06-21 v1.45 Bibliographical back referencing]%
3636
%
3737
%
3838
% \iffalse
@@ -211,7 +211,7 @@
211211
% Macro \cmd{\backref} has a a comma separated
212212
% list of backref references as first and only argument.
213213
% With hyperref options only this list will be printed. Without
214-
% hyperref there is an introductionary text, controlled by
214+
% hyperref there is an introductory text, controlled by
215215
% macros \cmd{\backrefpagesname} or \cmd{\backrefsectionsname}.
216216
%
217217
% \subsubsection{Formatting hook \cs{backrefalt}}
@@ -597,8 +597,8 @@
597597
% \subsection{Reading .brf file}
598598
%
599599
% \begin{macro}{\backcite}
600-
% The file |\jobname.brf| collects the back cite informations
601-
% as calls of \cmd{\backcite} with the informations
600+
% The file |\jobname.brf| collects the back cite information
601+
% as calls of \cmd{\backcite} with the information
602602
% in the arguments.
603603
%
604604
% The first argument of macro \cmd{\backcite} is the citation
@@ -611,8 +611,8 @@
611611
%\backcite {bib:abc}{{1}{2}{section.2}}
612612
%\end{verbatim}
613613
%
614-
% While the file |\jobname.brf| is read, the informations are
615-
% collected and stored in macros whose names are build by the
614+
% While the file |\jobname.brf| is read, the information are
615+
% collected and stored in macros whose names are built by the
616616
% citation label \meta{label}:
617617
% \begin{quote}
618618
% \begin{tabular}{@{}ll@{}}
@@ -874,7 +874,7 @@
874874
% \end{macrocode}
875875
% \end{macro}
876876
%
877-
% \subsection{Collecting back cite informations}
877+
% \subsection{Collecting back cite information}
878878
%
879879
% \begin{macro}{\BR@citex}
880880
% \begin{macrocode}

doc/hyperref-doc.tex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
bookmarksnumbered,
149149
pdfusetitle,%
150150
]{hyperref}
151-
%%?? \def\pdfBorderAttrs{/Border [0 0 0] } % No border arround Links
151+
%%?? \def\pdfBorderAttrs{/Border [0 0 0] } % No border around Links
152152
\else
153153
\usepackage{hyperref}
154154
\fi
@@ -457,8 +457,8 @@ \subsection{Links commands}
457457
\subsection{Creating targets}
458458

459459
Internal links and bookmarks need something they can jump to. In a PDF this is normally called
460-
a \emph{destination} (and the primitive is therefor called \cs{pdfdest}), in HTML it is more
461-
common to call this an \emph{anchor} (and the \xpackage{hyperref} uses therefor \cs{hyper@anchor}).
460+
a \emph{destination} (and the primitive is therefore called \cs{pdfdest}), in HTML it is more
461+
common to call this an \emph{anchor} (and the \xpackage{hyperref} uses therefore \cs{hyper@anchor}).
462462
History can not be undone but future commands and descriptions will use the generic
463463
\emph{target} unless the PDF specific destination is meant.
464464

@@ -532,7 +532,7 @@ \subsection{Patches and how to suppress them}
532532
Check the \xpackage{nameref} documentation about a way to suppress these patches.
533533
\end{itemize}
534534

535-
\item[footnotes] To enable (partly) the linking of footnotes \xpackage{hyperref} redefines or patches various commands, in part package dependant.
535+
\item[footnotes] To enable (partly) the linking of footnotes \xpackage{hyperref} redefines or patches various commands, in part package dependent.
536536
\begin{itemize}
537537
\item \xpackage{hyperref} redefines \cs{@xfootnotenext}, \cs{@xfootnotemark}, \cs{@mpfootnotetext},
538538
\cs{@footnotetext}, \cs{@footnotemark}.
@@ -838,7 +838,7 @@ \subsection{Page anchors}
838838
\item[\texttt{pageanchor}] A boolean option that determines whether every page is given an target at the top left corner. If this is turned off, \verb|\printindex| will not contain valid hyperlinks.
839839
\item[\texttt{hypertexnames}] By default the targets have names built with \cs{thepage}: \verb|page.\thepage|, so e.g., \texttt{page.4} or \texttt{page.iii}. The names require that every page as an unique number representation. A frequent problem here is with title pages which often don't show page numbers but internally use the same number as a following page. If you get messages about \texttt{destination with the same identifier (name{page.1})}, change the number representation of title pages or disable the page target.
840840

841-
If the boolean option \texttt{hypertexnames} is set to false, an internal page counter is stepped and used as arabic number. In most cases this should mean that you get the absolute page number (exceptions could be with documents throwing away or duplicating pages at shipout). This option avoids the problem with duplicated identifiers, but does not work with an index, as the backlinks have to be created from the represention passed to the index.
841+
If the boolean option \texttt{hypertexnames} is set to false, an internal page counter is stepped and used as arabic number. In most cases this should mean that you get the absolute page number (exceptions could be with documents throwing away or duplicating pages at shipout). This option avoids the problem with duplicated identifiers, but does not work with an index, as the backlinks have to be created from the representation passed to the index.
842842
\item[\texttt{plainpages}] This forces page anchors to be named by the arabic form, but unlike the previous option it does not use an internal counter but the page counter. That means if you have for example roman and arabic pages you will get duplicated target names as page i and page 1 both set the anchor \texttt{page.1}.
843843
\end{description}
844844

@@ -1780,7 +1780,7 @@ \subsection{Utility macros}
17801780
\begin{verbatim}
17811781
\hypersetup{
17821782
pdfstartview={FitBH \hypercalcbp{\paperheight-\topmargin-1in
1783-
-\headheight-\headsep}
1783+
-\headheight-\headsep}}
17841784
}
17851785
\end{verbatim}
17861786
\end{quote}
@@ -2080,7 +2080,7 @@ \subsection{Customizing index style file with \textbackslash nohyperpage}
20802080
Customized versions of
20812081
\verb|delim_r, delim_n, suffix_2p, suffix_3p, suffix_mp|
20822082
needs markup that \verb|\hyperpage| can detect and knows that
2083-
this stuff does not belong to a page number. Makro
2083+
this stuff does not belong to a page number. Macro
20842084
\verb|\nohyperpage| serves as this markup. Put the customized
20852085
code for these keys inside \verb|\nohyperpage|, e.g.:
20862086
\begin{verbatim}
@@ -2120,7 +2120,7 @@ \subsection{Option `pdfa'}
21202120
The new option `pdfa' tries to avoid violations of PDF/A in code
21212121
generated by \xpackage{hyperref}. However, the result is usually not in PDF/A,
21222122
because many features aren't controlled by \xpackage{hyperref} (XMP metadata,
2123-
fonts, colors, driver dependend low level stuff, ...).
2123+
fonts, colors, driver dependent low level stuff, ...).
21242124

21252125

21262126

@@ -3115,7 +3115,7 @@ \subsubsection{nomencl}
31153115
\subsubsection{ntheorem}
31163116

31173117
This package is not fully supported. The \texttt{thref} option should not be used at all as
3118-
it breaks the \verb+\label+ command. It also not garantied that links to theorems always work
3118+
it breaks the \verb+\label+ command. It also not guaranteed that links to theorems always work
31193119
properly as the package redefines many internals and but offers no proper interface for hyperlinks.
31203120

31213121

@@ -3577,7 +3577,7 @@ \section{History and acknowledgments}
35773577
\hologo{LaTeX}. I would like to thank Arthur Smith, Tanmoy Bhattacharya, Mark
35783578
Doyle, Paul Ginsparg, David Carlisle, T.\ V.\ Raman and Leslie Lamport
35793579
for comments, requests, thoughts and code to get the package into its
3580-
first useable state. Various other people are mentioned at the point in
3580+
first usable state. Various other people are mentioned at the point in
35813581
the source where I had to change the code in later versions because of
35823582
problems they found.
35833583

hyperref-linktarget.dtx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
% option \texttt{localanchorname} is ignored.} in \cs{@currentHref} and used for example in the
8787
% next \cs{label}.
8888
% A target name must be unique across a document. It is up to the users and package
89-
% authors to ensure this by following the advices given below.
89+
% authors to ensure this by following the advice given below.
9090
%
9191
% \begin{doccomment}
9292
% A global \cs{@currentHref} means that the target name and
@@ -154,7 +154,7 @@
154154
% target if it doesn't exist.
155155
% Be aware that if \pkg{hyperref} is used with the option \texttt{implicit=false} it
156156
% does not predefine and create \cs{theH\meta{counter}} representations
157-
% so targets could be missing!\footnote{It is planed that \LaTeX{} directly defines
157+
% so targets could be missing!\footnote{It is planned that \LaTeX{} directly defines
158158
% the \cs{theH\meta{counter}} for all counters created with \cs{newcounter}.}
159159
%
160160
%

hyperref.dtx

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@
11471147
% \end{macrocode}
11481148
%
11491149
% \paragraph{Internal encoding commands.}
1150-
% \cs{pdfstringdef} interpretes text strings which are not allowed
1150+
% \cs{pdfstringdef} interprets text strings which are not allowed
11511151
% to contain mathematical stuff. The text glyph commands will produce
11521152
% a warning, if called in math mode. But this warning disturbs while
11531153
% expanding. Therefore we check for math mode here, before
@@ -1158,7 +1158,7 @@
11581158
% If a glyph is used, that isn't in the PD1/PU encoding there will
11591159
% be an infinite error loop, because the NFSS encoding stuff
11601160
% 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.
11621162
% To patch this behaviour I only found \cs{@inmathwarn}
11631163
% as a usable hook. While an \cs{edef} a warning message by
11641164
% \cs{@inmathwarn} or \cs{TextSymbolUnavailable} cannot be give out,
@@ -1336,7 +1336,7 @@
13361336
% \end{macrocode}
13371337
%
13381338
% \paragraph{Package babel.}
1339-
% Whereever ``naturalnames'' is used, disable \cs{textlatin}
1339+
% Wherever ``naturalnames'' is used, disable \cs{textlatin}
13401340
% (from Babel 3.6k). Thanks to Felix Neubauer
13411341
% (Email: \Email{Felix.Neubauer@gmx.net}).
13421342
% \begin{macrocode}
@@ -1520,7 +1520,7 @@
15201520
% it does not expand the font encoding commands. They are
15211521
% made roboust and protect themselves.
15221522
% \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}.
15241524
% Then the command name is converted to characters
15251525
% with catcode 12 by \cs{string} and the first
15261526
% escape character removed by \cs{@gobble}.
@@ -1539,7 +1539,7 @@
15391539
% \item[\cs{edef}] This version uses this standard form for expansion.
15401540
% It is stronger than \LaTeX's \cs{protected@edef}.
15411541
% 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
15431543
% definitions of the PD1 encoding.
15441544
% Because the protecting mechanism of \LaTeX{} doesn't work
15451545
% within an \cs{edef}, there are situations thinkable where
@@ -1607,7 +1607,7 @@
16071607
% In order to check the tokens we must separate them. This will be
16081608
% done with \TeX's argument parsing. With this method
16091609
% we must the following item takes into account, that makes
1610-
% makes things a litte more complicate:
1610+
% makes things a little more complicated:
16111611
% \begin{itemize}
16121612
% \item \TeX{} does not accept a space as an undelimited argument,
16131613
% it cancels space tokens while looking for an undelimited
@@ -1691,7 +1691,7 @@
16911691
% \end{macrocode}
16921692
%
16931693
% \paragraph{Backslash.}
1694-
% The double backslash disturbs parsing octal sequenzes, for
1694+
% The double backslash disturbs parsing octal sequences, for
16951695
% example in an string like |abc\\051| the sequence \cs{051}
16961696
% is detected although the second \cs{} belongs to the
16971697
% first backslash.
@@ -2197,7 +2197,7 @@
21972197
% \end{macro}
21982198
% \subsubsection{Babel languages}
21992199
% 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.
22012201
% \begin{macrocode}
22022202
\newif\ifHy@next
22032203
%</package>
@@ -2738,7 +2738,7 @@
27382738
% \begin{macro}{\HyPsd@XSPACE}
27392739
% \begin{macro}{\HyPsd@ITALCORR}
27402740
% \begin{macro}{\HyPsd@GLYPHERR}
2741-
% Some commands and informations cannot be utilized before
2741+
% Some commands and information cannot be utilized before
27422742
% the string expansion and the checking process.
27432743
% Command names are filtered out, so we need another way
27442744
% to transport the information: An unusual |#| with catcode
@@ -3165,7 +3165,7 @@
31653165
% \begin{macro}{\HyPsd@RemoveMask}
31663166
% \cs{HyPsd@RemoveMask} removes the protecting \verb+|+.
31673167
% 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.
31693169
% \begin{macrocode}
31703170
\def\HyPsd@RemoveMask|#1|\HyPsd@End#2{%
31713171
\xdef#2{\unexpanded\expandafter{#1}}%
@@ -4707,7 +4707,7 @@
47074707
\ifHy@breaklinks
47084708
\Hy@WarningNoLine{%
47094709
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
47114711
Expect trouble with the link areas of broken links%
47124712
}%
47134713
\fi
@@ -9528,7 +9528,7 @@
95289528
% All the code is delayed to |\begin{document}|
95299529
% change 2023-08-13: with a new format it is no longer
95309530
% needed to handle different |\newlabel|
9531-
% definitions. The code can be removed completly later.
9531+
% definitions. The code can be removed completely later.
95329532
% \begin{macrocode}
95339533
%<*package>
95349534
\@ifl@t@r\fmtversion{2023-06-01}{}
@@ -9598,7 +9598,7 @@
95989598
% \section{Title strings}
95999599
%
96009600
% If options |pdftitle| and |pdfauthor| are not used,
9601-
% these informations for the pdf information dictionary
9601+
% these data for the pdf information dictionary
96029602
% can be extracted by the \cmd{\title} and \cmd{\author}.
96039603
% \begin{macrocode}
96049604
\ifHy@pdfusetitle
@@ -9892,7 +9892,8 @@
98929892
% \begin{macro}{\HyPL@@CheckThePage}
98939893
% The first check is, is \cmd{\thepage} is defined
98949894
% 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
98969897
% another \cmd{\csname} before.
98979898
%
98989899
% The second check tries to detect |\arabic{page}| at the
@@ -9934,7 +9935,7 @@
99349935
% The help macro \cmd{\HyPL@Format} is executed while
99359936
% a \cmd{\protected@edef} in the second check
99369937
% 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
99389939
% marked by \cmd{\HyPL@found} that is also defined by
99399940
% \cmd{\csname}.
99409941
% \begin{macrocode}
@@ -10284,7 +10285,7 @@
1028410285
% a trap to make |\theH<name>| be the same as |\arabic{<name>}|,
1028510286
% if |\theH<name>| is not defined, but this is not necessarily a good idea.
1028610287
% 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
1028810289
% sure these are legal PDF and HTML names. The `hypertexnames=false' option
1028910290
% just makes up arbitrary names.
1029010291
%
@@ -11227,7 +11228,7 @@
1122711228
% \end{macrocode}
1122811229
%
1122911230
% Support for footnotes in p columns of longtable.
11230-
% Here \verb+\footnote+ commands are splitted into
11231+
% Here \verb+\footnote+ commands are split into
1123111232
% \verb+\footnotemark+ and a call of \verb+\footnotetext+
1123211233
% with the optional argument, that is not supported
1123311234
% by hyperref. The result is a link by \verb+\footnotemark+
@@ -13126,7 +13127,7 @@
1312613127
% \end{macrocode}
1312713128
% \begin{macro}{\Hy@DestName}
1312813129
% 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|.
1313013131
% \begin{macrocode}
1313113132
\def\Hy@DestName#1#2{%
1313213133
\pdfdest name{#1}#2\relax
@@ -19030,7 +19031,7 @@
1903019031
/Fo<</S/JavaScript/JS(\Hy@escapestring{\Fld@onfocus@code})>>%
1903119032
\fi
1903219033
% \end{macrocode}
19033-
% Bl loosing the input focus (blurred)
19034+
% Bl losing the input focus (blurred)
1903419035
% \begin{macrocode}
1903519036
\ifx\Fld@onblur@code\@empty
1903619037
\else
@@ -21102,7 +21103,7 @@
2110221103
% \end{macrocode}
2110321104
% The canonical name of U+0138, small letter kra, would be
2110421105
% \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}.
2110621107
% \begin{macrocode}
2110721108
% U+0138 LATIN SMALL LETTER KRA; kgreenlandic
2110821109
\DeclareTextCommand{\textkra}{PU}{\81\070}% U+0138

nameref.dtx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%% Copyright (C) 1995-1999 Sebastian Rahtz
44
%% 2000 Sebastian Rahtz, Heiko Oberdiek
55
%% 2001-2012 Heiko Oberdiek
6-
%% 2016-2019 Oberdiek Package Suport Group
6+
%% 2016-2019 Oberdiek Package Support Group
77
%% 2019-2025 The LaTeX Project
88
%% https://github.com/latex3/hyperref/issues
99
%%
@@ -33,7 +33,7 @@
3333
%<driver>\ProvidesFile{nameref.drv}
3434
% \fi
3535
% \ProvidesFile{nameref.dtx}
36-
[2023-11-26 v2.56 Cross-referencing by name of section]%
36+
[2025-06-21 v2.57 Cross-referencing by name of section]%
3737
%
3838
%
3939
% \iffalse
@@ -234,7 +234,7 @@
234234
%
235235
% \begin{macro}{\strip@period}
236236
% Macro \cs{strip@period} was removed in \xpackage{nameref}
237-
% 2012/07/28 v2.41 and reinserted in 2012/07/31 v2.42 for compatibilty
237+
% 2012/07/28 v2.41 and reinserted in 2012/07/31 v2.42 for compatibility
238238
% reasons with package \xpackage{subfig}.
239239
% \begin{macrocode}
240240
\def\strip@period#1.\relax#2\@@@{#1}

xr-hyper.dtx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
%
7474
% \changes{v7.00z}{2023-05-15}
7575
% {unified and simplified the brace handling: all defined references have now
76-
% five brace groups. Together with the planed change in LaTeX 2023-06-01 this
76+
% five brace groups. Together with the planned change in LaTeX 2023-06-01 this
7777
% will improve the combination of hyperref/non-hyperref documents.}
7878
%
7979
% \changes{v7.01g}{2023-11-26}

0 commit comments

Comments
 (0)