Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing + bits and pieces

2024-04-13 Thread Richard Kimberly Heck

On 4/13/24 03:00, Bernt Lie wrote:

So far,...
* I greatly appreciate that you have not changed the main parts of the user 
interface. I hate it when developers come out with a new version of a tool, and 
the user doesn't recognize where the menus are, etc.


I think it's fair to say that we do, too. It's our policy to change such 
things only when there is a clear reason to do so, and consensus among 
the developers, at least.



* These are the main things I have had time to notice in some 3 days, while 
converting a large portion of my key documents from v. 2.3.x to v. 2.4
--

As a person who combines text with loads of math and computer code...
* The Program Listing settings ---
--> Do I set them individually every time I insert a program listing?
--> Or are they document settings, so that if I change one setting (e.g., font 
setting), then this takes precedence for the entire document?


You can make global settings in Document> Settings> Listings.


Also, I'm using a couple of computer languages that are not supported by 
Program Listing...
* Modelica (for specifying mathematical models)
* Julia

Is there an ASCII file where it is possible to add specifications for more 
computer languages so that they show up in the Program Listing settings?


Unfortunately, that is hard-coded. It would make a lot of sense for it 
not to be, but be configurable, but that would take some doing (though I 
doubt it would be hard to do). But it would be a format change, so not 
doable until 2.5. But please do file an enhancement request if you wish.


Riki


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


RE: LyX 2.4.0 RC4 - bug? Abstract headline is missing + bits and pieces

2024-04-13 Thread Bernt Lie via lyx-users
A difference - perhaps -- between a missing Abstract label and the Chapter 
label in *LyX* is that sections headings are quite big compared to the standard 
text, so it is easy to see the difference. While the abstract text font is only 
marginally smaller than the standard text font, so it is more difficult to see 
what it is.

*If* one sets "abstract=on" to enforce "Abstract" to be printed in the PDF 
file, it would perhaps be natural if this text also shows up in LyX.
--
Anyways, this is not a major problem -- I can always switch to the standard 
article style.
--
Thanks a lot for your great job with creating v. 2.4. I really appreciate all 
the work you have put into it, and look forward to start reading the manuals. 
Although I've used LyX for some 10 years or so, I think it will be useful to 
re-read the documentation to better familiarize myself with what is new.

So far,...
* I greatly appreciate that you have not changed the main parts of the user 
interface. I hate it when developers come out with a new version of a tool, and 
the user doesn't recognize where the menus are, etc.

* I have already used the improved system for finding missing citations and 
broken references.

* The search system looks improved.

* These are the main things I have had time to notice in some 3 days, while 
converting a large portion of my key documents from v. 2.3.x to v. 2.4
--

As a person who combines text with loads of math and computer code...
* The Program Listing settings ---
--> Do I set them individually every time I insert a program listing?
--> Or are they document settings, so that if I change one setting (e.g., font 
setting), then this takes precedence for the entire document?
--> The above question is related to how to keep consistency in listings...

Also, I'm using a couple of computer languages that are not supported by 
Program Listing...
* Modelica (for specifying mathematical models)
* Julia

Is there an ASCII file where it is possible to add specifications for more 
computer languages so that they show up in the Program Listing settings?



-Original Message-
From: lyx-users  On Behalf Of Richard Kimberly 
Heck
Sent: Friday, April 12, 2024 10:02 PM
To: Herbert Voss ; lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On 4/12/24 12:42, Herbert Voss wrote:
> Am 12.04.24 um 13:41 schrieb Bernt Lie via lyx-users:
>> Aha! It only adds "Abstract" to the PDF file when using KOMA-script, 
>> not in the LyX editor itself!
>>
>> For the Standard Article style, "Abstract" is inserted into the LyX 
>> editor by default. I find that clarifying, and it would be nice if 
>> the same happened when using KOMA-script.
>
> It is easy to add the abstract part into the LyX layout file of the 
> scrartcl class or creating an own layout file.

For some reason, scrclass.inc explicitly removes the heading:

Input stdstruct.inc

Style Abstract
     LabelType No_Label
End

If we're agreed that's wrong, it's easy enough to fix.

Riki


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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 16:02 -0400 schrieb Richard Kimberly
Heck:
> For some reason, scrclass.inc explicitly removes the heading:

The reason is to indicate on the output. That's intentional. For the
same reason, we remove the chapter labels in KOMA layouts.

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Richard Kimberly Heck

On 4/12/24 12:42, Herbert Voss wrote:

Am 12.04.24 um 13:41 schrieb Bernt Lie via lyx-users:
Aha! It only adds "Abstract" to the PDF file when using KOMA-script, 
not in the LyX editor itself!


For the Standard Article style, "Abstract" is inserted into the LyX 
editor by default. I find that clarifying, and it would be nice if 
the same happened when using KOMA-script.


It is easy to add the abstract part into the LyX layout file of the 
scrartcl class

or creating an own layout file.


For some reason, scrclass.inc explicitly removes the heading:

Input stdstruct.inc

Style Abstract
    LabelType No_Label
End

If we're agreed that's wrong, it's easy enough to fix.

Riki


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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Herbert Voss



Am 12.04.24 um 13:41 schrieb Bernt Lie via lyx-users:

Aha! It only adds "Abstract" to the PDF file when using KOMA-script, not in the 
LyX editor itself!

For the Standard Article style, "Abstract" is inserted into the LyX editor by 
default. I find that clarifying, and it would be nice if the same happened when using 
KOMA-script.



It is easy to add the abstract part into the LyX layout file of the 
scrartcl class

or creating an own layout file.

Herbert




-Original Message-
From: lyx-users  On Behalf Of José Matos
Sent: Friday, April 12, 2024 1:02 PM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote:

Thanks.
  
I have tried with inserting the text “abstract=on” (with and withough

prepending/appending it with “), but this has no effect.

Note that the abstract=on option only changes the (pdf) output, it does not 
change how the document looks in lyx.

--
José Abílio
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Rich Shepard

On Fri, 12 Apr 2024, José Matos wrote:


So the question is if the label should be there for consistency. I am
inclined to say yes but I have no strong feelings about this. :-)


On 2.3.7.1 The word "Abstract" appears on the LyX screen when the document
is scrreport (KOMA-Script Report) and on the PDF (pdflatex) but only in the
body text font and left-aligned. It used to be in a section font and
centered.

HTH,

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 12:27 + schrieb Bernt Lie:
> As far as I know, KOMA is independent of LyX. So I don't understand
> why inserting the label "Abstract" in the LyX *editor* can be seen as
> overriding KOMA's default settings. 

Well, it indicates what people can expect in the output (at least by
default)

> At least not if the user inserts the command "abstract=on" in the
> settings.

That's not possible.

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


RE: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Bernt Lie via lyx-users
As far as I know, KOMA is independent of LyX. So I don't understand why 
inserting the label "Abstract" in the LyX *editor* can be seen as overriding 
KOMA's default settings. 

At least not if the user inserts the command "abstract=on" in the settings.


-Original Message-
From: lyx-users  On Behalf Of Jürgen 
Spitzmüller
Sent: Friday, April 12, 2024 1:52 PM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

Am Freitag, dem 12.04.2024 um 11:41 + schrieb Bernt Lie via lyx-
users:
> For the Standard Article style, "Abstract" is inserted into the LyX 
> editor by default. I find that clarifying, and it would be nice if the 
> same happened when using KOMA-script.

No, we don't want to override KOMA's default settings, which are well 
rationalized in the manual.

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 11:41 + schrieb Bernt Lie via lyx-
users:
> For the Standard Article style, "Abstract" is inserted into the LyX
> editor by default. I find that clarifying, and it would be nice if
> the same happened when using KOMA-script.

No, we don't want to override KOMA's default settings, which are well
rationalized in the manual.

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 09:41 + schrieb Bernt Lie via lyx-
users:
> When I use KOMA script and Article style, and insert an Abstract, the
> headline "Abstract" is not inserted. This is different from previous
> versions, I think??

No, it has been the case for KOMA since a long time (always?)

> Is this a bug?

No. See KOMA script manual, sec. 3.8 and the abstract={on,off} KOMA
script option.

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


