# [OS X TeX] conditional text

Alain Schremmer Schremmer.Alain at gmail.com
Fri Feb 2 19:22:45 EST 2007

```Jeffrey J Weimer wrote:

>
> On Feb 2, 2007, at 5:53 PM, Alain Schremmer wrote:
>
>> I would like to have multi-paragraphs optional text in a file,
>> namely text that I can comment/uncomment with a \boolean{Optional}
>> at the top of the file.
>> ....
>> Is it at all doable since this is essentially amounts to what
>
>
> Are you wanting to prevent the compiling sections of text when the
> document is typeset or prevent showing sections of text in the editor
> while typing within the raw input file?
>
> The former is doable with LaTeX coding of the type you have set up.
> The latter is not.

Indeed, the latter is folding, the former is what the optional package does.

Embarrassed bur grateful regards
--schremmer