Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small typo fixes #339

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ A bug report should contain:
* Used drivers/programs.
* Version information about used packages and programs.
* If you are using LaTeX, then add "`\listfiles`". Then
a list of version informations is printed at the end
a list of version information is printed at the end
of the LaTeX run.
* Please no other files than the minimal test file.
The other files .log, .dvi, .ps, .pdf are seldom necessary,
Expand Down
14 changes: 7 additions & 7 deletions backref.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%% File: backref.dtx
%% Copyright (C) 1995-2000 David Carlisle, Sebastian Rahtz, Heiko Oberdiek
%% 2001-2012 Heiko Oberdiek
%% 2016-2019 Oberdiek Package Suport Group
%% 2016-2019 Oberdiek Package Support Group
%% 2019-2024 The LaTeX Project
%% https://github.com/latex3/hyperref/issues
%%
Expand Down Expand Up @@ -211,7 +211,7 @@
% Macro \cmd{\backref} has a a comma separated
% list of backref references as first and only argument.
% With hyperref options only this list will be printed. Without
% hyperref there is an introductionary text, controlled by
% hyperref there is an introductory text, controlled by
% macros \cmd{\backrefpagesname} or \cmd{\backrefsectionsname}.
%
% \subsubsection{Formatting hook \cs{backrefalt}}
Expand Down Expand Up @@ -597,8 +597,8 @@
% \subsection{Reading .brf file}
%
% \begin{macro}{\backcite}
% The file |\jobname.brf| collects the back cite informations
% as calls of \cmd{\backcite} with the informations
% The file |\jobname.brf| collects the back cite information
% as calls of \cmd{\backcite} with the information
% in the arguments.
%
% The first argument of macro \cmd{\backcite} is the citation
Expand All @@ -611,8 +611,8 @@
%\backcite {bib:abc}{{1}{2}{section.2}}
%\end{verbatim}
%
% While the file |\jobname.brf| is read, the informations are
% collected and stored in macros whose names are build by the
% While the file |\jobname.brf| is read, the information is
% collected and stored in macros whose names are built by the
% citation label \meta{label}:
% \begin{quote}
% \begin{tabular}{@{}ll@{}}
Expand Down Expand Up @@ -874,7 +874,7 @@
% \end{macrocode}
% \end{macro}
%
% \subsection{Collecting back cite informations}
% \subsection{Collecting back cite information}
%
% \begin{macro}{\BR@citex}
% \begin{macrocode}
Expand Down
18 changes: 9 additions & 9 deletions doc/hyperref-doc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
bookmarksnumbered,
pdfusetitle,%
]{hyperref}
%%?? \def\pdfBorderAttrs{/Border [0 0 0] } % No border arround Links
%%?? \def\pdfBorderAttrs{/Border [0 0 0] } % No border around Links
\else
\usepackage{hyperref}
\fi
Expand Down Expand Up @@ -457,8 +457,8 @@ \subsection{Links commands}
\subsection{Creating targets}

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

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

\item[footnotes] To enable (partly) the linking of footnotes \xpackage{hyperref} redefines or patches various commands, in part package dependant.
\item[footnotes] To enable (partly) the linking of footnotes \xpackage{hyperref} redefines or patches various commands, in part package dependent.
\begin{itemize}
\item \xpackage{hyperref} redefines \cs{@xfootnotenext}, \cs{@xfootnotemark}, \cs{@mpfootnotetext},
\cs{@footnotetext}, \cs{@footnotemark}.
Expand Down Expand Up @@ -838,7 +838,7 @@ \subsection{Page anchors}
\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.
\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.

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.
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.
\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}.
\end{description}

