Re: undoing unmarks nodes

2020-10-03 Thread Thomas Passin
I can confirm that a marked node gets unmarked by an undo operation for a change later than the change that marked the node. I don't think that should happen. I think that marking nodes should be undoable - if only because the marks get saved when the outline is saved, so they are a real

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread Thomas Passin
Ah, I see that you are using a Mac. I don't have one available to try. I thought that a key mapping like would transfer to the equivalent key sequence on a mac, but maybe that isn't correct. Someone else probably knows. Edward? Otherwise, remember that you need to click in the rendering

undoing unmarks nodes

2020-10-03 Thread Félix
using leo on latest devel branch: Marked nodes get unmarked when performing an undo operation in them... is this a real (known) bug someone else can reproduce, or i'm doing something silly that i'm not aware of? -- Félix -- You received this message because you are subscribed to the Google

Re: mathematical formulas display in vr3

2020-10-03 Thread Thomas Passin
That's right; I only illustrated a math block. Mathjax does a nice math rendering, doesn't it? On Saturday, October 3, 2020 at 8:52:11 PM UTC-4, zhaohe wang wrote: > > Thanks a lot! It is excellent! > > The inline mode is \\( [(0.2-0)^2 + (0.7-0)^2 + (0.1-1)^2]*0.5=0.67 \\) > > Not > > $

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread Thomas Passin
In my version, changing the qweb-view-font-size setting **does** change the font size of "@language md text". Remember that you must reload the settings after you make a change: save your MyLeoSettings.leo file after changing settings there, and then either restart Leo or reload the settings

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread Thomas Passin
It would help if you included information about which version of Leo you are using. You can get that information from the log pane. It is printed there right after startup. VR3 has had some changes and bug fixes since Leo V6.2 final. Most of them are in the version in the devel branch of

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread Thomas Passin
Any Markdown processor can get confused if you include a code fence (```) in a code block but you do not intend it to terminate the code block. If you define a code block with "@language python", you are asking the VR3 pre-processor to open and close your code block. Adding a code fence can

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread Thomas Passin
VR3 is not related to @auto-md, and I do not know exactly how @auto-md works. I *think* that @auto-md simply writes each child node to a separate .md file. If you use a markdown processor on those files, it may be using a different dialect of markdown than the one used by VR3. Do *not

Re: mathematical formulas display in vr3

2020-10-03 Thread zhaohe wang
Thanks a lot! It is excellent! The inline mode is \\( [(0.2-0)^2 + (0.7-0)^2 + (0.1-1)^2]*0.5=0.67 \\) Not $ [(0.2-0)^2 + (0.7-0)^2 + (0.1-1)^2]*0.5=0.67 $ 在2020年10月4日星期日 UTC+8 上午12:06:37 写道: > Yes, it is great, isn't it? Are you asking how to make it work? You have > to set a setting: > >

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread zhaohe wang
@tbp1 Thanks a lot! The qweb-view-font-size setting in my-leo-settings.leo can take effect. @int qweb-view-font-size = 16 *** or or cmd-= or cmd-minus have no effect. Leo 6.3-devel, devel branch, build 8a5715ab3f 2020-09-26 08:06:54 -0500 Python 3.7.3, PyQt version 5.12.1 darwin

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread Thomas Passin
I have added two Leo commands to VR3 that can be linked to the same keys when the focus is not in the VR3 rendering pane: vr3-zoom-view, and vr3-shrink-view. These are still experimental. They will probably be included in the devel branch soon. On Saturday, October 3, 2020 at 12:08:10 PM

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread tbp1...@gmail.com
Actually, there is a setting to change the default font size: @int qweb-view-font-size = 16 (or use some other size). On Saturday, October 3, 2020 at 11:48:28 AM UTC-4 tbp1...@gmail.com wrote: > The rendering pane is basically a web browser. So click in the rendering > pane, then use or

Re: mathematical formulas display in vr3

2020-10-03 Thread tbp1...@gmail.com
Yes, it is great, isn't it? Are you asking how to make it work? You have to set a setting: For ReStructured Text, the setting is @bool vr3-math-output = True For Markdown, the setting is @bool vr3-md-math-output = True You also have to tell it where the MathJax script file is located. The

Re: How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread tbp1...@gmail.com
The rendering pane is basically a web browser. So click in the rendering pane, then use or like most other browsers. Note that this will change the entire display, including image size. If you do not want that, then you will have to edit the stylesheet, which is in Leo's

mathematical formulas display in vr3

2020-10-03 Thread zhaohe wang
It is great to display mathematical formulas in vr3. For example: $$ \frac{1}{n}\sum\limits_{x,y}\frac{1}{2}(y-Model(x))^2 $$ -- You received this message because you

How to zoom-in or zoom-out vr3 font size?

2020-10-03 Thread zhaohe wang
It is great to show vr3 to other people if vr3 font size can be adjusted. -- 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.

Re: ENB: Saving restoring layouts

2020-10-03 Thread tbp1...@gmail.com
There are two widgets involved here. One is the actual displayed widget, such as a QWebView. That's the one checked by vr3.ensure_text_widget(). The other one is the ViewRenderedController3 itself, which is not a display widget in itself. The latter is the one I was surprised to see is

Re: ENB: Saving restoring layouts

2020-10-03 Thread Edward K. Ream
On Fri, Oct 2, 2020 at 11:57 AM tbp1...@gmail.com wrote: By adding print statements to the constructors, I see that only one VR3 > plugin instance is getting created per outline. I also see that a new VR3 > controller widget (ViewRenderedController3) is getting created every time > the vr3-show