From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: example or source blocks with captions
Date: Wed, 27 Apr 2011 21:36:47 +0200 [thread overview]
Message-ID: <80iptzwkog.fsf@somewhere.org> (raw)
In-Reply-To: BANLkTikjyCCDRj-rvMtu41Umpd3RL5Avaw@mail.gmail.com
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 source on a web page.
Would such block be better for you?
--8<---------------cut here---------------start------------->8---
#+srcname: dipole_analytical_balanis.mac
#+begin_src mac
....
#+end_src
--8<---------------cut here---------------end--------------->8---
The source name should be exported in HTML. If not, this is a feature.[1]
Best regards,
Seb
Footnotes:
[1] I know for sure it does when the block has "grounded" parameters (ie, with
a given value).
--
Sébastien Vauban
next prev parent reply other threads:[~2011-04-27 19:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 15:57 example or source blocks with captions Neilen Marais
2011-04-27 19:36 ` Sébastien Vauban [this message]
2011-04-30 5:00 ` Jambunathan K
2011-04-27 21:21 ` Thomas S. Dye
2011-04-28 7:46 ` Sébastien Vauban
-- strict thread matches above, loose matches on Subject: below --
2011-04-30 5:00 Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80iptzwkog.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.