emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: aditya siram <aditya.siram@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [Babel] Weaving noweb chunks
Date: Mon, 4 Aug 2014 18:45:23 -0500	[thread overview]
Message-ID: <CAJrReyirsFhre+F26npRVVrrT5m1amw1H7ev18SqdzK5NOrBLA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

Hi all,
When weaving with noweb style chunks is there a way for the noweb
references to become links back to the chunk in the exported HTML?

For example when the following is woven:

** weaving   :PROPERTIES:
   :tangle:   yes   :END:
#+name: foo#+begin_src emacs-lisp

  (foo)

#+end_src#+begin_src emacs-lisp :noweb tangle
  <<foo>>#+end_src

I'd like the `<<foo>>` in the HTML output to be a link to the `foo`
source block.

Thanks!

-deech

[-- Attachment #2: Type: text/html, Size: 1184 bytes --]

                 reply	other threads:[~2014-08-04 23:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJrReyirsFhre+F26npRVVrrT5m1amw1H7ev18SqdzK5NOrBLA@mail.gmail.com \
    --to=aditya.siram@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).