Ok, this is a work around. But I want to do that on the .layout scripts
so that if I distribute my layouts, other users don't have to do this
themselves. I'll see if I can write a patch for adding such a command.
Thank you for your help

Pablo De N�poli

--- Helge Hafting <[EMAIL PROTECTED]> wrote:
> Pablo De Napoli wrote:
> > Hi!
> > 
> > I've created some custom layouts for mathematical 
> > documents in Spanish. I want to ask you a question:
> > is there any command to set the language and the encoding
> > of the document in the layout? (.layout file). I could not
> > find it anywhere in the "Cuztomization" manual of Lyx
> > (chapter 5). If not, it might be a nice feature to add.
> > Thanks.
> > 
> > Pablo De N�poli
> > 
> 
> 1. Create or open some document using this layout.
> 2. Style->document (brings up a dialog)
> 3. Select language tab in that dialog.
> 4. Select spanish language
> 5. Click "save as document defaults" in the dialog
> 
> Future documents of this class will now be created spanish by default.
> All other settings in "style->document" works the same way too.
> 
> Helge Hafting
> 

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

Reply via email to