Re: New 2.3.8 Tarballs

2024-05-14 Thread Pavel Sanda
On Tue, May 14, 2024 at 11:11:07AM +0200, Jean-Pierre Chrétien wrote:
> Le 10/05/2024 ?? 10:51, Pavel Sanda a écrit :
> >On Fri, May 10, 2024 at 10:38:01AM +0200, JP wrote:
> >>Sure, I will do it ASAP.
> >
> >Thanks. You should be able to commit any new files
> >into wiki-uploads.git repository. Just create new
> >directory in LyX/Manuals
> 
> Completed, I added the Japanese manuals and left the Spanish ones as they
> are, users will see when opening them that they are still 2.3.X manuals. And
> the page reads "Released with 2.4.0", not "2.4.0 manuals".

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


Re: New 2.3.8 Tarballs

2024-05-14 Thread Jean-Pierre Chrétien

Le 10/05/2024 à 10:51, Pavel Sanda a écrit :

On Fri, May 10, 2024 at 10:38:01AM +0200, JP wrote:

Sure, I will do it ASAP.


Thanks. You should be able to commit any new files
into wiki-uploads.git repository. Just create new
directory in LyX/Manuals


Completed, I added the Japanese manuals and left the Spanish ones as they are, 
users will see when opening them that they are still 2.3.X manuals. And the page 
reads "Released with 2.4.0", not "2.4.0 manuals".


--
Jean-Pierre



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


Re: New 2.3.8 Tarballs

2024-05-12 Thread Pavel Sanda
On Sat, May 11, 2024 at 03:55:30PM +0200, Jean-Pierre Chrétien wrote:
> Two problems:
>  - I do not see directory 2.4 there
> 
> https://git.lyx.org/gitweb/?p=wiki-uploads.git;a=tree;f=LyX/Manuals;h=ff50f62b09e435ac1083bf149f4379245af74c02;hb=4fa520e50b8a16ac7eccfe0d8517399ffcaa467a

You are looking at the old commit. If you look on the current tree you will see 
2.4 files present.

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


Re: New 2.3.8 Tarballs

2024-05-11 Thread Jean-Pierre Chrétien

Le 10/05/2024 à 10:51, Pavel Sanda a écrit :

On Fri, May 10, 2024 at 10:38:01AM +0200, JP wrote:

Sure, I will do it ASAP.


Thanks. You should be able to commit any new files
into wiki-uploads.git repository. Just create new
directory in LyX/Manuals



So I cloned locally wiki-uploads and committed the manuals in a 2.4 directory.

Two problems:
 - I do not see directory 2.4 there

https://git.lyx.org/gitweb/?p=wiki-uploads.git;a=tree;f=LyX/Manuals;h=ff50f62b09e435ac1083bf149f4379245af74c02;hb=4fa520e50b8a16ac7eccfe0d8517399ffcaa467a

but I see it perfectly from the wiki itself:

https://wiki.lyx.org/uploads/LyX/Manuals/

 - I updated the wiki password a month ago, but the new password does not seem 
to work properly. Can you remind it to me?


--
Jean-Pierre


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


Re: New 2.3.8 Tarballs

2024-05-10 Thread Pavel Sanda
On Fri, May 10, 2024 at 10:38:01AM +0200, JP wrote:
> Sure, I will do it ASAP.

Thanks. You should be able to commit any new files
into wiki-uploads.git repository. Just create new
directory in LyX/Manuals

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


Re: New 2.3.8 Tarballs

2024-05-10 Thread JP



Le 10 mai 2024 09:38:46 Pavel Sanda  a écrit :



And when we talk about the manuals, Jean-Pierre would you have time to update
manuals page by uploading 2.4 versions into
https://wiki.lyx.org/LyX/Manuals
?


Sure, I will do it ASAP.

--
Jean-Pierre





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


Re: New 2.3.8 Tarballs

2024-05-10 Thread Pavel Sanda
On Thu, May 09, 2024 at 06:49:50PM +0200, Jean-Pierre Chrétien wrote:
> Le 09/05/2024 ?? 18:40, Richard Kimberly Heck a écrit :
> >Updated tarballs here:
> >
> >http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
> >
> >Sorry to those of you who already built the binaries. We'll have to rebuild.
> 
> The utf8 errors are gone, only the cprotect fatal error in the note if 6.6.1
> remains, but it can't be easily solved AFAIU.

