rst3 test

2014-09-22 Thread derwisch
After some absence from the usage of Leo, I am trying to rekindle my interest. Currently I am trying to bridge the gap between what Leo produces and what my colleagues use. An export of an HTML document would be about halfway there. If I open the above file with Leo, enter the headline named

Re: Localization to German - if, when and how to get?

2014-09-22 Thread Edward K. Ream
On Sun, Sep 21, 2014 at 2:04 PM, Peter Noske noske.span...@t-online.de wrote: Is there a way now to have / get a version of Leo in German language, a localization one's? For menus, see @@menu 文件 in leoSettings.leo In other words, all you need to do is create your own @menu settings (in

Running scripts externally: improvements coming

2014-09-22 Thread Edward K. Ream
Running scripts, including Leo scripts, in a separate process is a recurrent theme of recent work: 1. Imo, it's important that most unit tests succeed when run in a separate process. Some tests can be disabled: they are either meaningless or unimportant when run externally. However, some

Re: rst3 test

2014-09-22 Thread lewis
I opened your file and followed your alt-x rst3 steps. It produced a file versuch.html in the same directory. Do you have docutils installed? It may help if you updated to the latest version of leo - see http://leoeditor.com/download.html Here is the log pane output from the rst3 command: Leo

Re: rst3 test

2014-09-22 Thread derwisch
Am Montag, 22. September 2014 14:43:04 UTC+2 schrieb lewis: I opened your file and followed your alt-x rst3 steps. It produced a file versuch.html in the same directory. Do you have docutils installed? Didn't say I didn't but that seems to be the problem. Thanks for testing and

Re: rst3 test

2014-09-22 Thread Edward K. Ream
On Mon, Sep 22, 2014 at 7:51 AM, derwisch johannes.hues...@med.uni-heidelberg.de wrote: Do you have docutils installed? Didn't say I didn't but that seems to be the problem. Thanks for testing and replying! I've added an item to the to-do list: rst3 command should warn if docutils is not

Re: rst3 test

2014-09-22 Thread Edward K. Ream
On Mon, Sep 22, 2014 at 8:00 AM, Edward K. Ream edream...@gmail.com wrote: rst3 command should warn if docutils is not installed. No. Not really. The rst3 command calls docutils only if: a) docutils has been installed, and b) The call_docutils rst option is True. I suspect that you have

Re: Caution: mass updates to plugins

2014-09-22 Thread Edward K. Ream
On Sun, Sep 21, 2014 at 7:14 PM, Chris George technat...@gmail.com wrote: That worked great, thanks. Today was the day I decided to rip out myLeoSettings.leo and allow the latest version to create a new one for me. I started by enabling the plugins I had enabled with the old settings file,

Re: Completion bug

2014-09-22 Thread Edward K. Ream
On Sat, Sep 20, 2014 at 4:36 PM, Fidel N fidelpe...@gmail.com wrote: So my guess is that some other people with long ago edited QtGui node will have similar problems, IE, recent stylesheet changes were not totally backwards compatible. That's correct. The new style sheet uses a consistent

Re: Localization to German - if, when and how to get?

2014-09-22 Thread 'Terry Brown' via leo-editor
On Mon, 22 Sep 2014 06:17:36 -0500 Edward K. Ream edream...@gmail.com wrote: On Sun, Sep 21, 2014 at 2:04 PM, Peter Noske noske.span...@t-online.de wrote: Is there a way now to have / get a version of Leo in German language, a localization one's? Maybe not adding much here, but my just

Re: Ctrl-F focus inconsistent

2014-09-22 Thread Edward K. Ream
On Sun, Sep 21, 2014 at 9:36 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Sounds similar to https://github.com/leo-editor/leo-editor/issues/57 unrelated code wise probably, but unintentional typing in body text is probably my biggest day to day annoyance - it's not that

Re: Localization to German - if, when and how to get?

2014-09-22 Thread Edward K. Ream
On Mon, Sep 22, 2014 at 10:21 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Maybe not adding much here, but my just guessing haven't done it myself impression of the most general approach to localization is that all in code strings are wrapped in a function call, with the

Re: Reloading visual settings

2014-09-22 Thread Edward K. Ream
On Thu, Sep 18, 2014 at 9:33 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Wed, 17 Sep 2014 14:10:41 -0500 Edward K. Ream edream...@gmail.com wrote: In myLeoSettings.leo, somewhere under @settings, showing only organizer nodes for the @values nodes, not the @value

Re: Localization to German - if, when and how to get?

