From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: [ANN] ELPA package for ODT and JabRef exporters Date: Thu, 23 Jan 2014 19:33:21 +0530 Message-ID: <878uu6aj86.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6Kre-0003zO-Fr for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 09:02:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6KrY-0005He-0J for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 09:02:38 -0500 Received: from plane.gmane.org ([80.91.229.3]:58334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6KrX-0005HZ-QM for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 09:02:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W6KrW-0008Ha-Lz for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 15:02:30 +0100 Received: from 115.242.212.198 ([115.242.212.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jan 2014 15:02:30 +0100 Received: from kjambunathan by 115.242.212.198 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jan 2014 15:02:30 +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 I have prepared an ELPA package org-odt-*.tar for easy distribution of bug fixes from private git repository [fn:1]. The package contains both ODT exporter and JabRef exporter. You need to make sure that you are using 1. org > 8.0 2. Emacs > 24.3.50 ---------------------------------------------------------------- Steps for installing ODT + JabRef ELPA package ============================================= 1. Clear out your .emacs. (Not needed, if you know what you are doing) 2. Visit http://repo.or.cz/w/org-mode/org-kjn.git/tree/master and download the a tar file named org-odt-YYYYMMDD.tar. (Click on the "raw" link) As of now, the file is available at: http://repo.or.cz/w/org-mode/org-kjn.git/blob_plain/master:/org-odt-20140123.tar 3. M-x package-install-file RET RET 4. Goto start of .emacs and add the following line. (It should be the first line in your .emacs) (setq org-odt-data-dir nil) 5. Check the ODT option under M-x customize-variable RET org-export-backends RET 6. Restart Emacs 7. Make sure that the following commands point to the ELPA directory M-x locate-library RET ox-odt RET M-x locate-library RET ox-jabref RET C-h v org-odt-styles-dir C-h v org-odt-schema-dir 8. Visit test.org and export it. Enjoy. ---------------------------------------------------------------- Some existing gotchas and bugs ============================= (4) above is needed to work around a bug in Emacs snapshot and Org build system. Wrt (2) and (3), I would have expected that the following (custom-set-variables '(package-archives (quote (("gnu" . "http://elpa.gnu.org/packages/") ("org-odt" . "http://repo.or.cz/w/org-mode/org-kjn.git/blob_plain/master:/"))))) would suffice to do install via M-x list-packages. Unfortunately for some reasons package.el refuses to download the "archive-contents" located at http://repo.or.cz/w/org-mode/org-kjn.git/blob_plain/master:/archive-contents. Any one interested in investigating this and if necessary file a bug report against Emacs. ---------------------------------------------------------------- How to host the above files on your own ELPA server ================================================== If someone wants to distribute the above files, please put the following files in your web-server. 1. Copy org-odt-YYYYMMDD.tar 2. Copy archive-contents See directory structure of http://orgmode.org/elpa/ 1. Various tar files are under that directory. 2. archive-contents points to the very latest tar file. http://orgmode.org/elpa/archive-contents ---------------------------------------------------------------- ODT exporter and Copyright Issues and a Note to the Users ========================================================= [fn:1] http://repo.or.cz/w/org-mode/org-kjn.git The above repo. contains many bug-fixes and enhancements that are NOT available with Emacs-24.4 or Orgmode git repo. For some reasons, emacs-devel, org developers and I don't meet eye to eye. See http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00509.html. So the above fixes are unlikely to be avaible with Emacs or Org git repo. To the people who rely on ODT exporter for their day to day use and want it as part of Emacs 1. Find someone with Copyright Assignment to fix the critical issue(s). 2. Write to Gnu/Linux distributors - Debian, Gentoo etc - and persuade them to apply patches from my private repo before building the org-mode or Emacs deb packages. Note to Org developers ====================== If anyone comes this far, let me note that Bastien's latest change to ox-odt.el resembles very much fix on my Org private repo. I would argue that this fix borrows "very liberally" from my un-assigned changes. So .