Re: leojs alpha

2023-06-25 Thread Arjan
> After coding for a few years Awesome perseverance. I've just continued using regular Leo because I'm used to the workflow, but I hope to find some time to play with the newer developments. Good luck! On Thursday, June 22, 2023 at 1:08:48 PM UTC+2 Edward K. Ream wrote: > > ...So anywhere

Re: Non-ASCII characters in a node body make edit operations produce unintended results

2022-05-05 Thread Arjan
It's not a new problem: https://github.com/leo-editor/leo-editor/issues/1368 On Thursday, April 14, 2022 at 2:55:33 AM UTC+2 tbp1...@gmail.com wrote: > > There could also be a problem with a specific version of Qt, so if you can > try later version (or possibly earlier) it might behave

Re: If possible, give a thumbs up to this vscode related github issue :)

2021-06-26 Thread Arjan
> How do I give it a thumbs up? Emoji reactions are on the top right menu of a post. I've now added the first thumbs-up so you can just click that. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop

Re: Focus switches from body pane to outline when saving

2021-01-25 Thread Arjan
ent devel branch: > > Leo 6.4-devel, devel branch, build 1b431f4b7b > 2020-12-31 09:26:52 -0500 > Python 3.8.6, PyQt version 5.15.1 > Windows 10 AMD64 (build 10.0.19041) SP0 > > > On Friday, January 22, 2021 at 10:50:52 AM UTC-5 Arjan wrote: > >> I'm running Leo e

Focus switches from body pane to outline when saving

2021-01-22 Thread Arjan
running Leo on Void Linux with XFCE, like so: ~/.virtualenvs/leo/bin/python ~/path/to/leo-editor/launchLeo.py Leo 6.3, master branch, build e46e9315f6 2020-11-10 00:33:16 -0600 Python 3.9.1, PyQt version 5.15.2 linux Any ideas? Cheers, Arjan -- You received this message because you

Re: SB: What I'll be studying

2020-11-07 Thread Arjan
I'd like to suggest looking into Svelte, a modern JavaScript framework that's compiled at build time, so it has great performance. I enjoyed this presentation: Rich Harris - Rethinking reactivity (Youtube) And the learning materials and REPL on

Re: LaTex to PDF workflow using Leo

2020-09-29 Thread Arjan
* line 50: u.afterChangeNodeContents(p, undoType, bunch2, dirtyVnodeList=dirtyVnodeList) line 51: p.v.setDirty() line 52: changed += 1 Has this method changed? What should it look like now to have undo? Best, Arjan On Monday, March 12, 2018 at 11:49:07 PM UTC+1

Re: Leo Integration Status Update

2020-09-22 Thread Arjan
Very nice video. Also, looking forward to a stable LeoInteg! Now, if there's a light theme called "Winter is coming", there should also be a dark theme called "The night is dark and full of terrors"? ;) On Monday, September 21, 2020 at 7:45:33 AM UTC+2 Félix wrote: > Hello all of you

Re: (yet again) New features on the dev branch!

2020-07-14 Thread Arjan
> > frankly just gonna have to name the 0.1.13 release the 'ArJan' release ! > Hehe, thanks! ;) I don't have much time for experimenting with everything currently, but it's great to see so much progress and discussion! Cheers, Arjan -- You received this message because you are s

Re: LeoInteg: Multi-file support on the dev branch

2020-07-06 Thread Arjan
Right, I'm at Leo 6.2.1 final, didn't know it depends on new Leo functionality! Thanks, will try later. On Monday, July 6, 2020 at 1:23:23 PM UTC+2, Félix wrote: > > Please copy your leo log pane content to see what version of Leo you're > using. My guess is you're not on the development

Re: LeoInteg: Multi-file support on the dev branch

2020-07-06 Thread Arjan
I'm on the latest version on the master branch (2020-07-04 692173d), and I see the "Open Leo File" (both under the outline and under "LEO DOCUMENTS"), but using this opens the new Leo outline instead, it doesn't keep the previously opened file in the list. Actually the documents view doesn't

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Arjan
I downgraded to Node.JS 10.16.3, but the error remains the same (`from python Error importing leoApp.py`) I also tried creating a python3.bat file on my PATH, which says `%windir%\system32\cmd.exe /K ""C:\Programs\Anaconda3\Scripts\activate.bat" && %*"`. Now there's no more errors, but still

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Arjan
difference, but seems an unlikely cause for the problem? - Leo 6.0-final (master branch from Git) - Python 3.7.3 (via Anaconda) - PyQt version 5.9.6 (installed via `conda install pyqt` -- as far as I remember, and put in my notes, I didn't specify anything further for Qt5 itself). Cheers, Arjan

Re: How do you install leointeg into VS Code?

2019-10-12 Thread Arjan
ut for my cmd shell I use this: %windir%\System32\cmd.exe "/K" C:\Programs\Anaconda3\Scripts\activate.bat Arjan -- 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

Re: How do you install leointeg into VS Code?

2019-10-11 Thread Arjan
Just one warning: > > (node:6096) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer. allocUnsafe(), or Buffer.from() methods instead. warning.js:18 It looks like an awesome way of using Leo, so thank you for making it

Re: How do you install leointeg into VS Code?

2019-10-11 Thread Arjan
Yeah, problem is I don't have the Open Leo File button: [image: Leo-VSCode.png] -- 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

Re: How do you install leointeg into VS Code?

2019-10-11 Thread Arjan
I'm not yet able to get a Leo outline working with these instructions. I do get the new window with a Leo icon in the sidebar, but opening a folder with .leo files doesn't provide an outline view, and I don't see an "Open Leo File" on the Leo view. Is there a way to check if the Python/Leo

Re: Jeff R: What emacs features do you want?

2019-06-25 Thread Arjan
leo-editor/7OANSWcoOzg/b_tXlLTzAgAJ "multi-pane editing" Cheers, Arjan -- 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.

Re: Good news: the end of a nonsensical dream

2019-05-04 Thread Arjan
I'd also be very interested in this. Also related, this earlier thread on Using Leo as a database - I'd love to hear followup on that. I'd prefer having the result set of a query (multiple rows) inside a single node

Re: Use LaTeX comment marker % for Leo sentinels in .tex files?

2019-03-31 Thread Arjan
Huh, no you're right -- I'd just only seen # as sentinel marker and didn't know comment markers are already language-dependent. Even better! -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails

Re: Use LaTeX comment marker % for Leo sentinels in .tex files?

2019-03-31 Thread Arjan
Perfect! Does exactly what I want. Frequent Git commits should help in case I get in trouble, but using @language latex @comment % @others in an `@file myfile.tex` just works. Thanks -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To

Use LaTeX comment marker % for Leo sentinels in .tex files?

2019-03-31 Thread Arjan
Would it be feasible to make Leo use the LaTeX comment marker % instead of # for Leo sentinels in .tex files? This would allow to use @file nodes instead of @clean. (A quick search makes me think that adding/redefining the LaTeX comment symbol would not be easy). -- You received this message

Re: Challenges with clones and multiple files

2019-03-29 Thread Arjan
Thanks for these extensive notes. I believe they don't fully translate to my use case, but I'll need to study and try it out further to see if I can apply some of this. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this

Challenges with clones and multiple files

2019-03-27 Thread Arjan
I've been using Leo for quite a while now, and there's several things I like about it. But I've come to realize the main reason I initially wanted to use Leo, clones, is not really working for my use case. I mainly use Leo as a Personal Information Manager. My notes are organized in various

Re: How to launch Leo via pythonw.exe with an Anaconda environment but without an extra console window?

2018-11-06 Thread Arjan
C:\Programs\Anaconda3\pythonw.exe > "C:\Programs\Leo-editor\launchLeo.py" > > 在 2018年11月4日星期日 UTC+8下午7:24:05,Arjan写道: > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop rec

Re: How to launch Leo via pythonw.exe with an Anaconda environment but without an extra console window?

2018-11-05 Thread Arjan
Thanks all for the ideas. Looks like cmdow comes closest, but I was trying to avoid using extra programs. Scheduler or auto-run don't fit how what I'd like, I just want a shortcut to launch Leo :) The pip-packaged version might be an option, but I'm running Leo from Git and also prefer to have

How to launch Leo via pythonw.exe with an Anaconda environment but without an extra console window?

2018-11-04 Thread Arjan
launch Leo from a shortcut (which requires an Anaconda environment) without getting an extra console window? Cheers, Arjan -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails fr

Re: How to enable a theme?

2018-06-01 Thread Arjan
Aha, so my problem was just the missing `=`. Thanks! -- 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 post to this

How to enable a theme?

2018-06-01 Thread Arjan
I'm trying to enable a theme, but I seem to be missing something. The docs say: To enable a theme, put the following setting in myLeoSettings.leo: > @string theme-name I tried putting `@string theme-name LeoBlackSolarized.leo` (also without .leo) in myLeoSettings, but no changes take effect

