Qt docking as a replacement for NestedSplitter "Easteregg" menu.

2016-09-26 Thread 'Terry Brown' via leo-editor
https://github.com/leo-editor/snippets/blob/master/examples/layout/qtdock.py is a Py 2.7 / Qt 4 demo of Qt docking as it might apply to Leo, with commentsin the doc. string.  I think it's definitely worth switching to this, so now it'ssimply a matter of finding time :-) Cheers -Terry -- You

Re: Syntax coloring cloned node

2016-09-26 Thread lnoordergraaf75
Hi Edward, Thanks for helping out. To be frank I find your solution of copying nodes isn't quite as elegant as cloning. So I kept fooling around a bit and found out that when using the @clean node to create the rst files and then invoking make by hand I get very satisfactory results. Doing so

Leo made code "in the wild".

2016-09-26 Thread 'Terry Brown' via leo-editor
A little deja vu here, this might have happened before, but anyway, solution to my problem of the moment at work, from Google:  https://github.com/maphew/code/blob/master/gis/o4w_extras/bin/gdal-makeworld.py Thanks Matt :-) -- You received this message because you are subscribed to the Google

Re: Syntax coloring cloned node

2016-09-26 Thread Edward K. Ream
On Sun, Sep 25, 2016 at 9:20 AM, wrote: I'm in the process of writing a programming book. > ​..​ > The usual literate programming tools however leave room for improvement, > and so I found Leo. > ​Welcome aboard.​ > > So I have a section of code annotated with >

Re: Syntax coloring cloned node

2016-09-26 Thread Edward K. Ream
On Mon, Sep 26, 2016 at 6:21 AM, Edward K. Ream wrote: Here is a tested prototype: > ​Oops. The script works properly only if there is already a 'my book (sphinx)'​ node. To fix this, add the line: root2.h = 'my book (sphinx)'​ after the line: root2 =

Syntax coloring cloned node

2016-09-26 Thread lnoordergraaf75
Hi, I'm in the process of writing a programming book. The literate programming concept is attractive because it uses the code in two distinct ways: a) as program source b) as part of the book contents Important here is that they are exactly the same lines being used in two different contexts.

Using leo for acquiring new fields of knowledge (self-education) and keeping compact documentation

2016-09-26 Thread Propadovic Nenad
Hello everybody, I'm just about to reorganize the way I'm teaching myself new stuff - mostly, programming and computer related technologies, I guess, but not only those. Yeah, I decided I need to reeducate myself, get up to date with the world, if you please. And the idea that leo could be *the