Hi, Since I use multiple computers I'd like to cdlatex in GNU ELPA. An outdated version is currently on Marmelade, but I think that version doesn't work with current Org (v4.0 vs. v4.6). Also, cdlatex deserves to be in GNU ELPA IMO.
There's this snip in cdlatex.el: ;; CDLaTeX requires texmathp.el which is distributed with AUCTeX. ;; Starting with Emacs 21.3, texmathp.el will be part of Emacs. It seems texmathp never made it to Emacs-core, but AUCTeX is in ELPA so it could be required. (On a side note, it says cdlatex.el is part of Emacs, but I have always had to install it separately. . .) I have attached a tiny patch that makes cdlatex compatible with ELPA so that I can just do package-install-from-buffer on the file. I think this is enough for distributing it via ELPA. –Rasmus The rest is not essential: Perhaps AUCTeX is a too heavy dependency which might 'talk' in favor of distributing textmathp.el separately. However, I'm not sure if package.el supports some kind of either (i) an "or" statement in 'Package-Requires' or (ii) a 'Package-Provides' for people who have AUCTeX installed. Of course texmathp.el could be required by AUCTeX, but that's a bit imposing. . . -- If you can mix business and politics wonderful things can happen!
diff --git a/cdlatex-orig.el b/cdlatex.el index 05f0d91..f76ffad 100644 --- a/cdlatex-orig.el +++ b/cdlatex.el @@ -1,9 +1,10 @@ -;;; cdlatex.el -- Fast input methods for LaTeX environments and math +;;; cdlatex.el --- Fast input methods for LaTeX environments and math ;; Copyright (c) 2010, 2011, 2012 Free Software Foundation, Inc. ;; ;; Author: Carsten Dominik <carsten.domi...@gmail.com> ;; Keywords: tex -;; Version: 4.6 +;; Version: 4.7 +;; Package-Requires: ((auctex "11.85")) ;; ;; This file is part of GNU Emacs. ;;