Re: LaTex to PDF workflow using Leo

2018-03-12 Thread Arjan
Thanks, 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 post to this group, send email to

Autocomplete

2018-03-10 Thread Arjan
it in case it does indicate a problem somewhere. Another minor issue: the autocomplete dialog appears two lines below the point where it's invoked. I'm using Leo 5.8 devel, build 20180227113208 Git repo info: branch = master, commit = 2c288fb7c15b Python 3.6.3, PyQt version 5.6.2, with the default t

Re: LaTex to PDF workflow using Leo

2018-03-08 Thread Arjan
Reviving this old topic. I made a crude attempt, hard-coded etc., to just rewrite the section definitions via regex search and replace. Works just on a single .tex file (I don't see a benefit to using multiple input files when managing things via Leo anyway), but it's still useful in my case.

Re: ENB: Making LeoVue a desktop app

2018-02-07 Thread Arjan
The details of this thread are well above my expertise, but I read something that looks relevant and interesting in a HN thread on PyQt: I have been developing in HTML/Python for a while now. This works > wonderfully. You just need to put all

Re: NEW: CSV editor

2018-02-07 Thread Arjan
This is great! What would be an awesome way to use this would be if the CSV editor widget could be automatically activated in the edit pane for nodes with a table, so one can quickly switch between text and table/csv nodes. Maybe just for "@csv" nodes or so. Would something like that be

Re: Merging leo_edit_pane into master?

2017-11-02 Thread Arjan
I understand I need QScintilla to try this, but it seems there different versions and installation methods. What's the best way to install the required dependencies? (I use Anaconda). Thanks, Arjan -- You received this message because you are subscribed to the Google Groups "leo-e

Re: Window pane layouts lost after Leo update?

2017-10-11 Thread Arjan
Ah, good to know about the embed layout option. It was only one simple layout, so no problem to recreate. I was mostly asking because if layouts generally do persist between updates, I may more frequently pull updates to Leo's master branch. Thanks! -- You received this message because you

Window pane layouts lost after Leo update?

2017-10-11 Thread Arjan
A window pane layout I'd created and saved under Leo 5.5 was lost after updating to 5.6. Is this expected? I'm running Leo from a git repo and Python 3 (Anaconda); happened on both Linux and Windows. Arjan -- You received this message because you are subscribed to the Google Groups &quo

Inserting extra newlines separating body text and Leo's xml tags?

2017-10-11 Thread Arjan
Hi all, I would like to make Leo use a newline before the start and at the end of a node's body text, so the t node's xml tags and the body text are always on separate lines. This in order to make git diffs easier to read. Any ideas how/where to do this, or would this need to be in Leo itself?

Re: Following up: Leo 5.5 will challenge org mode

2017-09-09 Thread Arjan
I'd like to +1 that multi-pane editing mode could really be a killer feature. -- 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

Tabular data in Leo outlines

2017-08-29 Thread Arjan
te-to-self: there are a couple of libraries which could facilitate the aligning/format transformations, such as http://astropy.readthedocs.io/en/latest/io/ascii/index.html, https://pypi.python.org/pypi/tabulate, https://github.com/foutaise/texttable/. I'm curious to hear your thoughts! Best, Arjan @langu

Re: OT: (Kinda) "Learning How to Learn" from Coursera

2017-08-24 Thread Arjan
m/watch?v=AmgkSdhK4K8>, all of them with great visualizations... Cheers! Arjan -- 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...@goo

Re: LaTex to PDF workflow using Leo

2017-04-11 Thread Arjan
file opening def open_file(filename): if sys.platform == "win32": os.startfile(filename) else: opener ="xdg-open" subprocess.call([opener, filename]) open_file('myproject.pdf') Arjan -- You received this message because you are subscribed

Re: HTML 5 Leo Viewer

2017-03-07 Thread Arjan
Regarding Atom, it might be interesting to take a look at Visual Studio Code as well https://code.visualstudio.com. Very similar, also an Electron app, but much faster opening of large files, and more snappy in general (unless Atom improved a lot recently). Arjan -- You received this message

tables.py documentation

2017-03-01 Thread Arjan
it? I get some errors after enabling and experimenting with | characters, but I may not be doing the right thing. Arjan -- 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 i

Re: A sprint (real or virtual) about Leo 5.6

2017-03-01 Thread Arjan
I'm hoping it's important to others as well, and will turn out to be doable! In any case, it's very nice to see all the recent activity. Arjan On Tuesday, February 28, 2017 at 4:55:53 PM UTC+1, Offray Vladimir Luna Cárdenas wrote: > > > > On 28/02/17 10:39, Edward K. Ream wrote: > &g

Re: Leo vs org mode

2017-02-17 Thread Arjan
> > A good table editor would be nice, it should read/write from > markdown/rst/latex/html. I suspect there's been at least one iteration of > such a thing, in the distant past. If I had an urgent need to edit tables > in Leo, I'd probably edit them in the richtext plugin (CKEditor) and

Re: About org mode

2017-02-17 Thread Arjan
> > ​Suppose Leo supported a V2 outline pane that shows > ​ ​ > zero or more body panes, embedded (somehow!) in the Qt outline. > That sounds very interesting. In that case, would the regular body pane be hidden for this mode of operation? -- You received this message because you are

Re: About org mode

2017-02-16 Thread Arjan
mark e.g. a chapter or section node with an option "include all child nodes in the chapter's body pane in outline order", with the ability to edit the child nodes' contents directly. Probably far-fetched, but I can dream, right? ;) All best, Arjan -- You received this message because yo

Re: Using dead keys with QT5?

2017-01-30 Thread Arjan
Hm, after some further tries it seems doing to opposite works, `QT_IM_MODULE=compose launchLeo.py` (instead of my default on ubuntu 14.04, where $QT_IM_MODULE=ibus). Strange but good enough for me. All best, Arjan On Sunday, January 29, 2017 at 1:27:39 PM UTC+1, Edward K. Ream wrote

Using dead keys with QT5?

2017-01-28 Thread Arjan
else to try? Cheers! Arjan -- 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 post to this group, send emai

Re: Using Leo to process Latex to Pdf

2017-01-20 Thread Arjan
0, 2017 at 11:10 AM, Arjan <arjan...@gmail.com > > wrote: > >> I'm looking to compile raw latex to pdf from Leo. I wanted to take a look >> at the mentioned MakePDF script, but I can't find it in the current version >> of Leo. >> > > ​It's in scripts.leo

Re: Fast syntax coloring is now on the trunk

2017-01-20 Thread Arjan
Thanks, this was very timely for me! I just imported a large Latex file with Leo v5.4, which gave me the "Large text" Qt problem and not working syntax coloring, so I switched to running Leo from Git master branch. Text size is no longer a problem, and coloring is now working fi

Re: Using Leo to process Latex to Pdf

2017-01-20 Thread Arjan
all), so I think I only need to run `xelatex myfile.tex`, `bibtex myfile`, then `xelatex myfile.tex` again (this is what I do from command line). Arjan On Friday, October 28, 2011 at 1:41:04 PM UTC+2, Edward K. Ream wrote: > > On Sun, Oct 16, 2011 at 3:28 PM, mdb <mdbo...@gmail.com > &g

