From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Re: Problem exporting code Date: Mon, 21 Jan 2013 09:58:21 -0600 Message-ID: References: <87libnmdjx.fsf@ucl.ac.uk> <87pq0zkmrt.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b621e0ccab59f04d3ce8752 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxJlS-00047d-Ni for emacs-orgmode@gnu.org; Mon, 21 Jan 2013 10:58:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxJlP-0005AF-2U for emacs-orgmode@gnu.org; Mon, 21 Jan 2013 10:58:26 -0500 Received: from mail-ee0-f53.google.com ([74.125.83.53]:33950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxJlO-0005A9-P2 for emacs-orgmode@gnu.org; Mon, 21 Jan 2013 10:58:22 -0500 Received: by mail-ee0-f53.google.com with SMTP id e53so2868354eek.26 for ; Mon, 21 Jan 2013 07:58:21 -0800 (PST) In-Reply-To: <87pq0zkmrt.fsf@ucl.ac.uk> 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 --047d7b621e0ccab59f04d3ce8752 Content-Type: text/plain; charset=ISO-8859-1 I believe I've figured it out. I must have an old version of 'htmlize' installed somewhere, I 'edebug' traced through the code and fell through to this part: (when lang (if (featurep 'xemacs) (require 'htmlize) (require 'htmlize nil t)) (when (not (fboundp 'htmlize-region-for-paste)) ;; we do not have htmlize.el, or an old version of it (setq lang nil) (message "htmlize.el 1.34 or later is needed for source code formatting"))) I couldn't manage to set up my load-path to load htmlize 'properly' (is htmlize not able to be loaded via 'load-path' and 'require'?), but after downloading htmlize 1.43 and adding the following to my .emacs, I seem to be in business again: (load-file "~/share/emacs/site-lisp/htmlize/htmlize.el") Thanks everyone. On Mon, Jan 21, 2013 at 1:39 AM, Eric S Fraga wrote: > Ken Williams writes: > > > Thanks John. Here's a small org file: > > Data point: this works just fine for me with both old and new > exporters. And I don't even have R installed on this particular system > (hadn't realised until now ;-). > > -- > : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D > : in Emacs 24.3.50.1 and Org release_7.9.3d-826-gbe0d87 > > --047d7b621e0ccab59f04d3ce8752 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I believe I've figured it out. =A0I must have an old v= ersion of 'htmlize' installed somewhere, I 'edebug' traced = through the code and fell through to this part:

=A0 =A0 =A0(when lang
(if (featurep '= ;xemacs)
=A0= =A0(require 'htmlize)
=A0(require 'htmlize nil t))
(when (not (fbound= p 'htmlize-region-for-paste))
=A0;; we do not have htmlize.el, or an old version of= it
=A0(setq lang nil= )
=A0(messag= e
=A0 "= htmlize.el 1.34 or later is needed for source code formatting")))

I couldn't manage to set up my load-pat= h to load htmlize 'properly' (is htmlize not able to be loaded via = 'load-path' and 'require'?), but after downloading htmlize = 1.43 and adding the following to my .emacs, I seem to be in business again:=

=A0 =A0 (load-file "~/share/emacs= /site-lisp/htmlize/htmlize.el")

Thanks = everyone.


On Mon, Jan 21, 2013 at 1:39 AM, Eric S Fraga <= e.fraga@ucl.ac.uk> wrote:
Ken Williams <ken= ahoo@gmail.com> writes:

> Thanks John. =A0Here's a small org file:

Data point: this works just fine for me with both old and new
exporters. =A0And I don't even have R installed on this particular syst= em
(hadn't realised until now ;-).

--
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3d-826-gbe0d87


--047d7b621e0ccab59f04d3ce8752--