Hi Jean-Marc, very nice.
It would be great if you could offer it as a downloadable filter plugin (see
http://www.methods.co.nz/asciidoc/manpage.html#X1 and
http://www.methods.co.nz/asciidoc/userguide.html#X101).
I've added it to the list of filter plugins
(http://www.methods.co.nz/asciidoc/plugins.html).
I struck an error with the verbose option set, your filter passes a -v verbose
option to qrencode but the qrencode -v option is a short version for the
--symversion=NUMBER option. This results in a "No output filename is given" error:
Exec: qrencode -v -o "/home/srackham/projects/asciidoc/trunk/t__1.png" <
"/tmp/tmpGE9aK2" >&2
No output filename is given.
qrencode does not have a verbose option (I'm using qrencode 3.0.3) so the it
should not be passed in:
8<-------------------------------------------------------------
--- qrcode2img.py.orig 2011-11-24 10:40:24.540464708 +1300
+++ qrcode2img.py 2011-11-24 10:41:21.013458363 +1300
@@ -94,8 +94,6 @@
else:
infile = self.infile
options = ""
- if self.options.verbose:
- options += " -v"
if self.options.scale:
options += " --scale %f" % self.options.scale
#systemcmd('zint -b 58 -i "%s" -o "%s" %s' % (
8<-------------------------------------------------------------
Cheers, Stuart
On 24/11/11 01:20, Jean-Marc Temmos wrote:
Hello,
I had to write a very basic asciidoc qrcode filter for my needs and thought it
might be useful to others.
Please find more information here:
http://code.google.com/p/asciidoc-qrencode-filter/
Cheers,
--
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.
--
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.