On Fri, Aug 20, 2010 at 10:44 AM, Edward K. Ream <[email protected]> wrote:

> Thus, Leo's present rst3 command is already good for creating slides!

A simple modification of the @button node that creates screenshots
puts files of the form <gnx>.png into the leo/doc/html/screen-shots
folder.

Yes, I know this won't work so well on linux: it's just a prototype.
The point is that we can run this execute the script button from any
node, and we'll get a new screenshot name for each node.

To include the image in a slide, I just added the following line:

.. image:: html/screen-shots/<gnx>.png

More to do:

- It may be time to start tweaking the .css.  It's important not to
suck up much real estate on the slide, especially vertically.  That is
we want the largest possible screenshots.

It would be really nice to be able to scroll the slide vertically.
Does anyone know of a way to do this?

- The screenshot script button could create an @screenshot node as a
child. The screenshot itself will show up in the body text of the node
when we select it.  The tk graphics.py plugin would allow this: it's
time to do this for Qt, if it hasn't already been done.

Presumably, the rst3 and s5 commands would ignore such @screenshot
nodes, except for possibly adding a reference to the screenshot at the
end of the parent's body text.

In short, integration with Leo outlines and the rst3 command is going
smoothly, as I expected.

Edward

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