Re: 2.3.7 Tarballs Available

2023-01-03 Thread Richard Kimberly Heck

On 1/3/23 16:18, José Matos wrote:

On Tue, 2023-01-03 at 12:40 -0500, Richard Kimberly Heck wrote:

Go ahead, then.

Riki

I would not mind, if I could. :-)

The workaround to support the old ssh server does not work for me since
Fedora 36. :-(


Really? It works fine here on F37. I'm using an RSA key still.

If you can tell me which commit(s) to cherry-pick, I can do that.

Riki


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


Re: 2.3.7 Tarballs Available

2023-01-03 Thread Pavel Sanda
On Tue, Jan 03, 2023 at 12:41:43PM -0500, Richard Kimberly Heck wrote:
> Thanks. I would not have thought to do that. I'll make sure to retain it
> when I do the actual release.

Good. And thanks Stephan to make the whole tutorial about it :)

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


Re: 2.3.7 Tarballs Available

2023-01-03 Thread José Matos
On Tue, 2023-01-03 at 12:40 -0500, Richard Kimberly Heck wrote:
> Go ahead, then.
> 
> Riki

I would not mind, if I could. :-)

The workaround to support the old ssh server does not work for me since
Fedora 36. :-(

Best regards,
-- 
José Abílio
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Override mode for local layout / how to unset parameter

2023-01-03 Thread Lorenzo Bertini

On 03/01/23 18:50, Richard Kimberly Heck wrote:

On 1/3/23 11:49, Lorenzo Bertini wrote:

Hi,

I hope you all had wonderful holidays. I'm doing some tests with local 
layouts, and I was wondering what is the modality with which a local 
layout overrides the default: does it completely erase the latter and 
uses your edits, or does it override only the attributes you've modified?


The latter. Layouts are loaded successively: First, the document class 
layout; then the modules; then the local layout. Each one can either add 
to or over-write previous settings. This technique is used in many of 
the document class layouts themselves: They import 'standard' settings, 
then modify what needs modifying.



Also, suppose I want to "unset" a layout attribute that is set to 
something in the default layout, for example "DocbookWrapperTag" 
because I don't want wrapping: I can obtain what I want doing

> DocbookWrapperTag ""
but is there a better way?


That's the way to do it.

Riki




Many thanks!

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


Re: Override mode for local layout / how to unset parameter

2023-01-03 Thread Richard Kimberly Heck

On 1/3/23 11:49, Lorenzo Bertini wrote:

Hi,

I hope you all had wonderful holidays. I'm doing some tests with local 
layouts, and I was wondering what is the modality with which a local 
layout overrides the default: does it completely erase the latter and 
uses your edits, or does it override only the attributes you've modified?


The latter. Layouts are loaded successively: First, the document class 
layout; then the modules; then the local layout. Each one can either add 
to or over-write previous settings. This technique is used in many of 
the document class layouts themselves: They import 'standard' settings, 
then modify what needs modifying.



Also, suppose I want to "unset" a layout attribute that is set to 
something in the default layout, for example "DocbookWrapperTag" 
because I don't want wrapping: I can obtain what I want doing

> DocbookWrapperTag ""
but is there a better way?


That's the way to do it.

Riki


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


Re: 2.3.7 Tarballs Available

2023-01-03 Thread Richard Kimberly Heck

On 1/3/23 03:45, Pavel Sanda wrote:

On Tue, Jan 03, 2023 at 09:05:46AM +0100, Stephan Witt wrote:

Am 02.01.2023 um 00:53 schrieb Richard Kimberly Heck :

Here:

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

Note that I've named these files as 2.3.7-1, but did not do that in 
configure.ac, since we did not release anything yet.

Please build binaries.

I???ve built the binaries for Mac and put them here:

Riki,

I'd put some warning paragraph into email announcement and maybe even
to web Mac download section, that without manual installation of python
LyX won't work on new Mac systems with link to
https://wiki.lyx.org/Mac.Mac#toc2


Thanks. I would not have thought to do that. I'll make sure to retain it 
when I do the actual release.


Riki


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


Re: 2.3.7 Tarballs Available

2023-01-03 Thread Richard Kimberly Heck

On 1/2/23 14:34, José Matos wrote:

On Sun, 2023-01-01 at 18:53 -0500, Richard Kimberly Heck wrote:

Here:

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

Note that I've named these files as 2.3.7-1, but did not do that in
configure.ac, since we did not release anything yet.

Please build binaries.

Riki

This builds in Fedora.

When testing I noticed that there is patch that is already applied in
2.4 but not yet in 2.3:

https://src.fedoraproject.org/rpms/lyx/raw/rawhide/f/lyx-2.3.6-layout2layout.patch


Go ahead, then.

Riki


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


Override mode for local layout / how to unset parameter

2023-01-03 Thread Lorenzo Bertini

Hi,

I hope you all had wonderful holidays. I'm doing some tests with local 
layouts, and I was wondering what is the modality with which a local 
layout overrides the default: does it completely erase the latter and 
uses your edits, or does it override only the attributes you've modified?


For example:

default  |   local  |   case 1   |   case 2   |
--|
Style Test   | Style Test   |||
  Attr1 foo  |   Attr1 woo  | Attr1 woo  | Attr1 woo  |
  Attr2 bar  |  || Attr2 bar  |
End  | End  |||

Also, suppose I want to "unset" a layout attribute that is set to 
something in the default layout, for example "DocbookWrapperTag" because 
I don't want wrapping: I can obtain what I want doing

> DocbookWrapperTag ""
but is there a better way?

Cheers

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


Patch to update entries for Foils, Slides and Reports in Chapter 3 Document classes and do some final tidying up in Additional.lyx

2023-01-03 Thread John Robert Hudson
From 80b7399a0c5b854f897c97329c8288181a7c62d2 Mon Sep 17 00:00:00 2001
From: John R Hudson 
Date: Tue, 3 Jan 2023 11:04:16 +
Subject: [PATCH] Update entries for Foils, Slides and Reports in Chapter 3
 Document classes and do final tidying up of Additional.lyx

---
 lib/doc/Additional.lyx | 450 -
 1 file changed, 403 insertions(+), 47 deletions(-)

diff --git a/lib/doc/Additional.lyx b/lib/doc/Additional.lyx
index c4fe5f35b5..f3dd217f12 100644
--- a/lib/doc/Additional.lyx
+++ b/lib/doc/Additional.lyx
@@ -5715,7 +5715,13 @@ Skip
 
 \begin_layout Subsection
 
-\change_inserted 564990737 1670924924
+\change_inserted 564990737 1672743555
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Polish-M.W.collection"
+
+\end_inset
+
 Polish M.
 \begin_inset space \thinspace{}
 \end_inset
@@ -9971,16 +9977,138 @@ name "sec:foiltex"
 \end_layout
 
 \begin_layout Standard
-by 
+
+\change_inserted 564990737 1672743383
+
+\lang american
+Original by 
 \noun on
 Allan Rae
+\noun default
+; updated by the \SpecialChar LyX
+ Team
 \end_layout
 
 \begin_layout Subsubsection
+
+\change_inserted 564990737 1672743383
+
+\lang american
+Introduction
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted 564990737 1672743396
+
+\lang american
+The document class 
+\family sans
+presentation
+\begin_inset space \thinspace{}
+\end_inset
+
+(Foil\SpecialChar TeX
+)
+\family default
+ uses the 
+\family typewriter
+foils.cls
+\family default
+ document class to make slides for overhead projectors.
+ There are two document classes that can do this: the 
+\family sans
+presentations
+\begin_inset space \thinspace{}
+\end_inset
+
+(slides)
+\family default
+ document class (section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:slitex"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+) and the 
+\family sans
+Foil\SpecialChar TeX
+
+\family default
+ slides class.
+ As of 2023 the former has continued to be maintained whereas 
+\family sans
+Foil\SpecialChar TeX
+
+\family default
+ has not been maintained since 2008.
+ This section documents the latter.
+ If your machine doesn’t have the 
+\family sans
+presentation
+\begin_inset space \thinspace{}
+\end_inset
+
+(Foil\SpecialChar TeX
+)
+\family default
+ document class installed, you’ll probably have to use the 
+\family sans
+presentations
+\begin_inset space \thinspace{}
+\end_inset
+
+(slides)
+\family default
+ document class.
+ If you want to install the 
+\family typewriter
+foils.cls
+\family default
+ document class, it is available from 
+\begin_inset CommandInset href
+LatexCommand href
+name "CTAN"
+target "https://www.ctan.org/pkg/foiltex;
+literal "false"
+
+\end_inset
+
+.
+ You should also read the 
+\emph on
+Installing New Document Classes
+\emph default
+ chapter of the 
+\emph on
+Customization
+\emph default
+ manual.
+\change_deleted 564990737 1672743436
+
+\lang english
+by 
+\noun on
+Allan Rae
+\end_layout
+
+\begin_layout Standard
+
+\change_deleted 564990737 1672743383
 Introduction
 \end_layout
 
 \begin_layout Standard
+
+\change_deleted 564990737 1672743383
 This section describes how to use \SpecialChar LyX
  to make slides for overhead projectors.
  There are two document classes that can do this: the default slides class
@@ -9994,11 +10122,15 @@ Foil\SpecialChar TeX
 \end_layout
 
 \begin_layout Standard
+
+\change_deleted 564990737 1672743383
 I'm going to say this again, nice and clear, so that there's no misunderstanding
 :
 \end_layout
 
 \begin_layout Standard
+
+\change_deleted 564990737 1672743383
 \begin_inset VSpace bigskip
 \end_inset
 
@@ -10008,6 +10140,8 @@ I'm going to say this again, nice and clear, so that there's no misunderstanding
 \begin_layout Standard
 \align center
 
+\change_deleted 564990737 1672743383
+
 \size large
 This section documents the class 
 \begin_inset Quotes eld
@@ -10027,6 +10161,8 @@ only.
 \end_layout
 
 \begin_layout Standard
+
+\change_deleted 564990737 1672743383
 \begin_inset VSpace bigskip
 \end_inset
 
@@ -10034,6 +10170,8 @@ only.
 \end_layout
 
 \begin_layout Standard
+
+\change_deleted 564990737 1672743383
 If you're looking for the documentation for 
 \begin_inset Quotes eld
 \end_inset
@@ -10076,6 +10214,8 @@ foils.
 \end_layout
 
 \begin_layout Standard
+
+\change_deleted 564990737 1672743383
 The 
 \family sans
 foils
@@ -10091,6 +10231,8 @@ foils.cls
  \SpecialChar LaTeX
  class file which is now an integral part of \SpecialChar LaTeX2e
 .
+\change_unchanged
+
 \end_layout
 
 \begin_layout Subsubsection
@@ -11605,6 +11747,83 @@ name "sec:slitex"
 \end_layout
 
 \begin_layout Standard
+
+\change_inserted 564990737 1672743492
+
+\lang american
+Original by 
+\noun on
+John Weiss
+\noun default
+; updated by the \SpecialChar LyX
+ Team
+\end_layout
+
+\begin_layout Subsubsection
+
+\change_inserted 564990737 1672743492
+
+\lang american
+Introduction
+\end_layout
+

Compilation failure with c++11 (string_view)

2023-01-03 Thread Jean-Marc Lasgouttes

With master, I cannot compile in c++11 mode:

../../master/src/mathed/InsetMathDecoration.cpp:191:22: error: 
‘string_view’ has not been declared

  191 |   Attributes(bool o, string_view entity)
  |  ^~~

Indeed, std::string_view is a c++17 thing.

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


Re: 2.3.7 Tarballs Available

2023-01-03 Thread Pavel Sanda
On Tue, Jan 03, 2023 at 09:05:46AM +0100, Stephan Witt wrote:
> Am 02.01.2023 um 00:53 schrieb Richard Kimberly Heck :
> > 
> > Here:
> > 
> > http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
> > 
> > Note that I've named these files as 2.3.7-1, but did not do that in 
> > configure.ac, since we did not release anything yet.
> > 
> > Please build binaries.
> 
> I???ve built the binaries for Mac and put them here:

Riki,

I'd put some warning paragraph into email announcement and maybe even
to web Mac download section, that without manual installation of python
LyX won't work on new Mac systems with link to 
https://wiki.lyx.org/Mac.Mac#toc2

Later for 2.4 we might even want to directly detect python unvailability
because our failure in this case gives quite cryptic errors...

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


Re: 2.3.7 Tarballs Available

2023-01-03 Thread Stephan Witt
Am 02.01.2023 um 00:53 schrieb Richard Kimberly Heck :
> 
> Here:
> 
> http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
> 
> Note that I've named these files as 2.3.7-1, but did not do that in 
> configure.ac, since we did not release anything yet.
> 
> Please build binaries.

I’ve built the binaries for Mac and put them here:

https://my.hidrive.com/share/qr1.dh8gbw

* build on BigSur for Intel and Apple chips (minimum macOS 10.14 with Qt 
5.15.7).
+ LyX-2.3.7+qt5-x86_64-arm64-cocoa.dmg
+ LyX-2.3.7+qt5-x86_64-arm64-cocoa.dmg.sig

* build on Mojave for Intel chips (minimum macOS 10.12 with Qt 5.12.9).
+ LyX-2.3.7+qt5-x86_64-cocoa.dmg
+ LyX-2.3.7+qt5-x86_64-cocoa.dmg.sig

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