From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven Osterwalder Subject: Re: Tangling with cross-references coming from included files Date: Tue, 28 Mar 2017 17:15:05 +0200 Message-ID: References: <87tw6dze9o.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: multipart/signed; boundary="Apple-Mail=_F74382F7-6EBC-415C-ACFE-B28C6388A428"; protocol="application/pgp-signature"; micalg=pgp-sha256 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cssq3-0002Al-PD for Emacs-orgmode@gnu.org; Tue, 28 Mar 2017 11:15:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cssq1-0002Jq-2W for Emacs-orgmode@gnu.org; Tue, 28 Mar 2017 11:15:15 -0400 Received: from mailauth3.nine.ch ([94.230.211.187]:58790) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cssq0-0002Iv-RJ for Emacs-orgmode@gnu.org; Tue, 28 Mar 2017 11:15:12 -0400 Received: from localhost (localhost [127.0.0.1]) by mailauth3.nine.ch (Postfix) with ESMTP id BAFDA11F973 for ; Tue, 28 Mar 2017 17:15:08 +0200 (CEST) Received: from mailauth3.nine.ch ([127.0.0.1]) by localhost (mailauth3.nine.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G0EWyFY_KDQP for ; Tue, 28 Mar 2017 17:15:07 +0200 (CEST) Received: from [192.168.0.129] (unknown [194.230.159.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: s@1042.ch) by mailauth3.nine.ch (Postfix) with ESMTPSA for ; Tue, 28 Mar 2017 17:15:07 +0200 (CEST) In-Reply-To: <87tw6dze9o.fsf@alphaville.usersys.redhat.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" To: Emacs-orgmode@gnu.org --Apple-Mail=_F74382F7-6EBC-415C-ACFE-B28C6388A428 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Nick > On 28 Mar 2017, at 16:06, Nick Dokos wrote: >=20 > The hook is called 'org-export-before-parsing-hook', but whether that = solves your problem or not, > I don't know. >=20 > -- > 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: =3D=3D=3D=3D File b.org =3D=3D=3D=3D [Text =E2=80=A6] #+NAME: file-b-method-foo #+BEGIN_SRC python :exports none def foo(self): print(=E2=80=9Cbar=E2=80=9D) #+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 --Apple-Mail=_F74382F7-6EBC-415C-ACFE-B28C6388A428 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJY2n36AAoJEGBuK3Iw+hVpchMH/ifY+fK/I6i1PYzpSc/Gnm00 0Wl0CPEsfhywTF3aK83ApeFy2xnzNla5Vs9tbfPW7eEBogHU1+CVtYvgUfLN+RHK bJr6bW0nNPiDV2dn7U389+5jDvyfZBJWvJNUZ9b5/xn7CeZp2zIFVlZ/eSgdF42D G6jGYMDZO8oNhszpA3GFYH/Ve7/Nbt1hpiJLo4nVOKTx84xpU62/BpeiPLT4crHh iivws/JuUFZ2gTHr+y8il71Zk9v58dl8uPw5aS3vcvWd84lBaxHMW+MsAeNu23xj 14y1/qFRm3InYbyY+7frxoQfeomecf+O2OcWmkzRJTouxIQB/mB6FgtzuAq6+Ig= =IvLf -----END PGP SIGNATURE----- --Apple-Mail=_F74382F7-6EBC-415C-ACFE-B28C6388A428--