On Sun, Feb 12, 2017 at 12:37 PM, Edward K. Ream
wrote:
> *Summary*: Making slides is inherently futzy.
Aha. Not necessarily!
The present demo script computes offsets of callouts "by hand". But why do
that? Slides are not pixels!
Demo scripts have full access to nodes in the slides! Let's make the demo
script *entirely descriptive* using a new (not written yet)
*demo.headline_position* helper:
p2 = g.findNodeInTree(c, demo.root, '@file whatever')
position = demo.headline_position(p2))
Callout("Here is an @file node", position=position)
Do you see? The *description doesn't change* when the outline changes!
This is a big step forward. It means there is little or no cost in
modifying screen shots. Just rerun the script.
Edward
P.S. We will also want helpers to set the various pane ratios. These
ratios do *not* affect callout descriptions, but they* do* ensure that the
actual appearance of slides do not depend on initial conditions.
EKR
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.