Re: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Richard Kimberly Heck

On 4/9/24 15:59, Bernt Lie wrote:

OK -- so I could just as well start using RC4?


I have been using the master branch for regular work for well over a 
year. My recent book


    https://academic.oup.com/book/56184

was produced using it. I.e., the book was printed from a PDF I provided 
to OUP. So it's entirely usable.



I'm not super software savvy, so I have been hesitant not knowing:
* Can I install RC4 and still use LyX 2.7.1?
That may depend upon your OS, but someone else should be able to say. 
The one thing you have to do is keep the user directories separate.

* Do I have to uninstall RC4 and install the official release when it becomes 
available?

Again, that will depend upon your OS.

* With 2.7.1, I have used MikTeX. Should I still use MikTeX, or use something 
else? (Does MikTeX also come with LuaTeX, XeTeX, TeXLive, or whatever?)


The background TeX installation should not matter. They all have the 
same bits. (TeXLive, though, is an alternative to MikTeX.)


Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Biginset branch has landed (sorry for the spam)

2024-04-09 Thread Scott Kostyshak
On Tue, Apr 09, 2024 at 04:26:36PM GMT, Scott Kostyshak wrote:
> On Tue, Apr 09, 2024 at 01:27:42PM GMT, Scott Kostyshak wrote:
> > On Tue, Apr 09, 2024 at 06:47:14PM GMT, Jean-Marc Lasgouttes wrote:
> > > Le 09/04/2024 à 16:48, Scott Kostyshak a écrit :
> > > > > Ohh, nice! What I do not understand is why the text (but not the 
> > > > > insets)
> > > > > moves up when opening the minibuffer. This is strange.
> > > > 
> > > > Ah interesting, I didn't notice that. Strange indeed.
> > > 
> > > If you feel like bisecting, do not hesitate ;) I am not sure where to 
> > > start
> > > right now.
> > 
> > Good to know. I can bisect when I have time.
> 
> Bisect leads to here: 5e857883. Interestingly I bisected on the command
> buffer recipe, but the commit talks about math but I guess they're
> related issues.

Another clue, if I revert this commit on master, the issue is not fixed.
However, I did check that I cannot reproduce the issues on the commit
before this commit.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Biginset branch has landed (sorry for the spam)

2024-04-09 Thread Scott Kostyshak
On Tue, Apr 09, 2024 at 01:27:42PM GMT, Scott Kostyshak wrote:
> On Tue, Apr 09, 2024 at 06:47:14PM GMT, Jean-Marc Lasgouttes wrote:
> > Le 09/04/2024 à 16:48, Scott Kostyshak a écrit :
> > > > Ohh, nice! What I do not understand is why the text (but not the insets)
> > > > moves up when opening the minibuffer. This is strange.
> > > 
> > > Ah interesting, I didn't notice that. Strange indeed.
> > 
> > If you feel like bisecting, do not hesitate ;) I am not sure where to start
> > right now.
> 
> Good to know. I can bisect when I have time.

Bisect leads to here: 5e857883. Interestingly I bisected on the command
buffer recipe, but the commit talks about math but I guess they're
related issues.

Scott
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


RE: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Bernt Lie
OK -- so I could just as well start using RC4?

I'm not super software savvy, so I have been hesitant not knowing:
* Can I install RC4 and still use LyX 2.7.1?
* Do I have to uninstall RC4 and install the official release when it becomes 
available?
* With 2.7.1, I have used MikTeX. Should I still use MikTeX, or use something 
else? (Does MikTeX also come with LuaTeX, XeTeX, TeXLive, or whatever?)

If these three bullet points do not cause any problems, I may try to download 
and use RC4.
 

-Original Message-
From: Richard Kimberly Heck  
Sent: Tuesday, April 9, 2024 9:51 PM
To: Bernt Lie ; LyX Developers ; 
lyx-users 
Subject: Re: LyX 2.4.0 & Jupyter Notebooks

On 4/9/24 12:00, Bernt Lie wrote:
> Thanks. Will look at it when the new version is released.

I don't think there have been any major changes in that machinery. And there 
definitely won't be any before the final release. Changes from RC4 to the 
official release are going to be pretty minor (as one would hope).

Riki


> -Original Message-
> From: Richard Kimberly Heck 
> Sent: Tuesday, April 9, 2024 5:38 PM
> To: Bernt Lie ; LyX Developers 
> ; lyx-users 
> Subject: Re: LyX 2.4.0 & Jupyter Notebooks
>
> On 4/9/24 08:48, Bernt Lie wrote:
>> Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
>> released)?
>>
>> I'm particularly interested in the possibility to...
>>
>> * link the notebooks into LyX so that I always get the latest 
>> version/computations in the notebook, i.e., preferably not a static 
>> import
>>
>> * inclusion of mark-up text with headlines, math, etc.
>>
>> * inclusion of input and output cells, with figures, etc.
>>
>> * linked-in notebooks would be multipage. Perhaps it should be possible to 
>> embed the notebooks in some theorem-like environment.
>>
>> OK -- don't know if this is possible, but it would go a long way towards 
>> getting a literal programming environment.
> The most plausible way to do this would be to use an external inset.
> That's the way that Lilypond files (music) are included, for example.
> Such insets are user definable. Basically, you tell LyX how to convert 
> the file to something LaTeX can process. This is discussed in section
> 7.1 of the Embedded Objects manual. You can use the existing xtemplate files 
> as a starting point, too.
>
> Riki
>
>

