[Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.26,1.27

Martin Quinson po4a-devel@lists.alioth.debian.org
Sun, 15 Aug 2004 03:49:07 +0000


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

Modified Files:
	Man.pm 
Log Message:
add support for the groff builtin registers and for the ms Displays and keeps macros. Allows to deal with the shadow package

Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Man.pm	14 Aug 2004 22:44:04 -0000	1.26
+++ Man.pm	15 Aug 2004 03:49:05 -0000	1.27
@@ -117,7 +117,7 @@
 
  ..               ."              .AT             .b              .bank
  .BE              ..br            .Bu             .BUGS           .BY
- .ce              .dbmmanage      .do             .DS             .En
+ .ce              .dbmmanage      .do                             .En
  .EP              .EX             .Fi             .hw             .i
  .Id              .l              .LO             .mf             .mso
  .N               .na             .NF             .nh             .nl
@@ -1002,6 +1002,25 @@
 	($line,$ref)=$self->shiftline();
     }
 };
+
+###
+### info groff
+### 
+
+## Builtin register, of course they do not need to be translated
+
+$macro{'F'}=$macro{'H'}=$macro{'V'}=$macro{'A'}=$macro{'P'}=$macro{'T'}=\&untranslated;
+
+## ms package
+##
+#
+# Displays and keeps. None of these macro accept a translated argument
+# (they allow to make blocks of text which cannot be breaked by new page)
+
+$macro{'DS'}=$macro{'LD'}=$macro{'DE'}=\&untranslated;
+$macro{'ID'}=$macro{'BD'}=$macro{'CD'}=\&untranslated;
+$macro{'RD'}=$macro{'KS'}=$macro{'KE'}=\&untranslated;
+$macro{'KF'}=$macro{'B1'}=$macro{'B2'}=\&untranslated;
 
 ###
 ### BSD compatibility macros: .AT and .UC