emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Extract source code /with/ captions


From: Charles Berry
Subject: Re: [O] Extract source code /with/ captions
Date: Sun, 12 Jan 2014 18:34:18 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

James Harkins <jamshark70 <at> gmail.com> writes:

> 
> I'm working on a set of Beamer presentations with a bunch of source
> code blocks. I would like to collect all the blocks into one text file
> per presentation, but I also need the captions and ideally a numeric
> index.
> 

[deleted]

> So, for instance, where the slideshow and handouts would have a code
> block identified like so:
> 
> Listing 3: Compare geometric vs. band-limited waves, aurally.
> 
> ... a student should be able to open up the corresponding code file and find:
> 
> // Listing 3: Compare geometric vs. band-limited waves, aurally.
> 

Can you make the 'caption' into a heading?

If so, then ':comments org' will include it in output when you tangle.

Or maybe ':comments link' or ':comments both' and some post-processing?

HTH,

Chuck




reply via email to

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