From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Code with line numbers in HTML export Date: Thu, 12 Mar 2009 08:14:46 +0100 Message-ID: References: <1e7471d50903111737n75f9a80dna654240d60a23b84@mail.gmail.com> <8671.1236824944@gamaville.dokosmarshall.org> <1e7471d50903112055s2d46c521j298b1b80b632ff3c@mail.gmail.com> <1e7471d50903112128y77f0084fl89753e9fa19ae009@mail.gmail.com> <1e7471d50903112141y169f93f7h5499a355161c1378@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lhg99-00088X-KY for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 04:20:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhg98-00087l-NZ for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 04:20:06 -0400 Received: from [199.232.76.173] (port=40398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhg98-00087h-ED for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 04:20:06 -0400 Received: from nf-out-0910.google.com ([64.233.182.190]:34760) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lhg97-00055c-SG for emacs-orgmode@gnu.org; Thu, 12 Mar 2009 04:20:06 -0400 Received: by nf-out-0910.google.com with SMTP id b11so83705nfh.26 for ; Thu, 12 Mar 2009 01:20:04 -0700 (PDT) In-Reply-To: <1e7471d50903112141y169f93f7h5499a355161c1378@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 On Mar 12, 2009, at 5:41 AM, Saptarshi Guha wrote: > Lovely. One last question, is there a way to place the source in a > table of two cols one for the col numbers and one for the code? So > that the reader may easily select the code. > The emacs user does not have a problem what with C-x r k (rectangle > delete) and all, still it would be nice on the reader. Hi, how does one select a column in an HTML table? When I try this, it is always entire rows that are being selected, so I would not know how to make a table where this works correctly. - Carsten > > Thanks for amazing org. > Saptarshi Guha > > > > On Thu, Mar 12, 2009 at 12:28 AM, Saptarshi Guha > wrote: >> Ok. I'll update. >> Thanks >> >> Saptarshi Guha >> >> >> >> On Thu, Mar 12, 2009 at 12:25 AM, Manish > > wrote: >>> On Thu, Mar 12, 2009 at 9:25 AM, 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) >>> >>> Line numbers and references were added in 6.17. >>> >>> -- >>> Manish >>> >> > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode