[Po4a-commits] po4a/lib/Locale/Po4a TeX.pm,1.22,1.23
Nicolas FRAN??OIS
po4a-devel@lists.alioth.debian.org
Tue, 15 Feb 2005 23:19:04 +0000
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv30991/lib/Locale/Po4a
Modified Files:
TeX.pm
Log Message:
Some paragraphs were lost in translation.
(those were beginning by a \begin and contained a non-closed argument)
Index: TeX.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TeX.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- TeX.pm 15 Feb 2005 22:40:12 -0000 1.22
+++ TeX.pm 15 Feb 2005 23:19:02 -0000 1.23
@@ -834,8 +834,9 @@
if ($closed and length($paragraph)) {
($t, @env) = translate_buffer($self,$paragraph,@env);
$self->pushline($t);
+ $paragraph = "";
}
- $paragraph = $line."\n";
+ $paragraph .= $line."\n";
} else {
# continue the same paragraph
if ($paragraph =~ /(?<!\\)%$/) { # FIXME: even number of \ ...