unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: hide comments using preview-latex
Date: Mon, 18 Dec 2006 01:37:21 +0100	[thread overview]
Message-ID: <851wmyf39a.fsf@lola.goethe.zz> (raw)
In-Reply-To: slrneoau1a.4kv.f.braennstroem@node1.ddorf.de

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

  reply	other threads:[~2006-12-18  0:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-17 17:02 hide comments using preview-latex Fabian Braennstroem
2006-12-18  0:37 ` David Kastrup [this message]
2006-12-18 21:58   ` Fabian Braennstroem
2006-12-29 13:45     ` Ralf Angeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=851wmyf39a.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).