Hi,
On 18 Ago, 16:04, rhh <[email protected]> wrote:
> I use the module rst2pdf (which uses reportlab) and the following
> button script (use Toolbar Manager plugin). The last line
> automatically opens the pdf file in a reader (variables need to be
> set).
> ...
I use a similar approach (rst2X command + leo button) with my
@auto-rst trees, but don't use the toolbar manager plugin, simply
os.system() calls. Basically something like:
if os.system('rst2X %s .%s %s' % (args, input, output)) == 0:
g.es('rst2lX successful.', color='turquoise4')
else:
g.es('rst2X failed.', color='red')
Vicent
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---