Re: possible to convert all the tab in the body into space when save .leo file?

2019-09-10 Thread Austin(Xu) Wang
thanks Edward..

>
> Yes.  See the convert-* commands.
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/2ecd355c-d07e-44d9-a4da-4969bce7b78a%40googlegroups.com.


possible to convert all the tab in the body into space when save .leo file?

2019-09-10 Thread Austin(Xu) Wang
Dear Leo User,

Is there such a command available to convert tab into space?

I'm facing one issue that the ReStructuredText table looks good in the body 
text, but when "make html" using sphinx, there are many Warnings regarding:

 WARNING: Malformed table.
Text in column margin in table line 2.


I believe the root cause is the mix use of space and tab in the body text.

BR,Austin

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/1d1d477b-ec36-4a55-8b51-b462f0255069%40googlegroups.com.


Re: difference between @auto and @clean node regarding generating rst file

2019-09-07 Thread Austin(Xu) Wang

>
>
>1. As to your PS question, that's a matter of personal preference and 
>how big the xxx.leo file will become. I prefer external files (most of the 
>time) as I can open and use with other editors and tools (e.g. pandoc).
>
>
Thanks Rob..I see. I switched to use @rst node. Compare with @auto-rst It 
requires an extro rst3 command, but can live with leoVUE peacefully.

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ea18a0d9-3717-40aa-ac7d-e0802611c8f4%40googlegroups.com.


Re: difference between @auto and @clean node regarding generating rst file

2019-09-07 Thread Austin(Xu) Wang
also tried @nosent filename.rst with no luck.

On Saturday, September 7, 2019 at 7:39:44 PM UTC+7, Austin(Xu) Wang wrote:
>
> Dear Leo Users,
>
> I have one node "@auto filename.rst", under that node, there are a few 
> chapters of the rst file, which works great when I press save, the 
> filename.rst will be generated.
> If I change the node to "@clean filename.rst", I am not able to save. Leo 
> complains that:
>
> The following were not written because of errors:
> @clean filename.rst
>
>
> Is it possible to use @clean for generating rst?
> I cannot use @auto since the auto node is with no tnode in the .leo file, 
> which makes LeoVUE failed to load.  
> https://github.com/kaleguy/leovue/issues/9
>
> PS. what's the reason for not keeping the body of @auto node inside the 
> leo file?
>
> BR,Austin
>
>
>
>
>
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/452ed379-26f5-40bc-af5e-4b8a6f75442d%40googlegroups.com.


difference between @auto and @clean node regarding generating rst file

2019-09-07 Thread Austin(Xu) Wang
Dear Leo Users,

I have one node "@auto filename.rst", under that node, there are a few 
chapters of the rst file, which works great when I press save, the 
filename.rst will be generated.
If I change the node to "@clean filename.rst", I am not able to save. Leo 
complains that:

The following were not written because of errors:
@clean filename.rst


Is it possible to use @clean for generating rst?
I cannot use @auto since the auto node is with no tnode in the .leo file, 
which makes LeoVUE failed to load.  
https://github.com/kaleguy/leovue/issues/9

PS. what's the reason for not keeping the body of @auto node inside the leo 
file?

BR,Austin





-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/98b90b14-c6a0-42e7-bd9a-c222498ab3e9%40googlegroups.com.


leoVUE issues

2019-09-06 Thread Austin(Xu) Wang
Dear Leo User,

Just in case you are also a leoVUE user.. I need some help on two issues.

https://github.com/kaleguy/leovue/issues/8
https://github.com/kaleguy/leovue/issues/9

The two issues are quite similar, some valid leo directives @auto, @clean, 
@language rest make leoVUE display abnormal.


PS.
I managed to run leoVUE on my android mobile. So I can sync with remote git 
repo and browse the .leo file using leoVUE on mobile wherever I go.

BR,Austin





-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/34c666bc-c66d-4189-8c2a-d8e62ba84e89%40googlegroups.com.


