I have the following scenario:

In a directory, I have a leo outline, an image file myimage1.jpg and a
subdirectory named img that contains an image file named myimage.jpg.
I run leo in that directory.

My outline has a @button node called 'rst-preview' (it's copypasted
from the source code of leo) with the following body content:

--- cut here ---
g.app.gui.runScrolledMessageDialog(c=c, msg = u'rst:' + p.b)
--- cut here ---

In my outline, I have a node with the following body content:

--- cut here ---
.. image:: myimage1.jpg
--- cut here ---

If I select this node and press the 'rst-preview' button, leo displays
the rendered rst, but fails to display the image. It looks like a path
issue.

I also have another node with the following body content:

--- cut here ---
.. image:: img/myimage.jpg
--- cut here ---

If I select this node and press the 'rst-preview' button, the result
is the same: the image is not displayed.

What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" 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/leo-editor?hl=en.

Reply via email to