From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: exporting src as html Date: Mon, 14 Jul 2008 11:31:25 -0700 Message-ID: <442C5935-1F2C-4138-8FE3-0063650F724D@uva.nl> References: <6atzev3rie.fsf@richardriley.net> Mime-Version: 1.0 (Apple Message framework v924) 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 1KISpf-0002zp-CF for emacs-orgmode@gnu.org; Mon, 14 Jul 2008 14:31:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KISpd-0002zW-UO for emacs-orgmode@gnu.org; Mon, 14 Jul 2008 14:31:31 -0400 Received: from [199.232.76.173] (port=54676 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KISpd-0002zT-Oe for emacs-orgmode@gnu.org; Mon, 14 Jul 2008 14:31:29 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:39145) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KISpd-0005cC-Qw for emacs-orgmode@gnu.org; Mon, 14 Jul 2008 14:31:29 -0400 In-Reply-To: <6atzev3rie.fsf@richardriley.net> 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: Richard G Riley Cc: org-mode How about adding .src { overflow:auto } to the CSS style definitions? Is that what you are looking for? It seems to me that a scroll bar is better than wrapping, because source code is usually formatted the way it is for a reason. - Carsten On Jul 12, 2008, at 11:07 AM, Richard G Riley wrote: > > is it possible to tell the exporter to wrap src code? e.g in this > > ,---- > | #+HTML:
> | #+INCLUDE: "~/.emacs.d/init.el" src emacs-lisp > | [[../][Back]] > | #+HTML:
> `---- > > some lines in the htmlized source code extends out beyond the > containing > div. > > > > > > _______________________________________________ > 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