And when we talk about the manuals, Jean-Pierre would you have time to update
manuals page by uploading 2.4 versions into 
https://wiki.lyx.org/LyX/Manuals
?

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


Re: New 2.3.8 Tarballs

2024-05-09 Thread Jürgen Spitzmüller
Am Donnerstag, dem 09.05.2024 um 18:49 +0200 schrieb Jean-Pierre
Chrétien:
> The utf8 errors are gone, only the cprotect fatal error in the note
> if 6.6.1 remains, but it can't be easily solved AFAIU.

Correct.

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


Re: New 2.3.8 Tarballs

2024-05-09 Thread Jean-Pierre Chrétien

Le 09/05/2024 à 18:40, Richard Kimberly Heck a écrit :

Updated tarballs here:

http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/

Sorry to those of you who already built the binaries. We'll have to rebuild.


The utf8 errors are gone, only the cprotect fatal error in the note if 6.6.1 
remains, but it can't be easily solved AFAIU.


--
Jean-Pierre


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


New 2.3.8 Tarballs

2024-05-09 Thread Richard Kimberly Heck

Updated tarballs here:

http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/

Sorry to those of you who already built the binaries. We'll have to rebuild.

Riki


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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread Richard Kimberly Heck

On 5/9/24 10:25, Jürgen Spitzmüller wrote:

Am Donnerstag, dem 09.05.2024 um 15:32 +0200 schrieb Pavel Sanda:

I'll just repeat from the second thread so the issue is more clear:
Both 2.3 and 2.4 produce from UG
\item
[{\ensuremath{\lceil}\textsf{Outer}\ensuremath{\rfloor}\textsf{~and~}
\ensuremath{\llceil}\textsf{inner}\ensuremath{\rrfloor}}]

