Thanks for the help. That's exactly what I was looking for. It certainly is not a replacement for true conditional text, but at least it will take care of my most immediate needs.


Best,


Stefano

On Mar 5, 2004, at 1:59 PM, Peter Harkins wrote:

On Fri, Mar 05, 2004 at 01:08:57PM -0800, Stefano Franchi wrote:
I was wondering is there is way to switch "Comment" paragraphs on
and off the formatted output. What I am trying to do is to emulate the
"Conditional text" feature of FrameMaker (a more powerful version of
Word's "invisible text"). I looked through the documentation, FAQs,
etc., but could not find anything. Perhaps "Comment" is not the right
paragraph environment? Or perhaps I need an additional package? Any
help is greatly appreciated.

In the Document menu, choose Preamble and paste the following line:


\usepackage{comment}

And then one of the following two lines for if you want them printed or not.

\includecomment{comment}
\excludecomment{comment}

This will work for what you describe, but LyX lacks proper conditional text
support. (Yes, I know the ifthen-package workaround, that's pretty ugly.)


__________________________________________________
Stefano Franchi
Department of Philosophy                  Ph:  (64) 9 373-7599 x83940
University Of Auckland                  Fax: (64) 9 373-7408
Private Bag 92019                               [EMAIL PROTECTED]
Auckland
New Zealand                     



Reply via email to