From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: hide comments using preview-latex Date: Mon, 18 Dec 2006 01:37:21 +0100 Organization: Organization?!? Message-ID: <851wmyf39a.fsf@lola.goethe.zz> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166406027 13715 80.91.229.10 (18 Dec 2006 01:40:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Dec 2006 01:40:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 18 02:40:26 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gw7UJ-00034b-PR for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Dec 2006 02:40:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gw7UJ-0001xN-5I for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Dec 2006 20:40:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:s3hZjOoxlVKSAgdJTc3rIh88G1A= Original-Lines: 23 Original-NNTP-Posting-Date: 18 Dec 2006 01:37:40 CET Original-NNTP-Posting-Host: c096ae68.newsspool2.arcor-online.net Original-X-Trace: DXC=``m4\b>>E=1lIh70@\BH3Y2\h`kD8>1WT9CV`H8_`hhQ4^9QSCVg3dO6lR6Na List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39678 Archived-At: Fabian Braennstroem 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