I was working on scripts to embed png images for latexmath formulas and hit
strange
bug. I've added custom rule for latexmath-inlinemacro.
[latexmath-inlinemacro]
<span class="latexmath">
<img src="{eval:open('/tmp/file', 'w').write("""{passtext}""")}"
alt="{passtext}"/>
</span>
And here is example document
Test
====
== Formula
latexmath:[$ \frac{1}{ ( 100ns * ( pulse-width + pulse-space-min )) } $]
In /tmp/file i've got \x070\x07 (three chars, '0' in the middle, \x07 on sides).
eval may be replaced by sys, sys2 and i'm getting same result - \x070\x07...
Probably I'm doing something wrong but have not found what...
Versions are debian 8.5.2 and 8.6.3
Pavel
--
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.