[Po4a-commits] "po4a/lib/Locale/Po4a TeX.pm, 1.63, 1.64 LaTeX.pm, 1.9, 1.10"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Sep 18 12:57:50 UTC 2005


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

Modified Files:
	TeX.pm LaTeX.pm 
Log Message:
The type was always using [, even for mandatory arguments. It was a bug in
previous releases.


Index: TeX.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TeX.pm,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- TeX.pm	18 Sep 2005 12:55:06 -0000	1.63
+++ TeX.pm	18 Sep 2005 12:57:48 -0000	1.64
@@ -979,7 +979,7 @@
         }
     } elsif ($line =~ /^separator\s+(\w+(?:\[#[0-9]+\]))\s+\"(.*)\"\s*$/) {
         my $env = $1; # This is not necessarily an environment.
-                      # It can also be smth like 'title[#1]'.
+                      # It can also be smth like 'title{#1}'.
         $env_separators{$env} = $2
     }
 }

Index: LaTeX.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/LaTeX.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- LaTeX.pm	18 Sep 2005 12:07:29 -0000	1.9
+++ LaTeX.pm	18 Sep 2005 12:57:48 -0000	1.10
@@ -365,6 +365,6 @@
 
 $env_separators{'enumerate'} = $env_separators{'itemize'} = "\\\\item";
 
-$env_separators{'author[#1]'} = $env_separators{'title[#1]'} = "\\\\\\\\";
+$env_separators{'author{#1}'} = $env_separators{'title{#1}'} = "\\\\\\\\";
 
 1;




More information about the Po4a-commits mailing list