emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cdlatex and ELPA
@ 2013-12-09 14:44 Rasmus
  2013-12-09 14:50 ` Rasmus
  2013-12-09 18:33 ` Achim Gratz
  0 siblings, 2 replies; 3+ messages in thread
From: Rasmus @ 2013-12-09 14:44 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: carsten.dominik

[-- 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.
 ;;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Cdlatex and ELPA
  2013-12-09 14:44 Cdlatex and ELPA Rasmus
@ 2013-12-09 14:50 ` Rasmus
  2013-12-09 18:33 ` Achim Gratz
  1 sibling, 0 replies; 3+ messages in thread
From: Rasmus @ 2013-12-09 14:50 UTC (permalink / raw)
  To: emacs-orgmode


Rasmus <rasmus@gmx.us> writes:

> 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. . .

BTW: I more or less choose a random minimum version for AUCTeX.
Probably an older version could be specified. In other words, I don't
know the "true" minimum version.

–Rasmus

-- 
Hvor meget poesi tror De kommer ud af et glas isvand?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cdlatex and ELPA
  2013-12-09 14:44 Cdlatex and ELPA Rasmus
  2013-12-09 14:50 ` Rasmus
@ 2013-12-09 18:33 ` Achim Gratz
  1 sibling, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2013-12-09 18:33 UTC (permalink / raw)
  To: emacs-orgmode

Rasmus writes:
> 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.

Don't you think that emacs-devel would be a better place for this
discussion?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-09 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-09 14:44 Cdlatex and ELPA Rasmus
2013-12-09 14:50 ` Rasmus
2013-12-09 18:33 ` Achim Gratz

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).