[XeTeX] Commenting out

John Was john.was at ntlworld.com
Fri Jul 20 18:42:02 CEST 2007


Or you could create a control sequence:

\def\noprint#1{\relax}

Then  \noprint{Some text, which can go on for ages}

will just not do anything.


John


----- Original Message ----- 
From: "Jonathan Kew" <jonathan_kew at sil.org>
To: "Unicode-based TeX for Mac OS X and other platforms" <xetex at tug.org>
Sent: Friday, July 20, 2007 4:24 PM
Subject: JunkEmail: Re: [XeTeX] Commenting out


> On 20 Jul 2007, at 6:46 am, Manan Ahmed wrote:
> 
>> I know that I can use % to comment out a line. But is there a way to
>> comment out a whole paragraph? even a page? without having to append
>> % before every line?
> 
> Depending what editor you're using, it may well have a command to  
> comment a whole selected block; TeXShop has "Comment"  and  
> "Uncomment" in the Format menu, for example.
> 
> If you're using (xe)latex, I believe there are several packages that  
> provide "comment" or similar environments that you can use to hide  
> whole blocks of material. E.g., see
> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=conditional
> 
> JK
> 
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>


More information about the XeTeX mailing list