Hi,

The usage of 'imagesdir' is explained in the user guide:

 imagesdir - If this attribute is defined it is prepended to the
target image file name paths in inline and block image macros.

Here is an example:

image:imgs/logo.png[My Logo]
image:http://third-party.com/logo.png[Third-Party's Logo]

The result of executing 'asciidoc -a imagesdir=context-path' is:

<img src="context-path/imgs/logo.png" alt="My Logo" />
<img src="context-path/http://third-party.com/logo.png"; alt="Third-
Party&#8217;s Logo" />

The problem is that it does't make sense to apply 'imagesdir' setting
to image macros with ABSOLUTE targets (URLs).

Do I misuse the attribute? If not, I think it would be more intuitive
that attribute 'imagesdir' is only applied to image macros with
relative URLs.

Regards,
Jeremy

-- 
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