| 1 |
Description: Fix spelling errors in source code. |
| 2 |
Forwarded: https://github.com/brucemiller/LaTeXML/pull/2332 |
| 3 |
Author: Hilmar Preusse <[email protected]> |
| 4 |
Applied-Upstream: https://github.com/brucemiller/LaTeXML/pull/2332/commits/573d7b25d44cdfc33a473dc465e8bd4fea241ae3 |
| 5 |
Last-Update: 2022-12-18 |
| 6 |
|
| 7 |
--- latexml.orig/lib/LaTeXML/Core/KeyVal.pm |
| 8 |
+++ latexml/lib/LaTeXML/Core/KeyVal.pm |
| 9 |
@@ -274,19 +274,19 @@ |
| 10 |
|
| 11 |
=item C<< $keyval->defineOrdinary($code); >> |
| 12 |
|
| 13 |
-Helper function to define $STATE neccesary for an ordinary key. |
| 14 |
+Helper function to define $STATE necessary for an ordinary key. |
| 15 |
|
| 16 |
=item C<< $keyval->defineCommand($code, $macroprefix); >> |
| 17 |
|
| 18 |
-Helper function to define $STATE neccesary for a command key. |
| 19 |
+Helper function to define $STATE necessary for a command key. |
| 20 |
|
| 21 |
=item C<< $keyval->defineChoice($code, $mismatch, $choices, $normalize, $bin); >> |
| 22 |
|
| 23 |
-Helper function to define $STATE neccesary for an choice key. |
| 24 |
+Helper function to define $STATE necessary for an choice key. |
| 25 |
|
| 26 |
=item C<< $keyval->defineBoolean($code, $mismatch, $macroprefix); >> |
| 27 |
|
| 28 |
-Helper function to define $STATE neccesary for a boolean key. |
| 29 |
+Helper function to define $STATE necessary for a boolean key. |
| 30 |
|
| 31 |
=back |
| 32 |
|
| 33 |
--- latexml.orig/lib/LaTeXML/Core/KeyVals.pm |
| 34 |
+++ latexml/lib/LaTeXML/Core/KeyVals.pm |
| 35 |
@@ -524,7 +524,7 @@ |
| 36 |
C<'KV'>. If given, prefix should be a string. |
| 37 |
|
| 38 |
I<keysets> should be a list of keysets to find keys inside of. If given, it |
| 39 |
-should either be reference to a list of strings or a comma-seperated string. |
| 40 |
+should either be reference to a list of strings or a comma-separated string. |
| 41 |
This argument defaults to C<'_anonymous_'>. |
| 42 |
|
| 43 |
Furthermore, the KeyVals constructor accepts a variety of options that can |
| 44 |
@@ -532,7 +532,7 @@ |
| 45 |
I<skip>, I<skipMissing>, I<hookMissing>, I<open>, I<close>. |
| 46 |
|
| 47 |
I<setAll> is a flag that, if set, ensures that keys will be set in all existing |
| 48 |
-keysets, instad of only in the first one. |
| 49 |
+keysets, instead of only in the first one. |
| 50 |
|
| 51 |
I<setInternals> is a flag that, if set, ensures that certain 'xkeyval' package |
| 52 |
internals are set during key digestion. |
| 53 |
@@ -547,7 +547,7 @@ |
| 54 |
key macro which is then extended to contain a comman-separated list of the |
| 55 |
undefined keys. |
| 56 |
|
| 57 |
-I<hookMissing> allows to call a specific macro if a single key is unknown during |
| 58 |
+I<hookMissing> allows one to call a specific macro if a single key is unknown during |
| 59 |
key digestion. |
| 60 |
|
| 61 |
=back |
| 62 |
@@ -695,7 +695,7 @@ |
| 63 |
|
| 64 |
=item C<< $str = $keyvals->toString(); >> |
| 65 |
|
| 66 |
-Turns this object into a key=value comma seperated string. |
| 67 |
+Turns this object into a key=value comma separated string. |
| 68 |
|
| 69 |
=back |
| 70 |
|
| 71 |
--- latexml.orig/lib/LaTeXML/Common/Locator.pm |
| 72 |
+++ latexml/lib/LaTeXML/Common/Locator.pm |
| 73 |
@@ -146,7 +146,7 @@ |
| 74 |
containing the line and column numbers of the start of the range in the source |
| 75 |
file, or undef if unknown. C<$toLine> and C<$toCol> should be the integers |
| 76 |
containing the line and column numbers of the end of the range, or undef |
| 77 |
-if a point is being refered to. |
| 78 |
+if a point is being referred to. |
| 79 |
|
| 80 |
=item C<< $locator = LaTeXML::Common::Locator->newRange($from, $to); >> |
| 81 |
|
| 82 |
@@ -179,7 +179,7 @@ |
| 83 |
|
| 84 |
=item C<< $source = $locator->getShortSource($stringSource); >> |
| 85 |
|
| 86 |
-Gets a short string refering to the source of this locator. |
| 87 |
+Gets a short string referring to the source of this locator. |
| 88 |
C<$stringSource> will be used if the source refers to an |
| 89 |
anonymous or literal string input. |
| 90 |
|