emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] options to the example directive
@ 2009-11-03 14:55 Eric S Fraga
  2009-11-03 17:34 ` Dan Davison
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2009-11-03 14:55 UTC (permalink / raw)
  To: org-mode mailing list

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
documentation: 

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
   cases?

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

Any pointers highly welcome!

Thanks,
eric

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-04 22:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-03 14:55 [babel] options to the example directive Eric S Fraga
2009-11-03 17:34 ` Dan Davison
2009-11-03 20:57   ` Eric Schulte
2009-11-04  9:45     ` Eric S Fraga
2009-11-04 18:52       ` Dan Davison
2009-11-04 22:01         ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).