Re: LyX 2.4.0, Listing, and computer language?

2024-04-11 Thread Jürgen Spitzmüller
Am Mittwoch, dem 10.04.2024 um 15:11 + schrieb Bernt Lie:
> 
> How can I add another computer language to the Program Listing
> Settings?
>  
>  * Is there a file where I can add reserved words, etc.?
>  * …and then have it show up in the Program Listing Settings language
> choice?

The listings manual, sec. 3.2., explains how to define languages. I
suppose these definitions could go to a simple tex file, which is then
inputted at document begin. 

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


Re: LyX 2.4.0, Listing, and computer language?

2024-04-10 Thread José Matos
On Wed, 2024-04-10 at 15:11 +, Bernt Lie wrote:
> 
> 
> How can I add another computer language to the Program Listing
> Settings?
>  
>  * Is there a file where I can add reserved words, etc.?
>  * …and then have it show up in the Program Listing Settings language
> choice?
>  
> -B

Either listings or minted have those definitions for most languages.
But they are specific to each package and language.

I do not think that it is possible to add another language from the
options. But I can be wrong, naturally. :-)
-- 
José Abílio
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


LyX 2.4.0, Listing, and computer language?

2024-04-10 Thread Bernt Lie
How can I add another computer language to the Program Listing Settings?



  *   Is there a file where I can add reserved words, etc.?
  *   ...and then have it show up in the Program Listing Settings language 
choice?



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