Hi, Thanks Günter and JMarc, you are right, magyar is passed to babel as well. I didn't know it.
Regards, Máté ----- Original Message ----- From: G Milde To: [email protected] Sent: Thursday, September 25, 2008 9:32 AM Subject: Re: Loading Babel with parameter Máté Salát <[EMAIL PROTECTED]> schrieb: > From: Marcelo Acu=F1a=20 > > You know that LyX adds \usepackage{babel} to the end of > > the preamble of the tex file by default. How can it changed > > to \usepackage[magyar]{babel} to load the Hungarian one? > put magyar in options of documents Or set the language with the Document>Settings>Language Dialogue. > If I set the language in the document options then it appears only among = > the options of \documentclass. The \begin{document} remains without = > option. Look at it here: http://screencast.com/t/ZQuXO1sXqQ. Options in \documentclass are passed to all packages loaded with \usepackage, to this should work. You can, however untick the "[x] Global" box in Tools>Preferences>Language settings>Language. Downside: other packages (like index generators) will not pick up the language setting. Günter
