Monday, 27 May 2013

Adding commands to TeX-command-list not working on OS X

Adding commands to TeX-command-list not working on OS X

in my .emacs I add a few commands to the TeX-command-list, which works fine on my Ubuntu and Debian laptops. On my wife's Macbook however, when invoking the TeX-command-list (C-c C-c) it appears to be empty.
I use emacs 23 in debian, and emacs 22 in OS X. Both load the .emacs file without errors.
This is what I put in my .emacs file:
(eval-after-load "tex"
  '(progn
     (add-to-list 'TeX-command-list
              (list "Count Words" "texcount -inc %s.tex"
            'TeX-run-command nil t))
     (add-to-list 'TeX-command-list
          (list "Convert dvi to ps" "dvips -P pdf -G0 %s.dvi"
            'TeX-run-command nil t))
    ))
Has anybody come across a problem like this? Thanks!

No comments:

Post a Comment