Re: What is the `a="E"` attribute in my .leo file for?

2016-12-05 Thread Arjan
:24 AM UTC+1, Terry Brown wrote: > > On Mon, 5 Dec 2016 14:29:42 -0800 (PST) > Arjan <arjan...@gmail.com > wrote: > > > Hi, I'm still new to leo and slowly learning to work with it. I have > > a notes.leo file which I'm working on from two different computer

Re: Leo as Personal Information Manager: multiple nodes in the body pane?

2016-11-05 Thread Arjan
P.S. Oh, looks like there's some strange interference from QGIS on my system's default Python environment. When I use Anaconda's Python 2.7 environment (Python 2.7.12, PyQt version 4.8.7) I get no errors on startup. On Saturday, November 5, 2016 at 6:36:02 PM UTC+1, Arjan wrote: > >

Re: Leo as Personal Information Manager: multiple nodes in the body pane?

2016-11-05 Thread Arjan
) gives me these errors: hook failed: after-create-leo-frame, , leo.plugins.notebook Traceback (most recent call last): File "/home/arjan/Programs/leo-editor/leo/core/leoPlugins.py", line 326, in callTagHandler result = handler(tag, keywords) File "/home/arjan/Programs/leo-edi

Leo as Personal Information Manager: multiple nodes in the body pane?

2016-11-04 Thread Arjan
Hi! I'm getting started with Leo as a personal information manager, and I like it a lot. The option to have clones of notes which stay in sync is very powerful. I do have a usability problem with it: I very often have small sections, e.g. a paragraph, that I want to be able to reuse somewhere