--

Richard Kimberly (Riki) Heck
Professor of Philosophy
Brown University

Pronouns: they/them/their
Website:  http://rkheck.frege.org/

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Richard Kimberly Heck

On 4/9/24 12:00, Bernt Lie wrote:

Thanks. Will look at it when the new version is released.


I don't think there have been any major changes in that machinery. And 
there definitely won't be any before the final release. Changes from RC4 
to the official release are going to be pretty minor (as one would hope).


Riki



-Original Message-
From: Richard Kimberly Heck 
Sent: Tuesday, April 9, 2024 5:38 PM
To: Bernt Lie ; LyX Developers ; lyx-users 

Subject: Re: LyX 2.4.0 & Jupyter Notebooks

On 4/9/24 08:48, Bernt Lie wrote:

Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
released)?

I'm particularly interested in the possibility to...

* link the notebooks into LyX so that I always get the latest
version/computations in the notebook, i.e., preferably not a static
import

* inclusion of mark-up text with headlines, math, etc.

* inclusion of input and output cells, with figures, etc.

* linked-in notebooks would be multipage. Perhaps it should be possible to 
embed the notebooks in some theorem-like environment.

OK -- don't know if this is possible, but it would go a long way towards 
getting a literal programming environment.

The most plausible way to do this would be to use an external inset.
That's the way that Lilypond files (music) are included, for example.
Such insets are user definable. Basically, you tell LyX how to convert the file 
to something LaTeX can process. This is discussed in section
7.1 of the Embedded Objects manual. You can use the existing xtemplate files as 
a starting point, too.

Riki




--

Richard Kimberly (Riki) Heck
Professor of Philosophy
Brown University

Pronouns: they/them/their
Website:  http://rkheck.frege.org/

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Biginset branch has landed (sorry for the spam)

2024-04-09 Thread Scott Kostyshak
On Tue, Apr 09, 2024 at 06:47:14PM GMT, Jean-Marc Lasgouttes wrote:
> Le 09/04/2024 à 16:48, Scott Kostyshak a écrit :
> > > Ohh, nice! What I do not understand is why the text (but not the insets)
> > > moves up when opening the minibuffer. This is strange.
> > 
> > Ah interesting, I didn't notice that. Strange indeed.
> 
> If you feel like bisecting, do not hesitate ;) I am not sure where to start
> right now.

Good to know. I can bisect when I have time.

> Concerning math formulas, this is without preview, right?

Correct.

> Is that the Wayland or the Xcb platform?

Wayland.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Painting leftovers from blinking cursor in 2.4.x

2024-04-09 Thread Jean-Marc Lasgouttes

Le 09/04/2024 à 18:25, Pavel Sanda a écrit :

Hi JMarc,

sometimes I see some painting artifacts in 2.4.0. I never saw them in 2.3. They
seem to be produced by few top pixels of blinking cursor while writing and
disappear when hitting enter for a new paragraph.

Will send you video privately.


Got it, thanks.


I do not know how to reproduce it yet, but maybe it will ring some bell for you 
anyway.


Does it depend on the screen font that you use? Some fonts have strange 
metrics.


JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Biginset branch has landed (sorry for the spam)

2024-04-09 Thread Jean-Marc Lasgouttes

Le 09/04/2024 à 16:48, Scott Kostyshak a écrit :

Ohh, nice! What I do not understand is why the text (but not the insets)
moves up when opening the minibuffer. This is strange.


Ah interesting, I didn't notice that. Strange indeed.


If you feel like bisecting, do not hesitate ;) I am not sure where to 
start right now.


Concerning math formulas, this is without preview, right?

Is that the Wayland or the Xcb platform?

JMarc

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Painting leftovers from blinking cursor in 2.4.x

2024-04-09 Thread Pavel Sanda
Hi JMarc,

sometimes I see some painting artifacts in 2.4.0. I never saw them in 2.3. They
seem to be produced by few top pixels of blinking cursor while writing and
disappear when hitting enter for a new paragraph.

Will send you video privately.

I do not know how to reproduce it yet, but maybe it will ring some bell for you 
anyway.
Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


RE: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Bernt Lie
Thanks. Will look at it when the new version is released.

-Original Message-
From: Richard Kimberly Heck  
Sent: Tuesday, April 9, 2024 5:38 PM
To: Bernt Lie ; LyX Developers ; 
lyx-users 
Subject: Re: LyX 2.4.0 & Jupyter Notebooks

On 4/9/24 08:48, Bernt Lie wrote:
> Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
> released)?
>
> I'm particularly interested in the possibility to...
>
> * link the notebooks into LyX so that I always get the latest 
> version/computations in the notebook, i.e., preferably not a static 
> import
>
> * inclusion of mark-up text with headlines, math, etc.
>
> * inclusion of input and output cells, with figures, etc.
>
> * linked-in notebooks would be multipage. Perhaps it should be possible to 
> embed the notebooks in some theorem-like environment.
>
> OK -- don't know if this is possible, but it would go a long way towards 
> getting a literal programming environment.

