Re: Preamble order and LyX layouts

2008-04-23 Thread A. Scottedward Hodel
i agree that the command paragraphy type ought to have some more flexibility. However, in the interim, I've gotten less picky and have moved my environment definitions into the LyX Document settings preamble, where it's very easy to change from teacher to student, etc. For now I'll just

Re: Preamble order and LyX layouts

2008-04-23 Thread A. Scottedward Hodel
i agree that the command paragraphy type ought to have some more flexibility. However, in the interim, I've gotten less picky and have moved my environment definitions into the LyX Document settings preamble, where it's very easy to change from teacher to student, etc. For now I'll just

Re: Preamble order and LyX layouts

2008-04-23 Thread A. Scottedward Hodel
i agree that the command paragraphy type ought to have some more flexibility. However, in the interim, I've gotten less picky and have moved my environment definitions into the LyX Document settings preamble, where it's very easy to change from teacher to student, etc. For now I'll just

Re: Preamble order and LyX layouts

2008-04-21 Thread rgheck
A. Scottedward Hodel wrote: On Apr 20, 2008, at 4:28 PM, A. Scottedward Hodel wrote: Victory! Thanks very much for your suggestions and help! Attached is a sample LyX file (a bit convoluted, but it shows the features) and the layout file. A. Scottedward Hodel [EMAIL PROTECTED]

Re: Preamble order and LyX layouts

2008-04-21 Thread rgheck
A. Scottedward Hodel wrote: On Apr 20, 2008, at 4:28 PM, A. Scottedward Hodel wrote: Victory! Thanks very much for your suggestions and help! Attached is a sample LyX file (a bit convoluted, but it shows the features) and the layout file. A. Scottedward Hodel [EMAIL PROTECTED]

Re: Preamble order and LyX layouts

2008-04-21 Thread rgheck
A. Scottedward Hodel wrote: On Apr 20, 2008, at 4:28 PM, A. Scottedward Hodel wrote: Victory! Thanks very much for your suggestions and help! Attached is a sample LyX file (a bit convoluted, but it shows the features) and the layout file. A. Scottedward Hodel [EMAIL PROTECTED]

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 19, 2008, at 10:17 PM, rgheck wrote: A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I

Re: Preamble order and LyX layouts

2008-04-20 Thread rgheck
A. Scottedward Hodel wrote: I may just be being too picky. I was able to \def a LaTeX command with \ifthenelse very similar to what you describe: I just wanted to make in a \newenvironment, and these sort of commands don't seem to mesh well with that macro. My command was

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 11:20 AM, rgheck wrote: A. Scottedward Hodel wrote: I may just be being too picky. I was able to \def a LaTeX command with \ifthenelse very similar to what you describe: I just wanted to make in a \newenvironment, and these sort of commands don't seem to mesh well with

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 11:30 AM, A. Scottedward Hodel wrote: On Apr 20, 2008, at 11:20 AM, rgheck wrote: You can define a paragraph to be of command type. Section headers, for example, are like this. This just determines whether LyX outputs: \begin{whatever}...\end{whatever} or instead:

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 4:28 PM, A. Scottedward Hodel wrote: Victory! Thanks very much for your suggestions and help! Attached is a sample LyX file (a bit convoluted, but it shows the features) and the layout file. A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 19, 2008, at 10:17 PM, rgheck wrote: A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I

Re: Preamble order and LyX layouts

2008-04-20 Thread rgheck
A. Scottedward Hodel wrote: I may just be being too picky. I was able to \def a LaTeX command with \ifthenelse very similar to what you describe: I just wanted to make in a \newenvironment, and these sort of commands don't seem to mesh well with that macro. My command was

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 11:20 AM, rgheck wrote: A. Scottedward Hodel wrote: I may just be being too picky. I was able to \def a LaTeX command with \ifthenelse very similar to what you describe: I just wanted to make in a \newenvironment, and these sort of commands don't seem to mesh well with

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 11:30 AM, A. Scottedward Hodel wrote: On Apr 20, 2008, at 11:20 AM, rgheck wrote: You can define a paragraph to be of command type. Section headers, for example, are like this. This just determines whether LyX outputs: \begin{whatever}...\end{whatever} or instead:

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 4:28 PM, A. Scottedward Hodel wrote: Victory! Thanks very much for your suggestions and help! Attached is a sample LyX file (a bit convoluted, but it shows the features) and the layout file. A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 19, 2008, at 10:17 PM, rgheck wrote: A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that

Re: Preamble order and LyX layouts

2008-04-20 Thread rgheck
A. Scottedward Hodel wrote: I may just be being too picky. I was able to \def a LaTeX command with \ifthenelse very similar to what you describe: I just wanted to make in a \newenvironment, and these sort of commands don't seem to mesh well with that macro. My command was

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 11:20 AM, rgheck wrote: A. Scottedward Hodel wrote: I may just be being too picky. I was able to \def a LaTeX command with \ifthenelse very similar to what you describe: I just wanted to make in a \newenvironment, and these sort of commands don't seem to mesh well with

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 11:30 AM, A. Scottedward Hodel wrote: On Apr 20, 2008, at 11:20 AM, rgheck wrote: You can define a paragraph to be of "command" type. Section headers, for example, are like this. This just determines whether LyX outputs: \begin{whatever}...\end{whatever} or instead:

Re: Preamble order and LyX layouts

2008-04-20 Thread A. Scottedward Hodel
On Apr 20, 2008, at 4:28 PM, A. Scottedward Hodel wrote: Victory! Thanks very much for your suggestions and help! Attached is a sample LyX file (a bit convoluted, but it shows the features) and the layout file. A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar

Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel
I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions).What I've attempted to do is to put

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions). What

Re: Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel
On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I can easily generate both a teacher's version

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I can easily generate both a teacher's version

Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel
I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions).What I've attempted to do is to put

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions). What

Re: Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel
On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I can easily generate both a teacher's version

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a switch in the preamble of my LyX file so that I can easily generate both a teacher's version

Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel
I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions).What I've attempted to do is to put

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a student version (without homework solutions).

Re: Preamble order and LyX layouts

2008-04-19 Thread A. Scottedward Hodel
On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version (with solutions) and a

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version

Re: Preamble order and LyX layouts

2008-04-19 Thread rgheck
A. Scottedward Hodel wrote: On Apr 19, 2008, at 8:33 PM, rgheck wrote: A. Scottedward Hodel wrote: I am trying to write a textbook layout file (current version is attached) that will let me set a "switch" in the preamble of my LyX file so that I can easily generate both a teacher's version