Re: A major bug in latex import for Lyx 2.4

2025-03-17 Thread Richard Kimberly Heck
On 3/15/25 8:54 AM, Jürgen Spitzmüller wrote: Am Samstag, dem 15.03.2025 um 13:21 +0100 schrieb Jürgen Spitzmüller: Now the question is: is this really a tex2lyx issue or a bug in mathed? The latter. In the fix for #13120, we didn't consider the possibility of DOS line endings when removing "\n

Re: A major bug in latex import for Lyx 2.4

2025-03-17 Thread Jürgen Spitzmüller
Am Montag, dem 17.03.2025 um 11:27 -0400 schrieb Richard Kimberly Heck: > > The latter. In the fix for #13120, we didn't consider the > > possibility > > of DOS line endings when removing "\n"s. This is fixed in master > > (096d75b8fb2) and should be backported to stable. > > OK. Done. -- Jürge

Re: A major bug in latex import for Lyx 2.4

2025-03-15 Thread Jürgen Spitzmüller
Am Samstag, dem 15.03.2025 um 23:25 +1300 schrieb Andrew Parsloe: > I've attached the LyX file. In a text editor it looks to be all there > but the display in LyX stops at the first = sign. Thanks. So as JMarc suspected, the (^$MS) line endings seem to be the problem. When converting the file with

Re: A major bug in latex import for Lyx 2.4

2025-03-15 Thread Jürgen Spitzmüller
Am Samstag, dem 15.03.2025 um 13:45 +0100 schrieb Jean-Marc Lasgouttes: > We can maybe fix both ends. tex2lyx should be robust and mathed > should be correct. Should tex2lyx use always UNIX line endings? What does LyX do on Windows? -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org ht

Re: A major bug in latex import for Lyx 2.4

2025-03-15 Thread Jürgen Spitzmüller
Am Samstag, dem 15.03.2025 um 13:21 +0100 schrieb Jürgen Spitzmüller: > Now the question is: is this really a tex2lyx issue or a bug in > mathed? The latter. In the fix for #13120, we didn't consider the possibility of DOS line endings when removing "\n"s. This is fixed in master (096d75b8fb2) and

Re: A major bug in latex import for Lyx 2.4

2025-03-15 Thread Jean-Marc Lasgouttes
Le 15/03/2025 à 13:21, Jürgen Spitzmüller a écrit : Am Samstag, dem 15.03.2025 um 23:25 +1300 schrieb Andrew Parsloe: I've attached the LyX file. In a text editor it looks to be all there but the display in LyX stops at the first = sign. Thanks. So as JMarc suspected, the (^$MS) line endings s

Re: A major bug in latex import for Lyx 2.4

2025-03-15 Thread Andrew Parsloe
On 15/03/2025 9:18 pm, Jürgen Spitzmüller wrote: Am Samstag, dem 15.03.2025 um 08:54 +1300 schrieb Andrew Parsloe: I pasted Shuvo's align environment and code into a tex-code inset in a preview inset in new documents in both 2.4.3 and 2.3.7, saved the documents, and exported as plain latex to ge

Re: A major bug in latex import for Lyx 2.4

