all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Felix E. Klee" <felix.klee@inka.de>
Subject: Re: Hiding references when editing LaTeX?
Date: Fri, 28 Feb 2003 11:36:37 +0100	[thread overview]
Message-ID: <b3ne3l$f9b$1@sapa.inka.de> (raw)
In-Reply-To: x5lm01fzi4.fsf@lola.goethe.zz

David Kastrup wrote:
>> [...]
>> >> But font-lock-mode can't hide he "\emph{" and the corresponding "}",
>> >> right?
>> > Well, you could let it use an invisible font or something, but that
>> > would probably be not quite convenient for editing.  Perhaps in
>> > connection with auto-reveal-mode something could be fudged.
>> [...]
>> 
>> Hmm, what would be the cleaner/easier solution: to add that feature to
>> preview-latex or to the font-locking in AUCTeX?
> 
> preview-latex would need to achieve two different things here: not
> display \emph at all, and add text properties to the argument.  The
> interface does not currently permit a command and its arguments to be
> treated differently, and it might be quite a feat to implement
> something like that consistently. 

Is this really neccessary? Preview-LaTeX takes for example "\emph{bla bla 
bla}" and passes it to an external tool, latex, which creates an image that 
replaces the corresponding text. Wouldn't it be possible to let the user 
specify another tool (probably a simple lisp function) instead that takes 
"\emph{bla bla bla}", processes it and creates soem text (eg. "*bla bla 
bla*", faces might be problematic) that is used to replace "\emph{bla bla 
bla}"?

Felix

  parent reply	other threads:[~2003-02-28 10:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 19:15 Hiding references when editing LaTeX? Felix E. Klee
2003-02-26 19:39 ` David Kastrup
2003-02-26 19:54   ` Felix E. Klee
2003-02-26 20:21   ` Felix E. Klee
2003-02-26 20:31     ` David Kastrup
2003-02-27 11:46       ` Felix E. Klee
2003-02-27 13:20         ` David Kastrup
2003-02-27 13:39           ` Felix E. Klee
2003-02-27 13:40             ` David Kastrup
2003-02-27 14:11               ` Felix E. Klee
2003-02-27 14:34                 ` David Kastrup
2003-02-27 16:12                   ` Oliver Scholz
2003-02-27 16:40                     ` David Kastrup
2003-02-27 17:01                       ` Oliver Scholz
2003-02-28 16:23                         ` Oliver Scholz
2003-02-28 10:36                       ` Felix E. Klee [this message]
2003-02-28 11:07                         ` David Kastrup
2003-02-28 12:33                           ` Felix E. Klee

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

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

  git send-email \
    --in-reply-to='b3ne3l$f9b$1@sapa.inka.de' \
    --to=felix.klee@inka.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.