Hello,

This is a follow up to the previous patch (re: Pod::LaTeX
enumeration
bug).

A friend pointed out that "=item 1." and "=item 1)" are common
constructs. So, I made the regex a little more robust.

Attached is the new patch.

Cheers,
-Sudhi.

--- LaTeX.pm.orig       2002-10-22 21:11:35.000000000 -0500
+++ LaTeX.pm    2002-10-23 07:08:03.000000000 -0500
@@ -1318 +1318,3 @@
-    # out the something
+    # out the something.
+    # Similarly, if the item was '1 Something' we need to remove
+    # the extra gook in front.
@@ -1320,0 +1323 @@
+    $extra_info =~ s/^\d+\s*[.)]?\s*//;

Reply via email to