all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Cc: carsten.dominik@gmail.com
Subject: Cdlatex and ELPA
Date: Mon, 09 Dec 2013 15:44:57 +0100	[thread overview]
Message-ID: <8761qyqe1i.fsf@gmx.us> (raw)

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]

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!

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: cdlatex-elpa.patch --]
[-- Type: text/x-diff, Size: 532 bytes --]

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.dominik@gmail.com>
 ;; Keywords: tex
-;; Version: 4.6
+;; Version: 4.7
+;; Package-Requires: ((auctex "11.85"))
 ;;
 ;; This file is part of GNU Emacs.
 ;;

             reply	other threads:[~2013-12-09 14:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09 14:44 Rasmus [this message]
2013-12-09 14:50 ` Cdlatex and ELPA Rasmus
2013-12-09 18:33 ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761qyqe1i.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.