but after 2.4->2.3 conversion, 2.3 produces
utf8 char of \lceil instead of {\ensuremath{\lceil}

and that's probaly because the "Language default" switch Enrico
reported.

As Enrico said, backporting 9644916d will fix it.

OK to do that, Riki?


OK.

Riki


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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread Jürgen Spitzmüller
Am Donnerstag, dem 09.05.2024 um 15:32 +0200 schrieb Pavel Sanda:
> I'll just repeat from the second thread so the issue is more clear:
> Both 2.3 and 2.4 produce from UG
> \item
> [{\ensuremath{\lceil}\textsf{Outer}\ensuremath{\rfloor}\textsf{~and~}
> \ensuremath{\llceil}\textsf{inner}\ensuremath{\rrfloor}}]
> 
> but after 2.4->2.3 conversion, 2.3 produces
> utf8 char of \lceil instead of {\ensuremath{\lceil}
> 
> and that's probaly because the "Language default" switch Enrico
> reported.

As Enrico said, backporting 9644916d will fix it.

OK to do that, Riki?

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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread Pavel Sanda
On Thu, May 09, 2024 at 12:18:04PM +0200, Jean-Marc Lasgouttes wrote:
> Le 09/05/2024 ?? 12:10, Jürgen Spitzmüller a écrit :
> >Am Donnerstag, dem 09.05.2024 um 09:03 +0200 schrieb Enrico Forestieri:
> >>Maybe Jürgen knows how feasible is backporting the cprotect work.
> >
> >Definitely too much work.
> >
> 
> This is not a new bug in 2.3.8, right?
> 
> In some sense the lyx2lyx bug is a new bug (since we backported 2.4 format
> support), though. Shall we do something about it?

I'll just repeat from the second thread so the issue is more clear:
Both 2.3 and 2.4 produce from UG
\item 
[{\ensuremath{\lceil}\textsf{Outer}\ensuremath{\rfloor}\textsf{~and~}\ensuremath{\llceil}\textsf{inner}\ensuremath{\rrfloor}}]

but after 2.4->2.3 conversion, 2.3 produces
utf8 char of \lceil instead of {\ensuremath{\lceil}

and that's probaly because the "Language default" switch Enrico reported.

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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread JP



Le 9 mai 2024 13:17:26 José Matos  a écrit :


On Thu, 2024-05-09 at 12:18 +0200, Jean-Marc Lasgouttes wrote:

This is not a new bug in 2.3.8, right?

In some sense the lyx2lyx bug is a new bug (since we backported 2.4
format support), though. Shall we do something about it?

JMarc


The problem is the backwards conversion (converting from 2.4 to 2.3
file format) and not the forward conversion, right?


Right, opening the 2.3.8 UG in 2.4 works fine.

--
Jean-Pierre


The backwards conversion has always been a *good to have* an not a
*should have*.

If this can be easily fixed then of course it should be fixed.

I am sorry if I am understanding this wrong, I have no time to get all
the details right. :-)
--
José Abílio
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread José Matos
On Thu, 2024-05-09 at 12:18 +0200, Jean-Marc Lasgouttes wrote:
> This is not a new bug in 2.3.8, right?
> 
> In some sense the lyx2lyx bug is a new bug (since we backported 2.4 
> format support), though. Shall we do something about it?
> 
> JMarc

The problem is the backwards conversion (converting from 2.4 to 2.3
file format) and not the forward conversion, right?

The backwards conversion has always been a *good to have* an not a
*should have*.

If this can be easily fixed then of course it should be fixed.

I am sorry if I am understanding this wrong, I have no time to get all
the details right. :-)
-- 
José Abílio
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Final 2.3.8 Tarballs

2024-05-09 Thread Jürgen Spitzmüller
Am Donnerstag, dem 09.05.2024 um 12:18 +0200 schrieb Jean-Marc
Lasgouttes:
> Le 09/05/2024 à 12:10, Jürgen Spitzmüller a écrit :
> > Am Donnerstag, dem 09.05.2024 um 09:03 +0200 schrieb Enrico
> > Forestieri:
> > > Maybe Jürgen knows how feasible is backporting the cprotect work.
> > 
> > Definitely too much work.
> > 
> 
> This is not a new bug in 2.3.8, right?

No, the cases that we \cprotect now simply did not work before 2.4.

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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread JP



Le 9 mai 2024 12:18:19 Jean-Marc Lasgouttes  a écrit :


Le 09/05/2024 à 12:10, Jürgen Spitzmüller a écrit :

Am Donnerstag, dem 09.05.2024 um 09:03 +0200 schrieb Enrico Forestieri:

Maybe Jürgen knows how feasible is backporting the cprotect work.


Definitely too much work.


This is not a new bug in 2.3.8, right?

In some sense the lyx2lyx bug is a new bug (since we backported 2.4
format support), though. Shall we do something about it?


A warning? But this is latex, not lyx, à bit technical.

--
Jean-Pierre


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


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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread Jean-Marc Lasgouttes

Le 09/05/2024 à 12:10, Jürgen Spitzmüller a écrit :

Am Donnerstag, dem 09.05.2024 um 09:03 +0200 schrieb Enrico Forestieri:

Maybe Jürgen knows how feasible is backporting the cprotect work.


Definitely too much work.



This is not a new bug in 2.3.8, right?

In some sense the lyx2lyx bug is a new bug (since we backported 2.4 
format support), though. Shall we do something about it?


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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread Jürgen Spitzmüller
Am Donnerstag, dem 09.05.2024 um 09:03 +0200 schrieb Enrico Forestieri:
> Maybe Jürgen knows how feasible is backporting the cprotect work.

Definitely too much work.

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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread Enrico Forestieri

On Wed, May 08, 2024 at 11:35:13PM +0200, Pavel Sanda wrote:

On Wed, May 08, 2024 at 07:56:25PM +0200, Enrico Forestieri wrote:

On Wed, May 08, 2024 at 11:53:02AM +0200, Jean-Pierre Chrétien wrote:
>In fact, there are two different issues when importing 2.4.x UserGuide in
>2.3.8:
>- a set of unavailable Unicode characters (CJK brackets and guillemets, codes
>U+300{ABCDEF}), section 3.9.4.2);

These errors disappear when choosing "Language default" instead of "Unicode
(utf8)" in Document->Settings->Language


Right, the issue is whether the switch to "Language default" produced by lyx2lyx
is warranted...


Maybe it suffices backporting 
https://www.lyx.org/trac/changeset/9644916d/lyxgit


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


Re: Final 2.3.8 Tarballs

