[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Changing the way commands are displayed
From: |
Damien Cassou |
Subject: |
[AUCTeX] Changing the way commands are displayed |
Date: |
Wed, 9 Jul 2008 14:11:44 +0200 |
Hi,
I'm trying to change the way Emacs displays some LaTeX macros like
\dc. I would like the parameter of this command to be bold in Emacs. I
tried to use the customize-group and to change the line directly in
.emacs but after I restart, nothing changed. I'm using:
'(font-latex-match-bold-command-keywords (quote ("dc")))
If I use customize-group, I'm asked about a keyword and a format. I
don't know what to put here.
Emacs : GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
of 2008-05-06 on iridium, modified by Debian
Package: 2008-05-01
(setq
AUCTeX-date "2008-05-01"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("style" "auto"
"/home/cassou/.emacs.d/local/auctex/auctex/style"
"/home/cassou/.emacs.d/local/auctex/var/auctex")
TeX-auto-save t
TeX-parse-self t
TeX-master nil
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run
plain TeX")
("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode
doctex-mode) :help "Run LaTeX")
("Makeinfo" "makeinfo %t" TeX-run-compile nil (texinfo-mode)
:help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with HTML output")
("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX
nil (ams-tex-mode) :help "Run AMSTeX")
("ConTeXt" "texexec --once --texutil %(execopts)%t"
TeX-run-TeX
nil (context-mode) :help "Run ConTeXt once")
("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
(context-mode) :help "Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run
BibTeX")
("View" "%V" TeX-run-discard t t :help "Run Viewer")
("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help "View the
printer
queue" :visible TeX-queue-command)
("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
"Generate PostScript file")
("Index" "makeindex %s" TeX-run-command nil t :help "Create
index file")
("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help
"Check LaTeX file for correctness")
("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t
:help "Spell-check the document")
("Clean" "TeX-clean" TeX-run-function nil t :help "Delete
generated intermediate files")
("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
"Delete generated intermediate and output files")
("Other" "" TeX-run-command t t :help "Run an arbitrary
command"))
)
--
Damien Cassou
Peter von der Ahé: «I'm beginning to see why Gilad wished us good
luck». (http://blogs.sun.com/ahe/entry/override_snafu)
- [AUCTeX] Changing the way commands are displayed,
Damien Cassou <=