RE: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Bernt Lie via lyx-users
Aha! It only adds "Abstract" to the PDF file when using KOMA-script, not in the 
LyX editor itself!

For the Standard Article style, "Abstract" is inserted into the LyX editor by 
default. I find that clarifying, and it would be nice if the same happened when 
using KOMA-script.

-Original Message-
From: lyx-users  On Behalf Of José Matos
Sent: Friday, April 12, 2024 1:02 PM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote:
> 
> Thanks.
>  
> I have tried with inserting the text “abstract=on” (with and withough 
> prepending/appending it with “), but this has no effect.

Note that the abstract=on option only changes the (pdf) output, it does not 
change how the document looks in lyx.

--
José Abílio
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread José Matos
On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote:
> 
> Thanks.
>  
> I have tried with inserting the text “abstract=on” (with and withough
> prepending/appending it with “), but this has no effect.

Note that the abstract=on option only changes the (pdf) output, it does
not change how the document looks in lyx.

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Herbert Voss



Am 12.04.24 um 11:57 schrieb Bernt Lie:


Thanks.

I have tried with inserting the text “abstract=on” (with and withough 
prepending/appending it with “), but this has no effect.




no problem here ... Used File->new, then Document->Settings abd abstract=on.
I have nothing in the added into the preamble.

Herbert

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


RE: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Bernt Lie via lyx-users
OK -- in 2.3.7, I did not use KOMA script article, but standard LaTeX article. 
And there the label shows up in my installation. 

The "problem" to me is that it is not just that the "label" is missing in the 
LyX editor, but the word "Abstract" does not show up in the pdf file either. 

-Original Message-
From: José Matos  
Sent: Friday, April 12, 2024 11:55 AM
To: Bernt Lie ; lyx-de...@lists.lyx.org; lyx-users 

Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On Fri, 2024-04-12 at 09:41 +, Bernt Lie via lyx-users wrote:
> When I use KOMA script and Article style, and insert an Abstract, the 
> headline "Abstract" is not inserted. This is different from previous 
> versions, I think??
> 
> Is this a bug?

I tested in 2.3.x and it does not show there as well.
So at least the change is not specific to lyx 2.4.

If you change to the standard class then the label is there both for
2.3 and 2.4.

So the question is if the label should be there for consistency.
I am inclined to say yes but I have no strong feelings about this. :-)

--
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Bernt Lie via lyx-users
Thanks.



I have tried with inserting the text "abstract=on" (with and withough 
prepending/appending it with "), but this has no effect.

[cid:image001.png@01DA8CD0.A6429AC0]



-Original Message-
From: lyx-users  On Behalf Of Herbert Voss
Sent: Friday, April 12, 2024 11:50 AM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing







Am 12.04.24 um 11:41 schrieb Bernt Lie via lyx-users:

> When I use KOMA script and Article style, and insert an Abstract, the 
> headline "Abstract" is not inserted. This is different from previous 
> versions, I think??

>

> Is this a bug?



Use documentclass option "abstract=on"



Herbert

--

lyx-users mailing list

lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread José Matos
On Fri, 2024-04-12 at 09:41 +, Bernt Lie via lyx-users wrote:
> When I use KOMA script and Article style, and insert an Abstract, the
> headline "Abstract" is not inserted. This is different from previous
> versions, I think??
> 
> Is this a bug?

I tested in 2.3.x and it does not show there as well.
So at least the change is not specific to lyx 2.4.

If you change to the standard class then the label is there both for
2.3 and 2.4.

So the question is if the label should be there for consistency.
I am inclined to say yes but I have no strong feelings about this. :-)

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Herbert Voss




Am 12.04.24 um 11:41 schrieb Bernt Lie via lyx-users:

When I use KOMA script and Article style, and insert an Abstract, the headline 
"Abstract" is not inserted. This is different from previous versions, I think??

Is this a bug?


Use documentclass option "abstract=on"

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


LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Bernt Lie via lyx-users
When I use KOMA script and Article style, and insert an Abstract, the headline 
"Abstract" is not inserted. This is different from previous versions, I think??

Is this a bug?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users