Re: [NTG-context] how to comment several lines at once ?

2008-07-03 Thread Pau
in vim(rc): function! CommentTeX() map - :s/^/% /CR:nohlsearchCR map _ :s/^\s*% \=//CR:nohlsearchCR set comments=:% endfunction autocmd FileType tex call CommentTeX() This way, in visual you select the part of the document you want to comment, then press - and, voila, you get a % in

Re: [NTG-context] how to comment several lines at once ?

2008-07-03 Thread Henning Hraban Ramm
\starthiding ... \stophiding Ah, never seen that. Myself I normally use \startmode[obsolete] % or the like \stopmode Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)

[NTG-context] how to comment several lines at once ?

2008-07-02 Thread Alan Stone
Hi, Guess this is (Plain) TeX stuff - haven't found the answer... How do you comment several lines at once, instead of prefixing each line with the % sign ? Alan ___ If your question is of interest to others as

Re: [NTG-context] how to comment several lines at once ?

2008-07-02 Thread Andrea Valle
AFAIK it is not possible direclty. I've asked it once. Should be in archive Best -a- On 2 Jul 2008, at 15:05, Alan Stone wrote: Hi, Guess this is (Plain) TeX stuff - haven't found the answer... How do you comment several lines at once, instead of prefixing each line with the % sign ?

Re: [NTG-context] how to comment several lines at once ?

2008-07-02 Thread Martin Schröder
2008/7/2 Alan Stone [EMAIL PROTECTED]: How do you comment several lines at once, instead of prefixing each line with the % sign ? \iffalse \fi Best Martin ___ If your question is of interest to others as well,

Re: [NTG-context] how to comment several lines at once ?

2008-07-02 Thread Hans van der Meer
In ConTeXt you should be able to say: \starthiding -- this stuff will not be processed -- \stophiding Hans van der Meer On 2 jul 2008, at 15:05, Alan Stone wrote: Hi, Guess this is (Plain) TeX stuff - haven't found the answer... How do you comment several lines at once, instead of

Re: [NTG-context] how to comment several lines at once ?

2008-07-02 Thread Diego Depaoli
2008/7/2 Alan Stone [EMAIL PROTECTED]: Hi, Guess this is (Plain) TeX stuff - haven't found the answer... How do you comment several lines at once, instead of prefixing each line with the % sign ? in vim :A,Bs/^/% A=start line B=end line -- Diego Depaoli

Re: [NTG-context] how to comment several lines at once ?

2008-07-02 Thread Wolfgang Schuster
On Wed, Jul 2, 2008 at 3:05 PM, Alan Stone [EMAIL PROTECTED] wrote: Hi, Guess this is (Plain) TeX stuff - haven't found the answer... How do you comment several lines at once, instead of prefixing each line with the % sign ? \starthiding ... \stophiding Regards Wolfgang