On Thu, 04 Jun 2015 21:46:19 +0200, Dan Allen <[email protected]>
wrote:
I think its :imagesdir: that is used as the base for images, not
docdir, see http://asciidoc.org/userguide.html#X88
bingo! that's it. problem solved. thanks a lot!
Ah, of course. Thanks Lex. That's the more direct way of solving it.
I had suggested docdir because I think imagesdir is resolved relative to
docdir, so one builds the other. But either way, setting imagesdir solves
the issue directly.
it seems :docdir: is not working at this point in the "implicit" way (i.e.
silently prepended to specified path in `image::') :imagesdir: is. so it
seems :imagesdir: is the only way to get this right here?
another thing: I try to set up new documents in a way that they work with
both asciidoc as well as asciidoctor. I also need html as well as pdf
output (via dblatex). regarding included figures/images this raises the
issue how to mage the included image backend dependent (say, png for html,
pdf for pdf). I think I know how to do this in asciidoc but this
conditional attribute expansions seem not to exist in asciidoctor (or do
they?). so what what be the recommended way to get a portable (between
asciidoc and asciidoctor) backend-dependent inclusion of images?
thanks
joerg
Cheers,
-Dan
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
--
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.