On 02/10/10 01:28, Svenn Are Bjerkem wrote:
On Sep 28, 8:58 pm, Stuart Rackham<[email protected]> wrote:
A collision will only occur for same named filters, in which case the last one
loaded (i.e. the one in ./filters) will have precedence because the conf files
override each other.
What is wrong with this filter conf file? If it is in ~/.asciidoc/
filters/trans then it is picked up, but if it is in ./filters/trans,
then I get the message that trans-filter.py does not exist. It is
chmod a+x in both places, and a2x -v show that trans-filter.conf is
picked up in from both places.
The error message is:
/bin/sh: trans-filter.py: command not found
trans-filter.conf:
[blockdef-listing]
trans-
style=template="listingblock",presubs=(),postsubs=("callouts",),posattrs=("style","basefile"),filter="trans-
filter.py -b {basebackend} -f {basefile}"
[paradef-default]
trans-style=template="trans{format?-{format}}-
block",presubs=(),postsubs=("callouts",),posattrs=("style","target","basefile"),filter="trans-
filter.py -b {basebackend} -f {target}"
[trans-block]
template::[filter-image-blockmacro]
This is a bug, asciidoc was not searching the document's ./filters directory, so
if the filter command was not in the search PATH it would not be found, I've
committed a patch to the trunk which should fix the problem, please try it and
report the outcome:
http://code.google.com/p/asciidoc/source/detail?r=85b19994f12a51e51a2b06e43617ce627451de64
Cheers Stuart
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.