emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [Babel] Exporting tangled file path


From: Eric Schulte
Subject: Re: [O] [Babel] Exporting tangled file path
Date: Fri, 18 Oct 2013 11:44:05 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

aditya siram <address@hidden> writes:

> Thanks, but I was hoping there was some way of including that in the
> exported HTML/PDF etc. That way someone looking at the documentation can
> find their way back to the source file. As it stands (at least with the
> HTML exporter) there's no way to know where a chunk of code ends up.
> -deech
>

This could be done using a custom export filter.  See the manual and the
org-export-filter-src-block-functions variable for more information.
There was recently on discussion on how to add some very nice features
to latex export using this hook.

Best,

>
>
> On Fri, Oct 18, 2013 at 11:44 AM, Eric Schulte <address@hidden>wrote:
>
>> aditya siram <address@hidden> writes:
>>
>> > Hi all,
>> > Currently when I export a literate program I can see the chunks but not
>> > where they end up. It would be really useful if the chunks had a footnote
>> > or something that linked to the file where they were tangled. Is there a
>> > header argument that does that?
>> >
>> > Thanks!
>> > -deech
>>
>> Try "C-c C-v" which runs the command org-babel-view-src-block-info on a
>> code block.  It will show you if the code block has a specified tangle
>> name.  If the value of tangle is "yes" then the name of the Org-mode
>> file will be used.
>>
>> Best,
>>
>> --
>> Eric Schulte
>> https://cs.unm.edu/~eschulte
>> PGP: 0x614CA05D
>>

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D



reply via email to

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