Re: What is the status of Tex/LaTex syntax handling

2019-03-30 Thread Edward K. Ream
On Saturday, March 30, 2019 at 4:29:14 AM UTC-5, Edward K. Ream wrote: > > On Fri, Mar 29, 2019 at 3:37 PM Rob wrote: > > No errors this time after updating Leo. >> > > Good. Thanks for this confirmation. > Oh. I see you have gotten the job done. I have just closes #1088

Re: What is the status of Tex/LaTex syntax handling

2019-03-30 Thread Edward K. Ream
On Fri, Mar 29, 2019 at 3:37 PM Rob wrote: No errors this time after updating Leo. > Good. Thanks for this confirmation. > A few initial observations using the pygments colors: > >1. I don't see any difference between @language `tex` and `latex` (nor >do I think I should see any

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Rob
For clarification, this happens when @language tex is in effect; other tested languages show the normal behavior. On Friday, March 29, 2019 at 5:16:09 PM UTC-4, Rob wrote: > > This is using the `leonine.py` style. Indenting a << Section >> reference > throws off the coloring, unlike the Leo

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Rob
This is using the `leonine.py` style. Indenting a << Section >> reference throws off the coloring, unlike the Leo colorizing. [image: 190329 LeoSections2.PNG] -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Rob
Never mind, found it... On Friday, March 29, 2019 at 4:52:49 PM UTC-4, Rob wrote: > > The docs indicate you created a `leonine.py` style for testing. Care to > share it? It might help me better understand what's going on. > > Rob... > -- You received this message because you are subscribed to

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Rob
Looked in my pygments>lexers folder and don't see one for tex (lots of other ones, though). Is it named something else? Rob... -- 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,

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Rob
The docs indicate you created a `leonine.py` style for testing. Care to share it? It might help me better understand what's going on. Rob... -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Rob
No errors this time after updating Leo. A few initial observations using the pygments colrs: 1. I don't see any difference between @language `tex` and `latex` (nor do I think I should see any difference). 2. I guess I got used to Leo's color choices and at first, I think I prefer

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Edward K. Ream
On Fri, Mar 29, 2019 at 1:57 PM Edward K. Ream wrote: There is a special case that doesn't use the regex (?-m: syntax. I'll have > to include Python 3.0 through 3.5 in that special case. > Done at rev f95ba78 in devel. The new code uses the new syntax only for Python 3.6 and above. I'm

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Edward K. Ream
On Fri, Mar 29, 2019 at 12:10 PM Rob wrote: > Which Python version did you test on? > 3.6.3 and one of the Python 2 versions. There is a special case that doesn't use the regex (?-m: syntax. I'll have to include Python 3.0 through 3.5 in that special case. Edward -- You received this

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Chris George
@bool use-pygments = True Works fine for me. Leo 5.8.1-b2 devel, build 20190227233831, Wed Feb 27 23:38:31 PST 2019 Git repo info: branch = devel, commit = b2a88971f4fd Python 3.6.7, PyQt version 5.12.0 linux isPython3: True Chris On Fri, Mar 29, 2019 at 10:10 AM Rob wrote: > > Which Python

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Rob
Which Python version did you test on? > > > Good old Python 3.4 sucks again. > > Anyway, thanks for this report. I'll have to treat 3.4 like python 2 for > this purpose. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Edward K. Ream
On Fri, Mar 29, 2019 at 8:42 AM Rob wrote: > Environment: > Leo 5.8.1-b2 devel, build 20190227233831, Wed Feb 27 23:38:31 PST 2019 > Git repo info: branch = devel, commit = b5619a44b1fa > Python 3.4.3, PyQt version 5.4.1 > Good old Python 3.4 sucks again. Anyway, thanks for this report. I'll

Re: What is the status of Tex/LaTex syntax handling

2019-03-29 Thread Rob
Environment: Leo 5.8.1-b2 devel, build 20190227233831, Wed Feb 27 23:38:31 PST 2019 Git repo info: branch = devel, commit = b5619a44b1fa Python 3.4.3, PyQt version 5.4.1 Windows 8 AMD64 (build 6.2.9200) isPython3: True Get the following errors after setting the @bool use-pygments = True

Re: What is the status of Tex/LaTex syntax handling

2019-03-28 Thread Edward K. Ream
On Thu, Mar 28, 2019 at 4:14 PM Rob wrote: Am I correct in assuming that if I set the new pygment boolean flag to > true, then Leo will use the pygment colorizer parameters *instead of* of > the legacy Leo mode files? Is that all there is to it? > Yes. Note the new settings, with defaults as

Re: What is the status of Tex/LaTex syntax handling

2019-03-28 Thread Rob
I haven't messed with pygments yet; can't say I really understand it. However, I will try it over the next day or so and see what I observe as I use that language extensively. Am I correct in assuming that if I set the new pygment boolean flag to true, then Leo will use the pygment colorizer