Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams.

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Steve Litt
On Wednesday 22 April 2009 10:18:14 am Anders Host-Madsen wrote: I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams. I want. I want bad! SteveT

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vito De Tullio
Steve Litt wrote: I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams. I want. I want bad! Are you one of his students? :^) -- By ZeD

RE: Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vincent van Ravesteijn - TNW
I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams. This is the typical example for using branches. (Document-Settings-Branches and Insert-Branch).

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread James C. Sutherland
This is the typical example for using branches. (Document-Settings-Branches and Insert-Branch). I use branches for this purpose as well (creating exams). They work very well, and are scalable to any number of branches that you can turn on and off to create different compiled

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
I use branches for this purpose as well (creating exams). They work very well, and are scalable to any number of branches that you can turn on and off to create different compiled documents... Maybe that's an easier, and more elegant, solution than using ifthenelse. You learn something

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Steve Litt
On Wednesday 22 April 2009 11:40:29 am Vito De Tullio wrote: Steve Litt wrote: I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams. I want.

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
Steve Litt sl...@... writes: I'm (very slowly) writing a math book with multiple choice questions at the end of each chapter. I plan on having the correct choice be a different environment, but only in certain cases do I want it to look differently. As I said below (or above, depending on

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Guenter Milde
On 2009-04-22, Anders Host-Madsen wrote: ... One advantage of using ifthenelse is that the conditional becomes part of the LaTeX if you export to LaTeX, while branches is a pure LyX solution (I still prefer to have a LaTeX copy of all my documents for compatibility). You might file an

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams.

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Steve Litt
On Wednesday 22 April 2009 10:18:14 am Anders Host-Madsen wrote: I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams. I want. I want bad! SteveT

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vito De Tullio
Steve Litt wrote: I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams. I want. I want bad! Are you one of his students? :^) -- By ZeD

RE: Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vincent van Ravesteijn - TNW
I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams. This is the typical example for using branches. (Document-Settings-Branches and Insert-Branch).

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread James C. Sutherland
This is the typical example for using branches. (Document-Settings-Branches and Insert-Branch). I use branches for this purpose as well (creating exams). They work very well, and are scalable to any number of branches that you can turn on and off to create different compiled

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
I use branches for this purpose as well (creating exams). They work very well, and are scalable to any number of branches that you can turn on and off to create different compiled documents... Maybe that's an easier, and more elegant, solution than using ifthenelse. You learn something

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Steve Litt
On Wednesday 22 April 2009 11:40:29 am Vito De Tullio wrote: Steve Litt wrote: I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams. I want.

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
Steve Litt sl...@... writes: I'm (very slowly) writing a math book with multiple choice questions at the end of each chapter. I plan on having the correct choice be a different environment, but only in certain cases do I want it to look differently. As I said below (or above, depending on

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Guenter Milde
On 2009-04-22, Anders Host-Madsen wrote: ... One advantage of using ifthenelse is that the conditional becomes part of the LaTeX if you export to LaTeX, while branches is a pure LyX solution (I still prefer to have a LaTeX copy of all my documents for compatibility). You might file an

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
I use ifthenelse in my exams. That way I can have one version of the exam without solutions, and one with solution, without having to have two documents. If you want, I can send you one of my exams.

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Steve Litt
On Wednesday 22 April 2009 10:18:14 am Anders Host-Madsen wrote: > I use ifthenelse in my exams. That way I can have one version of > the exam without solutions, and one with solution, without having to > have two documents. If you want, I can send you one of my > exams. I want. I want bad!

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vito De Tullio
Steve Litt wrote: >> I use ifthenelse in my exams. That way I can have one version of >> the exam without solutions, and one with solution, without having to >> have two documents. If you want, I can send you one of my >> exams. > > I want. I want bad! Are you one of his students? :^) -- By

