Open getreu opened 12 years ago
I don't know exactly what is expected of me. We do exactly the same thing as e.g. the xhtml backend.
Yes, I posted a bug report there too. https://groups.google.com/forum/?hl=de&fromgroups#!topic/asciidoc/yazroFPc4ow Maybe it is better to wait, how they resolve this issue and then just copy the solution into your sources.
On 10 October 2012 04:34, Jens Getreu jens....@gmail.com wrote:
The ODT backend is a separate project, please file an issue on its site.
Data-uri is not supported by HTML, only xhtml and html5.
They should all follow type two, but there is a bug(s).
@Stuart, documentation says images are relative to the referring document. Data-uri correctly uses {indir}/{imagesdir}/{target} but non data-uri uses {imagesdir}/{target} which makes them relative to the working directory (if {imagesdir} is not absolute), not the document directory. It is therefore wrong if for example the document is an included document from another directory, or asciidoc wasn't run in the document directory.
Documentation doesn't mention absolute being accepted, but I'll bet there are lots of documents that depend on that :( so it isn't just as simple as sticking an {indir={outdir}} on the front for non-datauri I don't think.
Cheers Lex