From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Code with line numbers in HTML export Date: Thu, 12 Mar 2009 10:03:01 -0400 Message-ID: <12154.1236866581@gamaville.dokosmarshall.org> References: <1e7471d50903111737n75f9a80dna654240d60a23b84@mail.gmail.com> <8671.1236824944@gamaville.dokosmarshall.org> <1e7471d50903112055s2d46c521j298b1b80b632ff3c@mail.gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhlWX-0003P9-2P for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 10:04:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhlWW-0003Ox-BR for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 10:04:36 -0400 Received: from [199.232.76.173] (port=41798 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhlWW-0003Ou-83 for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 10:04:36 -0400 Received: from qmta07.emeryville.ca.mail.comcast.net ([76.96.30.64]:40514) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhlWV-0003Be-Ij for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 10:04:35 -0400 In-Reply-To: Message from Saptarshi Guha of "Wed, 11 Mar 2009 23:55:01 EDT." <1e7471d50903112055s2d46c521j298b1b80b632ff3c@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: saptarshi.guha@gmail.com Cc: emacs-orgmode@gnu.org Saptarshi Guha wrote: > Thank you, quite excited I tried this small org file > *Title > Some tex > > #+BEGIN_SRC emacs-lisp -n > (save-excursion > (goto-char (point-min)) > #+END_SRC > > Only to get this in the html file (as copied from my browser): > > (save-excursion (goto-char (point-min)) > > The corresponding html is >

(save-excursion > (goto-char (point-min)) >

> > if i remove the -n it works - the exported code is formatted but no > line numbers. > (org version 6.09a) I don't know when -n was added, but I use Org-mode version 6.24 and it worked for me (I did have a transient htmlize error about an unknown face, but it went away on its own - I have no idea how). Try upgrading. Nick