Thank you for your answer.
I'd like to make two comments:
1. This is more a suggestion than a problem. In talking about document
defaults in LyX it would be good to have some way to figure out what
those defaults are for each document type without having to actually
print the document or look into the layout and class files. As an
example, the defaults could be presented in parenthesis in the pull down
menus.
2. I fixed the typo in my layout file and now the relevant section looks
like this:
ClassOptions
Other 12pt,openright,twoside
End
However, LyX only takes the first option before the comma (12pt above).
The others are ignored. Is this a bug? or is my syntax wrong?
Regards,
--
Pedro
Jean-Marc Lasgouttes wrote:
>
> >>>>> "psanchez" == psanchez <[EMAIL PROTECTED]> writes:
>
> psanchez> 1. There are some defaults I can't figure out fow to change.
> psanchez> I want the default font to be "times," the default size to
> psanchez> be "12," and the default pagestyle to be "fancy." What shall
> psanchez> I write in the layout file to accomplish this?
>
> The idea is that you do nothing. If you use the settings "default",
> then LyX will not use any particular option, and you will get 12pt
> times font.
>
> psanchez> 2. The "Sides" and "Columns" defaults show up with the
> psanchez> changed values but are not passed to my class file as
> psanchez> options so at the end the changes do nothing. That is, the
> psanchez> Layout-->Document menu shows "Sides=2" and "Columns=2" as
> psanchez> requested by the layout file but the printed document (dvi
> psanchez> or PS) is still onesided single column. So, how do I tell
> psanchez> LyX that I want not just to show my defaults in the menu but
> psanchez> to actually translate these into the "twoside" and
> psanchez> "twocolumn" options for my class file?
>
> The settings in the layout file describe what the cls file defaults
> are. This means that your myreport.cls file should contain the statement
> \ExecuteOptions{twocolumn,twoside}
> and then LyX will correctly not have to pass the parameters.
>
> psanchez> 3. How can I get the layout file to write something to the
> psanchez> "Extra Options" field of the Layout-->Document menu? I
> psanchez> thought the last statement in the attached file would do the
> psanchez> trick, but it doesn't. I would extend the question to the
> psanchez> "Float Placement" field also.
>
> You used ClasOption instead of ClassOptions. Looks like a typo to me.
>
> Hope this helps.
>
> JMarc