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