cannot insert latex environment using emacs (C-c C-e) with auctex
recently, i reinstalled my system. i have auctex, preview-latex, etc. installed,
running xemacs-21.4.15 and emacs-21.3. now, in latex mode, i could not insert environment using C-c C-e, it says: couldn't find unended \begin i was able to run this command previously, do i need to add anything to .emacs or a particular .el file? thanks very much for your help. |
hi there,
from the top of my head.. please check syntax.. in your .emacs file.. Code:
slackie1000 |
have not tried your way yet, but i found another way which is to add:
(require 'tex-site') in .emacs will try your way later. |
oh, i remembered i once used "latex-insert-environment"
but it seemed to be unavailable. i also tried "latex-insert-item" but it only gave me "\begin item", which is not what i wanted. |
Quote:
should not be necessary. Do you have also the tex-site.elc in your $EMACS_PATH env? if not, you can compile the lisp code and take out this line from .emacs Adding "require" (not your case that it is just one) to your .emacs make the emacs load procedure slower... My way is just to map the keywboard shortcut. If tex-site has it as bultin is not necessary. regards slackie1000 |
i removed (require 'tex-site) from .emacs and C-c C-e still works for emacs.
i do not know why because it did not work before i added this line. but it no longer works in xemacs without having this line in .xemacs/custom.el and (global-set-key "\C-c\c-e" 'latex-inset-environment) does work for me in both cases. by the way, $EMACS_PATH is not defined in my system :confused: |
hi there,
$EMACS_PATH sould not exist... i just mean where emacs is installed. :D sorry for the misunderstanding.. regards slackie1000 |
All times are GMT -5. The time now is 09:55 AM. |