Re: Xemacs und LaTeX
* Joerg Jaspert (joerg+Mailinglisten.Debian.User-DE@goliathbbs.dnsalias.net) [011108 19:00]:
> Udo Müller <info@CS-OL.DE> writes:
>
> > kann mir einer von Euch auf die Sprünge helfen, wie ich
> > Syntax-Highlightning von LaTex in Xemacs hinkriege?
>
> (require 'tex-site)
>
> XEmacs bringt Auctex mit. Sollte eigentlich. Wenn nicht apt-get install
> auctex
Nein, in XEmacs ist auctex drin, für die Hervorhebungen ist font-lock
zuständig. Sieh zu, daß Du mittels des latex-mode-hooks den font-lock-mode
lädst. Oder Du schreibst in Dein custom.el
(setq global-font-lock-mode t)
dann hast Du das (fast) immer.
----- snip --------
Font-Lock minor mode (indicator Font):
Toggle Font Lock Mode.
With arg, turn font-lock mode on if and only if arg is positive.
When Font Lock mode is enabled, text is fontified as you type it:
- Comments are displayed in ont-lock-comment-face';
...
Where modes support different levels of fontification, you can use the
variable
ont-lock-maximum-decoration' to specify which level you generally prefer.
When you turn Font Lock mode on/off the buffer is fontified/defontified,
though fontification occurs only if the buffer is less than
ont-lock-maximum-size'.
To fontify a buffer without turning on Font Lock mode, and regardless of
buffer size, you can use M-x font-lock-fontify-buffer.
See the variable ont-lock-keywords' for customization.
-------- snip -----
Matthias
--
http://www.salzburg.luga.or.at
http://www.unixstuff.de
--
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------
1010 eingetragene Mitglieder in dieser Liste.
Reply to: