Using an include macro to include a link back to my document index works fine:

include::../docs/links/index.txt

index.txt is just

http://www.wonkity.com/%7ewblock/docs/index.html[Links to all my articles.]

So far, so good. However, in documents that have images (this one is pxe.txt):

include::../links/index.txt[]
image::./images/graphic.jpg["Sample graphic boot menu",align="center"]

/usr/local/bin/asciidoc -a data-uri -a icons  -a iconsdir=/usr/local/etc/asciidoc/images/icons  -d 
article  -a stylesheet=~/docs/stylesheets/wb-html.css  -a toc  -a revdate="2010-09-21" -a 
year="2010"  -a max-width=80em  pxe.txt
cannot open /usr/home/wblock/docs/links/./images/graphic.jpg: No such file or 
directory
asciidoc: WARNING: pxe.txt: line 34: {sys:python -uc "import base64,sys; 
base64.encode(sys.stdin,sys.stdout)" < 
"/usr/home/wblock/docs/links/./images/graphic.jpg"}: non-zero exit status

Directory layout:
docs
  links
    index.txt
  pxe
    images
      graphic.jpg
    pxe.txt

The image link worked before adding the include macro.

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