Hello,

I am trying to reassign the iconsdir attribute on the command-line
so that it becomes an absolute path (to allow base64 embedding of
icon images into the resulting HTML output).  But it doesn't work:

# asciidoc --version
asciidoc 8.6.5

# echo -e '{asciidoc-confdir}\n{iconsdir}' > /tmp/foo.txt

# asciidoc /tmp/foo.txt
# grep etc /tmp/foo.html
<div class="paragraph"><p>/etc/asciidoc
# grep images /tmp/foo.html
./images/icons</p></div>

# asciidoc -a 'iconsdir={asciidoc-confdir}/{iconsdir}' /tmp/foo.txt
# grep etc /tmp/foo.html
<div class="paragraph"><p>/etc/asciidoc</p></div>
# grep images /tmp/foo.html
exit 1

Am I misunderstanding the order of attribute evaluation?

Thanks for your consideration.

-- 
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.

Reply via email to