From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [babel] Environment around exported results Date: Tue, 21 Sep 2010 07:14:31 -0600 Message-ID: <87mxrbdyhs.fsf@gmail.com> References: <87zkvhoh18.fsf@mundaneum.com> <87fwx5c98w.fsf@gmail.com> <87sk14p6y6.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=37282 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oy2mA-0001NM-Qf for emacs-orgmode@gnu.org; Tue, 21 Sep 2010 09:21:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oy2lw-0007Xd-9F for emacs-orgmode@gnu.org; Tue, 21 Sep 2010 09:20:50 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:48523) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oy2lw-0007X7-4s for emacs-orgmode@gnu.org; Tue, 21 Sep 2010 09:20:36 -0400 Received: by pzk26 with SMTP id 26so3740088pzk.0 for ; Tue, 21 Sep 2010 06:20:35 -0700 (PDT) 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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org Hi Seb, I think you've made a good point for adding this functionality. I'll put this on the Babel TODO stack, and reply to this email when we get something implemented. Best -- Eric S=C3=A9bastien Vauban writes: > Hi Eric, > > "Eric Schulte" wrote: >>> Would you mind creating an LaTeX environment around the =3Dresults=3D b= lock, so >>> that we could have the code colorized (via listings or Minted), and cle= arly >>> distinguish the results, if we want so. >>> >>> Having an environment would allow one to use non-proportional font for = the >>> results, or a shadowed background, or... >> >> Would such an environment be in addition too or in place of wrapping res= ults >> in the example environment? > > I would think of something like this: > > \begin{orgresults} > <... results block ...> > \end{orgresults} > > so that one can customize the =3Dorgresults=3D environment in LaTeX to ge= t a > colored background, another font, etc. > > >> What would you suggest for tabular results? > > Nothing different for tables: just the same plain default environment aro= und > the results part. > > >> One very nice property of the current setup is that it relies solely on >> vanilla Org-mode for export features. If the example export of Org-mode >> allowed some form of customization through a customizable div class or l= atex >> environment would that be sufficient? > > The name of the environment could be in a variable, yes. > > But please note the above request can come out of a misunderstanding or p= oor > knowledge of already existing parametrization of Org-Babel. Put me back on > tracks if needed... > > Best regards, > Seb