From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Cdlatex and ELPA Date: Mon, 09 Dec 2013 15:44:57 +0100 Message-ID: <8761qyqe1i.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq259-0004c2-OE for emacs-orgmode@gnu.org; Mon, 09 Dec 2013 09:45:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vq252-0007AN-Ey for emacs-orgmode@gnu.org; Mon, 09 Dec 2013 09:45:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:44076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq252-000777-8K for emacs-orgmode@gnu.org; Mon, 09 Dec 2013 09:45:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vq250-0008Pq-De for emacs-orgmode@gnu.org; Mon, 09 Dec 2013 15:45:02 +0100 Received: from 109.201.152.15 ([109.201.152.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Dec 2013 15:45:02 +0100 Received: from rasmus by 109.201.152.15 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Dec 2013 15:45:02 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: carsten.dominik@gmail.com --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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! --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=cdlatex-elpa.patch 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 ;; Keywords: tex -;; Version: 4.6 +;; Version: 4.7 +;; Package-Requires: ((auctex "11.85")) ;; ;; This file is part of GNU Emacs. ;; --=-=-=--