[Po4a-commits] "po4a po4a,1.97,1.98"
Denis Barbier
barbier-guest at alioth.debian.org
Sat Jan 30 09:38:42 UTC 2010
Update of /cvsroot/po4a/po4a
In directory alioth:/tmp/cvs-serv16596
Modified Files:
po4a
Log Message:
Describe new syntax for addenda
Index: po4a
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- po4a 21 Jan 2010 22:45:55 -0000 1.97
+++ po4a 30 Jan 2010 09:38:34 -0000 1.98
@@ -183,8 +183,29 @@
More formally, the format is:
- [type: <format>] <master_doc> <lang>:<localized_doc>* \
- add_<lang>:<addendum>*
+ [type: <format>] <master_doc> (<lang>:<localized_doc>)* \
+ (add_<lang>:<modifiers>*<addendum_path>)*
+
+If there is no modifier, I<addendum_path> is a path to an addendum.
+Modifiers are
+
+=over 2
+
+=item ?
+
+Include I<addendum_path> if this file does exist, otherwise do nothing.
+
+=item @
+
+I<addendum_path> is not a regular addendum but a file containg a list of
+addenda, one by line. Each addendum may be preceded by modifiers.
+
+=item !
+
+I<addendum_path> is discarded, it is not loaded and will not be loaded by
+any further addendum specification.
+
+=back
If you've defined the template languages, you can rewrite the line above this
way:
More information about the Po4a-commits
mailing list