From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: exporting a big project in multiple files to both pdf and html Date: Thu, 01 Feb 2018 13:29:17 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehDzZ-0006y6-Lp for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 07:29:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehDzV-0004Q4-Nn for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 07:29:25 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:2513) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ehDzV-0004Oo-C3 for emacs-orgmode@gnu.org; Thu, 01 Feb 2018 07:29:21 -0500 In-Reply-To: (Yasushi SHOJI's message of "Thu, 1 Feb 2018 20:09:52 +0900") 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: Yasushi SHOJI Cc: emacs-orgmode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2018-02-01 20:09, Yasushi SHOJI writes: >> How do I change the link in the second headline so that I can split the >> second headline into its own file and export it by itself? > > Using [[*A headline]] ? > > I might be still missing something but I got following: > > $ cat a.org > * A headline > > This is the first file. > > #+INCLUDE: b.org :minlevel 1 > > $ cat b.org > * Second headline > > The first headline is number [[*A headline]] =E2=80=A6 > hmm... latex export will generate \ref{sec:\#head} > if you have CUSTOM_ID set. html exporter works, though. Not here. If I try to export the second file (the one with the link to the first file), I get an error: user-error: Unable to resolve link: "*A headline" This is why I think I need to have the target file name in the link when exporting it as a standalone file. Best, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO=E2=82=82, Mauna Loa Obs. 2017-12: 406.82, 2016-12: = 404.42 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAlpzCB4ACgkQBA0KO07S 5ceuqwgAi9Xdto4CgTACtHKKY5UTXrYBKIGAD9OoStU4sRH8IHiWBnd0lxQSx/93 8OlySl1FuO7s5w67SguPyRT8re9RMAnS2+WRpqa1LK9miyJZ/PkA500FY790xMs/ v19t/ucGeLxCif6o+f+JqP6djxSyk368y7zkpOq3x7opV4cR7bQkKHQJpNock3qQ WKicboGXhAeYl276f+RQg3YuFiZ7pWDi/JJSSw+o65vgH1ZeD6FgH43SBQ9rGjWk eKZzMAOsO+vg4bcpoSt5jfOq4T23lcMmmFSx+95TTOzD2yckRuQxieamHgXBPXOy ldAEfXoyrOHdsHFmy/RpOjpSOdb+ZQ== =B5J2 -----END PGP SIGNATURE----- --=-=-=--