RE: Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vincent van Ravesteijn - TNW
>I use ifthenelse in my exams. That way I can have one >version of the exam without solutions, and one with >solution, without having to have two documents. If >you want, I can send you one of my exams. This is the typical example for using branches. (Document->Settings->Branches and

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread James C. Sutherland
This is the typical example for using branches. (Document->Settings->Branches and Insert->Branch). I use branches for this purpose as well (creating exams). They work very well, and are scalable to any number of "branches" that you can turn on and off to create different compiled

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
> I use branches for this purpose as well (creating exams). They work > very well, and are scalable to any number of "branches" that you can > turn on and off to create different compiled documents... Maybe that's an easier, and more elegant, solution than using ifthenelse. You learn

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Steve Litt
On Wednesday 22 April 2009 11:40:29 am Vito De Tullio wrote: > Steve Litt wrote: > >> I use ifthenelse in my exams. That way I can have one version of > >> the exam without solutions, and one with solution, without having to > >> have two documents. If you want, I can send you one of my > >>

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Anders Host-Madsen
Steve Litt writes: > I'm (very slowly) writing a math book with multiple choice questions at the > end of each chapter. I plan on having the correct choice be a different > environment, but only in certain cases do I want it to look differently. As I said below (or above, depending

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Guenter Milde
On 2009-04-22, Anders Host-Madsen wrote: ... > One advantage of using ifthenelse is that the conditional becomes part > of the LaTeX if you export to LaTeX, while branches is a pure LyX > solution (I still prefer to have a LaTeX copy of all my documents for > compatibility). You might file an

Can I please have an example of conditional ERT in LyX

2009-04-21 Thread Paul Johnson
Can I please have an example of how to use the ifelse package for LaTeX with LyX? I want to manage a NoWeb/Literate programming document so that some commands are included in the document only sometimes. (I'm sending LyX documents to R through Sweave:

Re: Can I please have an example of conditional ERT in LyX

2009-04-21 Thread BH
On Tue, Apr 21, 2009 at 11:06 PM, Paul Johnson pauljoh...@gmail.com wrote: Can I please have an example of how to use the ifelse package for LaTeX with LyX?  I want to manage a NoWeb/Literate programming document so that some commands are included in the document only sometimes.  (I'm sending

Re: Can I please have an example of conditional ERT in LyX

2009-04-21 Thread Steve Litt
On Tuesday 21 April 2009 11:06:31 pm Paul Johnson wrote: Can I please have an example of how to use the ifelse package for LaTeX with LyX? http://www.troubleshooters.com/linux/lyx/self_publish_lyx.htm#SimulatingCharacterStylesWithColorPseudostyles This is Dekl Tsur's famous color pseudostyle

Can I please have an example of conditional ERT in LyX

2009-04-21 Thread Paul Johnson
Can I please have an example of how to use the ifelse package for LaTeX with LyX? I want to manage a NoWeb/Literate programming document so that some commands are included in the document only sometimes. (I'm sending LyX documents to R through Sweave:

Re: Can I please have an example of conditional ERT in LyX

2009-04-21 Thread BH
On Tue, Apr 21, 2009 at 11:06 PM, Paul Johnson pauljoh...@gmail.com wrote: Can I please have an example of how to use the ifelse package for LaTeX with LyX?  I want to manage a NoWeb/Literate programming document so that some commands are included in the document only sometimes.  (I'm sending

Re: Can I please have an example of conditional ERT in LyX

2009-04-21 Thread Steve Litt
On Tuesday 21 April 2009 11:06:31 pm Paul Johnson wrote: Can I please have an example of how to use the ifelse package for LaTeX with LyX? http://www.troubleshooters.com/linux/lyx/self_publish_lyx.htm#SimulatingCharacterStylesWithColorPseudostyles This is Dekl Tsur's famous color pseudostyle

Can I please have an example of conditional ERT in LyX

2009-04-21 Thread Paul Johnson
Can I please have an example of how to use the ifelse package for LaTeX with LyX? I want to manage a NoWeb/Literate programming document so that some commands are included in the document only sometimes. (I'm sending LyX documents to R through Sweave:

Re: Can I please have an example of conditional ERT in LyX

2009-04-21 Thread BH
On Tue, Apr 21, 2009 at 11:06 PM, Paul Johnson wrote: > Can I please have an example of how to use the ifelse package for > LaTeX with LyX?  I want to manage a NoWeb/Literate programming > document so that some commands are included in the document only > sometimes.  (I'm

Re: Can I please have an example of conditional ERT in LyX

2009-04-21 Thread Steve Litt
On Tuesday 21 April 2009 11:06:31 pm Paul Johnson wrote: > Can I please have an example of how to use the ifelse package for > LaTeX with LyX? http://www.troubleshooters.com/linux/lyx/self_publish_lyx.htm#SimulatingCharacterStylesWithColorPseudostyles This is Dekl Tsur's famous color