2024-05-09 Thread Enrico Forestieri

On Wed, May 08, 2024 at 04:41:42PM -0400, Richard Kimberly Heck wrote:

On 5/8/24 13:56, Enrico Forestieri wrote:

On Wed, May 08, 2024 at 11:53:02AM +0200, Jean-Pierre Chrétien wrote:
In fact, there are two different issues when importing 2.4.x 
UserGuide in 2.3.8:
- a set of unavailable Unicode characters (CJK brackets and 
guillemets, codes

U+300{ABCDEF}), section 3.9.4.2);


These errors disappear when choosing "Language default" instead of 
"Unicode (utf8)" in Document->Settings->Language


- an error in url 
https://en.wikipedia.org/wiki/ASCII#Character_set, note3 in 
section 6.6.1: the # symbol triggers an hyperref error

! Illegal parameter number in definition of \Hy@tempa.


This is due to the fact that the footnote is not \cprotect'ed when 
exporting to latex.


Is there anything we can/should do for 2.3.8, then? These kinds of 
issues are not ones I understand.


Maybe Jürgen knows how feasible is backporting the cprotect work.

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


Re: Final 2.3.8 Tarballs

2024-05-08 Thread Pavel Sanda
On Wed, May 08, 2024 at 07:56:25PM +0200, Enrico Forestieri wrote:
> On Wed, May 08, 2024 at 11:53:02AM +0200, Jean-Pierre Chrétien wrote:
> >In fact, there are two different issues when importing 2.4.x UserGuide in
> >2.3.8:
> >- a set of unavailable Unicode characters (CJK brackets and guillemets, codes
> >U+300{ABCDEF}), section 3.9.4.2);
> 
> These errors disappear when choosing "Language default" instead of "Unicode
> (utf8)" in Document->Settings->Language

Right, the issue is whether the switch to "Language default" produced by lyx2lyx
is warranted...

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


Re: Final 2.3.8 Tarballs

2024-05-08 Thread Richard Kimberly Heck

On 5/8/24 13:56, Enrico Forestieri wrote:

On Wed, May 08, 2024 at 11:53:02AM +0200, Jean-Pierre Chrétien wrote:
In fact, there are two different issues when importing 2.4.x 
UserGuide in 2.3.8:
- a set of unavailable Unicode characters (CJK brackets and 
guillemets, codes

U+300{ABCDEF}), section 3.9.4.2);


These errors disappear when choosing "Language default" instead of 
"Unicode (utf8)" in Document->Settings->Language


- an error in url https://en.wikipedia.org/wiki/ASCII#Character_set, 
note3 in section 6.6.1: the # symbol triggers an hyperref error

! Illegal parameter number in definition of \Hy@tempa.


This is due to the fact that the footnote is not \cprotect'ed when 
exporting to latex.


Is there anything we can/should do for 2.3.8, then? These kinds of 
issues are not ones I understand.


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: Final 2.3.8 Tarballs

2024-05-08 Thread Enrico Forestieri

On Wed, May 08, 2024 at 11:53:02AM +0200, Jean-Pierre Chrétien wrote:
In fact, there are two different issues when importing 2.4.x UserGuide 
in 2.3.8:

- a set of unavailable Unicode characters (CJK brackets and guillemets, codes
U+300{ABCDEF}), section 3.9.4.2);


These errors disappear when choosing "Language default" instead of 
"Unicode (utf8)" in Document->Settings->Language


- an error in url https://en.wikipedia.org/wiki/ASCII#Character_set, 
note3 in section 6.6.1: the # symbol triggers an hyperref error

! Illegal parameter number in definition of \Hy@tempa.


This is due to the fact that the footnote is not \cprotect'ed when 
exporting to latex.


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


Re: Final 2.3.8 Tarballs

2024-05-08 Thread Jean-Pierre Chrétien

Le 07/05/2024 à 09:41, Pavel Sanda a écrit :

On Mon, May 06, 2024 at 09:49:07PM -0400, Richard Kimberly Heck wrote:

PS The only difference from the previous tarballs is removal of an old
remark about Python on OSX from ANNOUNCE.


Riki, please double check on the error spotted by Jean-Pierre before releasing.
I am too busy this week, to look deeper.