The most plausible way to do this would be to use an external inset. 
That's the way that Lilypond files (music) are included, for example. 
Such insets are user definable. Basically, you tell LyX how to convert the file 
to something LaTeX can process. This is discussed in section
7.1 of the Embedded Objects manual. You can use the existing xtemplate files as 
a starting point, too.

Riki


-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Richard Kimberly Heck

On 4/9/24 08:48, Bernt Lie wrote:

Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
released)?

I'm particularly interested in the possibility to...

* link the notebooks into LyX so that I always get the latest 
version/computations in the notebook, i.e., preferably not a static import

* inclusion of mark-up text with headlines, math, etc.

* inclusion of input and output cells, with figures, etc.

* linked-in notebooks would be multipage. Perhaps it should be possible to 
embed the notebooks in some theorem-like environment.

OK -- don't know if this is possible, but it would go a long way towards 
getting a literal programming environment.


The most plausible way to do this would be to use an external inset. 
That's the way that Lilypond files (music) are included, for example. 
Such insets are user definable. Basically, you tell LyX how to convert 
the file to something LaTeX can process. This is discussed in section 
7.1 of the Embedded Objects manual. You can use the existing xtemplate 
files as a starting point, too.


Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Biginset branch has landed (sorry for the spam)

2024-04-09 Thread Scott Kostyshak
On Tue, Apr 09, 2024 at 12:20:34PM GMT, Jean-Marc Lasgouttes wrote:
> Le 09/04/2024 à 06:51, Scott Kostyshak a écrit :
> > > Can anyone reproduce weirdness after (4)?
> 
> Hi Scott,
> 
> Yes, I can, but I did not find the time to investigate it yet.

No problem! Good to know you can reproduce.

> > I can still reproduce on current master. Another way to reproduce, which
> > doesn't involve math, is the following:
> > 
> > (1) Help > Introduction.
> > (2) Scroll down a bit with the mouse.
> > (3) Click somewhere.
> > (4) Press  + x to open the command buffer.
> > 
> > Sometimes it takes me a few tries. If it doesn't work the first time,
> > press  to close the command buffer and start at (2) again.
> 
> Ohh, nice! What I do not understand is why the text (but not the insets)
> moves up when opening the minibuffer. This is strange.

Ah interesting, I didn't notice that. Strange indeed.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


LyX 2.4.0 & Jupyter Notebooks

2024-04-09 Thread Bernt Lie
Is there a way to import Jupyter Notebooks into LyX 2.4.0 (when v. 2.4.0 is 
released)? 

I'm particularly interested in the possibility to...

* link the notebooks into LyX so that I always get the latest 
version/computations in the notebook, i.e., preferably not a static import

* inclusion of mark-up text with headlines, math, etc.

* inclusion of input and output cells, with figures, etc.

* linked-in notebooks would be multipage. Perhaps it should be possible to 
embed the notebooks in some theorem-like environment.

OK -- don't know if this is possible, but it would go a long way towards 
getting a literal programming environment. 

-B

-Original Message-
From: lyx-users  On Behalf Of Rich Shepard
Sent: Monday, April 1, 2024 11:58 PM
To: LyX Developers ; lyx-users 

Subject: Re: LyX 2.4.0 RC4

On Sun, 31 Mar 2024, Richard Kimberly Heck wrote:

> What we hope will be the final release candidate for 2.4.0 is now 
> available
> here:
> http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/
>
> Please report bugs to lyx-devel@lists.lyx.org.

Riki,

Just upgraded from 2.3.7.1 to 2.4.0~RC4 on Slackware64-15.0 on a ThinkPad T430; 
no bugs seen crawling around. The issues that bugged me in 2.3.6.2 and
2.3.7.1 (not finding biblatex.sty and biber, needing to use the File menu to 
export a pdflatex because c-x h wouldn't work) are gone.

I had a concern about Tools -> Preferences -> Look & Feel -> Display showed 
Default when I use emacs turned out that (at least on my system) emacs key 
chords are the default.

Congratulations and many thanks to all devs.

Best regards,

Rich

--
lyx-users mailing list
lyx-us...@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Biginset branch has landed (sorry for the spam)

2024-04-09 Thread Jean-Marc Lasgouttes

Le 09/04/2024 à 06:51, Scott Kostyshak a écrit :

Can anyone reproduce weirdness after (4)?


Hi Scott,

Yes, I can, but I did not find the time to investigate it yet.


I can still reproduce on current master. Another way to reproduce, which
doesn't involve math, is the following:

(1) Help > Introduction.
(2) Scroll down a bit with the mouse.
(3) Click somewhere.
(4) Press  + x to open the command buffer.

Sometimes it takes me a few tries. If it doesn't work the first time,
press  to close the command buffer and start at (2) again.


Ohh, nice! What I do not understand is why the text (but not the insets) 
moves up when opening the minibuffer. This is strange.


JMarc


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel