[Po4a-devel] macros in AsciiDoc

Anders Nawroth anders at neotechnology.com
Fri Oct 12 12:11:26 UTC 2012


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?

/anders

-- 
Anders Nawroth [anders at neotechnology.com]
Skype: anders.nawroth



More information about the Po4a-devel mailing list