[Po4a-commits] r2690 - /trunk/lib/Locale/Po4a/Docbook.pm

barbier at users.alioth.debian.org barbier at users.alioth.debian.org
Sun Oct 28 20:30:33 UTC 2012


Author: barbier
Date: Sun Oct 28 20:30:32 2012
New Revision: 2690

URL: http://svn.debian.org/wsvn/po4a/?sc=1&rev=2690
Log:
Docbook: make <beginpage> inline

Thanks to Petter Reinholdtsen for the report and patch.

Modified:
    trunk/lib/Locale/Po4a/Docbook.pm

Modified: trunk/lib/Locale/Po4a/Docbook.pm
URL: http://svn.debian.org/wsvn/po4a/trunk/lib/Locale/Po4a/Docbook.pm?rev=2690&op=diff
==============================================================================
--- trunk/lib/Locale/Po4a/Docbook.pm (original)
+++ trunk/lib/Locale/Po4a/Docbook.pm Sun Oct 28 20:30:32 2012
@@ -245,8 +245,12 @@
 # BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
 
     # beginpage; does not contain text; v4, not in v5
+    # beginpage and indexterm are ubiquitous elements, they
+    # can be inlined or block elements.  It is better to
+    # make it inline, like indexterm.  A placeholder may
+    # be used too.
     $self->{options}{'_default_untranslated'} .= " <beginpage>";
-    $self->{options}{'_default_break'} .= " <beginpage>";
+    $self->{options}{'_default_inline'} .= " <beginpage>";
 
     # bibliocoverage; contains text; Formatted inline
     # NOTE: could be in the break class




More information about the Po4a-commits mailing list