In fact, there are two different issues when importing 2.4.x UserGuide in 2.3.8:
 - a set of unavailable Unicode characters (CJK brackets and guillemets, codes
U+300{ABCDEF}), section 3.9.4.2);
 - an error in url https://en.wikipedia.org/wiki/ASCII#Character_set, note3 in 
section 6.6.1: the # symbol triggers an hyperref error

! Illegal parameter number in definition of \Hy@tempa.

The latter is more boring, as it stops compilation.

The UserGuide compiles fine both with lyx-2.4.0~devel and lyx-2.3.8.

--
Jean-Pierre




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


Re: 2.3.8 Tarballs

2024-05-07 Thread Stephan Witt
Am 02.05.2024 um 22:47 schrieb Richard Kimberly Heck :
> 
> Here:
> 
> http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
> 
> Please check that they build and run properly, especially export to and from 
> 2.4.x.
> 
> When we've verified all is well, I'll give the signal to build binaries for 
> real.

Now, I’ve built the binary and checked the import from 2.4.x with a large and 
complex document.

No unit test but it works w/o problems.

I had to correct my build script to get the hunspell dictionaries packaged with 
internal hunspell.

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


Re: Final 2.3.8 Tarballs

2024-05-07 Thread Pavel Sanda
On Mon, May 06, 2024 at 09:49:07PM -0400, Richard Kimberly Heck wrote:
> PS The only difference from the previous tarballs is removal of an old
> remark about Python on OSX from ANNOUNCE.

Riki, please double check on the error spotted by Jean-Pierre before releasing.
I am too busy this week, to look deeper.

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


Re: Final 2.3.8 Tarballs

2024-05-06 Thread Richard Kimberly Heck
PS The only difference from the previous tarballs is removal of an old 
remark about Python on OSX from ANNOUNCE.


On 5/6/24 21:40, Richard Kimberly Heck wrote:

Here:

    http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/

Please prepare binaries.

When that is done, we'll move to the 2.4.0 release!

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


Final 2.3.8 Tarballs

2024-05-06 Thread Richard Kimberly Heck

Here:

    http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/

Please prepare binaries.

When that is done, we'll move to the 2.4.0 release!

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: 2.3.8 Tarballs

2024-05-04 Thread Yu Jin
Am Do., 2. Mai 2024 um 22:48 Uhr schrieb Richard Kimberly Heck:

> Here:
>
>  http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
>
> Please check that they build and run properly, especially export to and
> from 2.4.x.
>
> When we've verified all is well, I'll give the signal to build binaries
> for real.
>

Works on Windows.
-- 
  Eugene
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.3.8 Tarballs

2024-05-03 Thread Pavel Sanda
On Fri, May 03, 2024 at 11:24:44PM +0200, Pavel Sanda wrote:
> I wanted to look how the converted .lyx file looks in raw format and tried to 
> save the converted UG and lyx crashed :/

