Re: Multiple LaTeX classes in a layout

2010-07-12 Thread Richard Heck
On 07/12/2010 01:18 PM, Marshall Feldman wrote: Thanks for all your help, Richard. Maybe "limited availability" or even "lacks some packages" would be more on point than "Unavailable". What threw me was the fact that the unavailable classes are listed separately. Personally, I'd prefer colors

Re: Multiple LaTeX classes in a layout

2010-07-12 Thread Marshall Feldman
Thanks for all your help, Richard. Maybe "limited availability" or even "lacks some packages" would be more on point than "Unavailable". What threw me was the fact that the unavailable classes are listed separately. Personally, I'd prefer colors or font shapes and weights: green (bold) = ready

Re: Multiple LaTeX classes in a layout

2010-07-12 Thread Richard Heck
On 07/12/2010 11:26 AM, Jean-Marc LASGOUTTES wrote: Marshall Feldman writes: Besides being more clear in the documentation (a draft of which I'd be glad to offer once I'm sure I understand the command), Help here is always appreciated. I think I may have made some changes to the 2.

Re: Multiple LaTeX classes in a layout

2010-07-12 Thread Jean-Marc LASGOUTTES
Marshall Feldman writes: > Furthermore, LaTeX takes care of any \RequirePackage, \LoadClass, or > similar commands in x.cls, so LyX does not need to know about these. Yes. > This implies that LyX's \DeclareLaTeXClass statement simply ties the > current LyX layout file to a LaTeX cls file with th

Re: Multiple LaTeX classes in a layout

2010-07-12 Thread Marshall Feldman
Thanks, Jean-Marc. Please forgive me for being verbose in what follows. I want to be sure I correctly understand what's going on. If I understand you correctly, LyX determines the correspondence between the layout and cls files by their common base names: for example, x.layout will always as

Re: Multiple LaTeX classes in a layout

2010-07-12 Thread Jean-Marc LASGOUTTES
Marshall Feldman writes: > I'm writing my first LyX layout and running into trouble. When I use > the following command in the layout file, the document class appears > in the Document Settings drop-down list: > ># \DeclareLaTeXClass[letter,graphix]{letter (mine)} Assuming that the layout is

Re: Multiple LaTeX classes in a layout

2010-07-11 Thread Marshall Feldman
Thanks Richard, I feel I'm getting closer to understanding what's going on. How does one know what classes LyX checks for? If, for example, I have my own class (myclass), which in turn uses a half dozen other classes, will LyX just check for my class? Or are there some classes it checks for an

Re: Multiple LaTeX classes in a layout

2010-07-11 Thread Richard Heck
On 07/10/2010 09:52 AM, Marshall Feldman wrote: Hello, I'm writing my first LyX layout and running into trouble. When I use the following command in the layout file, the document class appears in the Document Settings drop-down list: # \DeclareLaTeXClass[letter,graphix]{letter (mine)}

Multiple LaTeX classes in a layout

2010-07-10 Thread Marshall Feldman
Hello, I'm writing my first LyX layout and running into trouble. When I use the following command in the layout file, the document class appears in the Document Settings drop-down list: # \DeclareLaTeXClass[letter,graphix]{letter (mine)} but the letter does not format correctly yet becau