From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [Babel] Exporting tangled file path Date: Fri, 18 Oct 2013 11:44:05 -0600 Message-ID: <87wqlazd7e.fsf@gmail.com> References: <87a9i61qc0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXE6H-00035N-49 for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 13:44:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXE6B-0003Qi-Q3 for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 13:44:37 -0400 Received: from mail-pb0-x22b.google.com ([2607:f8b0:400e:c01::22b]:60125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXE6B-0003PV-Ii for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 13:44:31 -0400 Received: by mail-pb0-f43.google.com with SMTP id md4so4139057pbc.2 for ; Fri, 18 Oct 2013 10:44:30 -0700 (PDT) In-Reply-To: (aditya siram's message of "Fri, 18 Oct 2013 11:54:01 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: aditya siram Cc: emacs-orgmode@gnu.org aditya siram 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 wrote: > >> aditya siram 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