[Po4a-commits] po4a/testsuite check,1.10,1.11

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Thu Sep 1 19:49:03 UTC 2005


Update of /cvsroot/po4a/po4a/testsuite
In directory haydn:/tmp/cvs-serv422

Modified Files:
	check 
Log Message:
A minus sign '-' in an equation (eqn preprocessor) uses a special minus
sign. With po4a, this minus sign is converted to '\-', a real minus sign.
This is a difference between the original and the po4a-normalized page,
but I don't consider this harmful.


Index: check
===================================================================
RCS file: /cvsroot/po4a/po4a/testsuite/check,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- check	1 Sep 2005 19:47:13 -0000	1.10
+++ check	1 Sep 2005 19:49:01 -0000	1.11
@@ -102,12 +102,14 @@
       else
         awk 'BEGIN{RS=" ";ORS=" "}
              {gsub("\xE2\x80\x90","-"); # this is safe
+              gsub("\xE2\x88\x92","-"); # the minus sign in eqn
               gsub("\xE2\x80\x98\xE2\x80\x98","\xE2\x80\x9C"); # this can
               # be troublesome (e.g. two single quotes => " insteas of ""
               gsub("\xE2\x80\x99\xE2\x80\x99","\xE2\x80\x9D");
               print}' $tmp/$newfich.txt > $tmp/"$newfich"_ignore
         awk 'BEGIN{RS=" ";ORS=" "}
              {gsub("\xE2\x80\x90","-");
+              gsub("\xE2\x88\x92","-");
               gsub("\xE2\x80\x98\xE2\x80\x98","\xE2\x80\x9C");
               gsub("\xE2\x80\x99\xE2\x80\x99","\xE2\x80\x9D");
               print}' $tmp/po4a-normalize.output.txt > $tmp/po4a-normalize.ignore




More information about the Po4a-commits mailing list