Re: generate HTML from .txt via @rst node

2019-09-05 Thread Austin(Xu) Wang
On Thursday, September 5, 2019 at 8:04:54 PM UTC+7, Edward K. Ream wrote:

>
> cd leo/doc/html
> make html (or make clean)
>

I am using auto node for generating rst file for now.

@auto index.rst

The children are chapters, sub-chapters...So far so good, without using the 
rst3 command.
 

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f9461dea-a2fd-4b1b-9520-6ed844135fcf%40googlegroups.com.


generate HTML from .txt via @rst node

2019-09-05 Thread Austin(Xu) Wang
Dear Leo User,

Follow the tutorial https://leoeditor.com/tutorial-rst3.html , I use the 
rst3 command successfully created on .html.txt file.

Is there any command I need to run from console to tell sphinx generate 
html from this .txt file?

I tried  sphinx-build ./ _build and got:
Sphinx error:
master file /./index.html.txt not found


BR,Austin

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/1bdce510-2343-4041-a435-246141ad45df%40googlegroups.com.


Re: Studying Robert Cholette's vs-code leointeg project

2019-08-30 Thread Austin(Xu) Wang

>
>
>
> Going forward, I'll take a couple hours to study leoVue a little bit, to 
> maybe make a tcp/ip communication instead of just stdIn/Out...
>

I vote for a standard RESTFUL API to access the nodes information.

 

> So all right for now, I'm going to bed!  Cheers! :D
>
>
Have a good rest..
 

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/746e1432-9a16-4241-b04b-dfc0a1d8068c%40googlegroups.com.


Re: best practice for managing calendar events

2019-08-27 Thread Austin(Xu) Wang

>
>
>>> If you put the following code into a node with the headline `@button 
> clone-to-calendar @key=Alt-4`:
> v = p.v
> cal = c.find_h('Calendar')[0]
> cal_v = cal.v
> if cal_v not in v.parents:
> cal_v.children.append(v)
> v.parents.append(cal_v)
> cal_v.children.sort(key=lambda x:x.h)
> c.redraw()
>

Yes. The code works. I put it under one @command button, and I can use a 
shortcut key to clone current node.  Like a magic!

I'm trying to optimize it by adding an abbreviation.  I put below to 
my @data abbreviations

cal;;={|{

\:v = p.v

\:cal = c.find_h('Calendar')[0]

\:cal_v = cal.v

\:if cal_v not in v.parents:

\: cal_v.children.append(v)

\: v.parents.append(cal_v)

\: cal_v.children.sort(key=lambda x:x.h)

\: c.redraw()

\:}|}


I am expecting when I key in cal;;, the node will be automatically cloned. 
So I will not need to lose my focus when editing the meeting node body. 

However, the cal;; is not working as my expected. The editor must 
understood cal;; since I cannot key in another ';' after cal;;.


Do you know is there any limitation to implement such logic inside an 
abbreviation?


Thanks Again.


BR,Austin




-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/d6ff9103-6fc9-4dd8-8530-2b3638171d6e%40googlegroups.com.


Re: best practice for managing calendar events

2019-08-27 Thread Austin(Xu) Wang
Thanks Matt.. 

I checked http://leo.zwiki.org/Tododoc for document. Also play with the 
[task] tab.  
My understanding is todo.py can set priority and progress of node.

My use case is I have too many projects, and each project may have one or 
more meeting reservations. 
I want to have one list or a calendar to check all the events.

I am trying the following solutions:
1) Modify the headline of the node if it's a meeting. make it starting with 
"20190827-10:00..."
2) Clone the node to one top level node named "Calendar"
3) Sort the Calendar children, so I get a list of coming events.

For Step #2, is there an easy way to clone one node and move it under 
another specific node?

BR,Austin





