emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Cdlatex and ELPA


From: Rasmus
Subject: [O] Cdlatex and ELPA
Date: Mon, 09 Dec 2013 15:44:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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!

Attachment: cdlatex-elpa.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]