Found the core dump, the backtrace:
Thread 1 "lyx" received signal SIGSEGV, Segmentation fault.
0x55887484 in lyx::Paragraph::inInset() const ()
(gdb) bt
#0  0x55887484 in lyx::Paragraph::inInset() const ()
#1  0x55887569 in lyx::Paragraph::isPassThru() const ()
#2  0x55b8553c in lyx::frontend::GuiView::getStatus(lyx::FuncRequest 
const&, lyx::FuncStatus&) ()
#3  0x55b562da in 
lyx::frontend::GuiApplication::getStatus(lyx::FuncRequest const&) const ()
#4  0x5583e1dc in lyx::getStatus(lyx::FuncRequest const&) ()
#5  0x55bb9458 in lyx::frontend::(anonymous 
namespace)::MenuDefinition::addWithStatusCheck(lyx::frontend::(ano  
  
nymous namespace)::MenuItem const&) ()
#6  0x55bc8113 in 
lyx::frontend::Menus::Impl::expand(lyx::frontend::(anonymous 
namespace)::MenuDefinition cons 
   
t&, lyx::frontend::(anonymous namespace)::MenuDefinition&, lyx::BufferView 
const*) const ()
#7  0x55bc853d in 
lyx::frontend::Menus::Impl::expand(lyx::frontend::(anonymous 
namespace)::MenuDefinition cons 
   
t&, lyx::frontend::(anonymous namespace)::MenuDefinition&, lyx::BufferView 
const*) const ()
#8  0x55bc853d in 
lyx::frontend::Menus::Impl::expand(lyx::frontend::(anonymous 
namespace)::MenuDefinition cons 
   
t&, lyx::frontend::(anonymous namespace)::MenuDefinition&, lyx::BufferView 
const*) const ()
#9  0x55bcb201 in lyx::frontend::Menus::searchMenu(lyx::FuncRequest 
const&, lyx::docstring_list&) const ()
#10 0x55ab69a0 in lyx::InsetInfo::updateInfo() ()
#11 0x55ab97dd in lyx::InsetInfo::read(lyx::Lexer&) ()
#12 0x5594bd46 in lyx::readInset(lyx::Lexer&, lyx::Buffer*) ()
#13 0x558bb7b1 in lyx::Text::readParToken(lyx::Paragraph&, lyx::Lexer&, 
std::__cxx11::basic_string, std::allocator > const&, lyx::Font&, lyx::Change&, 
lyx::ErrorList&) ()
#14 0x558bcb89 in lyx::Text::readParagraph(lyx::Paragraph&, 
lyx::Lexer&, lyx::ErrorList&) ()
#15 0x558be124 in lyx::Text::read(lyx::Lexer&, lyx::ErrorList&, 
lyx::InsetText*) ()
#16 0x55756ef4 in lyx::Buffer::readDocument(lyx::Lexer&) ()
#17 0x557576ce in lyx::Buffer::readFile(lyx::support::FileName const&) 
()
#18 0x557665b7 in lyx::Buffer::reload() ()
#19 0x55b87fc0 in lyx::frontend::GuiView::renameBuffer(lyx::Buffer&, 
std::__cxx11::basic_string, std::allocator > const&, 
lyx::frontend::GuiView::RenameKind) ()
#20 0x55b91fe7 in lyx::frontend::GuiView::dispatch(lyx::FuncRequest 
const&, lyx::DispatchResult&) ()
#21 0x55b5f582 in 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, 
lyx::DispatchResult&) ()
#22 0x55b589bb in 
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) ()
#23 0x55bdcced in lyx::frontend::Action::action() ()


It seems that you need to get into section 3.9.4.2, put cursor on paragraph 
with Japan qutoes, display code preview pane (and mayby outliner as well).
Can produce better backtrace in the next days... P
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.3.8 Tarballs

2024-05-03 Thread Pavel Sanda
On Fri, May 03, 2024 at 11:28:47AM +0200, Pavel Sanda wrote:
> > Next step, open the 2.4.x French UserGuide with 2.3.8. There compilation
> > fails on missing Unicode characters :
> > 
> > ! LaTeX Error: Unicode character ??? (U+300C)
> >not set up for use with LaTeX.
> 
> On a first sight this does not look like lyx2lyx issue.

I had a moment to look and this is actually strange.

It fails on e.g. Japanese outer/inner quotation marks in section 3.9.4.2.
But those were introduced in 2016 (89ce0c9069d3), not in 2.4  cycle.

Both 2.3 and 2.4 produce from UG
\item 
[{\ensuremath{\lceil}\textsf{Outer}\ensuremath{\rfloor}\textsf{~and~}\ensuremath{\llceil}\textsf{inner}\ensuremath{\rrfloor}}]
 Produces

