Dear All,
I've been using the emaxima-mode for quite a while but with an
inconvenience in actually running LaTeX on the file: the command
TeX-command-master (bound to C-c C-c by default) does not offer LaTeX as
a possible command to run in an emaxima-mode buffer. (I use
auctex-11.86).
A simple-minded way to fix this problem is to run the following code at
an appropriate time:
,----
| ;; Add emaxima-mode to list of modes which can be LaTeX'd
| (setcar (cdr TeX-command-list)
| '("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode emaxima-mode)
| :help "Run LaTeX") )
`----
This now works for me but it is not a proper long-term solution as it
does not interact well with eventual other modifications of
TeX-command-list. A better implementation would process TeX-command-list
and add emaxima-mode to the fourth sub-element of the element starting
with "LaTeX".
Just wanted to share this simple-minded solution and see if:
- Anybody has worked around this / fixed this problem in some other way
- If not, if somebody has the time to tidy-up this solution and
incorporate it into the source-code repository.
Best,
Bojan
--
Bojan Nikolic Tel: +44 1223 746432
Astrophysics Group Fax: +44 1223 354599
Cavendish Laboratory
Cambridge CB3 0HE