mquinson / po4a

Maintain the translations of your documentation with ease (PO for anything)
http://po4a.org/
GNU General Public License v2.0
127 stars 62 forks source link

asciidoc: ifdef::<>[] macros are not supported #10

Closed jnavila closed 7 years ago

jnavila commented 7 years ago

The following snippet of text make po4a choke:

ifdef::stalenotes[]

with the following error:

parse...po4a::asciidoc: Impossible d'analyser la liste d'attributs : []
jnavila commented 7 years ago

The same for include::date-format.txt[] that appears in the man page of git-commit.txt.

https://github.com/git/git/blob/master/Documentation/git-commit.txt#L344

This is really a show-stopper for po4a and asciidoc.

jnavila commented 7 years ago

OK, trying to fix the issue, it appears that it is already fixed by 86f79e5d341ffcb62da9812101304c3dbb420cc6 but this version hasn't reached debian/testing yet. Compiling and using the most up to date version solves this issue.

mquinson commented 7 years ago

Whooops, I completely forgot that the latest release did not contain all recent changes. I will try to find some time to release and upload a new version in the next times... Sorry.