On 25 September 2015 at 12:47, Lex Trotman <[email protected]> wrote: > Your test source and png works for me.
Looks like http://pastebin.com/6J1mGfDb Cheers Lex > > The attached test.html does not even look like Asciidoc output, it is > HTML4, not xhtml11 (did you type asciidoc -b html4 test.adoc), but > even so its totally wrong. > It would appear that your install is badly broken or you are using > custom configuration. Unfortunately I can't help with OSX installs, > but maybe someone else can. > > Cheers > Lex > > > On 25 September 2015 at 09:09, Arnauld Van Muysewinkel > <[email protected]> wrote: >> Compiling the attached document like this: >> $ asciidoc -b html test.adoc >> produces test.html where the image is broken (source image is fine, it was >> encoded using GIMP) >> >> Converting the image manually: >> $ base64 -b 76 -i good.test.png -o good.test.png.base64 >> produces slightly different encoding. >> >> Let's compare: >> $ xml sel -t -v '//_:img/@src' test.html | perl -pe 's/ /\n/g' | grep -v >> data: > bad.test.png.base64 >> $ diff bad.test.png.base64 good.test.png.base64 >> >> 406c406 >> >> < >> >> --- >> >>> >>> //z40NVhz99qH3vx9mK/d3jqmdUPDRjjCbFdd2uGjYdFRA5v1O7eddh88+5dqbAjs5i5nLHkxo3G >> >> 779a780 >> >>> >> >> >> Hence, it seems one line hast been "lost". >> >> >> ----- >> >> My setup: >> >> OSX 10.10.5 >> >> asciidoc 8.6.9 (brew install) >> >> -- >> 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. >> For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
