From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Code with line numbers in HTML export Date: Wed, 11 Mar 2009 22:29:04 -0400 Message-ID: <8671.1236824944@gamaville.dokosmarshall.org> References: <1e7471d50903111737n75f9a80dna654240d60a23b84@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 1Lhagz-0004u4-Vm for emacs-orgmode@gnu.org; Wed, 11 Mar 2009 22:30:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhagy-0004tD-Uq for emacs-orgmode@gnu.org; Wed, 11 Mar 2009 22:30:41 -0400 Received: from [199.232.76.173] (port=43740 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhagy-0004t6-RO for emacs-orgmode@gnu.org; Wed, 11 Mar 2009 22:30:40 -0400 Received: from qmta04.emeryville.ca.mail.comcast.net ([76.96.30.40]:58442) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lhagy-0003bp-Dh for emacs-orgmode@gnu.org; Wed, 11 Mar 2009 22:30:40 -0400 In-Reply-To: Message from Saptarshi Guha of "Wed, 11 Mar 2009 20:37:44 EDT." <1e7471d50903111737n75f9a80dna654240d60a23b84@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: > I assume in the BEGIN_SRC region, I cannot export the code with line > numbers, however I > came across this > .linenr the line number in a code example > > Does this mean, there is some option to generate line numbers in the > exported BEGIN_SRC? > Read the section "Literal Examples" in the org manual: evaluate the following form in emacs by pressing C-x C-e after the closing parenthesis (Info-goto-node "(org)Literal Examples") or on the web http://orgmode.org/manual/Literal-examples.html#Literal-examples HTH, Nick