Expand Down Expand Up @@ -2080,7 +2080,7 @@ \subsection{Customizing index style file with \textbackslash nohyperpage}
Customized versions of
\verb|delim_r, delim_n, suffix_2p, suffix_3p, suffix_mp|
needs markup that \verb|\hyperpage| can detect and knows that
this stuff does not belong to a page number. Makro
this stuff does not belong to a page number. Macro
\verb|\nohyperpage| serves as this markup. Put the customized
code for these keys inside \verb|\nohyperpage|, e.g.:
\begin{verbatim}
Expand Down Expand Up @@ -2120,7 +2120,7 @@ \subsection{Option `pdfa'}
The new option `pdfa' tries to avoid violations of PDF/A in code
generated by \xpackage{hyperref}. However, the result is usually not in PDF/A,
because many features aren't controlled by \xpackage{hyperref} (XMP metadata,
fonts, colors, driver dependend low level stuff, ...).
fonts, colors, driver dependent low level stuff, ...).



Expand Down Expand Up @@ -3115,7 +3115,7 @@ \subsubsection{nomencl}
\subsubsection{ntheorem}

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


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

Expand Down
4 changes: 2 additions & 2 deletions hyperref-linktarget.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
% option \texttt{localanchorname} is ignored.} in \cs{@currentHref} and used for example in the
% next \cs{label}.
% A target name must be unique across a document. It is up to the users and package
% authors to ensure this by following the advices given below.
% authors to ensure this by following the advice given below.
%
% \begin{doccomment}
% A global \cs{@currentHref} means that the target name and
Expand Down Expand Up @@ -155,7 +155,7 @@
% target if it doesn't exist.
% Be aware that if \pkg{hyperref} is used with the option \texttt{implicit=false} it
% does not predefine and create \cs{theH\meta{counter}} representations
% so targets could be missing!\footnote{It is planed that \LaTeX{} directly defines
% so targets could be missing!\footnote{It is planned that \LaTeX{} directly defines
% the \cs{theH\meta{counter}} for all counters created with \cs{newcounter}.}
%
%
Expand Down
40 changes: 20 additions & 20 deletions hyperref.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@
% \end{macrocode}
%
% \paragraph{Internal encoding commands.}
% \cs{pdfstringdef} interpretes text strings which are not allowed
% \cs{pdfstringdef} interprets text strings which are not allowed
% to contain mathematical stuff. The text glyph commands will produce
% a warning, if called in math mode. But this warning disturbs while
% expanding. Therefore we check for math mode here, before
Expand All @@ -1157,7 +1157,7 @@
% If a glyph is used, that isn't in the PD1/PU encoding there will
% be an infinite error loop, because the NFSS encoding stuff
% have to be expanded unprotected (\cs{edef}), so that the
% assigments of \cs{@changed@cmd} don't take place.
% assignments of \cs{@changed@cmd} don't take place.
% To patch this behaviour I only found \cs{@inmathwarn}
% as a usable hook. While an \cs{edef} a warning message by
% \cs{@inmathwarn} or \cs{TextSymbolUnavailable} cannot be give out,
Expand Down Expand Up @@ -1335,7 +1335,7 @@
% \end{macrocode}
%
% \paragraph{Package babel.}
% Whereever ``naturalnames'' is used, disable \cs{textlatin}
% Wherever ``naturalnames'' is used, disable \cs{textlatin}
% (from Babel 3.6k). Thanks to Felix Neubauer
% (Email: \Email{[email protected]}).
% \begin{macrocode}
Expand Down Expand Up @@ -1519,7 +1519,7 @@
% it does not expand the font encoding commands. They are
% made roboust and protect themselves.
% \item[\cs{csname}:] First the string is
% expanded whithin a \cs{csname} and \cs{endcsname}.
% expanded within a \cs{csname} and \cs{endcsname}.
% Then the command name is converted to characters
% with catcode 12 by \cs{string} and the first
% escape character removed by \cs{@gobble}.
Expand All @@ -1538,7 +1538,7 @@
% \item[\cs{edef}] This version uses this standard form for expansion.
% It is stronger than \LaTeX's \cs{protected@edef}.
% So the font encoding mechanism works and the glyph commands
% are converted to the correct tokens for PDF strings whith the
% are converted to the correct tokens for PDF strings with the
% definitions of the PD1 encoding.
% Because the protecting mechanism of \LaTeX{} doesn't work
% within an \cs{edef}, there are situations thinkable where
Expand Down Expand Up @@ -1606,7 +1606,7 @@
% In order to check the tokens we must separate them. This will be
% done with \TeX's argument parsing. With this method
% we must the following item takes into account, that makes
% makes things a litte more complicate:
% makes things a little more complicated:
% \begin{itemize}
% \item \TeX{} does not accept a space as an undelimited argument,
% it cancels space tokens while looking for an undelimited
Expand Down Expand Up @@ -1690,7 +1690,7 @@
% \end{macrocode}
%
% \paragraph{Backslash.}
% The double backslash disturbs parsing octal sequenzes, for
% The double backslash disturbs parsing octal sequences, for
% example in an string like |abc\\051| the sequence \cs{051}
% is detected although the second \cs{} belongs to the
% first backslash.
Expand Down Expand Up @@ -2199,7 +2199,7 @@
% \end{macro}
% \subsubsection{Babel languages}
% change 2020-10-10: moved language patches to its own file as a first step
% toward removing them completly.
% toward removing them completely.
% \begin{macrocode}
\newif\ifHy@next
%</package>
Expand Down Expand Up @@ -2740,7 +2740,7 @@
% \begin{macro}{\HyPsd@XSPACE}
% \begin{macro}{\HyPsd@ITALCORR}
% \begin{macro}{\HyPsd@GLYPHERR}
% Some commands and informations cannot be utilized before
% Some commands and information cannot be utilized before
% the string expansion and the checking process.
% Command names are filtered out, so we need another way
% to transport the information: An unusual |#| with catcode
Expand Down Expand Up @@ -3167,7 +3167,7 @@
% \begin{macro}{\HyPsd@RemoveMask}
% \cs{HyPsd@RemoveMask} removes the protecting \verb+|+.
% It is used by \cs{HyPsd@@ProtectSpacesFi} and by the code in
% \cs{pdfstringdef} that removes the grouping chararcters.
% \cs{pdfstringdef} that removes the grouping characters.
% \begin{macrocode}
\def\HyPsd@RemoveMask|#1|\HyPsd@End#2{%
\xdef#2{\unexpanded\expandafter{#1}}%
Expand Down Expand Up @@ -4709,7 +4709,7 @@
\ifHy@breaklinks
\Hy@WarningNoLine{%
You have enabled option `breaklinks'.\MessageBreak
But driver `\[email protected]' does not suppport this.\MessageBreak
But driver `\[email protected]' does not support this.\MessageBreak
Expect trouble with the link areas of broken links%
}%
\fi
Expand Down Expand Up @@ -9525,7 +9525,7 @@
% All the code is delayed to |\begin{document}|
% change 2023-08-13: with a new format it is no longer
% needed to handle different |\newlabel|
% definitions. The code can be removed completly later.
% definitions. The code can be removed completely later.
% \begin{macrocode}
%<*package>
\@ifl@t@r\fmtversion{2023-06-01}{}
Expand Down Expand Up @@ -9595,7 +9595,7 @@
% \section{Title strings}
%
% If options |pdftitle| and |pdfauthor| are not used,
% these informations for the pdf information dictionary
% this information for the pdf information dictionary
% can be extracted by the \cmd{\title} and \cmd{\author}.
% \begin{macrocode}
\ifHy@pdfusetitle
Expand Down Expand Up @@ -9889,7 +9889,7 @@
% \begin{macro}{\HyPL@@CheckThePage}
% The first check is, is \cmd{\thepage} is defined
% such as in \LaTeX, e.\,g.: |\csname @arabic\endcsname\c@page|.
% In the current implemenation the check fails, if there is
% In the current implementation the check fails, if there is
% another \cmd{\csname} before.
%
% The second check tries to detect |\arabic{page}| at the
Expand Down Expand Up @@ -9931,7 +9931,7 @@
% The help macro \cmd{\HyPL@Format} is executed while
% a \cmd{\protected@edef} in the second check
% method of \cmd{\HyPL@@CheckPage}.
% The first occurences of, for example, |\arabic{page}| is
% The first occurrences of, for example, |\arabic{page}| is
% marked by \cmd{\HyPL@found} that is also defined by
% \cmd{\csname}.
% \begin{macrocode}
Expand Down Expand Up @@ -10283,7 +10283,7 @@
% a trap to make |\theH<name>| be the same as |\arabic{<name>}|,
% if |\theH<name>| is not defined, but this is not necessarily a good idea.
% Alternatively, the `naturalnames' option uses whatever \LaTeX\
% provides, which may be useable. But then its up to you to make
% provides, which may be usable. But then its up to you to make
% sure these are legal PDF and HTML names. The `hypertexnames=false' option
% just makes up arbitrary names.
%
Expand Down Expand Up @@ -11163,7 +11163,7 @@
% \end{macrocode}
%
% Support for footnotes in p columns of longtable.
% Here \verb+\footnote+ commands are splitted into
% Here \verb+\footnote+ commands are split into
% \verb+\footnotemark+ and a call of \verb+\footnotetext+
% with the optional argument, that is not supported
% by hyperref. The result is a link by \verb+\footnotemark+
Expand Down Expand Up @@ -13045,7 +13045,7 @@
% \end{macrocode}
% \begin{macro}{\Hy@DestName}
% Wrap the call of \verb|\pdfdest name| in \cs{Hy@DestName}.
% Then it can easier be catched by package |hypdestopt|.
% Then it can easier be caught by package |hypdestopt|.
% \begin{macrocode}
\def\Hy@DestName#1#2{%
\pdfdest name{#1}#2\relax
Expand Down Expand Up @@ -18944,7 +18944,7 @@
/Fo<</S/JavaScript/JS(\Hy@escapestring{\Fld@onfocus@code})>>%
\fi
% \end{macrocode}
% Bl loosing the input focus (blurred)
% Bl losing the input focus (blurred)
% \begin{macrocode}
\ifx\Fld@onblur@code\@empty
\else
Expand Down Expand Up @@ -21016,7 +21016,7 @@
% \end{macrocode}
% The canonical name of U+0138, small letter kra, would be
% \cs{textkgreenlandic}, following the glyph naming convention.
% However |latex/base/inputenc.dtx| has choosen \cs{textkra}.
% However |latex/base/inputenc.dtx| has chosen \cs{textkra}.
% \begin{macrocode}
% U+0138 LATIN SMALL LETTER KRA; kgreenlandic
\DeclareTextCommand{\textkra}{PU}{\81\070}% U+0138
Expand Down
4 changes: 2 additions & 2 deletions nameref.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%% Copyright (C) 1995-1999 Sebastian Rahtz
%% 2000 Sebastian Rahtz, Heiko Oberdiek
%% 2001-2012 Heiko Oberdiek
%% 2016-2019 Oberdiek Package Suport Group
%% 2016-2019 Oberdiek Package Support Group
%% 2019-2024 The LaTeX Project
%% https://github.com/latex3/hyperref/issues
%%
Expand Down Expand Up @@ -234,7 +234,7 @@
%
% \begin{macro}{\strip@period}
% Macro \cs{strip@period} was removed in \xpackage{nameref}
% 2012/07/28 v2.41 and reinserted in 2012/07/31 v2.42 for compatibilty
% 2012/07/28 v2.41 and reinserted in 2012/07/31 v2.42 for compatibility
% reasons with package \xpackage{subfig}.
% \begin{macrocode}
\def\strip@period#1.\relax#2\@@@{#1}
Expand Down
2 changes: 1 addition & 1 deletion xr-hyper.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
%
% \changes{v7.00z}{2023-05-15}
% {unified and simplified the brace handling: all defined references have now
% five brace groups. Together with the planed change in LaTeX 2023-06-01 this
% five brace groups. Together with the planned change in LaTeX 2023-06-01 this
% will improve the combination of hyperref/non-hyperref documents.}
%
% \changes{v7.01g}{2023-11-26}
Expand Down