but after 2.4->2.3 conversion, 2.3 produces
utf8 char of \lceil instead of {\ensuremath{\lceil}

I wanted to look how the converted .lyx file looks in raw format and tried to 
save the converted UG and lyx crashed :/
Second attempt worked and I see no difference in the quotes within .lyx file 
and no obvious candidates in the header, except maybe different font 
options(?)...

Can't dig deeper now,
Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.3.8 Tarballs

2024-05-03 Thread Pavel Sanda
On Fri, May 03, 2024 at 10:40:02AM +0200, Jean-Pierre Chrétien wrote:
> But compilation succeeds.

I think this is acceptable.

> Next step, open the 2.4.x French UserGuide with 2.3.8. There compilation
> fails on missing Unicode characters :
> 
> ! LaTeX Error: Unicode character ??? (U+300C)
>not set up for use with LaTeX.

On a first sight this does not look like lyx2lyx issue.

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


Re: 2.3.8 Tarballs

2024-05-03 Thread Jean-Pierre Chrétien

Le 02/05/2024 à 22:47, Richard Kimberly Heck a écrit :

Here:

     http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/

Please check that they build and run properly, especially export to and from 
2.4.x.

When we've verified all is well, I'll give the signal to build binaries for 
real.



On Debian stable:

Configuration
  Host type:   x86_64-pc-linux-gnu
  Special build flags:  build=release std-regex use-hunspell use-enchant
  Bundled libraries:boost hunspell
  C++ Compiler:g++ (12.2.0)
  C++ Compiler flags:   -fPIC -O2 -std=c++14
  C++ Compiler user flags:
  Linker flags:
  Linker user flags:
  Qt Frontend:
  Qt version:  5.15.8
  Packaging:   posix
  LyX binary dir:  /usr/local/bin
  LyX files dir:   /usr/local/share/lyx-2.3.8

I still get warnings about unary_function:

BranchList.cpp:30:38: warning: ‘template struct 
std::unary_function’ is deprecated [-Wdeprecated-declarations]

   30 | class BranchNamesEqual : public std::unary_function
  |  ^~
In file included from /usr/include/c++/12/string:48,
 from ./support/strfwd.h:42,
 from support/docstring.h:16,
 from BranchList.h:17,
 from BranchList.cpp:14:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
  117 | struct unary_function
  |^~
Format.cpp:62:33: warning: ‘template struct 
std::unary_function’ is deprecated [-Wdeprecated-declarations]

   62 | class FormatNamesEqual : public unary_function {
  | ^~
In file included from /usr/include/c++/12/functional:49,
 from Format.cpp:12:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
  117 | struct unary_function
  |^~
Format.cpp:76:38: warning: ‘template struct 
std::unary_function’ is deprecated [-Wdeprecated-declarations]

   76 | class FormatExtensionsEqual : public unary_function {
  |  ^~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
  117 | struct unary_function
  |^~
Format.cpp:90:32: warning: ‘template struct 
std::unary_function’ is deprecated [-Wdeprecated-declarations]

   90 | class FormatMimeEqual : public unary_function {
  |^~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
  117 | struct unary_function
  |^~
IndicesList.cpp:30:37: warning: ‘template struct 
std::unary_function’ is deprecated [-Wdeprecated-declarations]

   30 | class IndexNamesEqual : public std::unary_function
  | ^~
In file included from /usr/include/c++/12/string:48,
 from ./support/strfwd.h:42,
 from support/docstring.h:16,
 from IndicesList.h:17,
 from IndicesList.cpp:13:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
  117 | struct unary_function
  |^~
IndicesList.cpp:46:38: warning: ‘template struct 
std::unary_function’ is deprecated [-Wdeprecated-declarations]

   46 | class IndexHasShortcut : public std::unary_function
  |  ^~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
  117 | struct unary_function
  |^~


But compilation succeeds.

Next step, open the 2.4.x French UserGuide with 2.3.8. There compilation fails 
on missing Unicode characters :


! LaTeX Error: Unicode character 「 (U+300C)
   not set up for use with LaTeX.

and the following characters  「  」 『  』 《 》in section 3.9.4.2.

Finally compilation stops with this :

Runaway argument?
{\printnomenclature {}\printindex \end {document}
! File ended while scanning use of \@settodim.

\par
<*> UserGuide.tex

I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

! Emergency stop.

Same with English UserGuide. This seems local to the file, right?

lyx-2.4.0~devel opens and compiles the 2.3.8 French UserGuide flawlessly.

--
Jean-Pierre





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


Re: 2.3.8 Tarballs

2024-05-03 Thread Pavel Sanda
On Thu, May 02, 2024 at 04:47:34PM -0400, Richard Kimberly Heck wrote:
> Please check that they build and run properly, especially export to and from
> 2.4.x.

Runs fine on oldstable debian.
Tried exchange between 2.3 <-> 2.4 and it did work for me.

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


2.3.8 Tarballs

2024-05-02 Thread Richard Kimberly Heck

Here:

    http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/

Please check that they build and run properly, especially export to and 
from 2.4.x.


When we've verified all is well, I'll give the signal to build binaries 
for real.


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