Bulk changing environments in Lyx

Richard Kimberly Heck rikiheck at gmail.com
Tue Apr 18 17:25:27 UTC 2023


On 4/18/23 12:18, Jean-Marc Lasgouttes wrote:
> Le 18/04/2023 à 18:11, Dr Paul Verschueren a écrit
>> By what do you want to replace your paragraphs/subparagraphs?
>>
>> JMarc
>>
>> Not sure yet, as I need to experiment to find what looks best.
>> However possibilities are Subsubsection and SpecialSection. Worst 
>> case, Standard.
>> My biggest immediate concern is to get rid of all the compilation 
>> errors.
>> Thanks
>> Paul
>
> You could try, in Document Settings>Local Layout, something like
>
> Style Paragraph
>   ObsoletedBy SubsubSection
> End
>
> Style SubParagraph
>   ObsoletedBy SpecialSection
> End
>
> If I am not mistaken, this will not override the value in your 
> document, but change it on the fly.

Alternatively, you can just open the LyX document in a text editor 
(Notepad, whatever) and do a search and replace. I.e., search for 
"\begin_layout Paragraph" and replace it with "\begin_layout Subsubsection".

Riki




More information about the lyx-users mailing list