Hi:
First, I would like to thank the developers of Lyx, I think that is a great
program!!
I'm tried to use the tip from Juergen Spitzmueller (Re: toggled printing for
instructor version, 12 Jun 2003) with any success. I don't get any error, but
I can't get invisible text. I attach a example file with the Juergen
Spitzmueller's preamble is someone wants to have a look at it.
Any ideas?
I am using LyX Version 1.3 (congratulations again to the developers team:
this version is fantastic) in a testing debian.
Thanks in Advance! Pep Roca.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
%% From: Juergen Spitzmueller (12 Jun 2003):
%%You can define a switch. Write into the preamble:
\usepackage{ifthen}
[EMAIL PROTECTED]
\usepackage[dvips]{color}}
\newboolean{HIDE}
\newcommand\invisible
{\ifthenelse{\boolean{HIDE}}{\color{white}}{}}
\newcommand\visible
{\ifthenelse{\boolean{HIDE}}{\color{black}}{}}
%%Then you set \invisible at the begin and \visible at the end of those parts that
need to be hidden.
%%At the begin of the document, you can switch hide mode with this ERT:
%%\setboolean{HIDE}{true} %% don`t print hidden %% text
%% or
%% \setboolean{HIDE}{false} %% print hidden text
\end_preamble
\language catalan
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Standard
\begin_inset ERT
status Open
\layout Standard
\backslash
setboolean{HIDE}{true}
\end_inset
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
visible
\end_inset
\layout Standard
Text visble
\layout Standard
\begin_inset ERT
status Open
\layout Standard
\backslash
invisible
\end_inset
\layout Standard
Text invisible
\layout Standard
\begin_inset ERT
status Open
\layout Standard
\backslash
visible
\end_inset
\layout Standard
Text visible
\the_end