Re: [O] example or source blocks with captions

2011-04-30 Thread Jambunathan K
Sébastien Vauban writes: > Hi Neilen, > > Neilen Marais wrote: >> Is it possible to caption a #+begin_src or #+begin_example block? Doing >> >> #+CAPTION: dipole_analytical_balanis.mac >> #+begin_example >> >> #+end_example >> >> doesn't seem to do the trick. I would find this useful to in

Re: [O] example or source blocks with captions

2011-04-29 Thread Jambunathan K
(Forwarding it - Looks like the original mail didn't make it's way to the list) > Hi Neilen, > > Neilen Marais wrote: >> Is it possible to caption a #+begin_src or #+begin_example block? Doing >> >> #+CAPTION: dipole_analytical_balanis.mac >> #+begin_example >> >> #+end_example >> >> doesn't

Re: [O] example or source blocks with captions

2011-04-28 Thread Sébastien Vauban
Hi Thomas, "Thomas S. Dye" wrote: > A while back I took a stab at an overly ambitious project that I've > subsequently dropped. In that project I did manage to establish captions > that work with org-special-blocks. What follows is a cut and paste job from > the bones of the project that might hel

Re: [O] example or source blocks with captions

2011-04-27 Thread Thomas S. Dye
Aloha Neilen Marais, A while back I took a stab at an overly ambitious project that I've subsequently dropped. In that project I did manage to establish captions that work with org-special-blocks. What follows is a cut and paste job from the bones of the project that might help you solve

Re: [O] example or source blocks with captions

2011-04-27 Thread Sébastien Vauban
Hi Neilen, Neilen Marais wrote: > Is it possible to caption a #+begin_src or #+begin_example block? Doing > > #+CAPTION: dipole_analytical_balanis.mac > #+begin_example > > #+end_example > > doesn't seem to do the trick. I would find this useful to include > suggested filenames when quoting s

[O] example or source blocks with captions

2011-04-27 Thread Neilen Marais
Hi, Is it possible to caption a #+begin_src or #+begin_example block? Doing #+CAPTION: dipole_analytical_balanis.mac #+begin_example #+end_example doesn't seem to do the trick. I would find this useful to include suggested filenames when quoting source on a web page. Thanks Neilen