From 73bc40aee5a1759ce040bee3ad6274642676e91f Mon Sep 17 00:00:00 2001 From: mbertucci47 <61854785+mbertucci47@users.noreply.github.com> Date: Sat, 27 Jan 2024 12:24:03 -0700 Subject: [PATCH 1/2] typos --- hyperref-linktarget.dtx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyperref-linktarget.dtx b/hyperref-linktarget.dtx index 2348e91..d5a35b3 100644 --- a/hyperref-linktarget.dtx +++ b/hyperref-linktarget.dtx @@ -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 @@ -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}.} % % From 4a4622375240083088cb1c72abbe85db25fd23a5 Mon Sep 17 00:00:00 2001 From: mbertucci47 <61854785+mbertucci47@users.noreply.github.com> Date: Thu, 16 May 2024 09:44:59 -0600 Subject: [PATCH 2/2] small typos --- README.md | 2 +- backref.dtx | 14 +++++++------- doc/hyperref-doc.tex | 18 +++++++++--------- hyperref.dtx | 40 ++++++++++++++++++++-------------------- nameref.dtx | 4 ++-- xr-hyper.dtx | 2 +- 6 files changed, 40 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 0718a1e..48af251 100644 --- a/README.md +++ b/README.md @@ -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, diff --git a/backref.dtx b/backref.dtx index 28d7838..8cc912a 100644 --- a/backref.dtx +++ b/backref.dtx @@ -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 %% @@ -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}} @@ -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 @@ -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@{}} @@ -874,7 +874,7 @@ % \end{macrocode} % \end{macro} % -% \subsection{Collecting back cite informations} +% \subsection{Collecting back cite information} % % \begin{macro}{\BR@citex} % \begin{macrocode} diff --git a/doc/hyperref-doc.tex b/doc/hyperref-doc.tex index ea17fc7..c5d43e9 100644 --- a/doc/hyperref-doc.tex +++ b/doc/hyperref-doc.tex @@ -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 @@ -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. @@ -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}. @@ -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} @@ -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} @@ -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, ...). @@ -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. @@ -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. diff --git a/hyperref.dtx b/hyperref.dtx index 2c6347a..7da9739 100644 --- a/hyperref.dtx +++ b/hyperref.dtx @@ -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 @@ -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, @@ -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{Felix.Neubauer@gmx.net}). % \begin{macrocode} @@ -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}. @@ -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 @@ -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 @@ -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. @@ -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 % @@ -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 @@ -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}}% @@ -4709,7 +4709,7 @@ \ifHy@breaklinks \Hy@WarningNoLine{% You have enabled option `breaklinks'.\MessageBreak - But driver `\Hy@driver.def' does not suppport this.\MessageBreak + But driver `\Hy@driver.def' does not support this.\MessageBreak Expect trouble with the link areas of broken links% }% \fi @@ -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}{} @@ -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 @@ -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 @@ -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} @@ -10283,7 +10283,7 @@ % a trap to make |\theH| be the same as |\arabic{}|, % if |\theH| 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. % @@ -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+ @@ -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 @@ -18944,7 +18944,7 @@ /Fo<>% \fi % \end{macrocode} -% Bl loosing the input focus (blurred) +% Bl losing the input focus (blurred) % \begin{macrocode} \ifx\Fld@onblur@code\@empty \else @@ -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 diff --git a/nameref.dtx b/nameref.dtx index 669dbe8..6467ac9 100644 --- a/nameref.dtx +++ b/nameref.dtx @@ -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 %% @@ -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} diff --git a/xr-hyper.dtx b/xr-hyper.dtx index 1acb21c..90196b8 100644 --- a/xr-hyper.dtx +++ b/xr-hyper.dtx @@ -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}