emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sven Osterwalder <s@1042.ch>
To: Emacs-orgmode@gnu.org
Subject: Re: Tangling with cross-references coming from included files
Date: Tue, 28 Mar 2017 17:15:05 +0200	[thread overview]
Message-ID: <E7C65B41-95FF-44A9-9679-F8D51D55CADC@1042.ch> (raw)
In-Reply-To: <87tw6dze9o.fsf@alphaville.usersys.redhat.com>

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

Hi Nick

> On 28 Mar 2017, at 16:06, Nick Dokos <ndokos@gmail.com> wrote:
> 
> The hook is called 'org-export-before-parsing-hook', but whether that solves your problem or not,
> I don't know.
> 
> --
> Nick


Thank you for your answer. Yes, that was a typo, I actually used that hook (as you
wrote it).

Furthermore I forgot to mention, that the second code snippet, the one in file B, is named:

==== File b.org ====

[Text …]

#+NAME: file-b-method-foo
#+BEGIN_SRC python :exports none
def foo(self):
   print(“bar”)
#+END

I even tried to use CUSTOM_ID (and ID as well), but babel does not seem to resolve
links as [[file:b.org::file-b-method-foo]] when tangling.


Sven

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  reply	other threads:[~2017-03-28 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-28  7:20 Tangling with cross-references coming from included files s
2017-03-28 14:06 ` Nick Dokos
2017-03-28 15:15   ` Sven Osterwalder [this message]
2017-03-29 14:41 ` Nicolas Goaziou

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=E7C65B41-95FF-44A9-9679-F8D51D55CADC@1042.ch \
    --to=s@1042.ch \
    --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).