0

I load all my packages through one file which I include with \input{loadPackages.tex}. But with this procedure my Emacs Aquamacs preference

;; " expands into csquotes macros
(setq LaTeX-csquotes-close-quote "}"
      LaTeX-csquotes-open-quote "\\enquote{")

to automatically convert " into \enquote{ doesn't work any more.

Any solution?

  • Just to be sure: if you manually load your packages (ie not with the input technique), this preference works ? – Clément Jun 11 '14 at 7:56
  • @Clément Yes, \input{loadPackages.tex} \usepackage{csquotes} works – Francesco Jun 11 '14 at 7:58
  • 1
    I have a similar setup here, and it works as expected. Try this: in the document, press C-c C-n to force emacs to refresh its style files. Does it work then? If not, re-evaluate the setq form, does it work then? – T. Verron Jun 11 '14 at 8:07
  • 1
    Also, again just to be sure: does the preamble parsing work fine for other stuff defined in loadPackages.tex? – T. Verron Jun 11 '14 at 8:08
  • 1
    Try visiting the loadPackages.tex file and pressing C-u C-c C-n there. Or deleting the file ./auto/loadPackages.el and repeating the procedure of my first comment. – T. Verron Jun 11 '14 at 8:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.