On 21.02.05, Luke Simon wrote: > I am trying to create an ACM proceedings layout by modifying the > IEEETran.layout, and I am having a problem with citations. For some > reason, "\usepackage{babel}" causes the following error when trying to > view a DVI preview:
Are you sure, that babel is the culprit? > I am having trouble figuring out why this is happening and would prefer > to have the layout tell LyX not to include "\usepackage{babel}". Is it > possible to do so? I can't figure out how to control what is included > and what is not. AFAIK, the use of babel is configured on a per-user basis. The layout file cannot modify this, so you need to tell the users in the documentation to unclick "[ ] Use Babel" in Edit>Preferences>Language > Furthermore, even though in the layout, I have specified that ACM > documents are 2 column, this settings and others are not used by default > and instead must be loaded by clicking the "Use Class Defaults" button. > Is there a way to force the settings to be used without having to click > this button? Again, this is a user setting: Always use Class Defaults. (Sometimes this is not desirable). My suggestion is, to provide a template file alongside the layout file -- starting a new document with File>New-from-template will open a new document with the correct settings. To create a Template, simply do File>New, set the Class and click "Use Class Defaults". Optionally add some always needed stuff or documentation. Save to the "Templates Folder" (as set in Edit>Preferences). > Below is my layout file so far: > ---------- ... > # Based on IEEEtran.layout ... Wouldn't it be simpler to Input IEEEtran.layout and modify this? (You can overwrite definitions and even just part of them.) Sincerely Guenter -- G.Milde web.de