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