[...]
>> 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.
>
> This would probably work:
>
> {eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}
>
> because if {imagesdir=} is absolute os.path.join() will override the
> preceding {indir={outdir}}
>
> But is will break documents out there that rely on this undocumented quirk?

Hi Stuart,

Well that looks like the best compromise.

Cheers
Lex

>
> Cheers, Stuart
>
>
>>
>> Cheers
>> Lex
>>
>>
>>
>>     The :data-uri: directive is meant to embed media HTML5. So the
>>     described behavior is just a side effect? Is it possible to control
>>     how paths are interpreted by other means then :data-uri: ?
>>
>>     If not, there should be a directive doing so.
>>
>>     --
>>     You received this message because you are subscribed to the Google
>>     Groups "asciidoc" group.
>>     To view this discussion on the web visit
>>     https://groups.google.com/d/msg/asciidoc/-/uIpKdckPkwYJ.
>>     To post to this group, send email to [email protected]
>>     <mailto:[email protected]>.
>>     To unsubscribe from this group, send email to
>>     [email protected]
>>     <mailto:asciidoc%[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.
>
> --
> 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.

Reply via email to