2025-03-15 Thread Jürgen Spitzmüller
Am Samstag, dem 15.03.2025 um 08:54 +1300 schrieb Andrew Parsloe: > I pasted Shuvo's align environment and code into a tex-code inset in > a preview inset in new documents in both 2.4.3 and 2.3.7, saved the > documents, and exported as plain latex to generate .tex files. Could you send this file?

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread Andrew Parsloe
On 15/03/2025 10:34 am, Scott Kostyshak wrote: On Sat, Mar 15, 2025 at 08:54:40AM +1300, Andrew Parsloe wrote: On 15/03/2025 2:36 am, Jürgen Spitzmüller wrote: Am Freitag, dem 14.03.2025 um 09:23 -0400 schrieb Shuvomoy Das Gupta: An info that may be relevant is that I am using Windows ARM 64

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread Scott Kostyshak
On Sat, Mar 15, 2025 at 08:54:40AM +1300, Andrew Parsloe wrote: > On 15/03/2025 2:36 am, Jürgen Spitzmüller wrote: > > Am Freitag, dem 14.03.2025 um 09:23 -0400 schrieb Shuvomoy Das Gupta: > > > An info that may be relevant is that I am using Windows ARM 64 with a > > > Snapdragon(R) X 10-core X1P6

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread Andrew Parsloe
On 15/03/2025 2:36 am, Jürgen Spitzmüller wrote: Am Freitag, dem 14.03.2025 um 09:23 -0400 schrieb Shuvomoy Das Gupta: An info that may be relevant is that I am using Windows ARM 64 with a Snapdragon(R) X 10-core X1P64100 @ 3.40 GHz   3.42 GHz. I do not know if the current lyx binary is ARM comp

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread José Matos
On Fri, 2025-03-14 at 16:45 +0100, Jean-Marc Lasgouttes wrote: > Another question : what is your operating system ? (I wonder whether it > could be related to end-of-line characters). > > JMarc At another message of this thread: ... Windows ARM 64 with a Snapdragon(R) X 10-core X1P64100 @ 3.40 G

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread Jürgen Spitzmüller
Am Freitag, dem 14.03.2025 um 09:23 -0400 schrieb Shuvomoy Das Gupta: > An info that may be relevant is that I am using Windows ARM 64 with a > Snapdragon(R) X 10-core X1P64100 @ 3.40 GHz   3.42 GHz. I do not know > if the current lyx binary is ARM compatible or not. I think Windows > ARM 64 is run

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread Jean-Marc Lasgouttes
Le 14/03/2025 à 11:20, Scott Kostyshak a écrit : @Shuvomoy do you have preview enabled? Does only the first line show up in the PDF output if you view it? Another question : what is your operating system ? (I wonder whether it could be related to end-of-line characters). JMarc -- lyx-devel m

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread Shuvomoy Das Gupta
Hi Scott and Jürgen, An info that may be relevant is that I am using Windows ARM 64 with a Snapdragon(R) X 10-core X1P64100 @ 3.40 GHz 3.42 GHz. I do not know if the current lyx binary is ARM compatible or not. I think Windows ARM 64 is running Lyx through an emulation layer. That being said, Ly

Re: A major bug in latex import for Lyx 2.4

2025-03-14 Thread Scott Kostyshak
On Fri, Mar 14, 2025 at 05:47:31AM +0100, Jürgen Spitzmüller wrote: > Am Donnerstag, dem 13.03.2025 um 17:23 -0400 schrieb Shuvomoy Das > Gupta: > > If you paste special as latex, you will see in Lyx 2.4. that only the > > first line of the formula is there, the rest of the formula is > > missing.

Re: A major bug in latex import for Lyx 2.4

2025-03-13 Thread Jürgen Spitzmüller
Am Donnerstag, dem 13.03.2025 um 17:23 -0400 schrieb Shuvomoy Das Gupta: > A simple reproducible example is as follows. You can also test it via > paste special latex option for the following formula: > > \begin{align*} >  & > \mathcal{R}\left(M,\mathcal{E},\mathcal{F},\mathcal{C}\right)\nonumbe

A major bug in latex import for Lyx 2.4

2025-03-13 Thread Shuvomoy Das Gupta
Hi, I would like to report a major bug in Lyx 2.4: it seems that when importing latex files into Lyx, the imported lyx documents has missing equations and all that. It should be noted that I tested the same file on Lyx 2.3 and it worked just fine. A simple reproducible example is as follows. You

Re: Bug in LaTeX import

1999-11-15 Thread Amir Karger
On Sat, Nov 13, 1999 at 04:54:41AM +, Umut Sezen wrote: > Hi, > > I think I found a bug in the LaTeX import section of LyX (version > 1.1.2). > > The bug is it can not import "dotless i" charecter (which is \i) from > a LaTeX source file. In order to test, please try the following two > file

Bug in LaTeX import

1999-11-12 Thread Umut Sezen
Hi, I think I found a bug in the LaTeX import section of LyX (version 1.1.2). The bug is it can not import "dotless i" charecter (which is \i) from a LaTeX source file. In order to test, please try the following two files: File 1: - \documentclass[12pt]{article} \begin{document} \noindent

Re: Bug in LaTeX import

1999-01-16 Thread Jean-Marc Lasgouttes
> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: Amir> 1) When saying that LaTeX \i should be converted to LyX \i, the Amir> reLyX source code says: Amir> # \i and \j are used in accents. LyX doesn't recognize them Amir> in plain # text. Hopefully, this isn't a problem. Amir> Well, a