On 2012/8/7 Petter Reinholdtsen wrote: > [David Prévot] >> Note that you can simply (temporarily) override the distribution >> file to test if it behaves as expected, and before it get fixed in >> po4a, you can use the following options to override the default >> behavior: >> >> -o nodefault='<beginpage>' -o inline='<beginpage>' > > Ah, great. It resulted in this: > > msgid "" > "A single paragraph of text at the end of one page, which eventually moved > on " > "to <beginpage pagenum=\"1\"/>the next page." > msgstr "" > > And it is OK for my purpose. It might be better to put a placeholder > in there, but I am not sure. > > If you want to look at the docbook project I am working on, it is > available from <URL: > https://github.com/petterreinholdtsen/free-culture-lessig >. > I create/update a docbook version of Free Culture by Lawrence Lessig, > and translate it to Norwegian using po4a. :)
Hello Petter, The beginpage tag is called ubiquitous in Docbook DTD, so I guess that it can appear either inline or not. Marking it inline may have been a better choice, yes. But it has been removed in Docbook v5: http://www.docbook.org/tdg5/en/html/ch01.html#t.removed So I believe that it is not worth changing it now, David's workaround can be applied if needed. A placeholder is not a good idea; in fact, you should even drop <beginpage> in the translation. It does not make sense to mark break pages found in the English document. Maybe the better option is to preprocess the XML documents to remove those tags. Denis -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org