2014-09-22 Thread 'Terry Brown' via leo-editor
On Mon, 22 Sep 2014 10:30:38 -0500 Edward K. Ream edream...@gmail.com wrote: The only thing needed to translate log messages is to get the call to gettext.gettext(s) inside g.translateString to work properly. I was thinking of more general translation, e.g. self.createIconButton(

Re: Enable Abbreviations

2014-09-22 Thread bobS
Thanks, Terry. The boot was a typo on my part; the outline had bool. I was trying to use the abbreviation immediately after entering it in my outline. But after starting Leo this morning, I noticed that Abbreviations are on and the abbreviation worked perfectly! Is a Leo restart required, or

Re: Enable Abbreviations

2014-09-22 Thread 'Terry Brown' via leo-editor
On Mon, 22 Sep 2014 08:50:16 -0700 (PDT) bobS rjshanle...@gmail.com wrote: Thanks, Terry. The boot was a typo on my part; the outline had bool. I was trying to use the abbreviation immediately after entering it in my outline. But after starting Leo this morning, I noticed that Abbreviations

Re: Enable Abbreviations

2014-09-22 Thread Edward K. Ream
On Mon, Sep 22, 2014 at 10:52 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Currently I think you need to restart Leo, although I wonder if Settings - Reload Styles would update the abbreviations without the restart, as a side effect :-) That's a separate project, not

Re: Enable Abbreviations

2014-09-22 Thread bobS
Thanks, again. Multi-line abbreviation scripts, here I come. Bob S. On Friday, September 19, 2014 4:34:39 PM UTC-5, bobS wrote: My expectation, after reading doc, and settings information in leoSettings.leo,etc, is that after making sure that i have @settings @boot enable-abbreviations

Re: Localization to German - if, when and how to get?

2014-09-22 Thread Edward K. Ream
On Mon, Sep 22, 2014 at 10:47 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: The only thing needed to translate log messages is to get the call to gettext.gettext(s) inside g.translateString to work properly. I was thinking of more general translation, e.g. _ =

Re: Localization to German - if, when and how to get?

2014-09-22 Thread 'Terry Brown' via leo-editor
On Mon, 22 Sep 2014 11:00:21 -0500 Edward K. Ream edream...@gmail.com wrote: On Mon, Sep 22, 2014 at 10:47 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: The only thing needed to translate log messages is to get the call to gettext.gettext(s) inside g.translateString

Re: Localization to German - if, when and how to get?

2014-09-22 Thread Edward K. Ream
On Mon, Sep 22, 2014 at 11:18 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: _ = g.translateString Ooops, sorry, didn't realize that g.translateString was just a thin wrapper around https://docs.python.org/3/library/gettext.html No problem. It will be interesting to see

AW: rst3 test

2014-09-22 Thread Huesing, Johannes
My attempt succeeded now after I had docutils installed. Thank you. However, it only works on the file I had included. Using a different example (again included), the output pane would show: stylesheet not found Q:\leo\default.css @path: Q:\leo open path: Q:\leo with no “Done” at the end. The

Rev 58866ae fixes a nasty bug in the main stylesheet

2014-09-22 Thread Edward K. Ream
Here is the checkin log for rev 58866ae, Leo build: 20140922132622: QQQ Fixed a difficult-to-find error in the main stylesheet that was ruining all styles following QSplitter. The original definition was background-color = white /* @splitter */ but this is WRONG: @values inside comments create

Re: Enable Abbreviations

2014-09-22 Thread bobS
This last post may be inappropriately placed; please advise, if so, and I'll move it. Abbreviations work great, but revealed a larger problem in the test domain I'm operating in. I wanted to use the abbreviations to populate lists in bash shell scripts as in: for ip in a b c d ; do

Re: Enable Abbreviations

2014-09-22 Thread bobS
Correction: IN the test, the text is my list NOT my list (missing ''). On Friday, September 19, 2014 4:34:39 PM UTC-5, bobS wrote: My expectation, after reading doc, and settings information in leoSettings.leo,etc, is that after making sure that i have @settings @boot

Re: Enable Abbreviations

2014-09-22 Thread 'Terry Brown' via leo-editor
On Mon, 22 Sep 2014 11:58:56 -0700 (PDT) bobS rjshanle...@gmail.com wrote: This last post may be inappropriately placed; please advise, if so, and I'll move it. Abbreviations work great, but revealed a larger problem in the test domain I'm operating in. I wanted to use the abbreviations

Re: rst3 test

2014-09-22 Thread Chris George
I think your minimal file is too minimal. There is no body content for the command to process. Adding one character to the body of the @rst node and then running the rst3 command produced a file for me. Chris On Monday, September 22, 2014 10:40:51 AM UTC-7, derwisch wrote: My attempt

Re: Localization to German - if, when and how to get?

2014-09-22 Thread Peter Noske
Is there a way now to have / get a version of Leo in German language, a localization one's? Great. - thanks for answering. For menus, see @@menu 文件 in leoSettings.leo I have found this and have a look at it, with notepad++ (NP) . What a big ship. In other words, all you