[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.177,1.178"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Wed Aug 16 19:25:41 UTC 2006


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv1723/lib/Locale/Po4a

Modified Files:
	Man.pm 
Log Message:
fix the Man module to pass the previous test (font modifiers nested in
mdoc commands). This fixes the processing of the rcmd.3 man page.


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -d -r1.177 -r1.178
--- Man.pm	7 Aug 2006 22:24:22 -0000	1.177
+++ Man.pm	16 Aug 2006 19:25:39 -0000	1.178
@@ -1450,7 +1450,7 @@
             # Do not touch the fonts in the inline macros
             # These inline macros may have their argument in bold or italic,
             # we can't know.
-            if ($str =~ m/E<\.[^>]$/s) {
+            if ($str =~ m/E<\.([^>]|E<gt>|E<lt>)*$/s) {
                 # We can't use \\f here, otherwise the font simplifier regexp
                 # will use the fonts of the inline macros.
                 $str .= "PO4A-FAKE-FONT".$elem;




More information about the Po4a-commits mailing list