help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text properties in tex mode


From: harven
Subject: Re: text properties in tex mode
Date: Mon, 06 Oct 2008 09:14:16 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Kostas Oikonomou <k.oikonomou@att.net> writes:

>> If I disable font-lock-mode, I get back the yellow face in the
>> Background color menu, 
>
> Same for me.
>
>> and it works. 
> Not for me.
>
>> Do you get the error when you click on the Background color button ? 
>
> Yes.
>
>> Does it give you the menu with entries yellow/other ?
>
> Yes.
>
>> Maybe you can try to redefine the yellow face in TeX mode, by putting
>> in your .emacs:
>> (add-hook 'tex-mode-hook (lambda ()
>>     (make-face 'yellow)
>>     (set-face-background 'yellow "yellow")))
>
> I did that, and it seems to me it should work, but I get the same
> error:
> Face ((:background yellow)) not configured for TeX mode
>
> Nevertheless, if I do Edit -> Text Properties -> Display Faces, the
> "yellow" face *does* show up,
> as last in the list!

Does Edit->Text Properties->Background Color->Other and then
entering yellow (or another color) works ?

Do you have something like (:background yellow)
in your init file ? It should be (:background "yellow")
Consider launching emacs with emacs -q and try again, to see
if the problem has to do with your config file. 
If not, I guess that the problem has to do with your installation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]