Re: Formatting Python code

2022-05-27 Thread Paul A. Rubin
On 5/27/22 18:44, Rich Shepard wrote: On Fri, 27 May 2022, Paul A. Rubin wrote: AFAIK, \lstset{} is the correct command. In order to use it in the preamble, you have to precede it with \usepackage{listings}. Paul, I overlooked that. The correct syntax for setting the tabulator size is

Re: Formatting Python code

2022-05-27 Thread Rich Shepard
On Fri, 27 May 2022, Paul A. Rubin wrote: AFAIK, \lstset{} is the correct command. In order to use it in the preamble, you have to precede it with \usepackage{listings}. Paul, I overlooked that. The correct syntax for setting the tabulator size is tabsize=4. "Tabulator size=4" will cause

Re: Formatting Python code

2022-05-27 Thread Paul A. Rubin
On 5/27/22 17:39, Rich Shepard wrote: On Fri, 27 May 2022, Rich Shepard wrote: \lset{language=Python, Tabulator size=4} Paul, A more recent thread on program listings shows the command as \lstset{} but this also fails to set the default and throws an error when I try to compile the

Re: Formatting Python code

2022-05-27 Thread Rich Shepard
On Fri, 27 May 2022, Rich Shepard wrote: \lset{language=Python, Tabulator size=4} Paul, A more recent thread on program listings shows the command as \lstset{} but this also fails to set the default and throws an error when I try to compile the document. Puzzled, Rich -- lyx-users mailing

Re: Formatting Python code

2022-05-27 Thread Rich Shepard
On Fri, 27 May 2022, Rich Shepard wrote: Thanks for the pointer. Paul, Since all the code in the document is the same language I searched the web for setting defaults. Found a list archive thread from 10 years ago and your response was to add the language and other attributes to the

Re: Formatting Python code

2022-05-27 Thread Rich Shepard
On Fri, 27 May 2022, Paul A. Rubin wrote: Rather than LyX-Code, start with Insert > Program Listing to insert a listings widget. Right click the widget, click Settings ..., and on the main settings tab use the Language drop-down to select Python. Tweak other settings at will. Paul, Ah ha!

Re: Formatting Python code

2022-05-27 Thread Paul A. Rubin
On 5/27/22 15:01, Rich Shepard wrote: I'm trying to format Python code in a document, but cannot properly set indentation and long lines without them breaking. The document class is KOMA Article. I've set the code environment to LyX-Code. Reading the User Guide, I don't find a section on

Formatting Python code

2022-05-27 Thread Rich Shepard
I'm trying to format Python code in a document, but cannot properly set indentation and long lines without them breaking. The document class is KOMA Article. I've set the code environment to LyX-Code. Reading the User Guide, I don't find a section on LyX-Code; Section 6.10 is TeX Code and the

Re: Missing prerequisites: lilypond-book->latex

2022-05-27 Thread Kevin Cole
> Hi, > > I'm running the latest -- and greatest(?) -- release of Pop!_OS, > which is effectively Ubuntu. Specifically, 22.04 LTS ("Jammy"). > > I've just installed LyX and have not adjusted any preferences / > options / configurations. When I try Help -> Specific Manuals -> > LilyPond I get a

Missing prerequisites: lilypond-book->latex

2022-05-27 Thread Kevin Cole
Hi, I'm running the latest -- and greatest(?) -- release of Pop!_OS, which is effectively Ubuntu. Specifically, 22.04 LTS ("Jammy"). I've just installed LyX and have not adjusted any preferences / options / configurations. When I try Help -> Specific Manuals -> LilyPond I get a pop-up:

[fixed] Re: Chrome and Edge says the LyX website is NOT private and NOT secure

2022-05-27 Thread Jean-Marc Lasgouttes
Le 27/05/2022 à 08:22, Herbert Voss a écrit : Indeed, there is a problem on our side. Unfurtunately our certificate expert is not available right now. I tried to fix this myself, without much success. We'll fix that as fast as we can. you are using lets encrypt:## /usr/bin/certbot --quiet

Re: Bibliography Problem

2022-05-27 Thread Joseph Hesse
On 5/26/22 08:17, Jürgen Spitzmüller wrote: Am Donnerstag, dem 26.05.2022 um 05:50 -0500 schrieb Joseph Hesse:  Thank you for your reply.  I duplicated what you had in the MWE.  My document settings are now "Biblatex, Author-number, numeric, numeric".  When I do a citation I only get 3

Re: Chrome and Edge says the LyX website is NOT private and NOT secure

2022-05-27 Thread Herbert Voss
Am 26.05.22 um 23:03 schrieb Jean-Marc Lasgouttes: Le 26/05/2022 à 13:43, Erez Yerushalmi a écrit : Hi Lyx is my favourite editor, so I wanted to inform you that in the past few days, both Chrome and Edge tells us that the lyx.org website is NOT private and NOT secure. I