emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Code with line numbers in HTML export


From: Nick Dokos
Subject: Re: [Orgmode] Code with line numbers in HTML export
Date: Thu, 12 Mar 2009 10:03:01 -0400

Saptarshi Guha <address@hidden> 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
> <p>(save-excursion
> (goto-char (point-min))
> </p>
> 
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]