[liblatex-tom-perl] 21/22: Add a spelling patch.

gregor herrmann gregoa at debian.org
Sat Sep 9 18:16:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository liblatex-tom-perl.

commit f5d35ba2064821af2d1229a11fd0592b23282e95
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Sep 9 20:13:57 2017 +0200

    Add a spelling patch.
---
 debian/patches/series         |  1 +
 debian/patches/spelling.patch | 45 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..29cc542
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,45 @@
+Description: spelling fix
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-09-09
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=122996
+Bug: https://rt.cpan.org/Ticket/Display.html?id=122996
+
+--- a/lib/LaTeX/TOM.pm
++++ b/lib/LaTeX/TOM.pm
+@@ -346,7 +346,7 @@
+ =item COMMENT
+ 
+ A C<COMMENT> node is very similar to a C<TEXT> node, except it is specifically for 
+-lines beginning with C<``%''> (the TeX comment delimeter) or the right-hand 
++lines beginning with C<``%''> (the TeX comment delimiter) or the right-hand
+ portion of a line that has C<``%''> at some internal point.
+ 
+ =back
+--- a/lib/LaTeX/TOM/Parser.pm
++++ b/lib/LaTeX/TOM/Parser.pm
+@@ -620,7 +620,7 @@
+     }
+ }
+ 
+-# This is the "math" stage: here we grab simple-delimeter math modes from
++# This is the "math" stage: here we grab simple-delimiter math modes from
+ # the text they are embedded in, and turn those into new groupings, with the
+ # "math" flag set.
+ #
+@@ -716,13 +716,13 @@
+                             _debug("splitacross: found (right) $right in [$node->{content}]", undef);
+ 
+                             # create new set of 4 smaller text nodes from the original two
+-                            # that contain the left and right delimeters
++                            # that contain the left and right delimiters
+                             #
+                             my ($textnode1, $textnode2) = $tree->{nodes}[$leftidx]->split($leftpos, $leftpos + length($left) - 1);
+                             my ($textnode3, $textnode4) = $tree->{nodes}[$i]->split($rightpos, $rightpos + length($right) - 1);
+ 
+                             # nodes to remove "from the middle" (between the left and right
+-                            # text nodes which contain the delimeters)
++                            # text nodes which contain the delimiters)
+                             #
+                             my @remnodes = splice @{$tree->{nodes}}, $leftidx+1, $i - $leftidx - 1;
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblatex-tom-perl.git



More information about the Pkg-perl-cvs-commits mailing list