all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: k.oikonomou@att.net
Cc: help-gnu-emacs@gnu.org
Subject: Re: text properties in tex mode
Date: Sat, 04 Oct 2008 19:02:26 +0200	[thread overview]
Message-ID: <48E7A1A2.3070903@gmx.at> (raw)

 > I use Emacs's plain TeX mode (i.e. not AucTeX), with font-lock deactivated. (And Emacs 22.3.)
 >
 > I'd like to be able to change the background color of a piece of text
 > to, say, yellow, by selecting it with the mouse, and then doing Edit ->
 > Text Properties -> Background Color.
 >
 > However this fails with a message "Face ((:background yellow)) not
 > configured for latex mode".  How do I get around this?

How about using

(add-hook 'latex-mode-hook
	  (lambda ()
	    (set (make-local-variable 'facemenu-add-face-function) nil)))

martin




             reply	other threads:[~2008-10-04 17:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-04 17:02 martin rudalics [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-07  5:33 text properties in tex mode martin rudalics
2008-10-07 12:56 ` Kostas Oikonomou
2008-10-07 13:03   ` Allan Gottlieb
2008-10-07 13:31   ` martin rudalics
2008-10-07 13:42     ` Kostas Oikonomou
2008-10-07 14:00       ` martin rudalics
2008-10-07  1:16 Kostas Oikonomou
     [not found] <mailman.320.1223253849.25473.help-gnu-emacs@gnu.org>
2008-10-06  7:14 ` harven
2008-10-06  0:44 Kostas Oikonomou
     [not found] <mailman.292.1223226411.25473.help-gnu-emacs@gnu.org>
2008-10-05 17:57 ` harven
2008-10-05 15:11 Kostas Oikonomou
2008-10-05 17:53 ` Drew Adams
     [not found] <mailman.225.1223135509.25473.help-gnu-emacs@gnu.org>
2008-10-04 17:44 ` harven
2008-10-04 15:40 Kostas Oikonomou

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=48E7A1A2.3070903@gmx.at \
    --to=rudalics@gmx.at \
    --cc=help-gnu-emacs@gnu.org \
    --cc=k.oikonomou@att.net \
    /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.