[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hide comments using preview-latex
From: |
David Kastrup |
Subject: |
Re: hide comments using preview-latex |
Date: |
Mon, 18 Dec 2006 01:37:21 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
Fabian Braennstroem <f.braennstroem@gmx.de> writes:
> Hi,
>
> I am using preview-latex (auctex version 11.83) with an
> 'old' emacs 21.3.1 on a scientific linux (redhat clone). It
> works pretty nice, but I wonder, if there is a setting to
> translate commented lines to an e.g. empty image!? Maybe, it
> is even possible to 'hide'/translate them independent of the
> actual document. Right now, I use a small function which
> hides these lines, but they are not 'folded' and auctex
> folding mode does not have a special 'comment' option.
> Does there exist such a nice function/option in
> preview-latex? Would be nice!
That would be an awful lot of comments! Anyway, preview-latex hides
LaTeX constructs, attaching itself to macros, and comments are not
actual LaTeX constructs. So if at all, one would need to convince
syntax highlighting and/or TeX-fold-mode to cater for folding
comments.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum