[Top][All Lists]

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

[Orgmode] [babel] options to the example directive

From: Eric S Fraga
Subject: [Orgmode] [babel] options to the example directive
Date: Tue, 03 Nov 2009 14:55:01 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

I am finding org-babel incredibly useful in the preparation of
documentation for didactic purposes.  Kudos to the developers!  

I have two queries that I cannot seem to find an answer to in the

1. is there any way to specify arguments that should be generated for
   the #+begin_example line for the results of a babel invocation?
   Specifically, I would like to append automatically, for instance,
   arguments such as "-t -w 100 -h 20" so that the export to HTML
   output is presented in a text box that has scroll bars etc.

2. even if I manually put the options on the begin_example line, the
   export to HTML creates a '<pre class="example">' directive instead
   of what I would expect: '<textarea cols="40" rows="10">' or
   something similar.  I don't understand why exporting a file without
   babel constructs should behave differently from exporting with
   babel.  Should a begin_example section not export the same in both

I am using org-mode and babel up to date as of this morning.

Any pointers highly welcome!


reply via email to

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