diff --git a/lib/LaTeXML/Common/Locator.pm b/lib/LaTeXML/Common/Locator.pm index 99ce4cfd9..310434425 100644 --- a/lib/LaTeXML/Common/Locator.pm +++ b/lib/LaTeXML/Common/Locator.pm @@ -146,7 +146,7 @@ case of an anonymous string. C<$fromLine> and C<$fromCol> should be integers containing the line and column numbers of the start of the range in the source file, or undef if unknown. C<$toLine> and C<$toCol> should be the integers containing the line and column numbers of the end of the range, or undef -if a point is being refered to. +if a point is being referred to. =item C<< $locator = LaTeXML::Common::Locator->newRange($from, $to); >> @@ -179,7 +179,7 @@ Checks if this locator points to a range or a point. =item C<< $source = $locator->getShortSource($stringSource); >> -Gets a short string refering to the source of this locator. +Gets a short string referring to the source of this locator. C<$stringSource> will be used if the source refers to an anonymous or literal string input. diff --git a/lib/LaTeXML/Core/KeyVal.pm b/lib/LaTeXML/Core/KeyVal.pm index 09b110f7b..1e01dd648 100644 --- a/lib/LaTeXML/Core/KeyVal.pm +++ b/lib/LaTeXML/Core/KeyVal.pm @@ -274,19 +274,19 @@ meta-data is stored. =item C<< $keyval->defineOrdinary($code); >> -Helper function to define $STATE neccesary for an ordinary key. +Helper function to define $STATE necessary for an ordinary key. =item C<< $keyval->defineCommand($code, $macroprefix); >> -Helper function to define $STATE neccesary for a command key. +Helper function to define $STATE necessary for a command key. =item C<< $keyval->defineChoice($code, $mismatch, $choices, $normalize, $bin); >> -Helper function to define $STATE neccesary for an choice key. +Helper function to define $STATE necessary for an choice key. =item C<< $keyval->defineBoolean($code, $mismatch, $macroprefix); >> -Helper function to define $STATE neccesary for a boolean key. +Helper function to define $STATE necessary for a boolean key. =back diff --git a/lib/LaTeXML/Core/KeyVals.pm b/lib/LaTeXML/Core/KeyVals.pm index c7c9980d8..21e9e82ed 100644 --- a/lib/LaTeXML/Core/KeyVals.pm +++ b/lib/LaTeXML/Core/KeyVals.pm @@ -524,7 +524,7 @@ I is the given prefix all key-value pairs operate in and defaults to C<'KV'>. If given, prefix should be a string. I should be a list of keysets to find keys inside of. If given, it -should either be reference to a list of strings or a comma-seperated string. +should either be reference to a list of strings or a comma-separated string. This argument defaults to C<'_anonymous_'>. Furthermore, the KeyVals constructor accepts a variety of options that can @@ -532,7 +532,7 @@ be used to customize its behaviour. These are I, I, I, I, I, I, I. I is a flag that, if set, ensures that keys will be set in all existing -keysets, instad of only in the first one. +keysets, instead of only in the first one. I is a flag that, if set, ensures that certain 'xkeyval' package internals are set during key digestion. @@ -547,7 +547,7 @@ such a key, if set to C<1> they are ignored. Alternatively, this can be set to a key macro which is then extended to contain a comman-separated list of the undefined keys. -I allows to call a specific macro if a single key is unknown during +I allows one to call a specific macro if a single key is unknown during key digestion. =back @@ -695,7 +695,7 @@ sequence of Tokens that was used to be read it from the gullet. =item C<< $str = $keyvals->toString(); >> -Turns this object into a key=value comma seperated string. +Turns this object into a key=value comma separated string. =back