Re: latex syntax coloring

2019-07-06 Thread Edward K. Ream
On Sat, Jul 6, 2019 at 4:35 AM Josef wrote: > Thank you for improving this. > I am waiting to test this, but do not want to do a git pull right now, > because I see the activepath plugin is currently broken, and I depend on > that. > active_path should work now. Edward -- You received this

Re: latex syntax coloring

2019-07-06 Thread Josef
Thank you for improving this. I am waiting to test this, but do not want to do a git pull right now, because I see the activepath plugin is currently broken, and I depend on that. -Josef -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To

Re: latex syntax coloring

2019-06-23 Thread Rob
That should work for me as I was using `@language=tex` anyway for all of my LaTeX work. Rob... On Sunday, June 23, 2019 at 3:03:09 PM UTC-4, Edward K. Ream wrote: > > On Tuesday, February 26, 2019 at 9:27:16 AM UTC-6, Josef wrote: > > latex syntax coloring colors only some common la

Re: latex syntax coloring

2019-06-23 Thread Edward K. Ream
On Tuesday, February 26, 2019 at 9:27:16 AM UTC-6, Josef wrote: latex syntax coloring colors only some common latex commands, for others > only the first letter is colorized. > Rev 5e467b6 in devel completes #1088 <https://github.com/leo-editor/leo-editor/issues/1088>. This was

Re: latex syntax coloring

2019-03-01 Thread Josef
For me some commands are not highlighted at all, others only the first letter, and some completely. Here ist my setup: Leo 5.8.1-b2 devel, build 20190213233241, Wed Feb 13 23:32:41 PST 2019 Git repo info: branch = devel, commit = 95afe636b5e8 Python 3.7.2, PyQt version 5.11.1 linux -- You

Re: latex syntax coloring

2019-03-01 Thread Josef
Seems like I have trouble posting this, now the 3rd try. For me some commands are coloured, some not at all and some only the first letter. Here is my setup: Leo 5.8.1-b2 devel, build 20190213233241, Wed Feb 13 23:32:41 PST 2019 Git repo info: branch = devel, commit = 95afe636b5e8 Python

Re: latex syntax coloring

2019-03-01 Thread Josef
[image: Screenshot_2019-02-27_10-01-07.png] On Wednesday, February 27, 2019 at 10:13:06 AM UTC+1, Josef wrote: > > > I don't seem to be able to respond to your message - all gets deleted when > I attach or insert an image. > > Leo 5.8.1-b2 devel, build 20190213233241, Wed Feb 13 23:32:41 PST

Re: latex syntax coloring

2019-03-01 Thread Josef
Hi Rob, it looks different for me. The most common commands are highlighted, some (\cbstart) only the first letter, others like \lae not at all: -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving

Re: latex syntax coloring

2019-03-01 Thread Josef
4th try to respond to this - my messages get deleted! This time I try to attach a file, instead of inserting it. Leo 5.8.1-b2 devel, build 20190213233241, Wed Feb 13 23:32:41 PST 2019 Git repo info: branch = devel, commit = 95afe636b5e8 Python 3.7.2, PyQt version 5.11.1 linux - Josef -- You

Re: latex syntax coloring

2019-02-28 Thread Edward K. Ream
On Wed, Feb 27, 2019 at 8:12 AM Rob wrote: > Duh! Just figured it out. `@language latex` and `@language tex` give > different results. > I have just created #1088 for this. Edward -- You received this message because you are subscribed

Re: latex syntax coloring

2019-02-28 Thread Josef
> >- However, words after the closing `\` are improperly colorized. > > This needs fixing, because the "closing" "\ " designates really macro, which ends with the blank (and expands to a blank), since latex macros gobble up any trailing blank. I have such "\ " (backslash followed by a

Re: latex syntax coloring

2019-02-28 Thread Josef
Hi Rob, Thanks for figuring this out. I have always @language latex in my files, because that is what gets automatically added by Leo when opening a file with a .tex filename extension. Since latex and tex have the same syntax, I don't see why there should be two different syntax coloring

Re: latex syntax coloring

2019-02-27 Thread Rob
Duh! Just figured it out. `@language latex` and `@language tex` give different results. [image: 190227 LaTeX Syntax2.PNG] Josef, In your case, the easy fix is to change your @language to `tex`. Bigger question to the community; is there any reason why the languages `tex` and `latex` should

Re: latex syntax coloring

2019-02-27 Thread Rob
I sorta duplicated your text and get a very different result. [image: 190227 LaTeX Syntax.PNG] A few thoughts and questions: - Wondering if your environment is significantly different from mine (Win10, Python3, PYQT 5.4.1). Don't know why that matter though. - The contstructs \lae\,

Re: latex syntax coloring

2019-02-27 Thread Josef
[image: screenshot.png] On Wednesday, February 27, 2019 at 10:13:06 AM UTC+1, Josef wrote: > > > I don't seem to be able to respond to your message - all gets deleted when > I attach or insert an image. > > Leo 5.8.1-b2 devel, build 20190213233241, Wed Feb 13 23:32:41 PST 2019 > Git repo

Re: latex syntax coloring

2019-02-27 Thread Josef
I don't seem to be able to respond to your message - all gets deleted. -- 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: latex syntax coloring

2019-02-26 Thread Rob
Josef, wonder why my experience is different. I write LaTeX in Leo almost every day and have no difficulty with syntax coloring. See screenshot: [image: 190226 LaTeX Syntax.PNG] Rob... On Tuesday, February 26, 2019 at 10:27:16 AM UTC-5, Josef wrote: > > latex syntax coloring colors onl

latex syntax coloring

2019-02-26 Thread Josef
latex syntax coloring colors only some common latex commands, for others only the first letter is colorized. I realize, that coloring all possible latex commands is impossible, since one can define pretty much anything to be a command in latex, but it would be relatively simple to cover anything