On 2012/10/12 Anders Nawroth wrote:
Hi!
I think it was already mentioned in some thread, but I couldn't find it ...
AsciiDoc block macros need special treatment.
They can appear inside a paragraph, but still need to be on their own line
to be parsed correctly.
For example (from the AsciiDoc User guide):
ifdef::revnumber[]
Version number 42
endif::revnumber[]
That will work, but po4a will alter it into:
ifdef::revnumber[] Version number 42 endif::revnumber[]
which will not be parsed correctly any more.
Maybe paragraphs containing block macros could be
marked as no-wrap?
Hello Anders,
This is already fixed in the repository I am using until po4a 0.43 is released:
https://github.com/dbarbier/po4a
(in the asciidoc branch).
Denis