Can a layout file change the document language settings
Daniel
xracoonx at gmx.de
Mon Jun 13 08:59:44 UTC 2022
On 2022-06-13 10:26, Daniel wrote:
> On 2022-06-10 00:40, tush via lyx-users wrote:
>> I am writing a document in a non-English language.
>>
>> To take care of that, one can navigate to Document Settings->Language
>> and choose the document language and language package in that menu (I
>> know, those settings are saved in the header of lyx file).
>>
>> Either way, my question is: Can a new layout file that I write (let's
>> call it myNewLayout.layout) which is later to be chosen as the
>> document class in LyX, can make an effect on these two settings? I
>> guess that the answer is no, since I never found such a class
>> parameter in section 5.3.5 of the customization manual, but I want to
>> be sure about it.
>
> If it is not possible, maybe you could set up a template (see
> Customization 5.2.4) using your layout which is set to the language of
> your choice?
I meant: Create a document. Set it to your layout. Set it to your
language. Save it in templates. Then open it via File > New from Template...
Daniel
More information about the lyx-users
mailing list