I got errors when testing the aafigure filter...

asciidoc -a numbered -a toc2 -a toclevels=4 -a iconsdir=/home/ping/bin/asciidoc-8.6.8/images/icons -a icons -a imagesdir=/mnt/public_html/webdata/vim-jtac-work -a data-uri -o /mnt/smbwf-sam/home/public_html/webdata/vim-jtac-work/vim.html -b html5 source.txt aafig2img.py: directory does not exist: /mnt/smbwf-sam/home/public_html/webdata/vim-jtac-work/mnt/public_html/webdata/vim-jtac-work

asciidoc: WARNING: <stdin>: line 2430: filter non-zero exit code: "/usr/bin/python" "/home/ping/.asciidoc/filters/aafigure/aafig2img.py" -o "/mnt/smbwf-sam/home/public_html/webdata/vim-jtac-work//mnt/public_html/webdata/vim-jtac-work/vim-jtac-work__1.png" -Fpng -: returned 1 asciidoc: WARNING: <stdin>: line 2430: no output from filter: "/usr/bin/python" "/home/ping/.asciidoc/filters/aafigure/aafig2img.py" -o "/mnt/smbwf-sam/home/public_html/webdata/vim-jtac-work//mnt/public_html/webdata/vim-jtac-work/vim-jtac-work__1.png" -Fpng - sh: /mnt/public_html/webdata/vim-jtac-work/vim-jtac-work__1.png: No such file or directory asciidoc: WARNING: <stdin>: line 2430: {sys:"/usr/bin/python" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "/mnt/public_html/webdata/vim-jtac-work/vim-jtac-work__1.png"}: non-zero exit status


and looking at my :~/.asciidoc/filters/aafigure$ less aafigure-filter.conf:
# AsciiDoc aafigure filter configuration file.
#

[aafigure-filter-style]
aafigure-style=template="aafigure-block",subs=(),posattrs=("style","target"),filter='aafig2img.py {verbose?-v} -o "{outdir={indir}}/{imagesdir=}{imagesdir?/}{target}" -F{format={basebackend-docbook!png}{basebackend-docbook?svg}}{fill? --fill "{fill}"}{foreground? --foreground "{foreground}"}{background? --background "{background}"}{scaling? --scale {scaling}}{aspect? --aspect {aspect}}{linewidth? --linewidth {linewidth}}{textual-option? --textual}{proportional-option? --proportional}{fixed-option? --fixed} -'


1) I don't understand why the output file path is going to be composed based on connecting indir and imagesdir ?

2) any success stories about this filter?

3) are there any way to disable all "fills" (including vertical fills)?

4) how does it support data-uri?


--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to