From mboxrd@z Thu Jan 1 00:00:00 1970 From: aditya siram Subject: Re: [Babel] Exporting tangled file path Date: Fri, 18 Oct 2013 11:54:01 -0500 Message-ID: References: <87a9i61qc0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0149d0e66128f904e906ca1a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXDJz-0004Mm-5k for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 12:54:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXDJy-0003zh-0b for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 12:54:43 -0400 Received: from mail-qa0-x22b.google.com ([2607:f8b0:400d:c00::22b]:35292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXDJx-0003za-RN for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 12:54:41 -0400 Received: by mail-qa0-f43.google.com with SMTP id i13so863822qae.16 for ; Fri, 18 Oct 2013 09:54:41 -0700 (PDT) In-Reply-To: <87a9i61qc0.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --089e0149d0e66128f904e906ca1a Content-Type: text/plain; charset=ISO-8859-1 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 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 > --089e0149d0e66128f904e906ca1a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks, but I was hoping there was some way of including t= hat in the exported HTML/PDF etc. That way someone looking at the documenta= tion can find their way back to the source file. As it stands (at least wit= h the HTML exporter) there's no way to know where a chunk of code ends = up.
-deech


On Fri, Oct 18, 2013 at 11:44 AM, Eric Schulte <schulte.eric@gmail= .com> wrote:
adit= ya siram <aditya.siram@gmail.c= om> writes:

> Hi all,
> Currently when I export a literate program I can see the chunks but no= t
> where they end up. It would be really useful if the chunks had a footn= ote
> 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-s= rc-block-info on a
code block. =A0It will show you if the code block has a specified tangle name. =A0If the value of tangle is "yes" then the name of the Org= -mode
file will be used.

Best,

--
Eric Schulte
https://cs.unm.e= du/~eschulte
PGP: 0x614CA05D

--089e0149d0e66128f904e906ca1a--