From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: A section in file 2 being referenced in file 1, then exported to latex and built into a PDF? Date: Sun, 27 Jan 2019 11:18:35 +0000 Message-ID: <87pnsitkl0.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gniSh-000743-Tn for emacs-orgmode@gnu.org; Sun, 27 Jan 2019 06:18:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gniSf-0005he-FV for emacs-orgmode@gnu.org; Sun, 27 Jan 2019 06:18:50 -0500 Received: from avasout02.plus.net ([212.159.14.17]:40612) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gniSd-0005AE-HP for emacs-orgmode@gnu.org; Sun, 27 Jan 2019 06:18:49 -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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable How can I, in org-mode, reference another heading in a different file in th= e same directory please? For example - =2D-8<---------------cut here---------------start------------->8--- * Testing ** Testing number one :mydrawer: See \uline{Testing number one} on page \pageref{fu2:2c2a0555-27a4-4ac1-b124= -ffb60ee2af00} :END: \label{2c2a0555-27a4-4ac1-b124-ffb60ee2af00} =2D-8<---------------cut here---------------end--------------->8--- Is in /home/boudiccas/research/writing/fu/fu2.org and I want the reference to appear in the org-mode file in '/home/boudiccas= /research/writing/fu/fu.org' And show as - =2D-8<---------------cut here---------------start------------->8--- * Testing ** testing one # See \uline{Testing number one} on page \pageref{{fu2.org}:{2c2a0555-27a4-= 4ac1-b124-ffb60ee2af00} # See \uline{Testing number one} on page \pageref{{fu2.org}:2c2a0555-27a4-4= ac1-b124-ffb60ee2af00} # See \uline{Testing number one} on page \pageref{fu2.org:2c2a0555-27a4-4ac= 1-b124-ffb60ee2af00} # See \uline{Testing number one} on page \pageref{fu2:2c2a0555-27a4-4ac1-b1= 24-ffb60ee2af00} # See \uline{Testing number one} on page \pageref{2c2a0555-27a4-4ac1-b124-f= fb60ee2af00} =2D-8<---------------cut here---------------end--------------->8--- Both files are exported to latex and built into a pdf file. In the second example I have tried various things, including =2D-8<---------------cut here---------------start------------->8--- # #+latex_header: \include{/home/boudiccas/research/writing/fu/fu2} # #+latex_header: \input{/home/boudiccas/research/writing/fu/fu2.org} =2D-8<---------------cut here---------------end--------------->8--- but none were successful. So everything that I have tried, and fails, is commented out. So how can I do it please? Is it actually possible to do it? Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAlxNk4sACgkQNoGAGQr4 g1uPQQ/+OsGiA0PL22VKaX3Fa+cvDSm3+uVbgaFwPqZ0R0mrSJrffELlc8115/mN 4fEw/ebLhnzntvM1avYu00WtzypZ3oD6X7RDtaNrs9i4ZnOCCuC6zS8gMkWVBx6I HWfj7YYk8Zc9dZ5v6v29P7kr3hDdJ0N/o7JnN9dSNMTyK33ChvzcDltXZkD9ZJNa yusw71l/MI7Vb+hzLw1FbHLfJweq+gVMaUUMbwMNkjKmWXdiFgVEcDjPKpauiJFz OaVLVD2VYoj4ssDURTjnXxR6CMWqnrYeskVePJxwnh8n8LQX6wkMRGzSMVGG0/Sy znZRNFd+DXAoJsGoCmT00Jhf4ewDlPCLUmf9TbBc8s5Kn85+MO771Ogw1p/0n9NC hPyKFIGDf3iplQRIrR0CYOrHx51mVyNctYtsEnnjDgmTNhGsYFR1eTt3Y7MHDl2A koiR/wVpYv3jyCJlnm6X9BJx6JXV/9AXWp19lPwrU6GiV6RhcutJspg3snH42pFp 0pKtxcjbDkSaLHqVwm24SjntIuS8lJmbGu37pesezsgPgVYEJhSm9Omo+bmnINnD oCNoGc2r8f+lpNhXb08uBsTs6UT1F7xdIn+8ggWPCXcEYlrmNfCvhs7DnzPKnR+L EfDcXeoF5nBGg6dpoF1n7Iv7JFi7THkFdcgbuMgOu78nxaC9KeQ= =ocLk -----END PGP SIGNATURE----- --=-=-=--