It just works! Nice. Being able to preview is great, less paper wasted. I rely entirely on command completion as a memory aid, too bad the info listing commands also start with 'print'. I would think that 'list-<attribute>' would have nicely disambiguated the situation now we have print.
Too late? On Wed, May 15, 2013 at 7:41 AM, Jacob Peck <[email protected]> wrote: > Hello all, > > I've added a new plugin to Leo, that adds printing support when using the Qt > GUI. Available from rev 5779. > > Here's the docscring: > > '''Supports printing from the Qt GUI. > > Jacob M. Peck, 2013 > > Commands > ======== > > This plugin supports the following twelve commands: > > print-selected-node > ------------------- > > Opens up the print dialog to print the selected headline and node. > > print-preview-selected-node > --------------------------- > > Opens up the print preview dialog to preview the selected headline > and node. > > print-selected-node-body > ------------------------ > > Opens up the print dialog to print the selected node body. > > print-preview-selected-node-body > -------------------------------- > > Opens up the print preview dialog to preview the selected node body. > > print-expanded-node > ------------------- > > Opens up the print dialog to print the expanded contents of the > selected node, with top-level headline. > > print-preview-expanded-node > --------------------------- > > Opens up the print preview dialog to preview the expanded contents > of theselected node, with top-level headline. > > print-expanded-node-body > ------------------------ > > Opens up the print dialog to print the expanded node body. > > print-preview-expanded-node-body > -------------------------------- > > Opens up the print preview dialog to preview the expanded node > body. > > print-marked-nodes > ------------------ > > Opens up the print dialog to print all marked nodes in the current > outline, with headlines. > > print-preview-marked-nodes > -------------------------- > > Opens up the print preview dialog to preview all marked nodes in \ > the current outline, with headlines. > > print-marked-node-bodies > ------------------------ > > Opens up the print dialog to print the bodies of all marked nodes > in the current outline. > > print-preview-marked-node-bodies > -------------------------------- > > Opens up the print preview dialog to preview the bodies of all > marked nodes in the current outline. > > Settings > ======== > > - ``@string printing-font-family = DejaVu Sans Mono`` > The font family for printing. A monospaced font is recommended. > > - ``@string printing-font-size = 12`` > The font size for printing bodies, in px. Due to limitations > of PyQt, the size of headlines cannot be changed. > ''' > > To use it, be sure to add `printing.py` to your @enabled-plugins. > > Future work may have more printing modes available, and I intend on doing a > blog post on the leoblog about creating custom printing modes in scripts. > > This addresses bug 1132804: > https://bugs.launchpad.net/leo-editor/+bug/1132804 > > -->Jake > > -- > 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 http://groups.google.com/group/leo-editor?hl=en-US. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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 http://groups.google.com/group/leo-editor?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