On Tuesday, August 27, 2019 at 2:32:14 AM UTC+7, Matt Wilkie wrote:
>
> Have a look at todo.py plugin. I think it's enabled by default, see [Task] 
> tab next to [Nav], [Tags] etc. (Disclaimer I haven't used it)
>
> matt
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/13e916f6-1de1-461e-bc26-bb591d3f4a70%40googlegroups.com.


best practice for managing calendar events

2019-08-26 Thread Austin(Xu) Wang
Hello Leonine,

I have a number of projects in my leo file, some of the projects have 
events.  For example:

ProjectA -> Meeting With Donald (Next Monday 10:00)
ProjectB -> Meeting with Steve(6th Sept 15:30)


Is there a way I can see a list of events for all the projects?

BR,Austin

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/d9f7e541-7c5a-429e-8161-f58c23b918e6%40googlegroups.com.


Re: clone short cut for Mac

2019-08-25 Thread Austin(Xu) Wang
I am using Mackbook pro too. MacOS Majave 10.14.6

I press Option=x, on Body Panel, it produced on capitalized X.
on Log Panel, it produced a string "meta+x".

In any cases, focus was not changed to minibuffer.

On Monday, August 26, 2019 at 10:09:02 AM UTC+7, Rob wrote:
>
> Option key works for me as Alt key. However, I only use a MacBook Pro 
> which, perhaps has a different keyboard than a desktop Mac (don't know 
> since I don't have one).
>
> Rob...
>
> On Sunday, August 25, 2019 at 12:39:33 AM UTC-5, Austin(Xu) Wang wrote:
>>
>> Looks like in my Mac, the Command button is Ctrl.
>> Command-u/d/r/l/i all works.
>>
>> However, Command-` doesn't.  I redefined clone in myLeoSettings.leo to 
>> Crtl-\  for now.
>>
>> Another question is, which key is Alt key?
>> Tried Option-- and Option-] with no luck..
>>
>>
>>
>> On Sunday, August 25, 2019 at 8:02:10 AM UTC+7, Austin(Xu) Wang wrote:
>>>
>>> Shift-Command-C doesn't work in my Mac.
>>> Shift-Command-X copy one node
>>> Shift-Command-V paste one node ( not clone)
>>>
>>> If the body editor control is focused, 
>>> Option-x will put one capitalized X.
>>>
>>> If the log panel is focused,
>>> Option-x will put meta-x
>>>
>>>
>>>
>>> On Sunday, August 25, 2019 at 3:24:45 AM UTC+7, Rob wrote:
>>>>
>>>> Maybe not the best way, but what I do on my Mac is:
>>>>
>>>> Shift-Command-C (copy node)
>>>> Option-x (mini-buffer) paste-retaining-clones
>>>>
>>>> HTH
>>>> Rob...
>>>>
>>>> On Friday, August 23, 2019 at 3:19:15 PM UTC-5, Austin(Xu) Wang wrote:
>>>>>
>>>>> Hello Mac Leo User,
>>>>>
>>>>> Please how to clone a node via keyboard?
>>>>> It should be Ctrl-` , but I tried Command-` , Control-`, Option-`, no  
>>>>> one works...
>>>>>
>>>>> Also, Alt-x on my key board doesn't work too.. 
>>>>>
>>>>> BR,Austin
>>>>>
>>>>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/70b327a6-4f4d-4966-8d45-a382f2624c30%40googlegroups.com.


Re: source code for http://leoeditor.com/load-leo.html

2019-08-25 Thread Austin(Xu) Wang
Thanks Edward...Downloaded.
It's time for me to learn the best programming language. ;)

On Monday, August 26, 2019 at 3:35:23 AM UTC+7, Edward K. Ream wrote:
>
> On Sun, Aug 25, 2019 at 12:24 PM Austin(Xu) Wang  > wrote:
>
>> The .leo file browsing logic is in the script do-leo.php? 
>>
>
> Apparently.  I have just downloaded do-leo.php from Leo's web site, and 
> added it to the leo-editor directory.  Rev e6fc7d9 in devel adds it to 
> Leo's GitHub repo.
>
> I am pretty sure I didn't write do-leo.php, and I remember nothing about 
> it's history.
>
> Edward
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/4b37e3e5-ee83-481b-95c3-7df6e007adb1%40googlegroups.com.


Re: clone short cut for Mac

2019-08-24 Thread Austin(Xu) Wang
Looks like in my Mac, the Command button is Ctrl.
Command-u/d/r/l/i all works.

However, Command-` doesn't.  I redefined clone in myLeoSettings.leo to 
Crtl-\  for now.

Another question is, which key is Alt key?
Tried Option-- and Option-] with no luck..



On Sunday, August 25, 2019 at 8:02:10 AM UTC+7, Austin(Xu) Wang wrote:
>
> Shift-Command-C doesn't work in my Mac.
> Shift-Command-X copy one node
> Shift-Command-V paste one node ( not clone)
>
> If the body editor control is focused, 
> Option-x will put one capitalized X.
>
> If the log panel is focused,
> Option-x will put meta-x
>
>
>
> On Sunday, August 25, 2019 at 3:24:45 AM UTC+7, Rob wrote:
>>
>> Maybe not the best way, but what I do on my Mac is:
>>
>> Shift-Command-C (copy node)
>> Option-x (mini-buffer) paste-retaining-clones
>>
>> HTH
>> Rob...
>>
>> On Friday, August 23, 2019 at 3:19:15 PM UTC-5, Austin(Xu) Wang wrote:
>>>
>>> Hello Mac Leo User,
>>>
>>> Please how to clone a node via keyboard?
>>> It should be Ctrl-` , but I tried Command-` , Control-`, Option-`, no  
>>> one works...
>>>
>>> Also, Alt-x on my key board doesn't work too.. 
>>>
>>> BR,Austin
>>>
>>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/90ba9768-1578-48cd-880d-e653d221b7e9%40googlegroups.com.


source code for http://leoeditor.com/load-leo.html

2019-08-24 Thread Austin(Xu) Wang
Dear Leonine,

Checking the documentation website, I found this tool
http://leoeditor.com/load-leo.html

which looks simple and easy to use.

Is the source code for the tool in leo git repo?

BR,Austin

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/0c66f7c7-0eb5-4994-9b35-1efd982c4669%40googlegroups.com.


Re: clone short cut for Mac

2019-08-24 Thread Austin(Xu) Wang
Shift-Command-C doesn't work in my Mac.
Shift-Command-X copy one node
Shift-Command-V paste one node ( not clone)

If the body editor control is focused, 
Option-x will put one capitalized X.

If the log panel is focused,
Option-x will put meta-x



On Sunday, August 25, 2019 at 3:24:45 AM UTC+7, Rob wrote:
>
> Maybe not the best way, but what I do on my Mac is:
>
> Shift-Command-C (copy node)
> Option-x (mini-buffer) paste-retaining-clones
>
> HTH
> Rob...
>
> On Friday, August 23, 2019 at 3:19:15 PM UTC-5, Austin(Xu) Wang wrote:
>>
>> Hello Mac Leo User,
>>
>> Please how to clone a node via keyboard?
>> It should be Ctrl-` , but I tried Command-` , Control-`, Option-`, no  
>> one works...
>>
>> Also, Alt-x on my key board doesn't work too.. 
>>
>> BR,Austin
>>
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/7693e5fc-302c-4d58-8de1-043bd80ffaf6%40googlegroups.com.


Re: locate one node by it's path via leoBridge

2019-08-24 Thread Austin(Xu) Wang
thanks vitalije for the instruction. much appreciated. 

On Saturday, August 24, 2019 at 4:00:21 PM UTC+7, vitalije wrote:
>
> You can try the following:
> def get_child_headlines(c, address):
> return g.recursiveUNLSearch(address.split('-->'), c)
>
> You can find nodes even faster if you know their gnx (you can obtain a gnx 
> value by using p.gnx or v.gnx). 
> def get_node(c, gnx):
> return c.fileCommands.gnxDict.get(gnx)
>
> def get_body_and_headline(c, gnx):
> v = get_node(gnx)
> return v.h, v.b
>
> I assume that you have obtained the address of the 
> node "IT-->Leo-->Writing Plugin-->Display Message" by copying it from the 
> status line in Leo window. If you want to copy gnx of some node you can do 
> this using the following script.
> g.app.gui.replaceClipboardWith(p.gnx)
>
> This script you can make a button of it and then when you want to copy gnx 
> of some node, just select it and click the button.
>
> HTH Vitalije
>
>
>
> On Saturday, August 24, 2019 at 9:07:44 AM UTC+2, Austin(Xu) Wang wrote:
>>
>>
>> I realized  get_headline ("IT-->Leo-->Writing Plugin-->Display Message") 
>> is with no sense..
>>
>> What I want is:
>>
>> - get_child_headlines ("IT-->Leo-->Writing Plugin-->Display Message")
>>   # return a list of headlines for each child node.
>> - get_body ("IT-->Leo-->Writing Plugin-->Display Message")
>># return the body text
>>
>>
>> On Saturday, August 24, 2019 at 12:46:07 PM UTC+7, Austin(Xu) Wang wrote:
>>>
>>> Dear Leo User,
>>>
>>> I want to access the headline and body of a specific node inside that 
>>> file using the leoBridge interface.
>>> Is it possible to get the body and headline from the path of that node?
>>>
>>> For example, for one node with headline "Display Message":
>>> /Users/wangxu/Documents/Leo/austin.leo#IT-->Leo-->Writing 
>>> Plugin-->Display Message
>>>
>>> Is it doable to implement function:
>>> - get_headline ("IT-->Leo-->Writing Plugin-->Display Message")
>>> - get_body ("IT-->Leo-->Writing Plugin-->Display Message")
>>>
>>> Please guide me on this..
>>>
>>> BR,Austin
>>>
>>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/0c0c0762-06e0-4b8f-a607-8dd57880b7b2%40googlegroups.com.


Re: locate one node by it's path via leoBridge

2019-08-24 Thread Austin(Xu) Wang

I realized  get_headline ("IT-->Leo-->Writing Plugin-->Display Message") is 
with no sense..

What I want is:

- get_child_headlines ("IT-->Leo-->Writing Plugin-->Display Message")  
# return a list of headlines for each child node.
- get_body ("IT-->Leo-->Writing Plugin-->Display Message")  
 # return the body text


On Saturday, August 24, 2019 at 12:46:07 PM UTC+7, Austin(Xu) Wang wrote:
>
> Dear Leo User,
>
> I want to access the headline and body of a specific node inside that file 
> using the leoBridge interface.
> Is it possible to get the body and headline from the path of that node?
>
> For example, for one node with headline "Display Message":
> /Users/wangxu/Documents/Leo/austin.leo#IT-->Leo-->Writing Plugin-->Display 
> Message
>
> Is it doable to implement function:
> - get_headline ("IT-->Leo-->Writing Plugin-->Display Message")
> - get_body ("IT-->Leo-->Writing Plugin-->Display Message")
>
> Please guide me on this..
>
> BR,Austin
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/b109022c-9247-422e-8a81-14e89f164222%40googlegroups.com.


locate one node by it's path via leoBridge

2019-08-23 Thread Austin(Xu) Wang
Dear Leo User,

I want to access the headline and body of a specific node inside that file 
using the leoBridge interface.
Is it possible to get the body and headline from the path of that node?

For example, for one node with headline "Display Message":
/Users/wangxu/Documents/Leo/austin.leo#IT-->Leo-->Writing Plugin-->Display 
Message

Is it doable to implement function:
- get_headline ("IT-->Leo-->Writing Plugin-->Display Message")
- get_body ("IT-->Leo-->Writing Plugin-->Display Message")

Please guide me on this..

BR,Austin

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/b6a51598-ac6f-449e-9f43-90e2f19836c7%40googlegroups.com.


clone short cut for Mac

2019-08-23 Thread Austin(Xu) Wang
Hello Mac Leo User,

Please how to clone a node via keyboard?
It should be Ctrl-` , but I tried Command-` , Control-`, Option-`, no  one 
works...

Also, Alt-x on my key board doesn't work too.. 

BR,Austin

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ac4fdb35-3738-424f-a5e4-7cf24a5fd1b5%40googlegroups.com.


Re: render dock and tabs dock lost

2019-08-21 Thread Austin(Xu) Wang
ha.. alt-click works.. thanks.
On Wednesday, August 21, 2019 at 5:25:52 PM UTC+7, Edward K. Ream wrote:
>
>
>
> On Tue, Aug 20, 2019 at 10:19 PM Austin(Xu) Wang  > wrote:
>
>> Dear All,
>>
>> For some reason, I cannot find my render dock and tabs dock.
>>
> ... 
>
>> How to recover those useful windows? 
>>
>
> Alt-click (right or left click, depending on your platform settings) the 
> title of any dock.  You will see a list of docks.  Click on the desired 
> dock to change its visibility.
>
> Or you can run Leo with --init-docks, but then you have to reposition all 
> docks.
>
> Edward
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/dbda5f62-58dd-4948-9081-8352a21fa79c%40googlegroups.com.


Re: How to customize look?

2019-08-19 Thread Austin(Xu) Wang
Thanks Chris..

Suggest to put this procedure in the document something like a best 
practice(for newbie?)..  

I was not able to config theme successfully following the instructions at 
https://leoeditor.com/customizing.html#theme-files

Until I found this email.

On Thursday, June 20, 2019 at 10:55:31 PM UTC+7, Chris George wrote:
>
> HI Gar,
>
> Here is how I use themes.
>
> In the directory leo-editor/leo/themes are a number of theme files. These 
> can be loaded using the File, Open Outline menu option in Leo. Opening an 
> outline automatically loads it. Keep opening outlines until you find one 
> you like.
>
> Then close all of the theme files.
>
> Copy the theme file you chose from leo-editor/leo/themes to ~/.leo/themes 
> (you will have to create the themes folder here) and rename it something 
> like this: Original file is BreezeDarkTheme.leo rename to 
> BreezeDarkThemeLocal.leo
>
> Now open your myLeoSettings.leo file.
>
> Add the following to the headline of a new node as a child of your 
> @settings node:
> @string theme-name = BreezeDarkThemeLocal
>
> Now save the file and restart Leo.
>
> You should now be using the theme of your choice. From here you need to 
> open the local theme file with Leo. The font sizing and colors are under 
> Theme Settings in the tree.
>
> HTH,
>
> Chris
>
>
> On Thursday, June 20, 2019 at 8:40:10 AM UTC-7, gar wrote:
>>
>> Strange... My settings contain (for example) @string font-size-body = 12px
>> But when I dump all the settings via menu command I see that: [F] @string 
>> fontsizebody = 22px
>> Got no idea what does that mean and why does it go in this way.
>> It seems strange to me to spend hours debugging setup of font sizes of 
>> the editor
>>
>> четверг, 20 июня 2019 г., 18:23:45 UTC+3 пользователь gar написал:
>>>
>>> I'm trying to customize Leo for my likings. 
>>> First of all I took a theme and placed it's name into appropriate 
>>> setting of myLeoSettings project. Ok, it applied, but font size is so huge 
>>> that all texts run out of my screen.
>>>
>>> Ok. I added a setting for base font size. It didnt work. Fonts remained 
>>> huge.
>>> Ok, I said. I copied theme node into mySettings. Changed font sizes 
>>> everywhere I found their traces. And nothing has changed again. Magic.
>>>
>>> Is there any way to customize fonts when theme is used? I suspect that 
>>> their sizes hardcoded somewhere in qml files - seems like so.
>>>
>>>
>>>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f96819c9-b687-47c4-8228-ececacc607f4%40googlegroups.com.