From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: linking to headings with a unique I'D exported to latex/PDF Date: Thu, 02 Feb 2017 14:15:51 -0500 Message-ID: <87lgto4d5k.fsf@gmail.com> References: <87fujwtz5u.fsf@skimble.plus.com> <8737fwehjo.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZMrY-0005bG-5o for emacs-orgmode@gnu.org; Thu, 02 Feb 2017 14:16:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZMrV-0005U2-0u for emacs-orgmode@gnu.org; Thu, 02 Feb 2017 14:16:08 -0500 Received: from [195.159.176.226] (port=35591 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cZMrU-0005Tx-QX for emacs-orgmode@gnu.org; Thu, 02 Feb 2017 14:16:04 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cZMrI-0005T3-Q1 for emacs-orgmode@gnu.org; Thu, 02 Feb 2017 20:15:52 +0100 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 John Hendy writes: > On Thu, Feb 2, 2017 at 9:30 AM, Nicolas Goaziou wrote: >> Hello, >> >> Sharon Kimble writes: >> >>> I'm writing a document which is exported to latex and then built into a >>> PDF where I might have 'Alcohol', just as an example, mentioned several >>> times in different level headings. Currently I'm using org links like >>> this [[*Alcohol][Alcohol]] but that only allows me to link to one >>> heading only. >>> >>> I've tried using links like this >>> [[id:542d0880-c0fd-46d5-b75d-4cc6f5fa99cc][Alcohol]] and under the >>> heading that I'm linking to it says - >>> >>> *** Alcohol >>> :PROPERTIES: >>> :ID: 542d0880-c0fd-46d5-b75d-4cc6f5fa99cc >>> :END: >>> > > This works for me: > > #+begin_example > > * Alcohol > :PROPERTIES: > :ID: c8f90f00-4e36-41b7-b7fe-e52966e36d1d > :END: > > Something > > \newpage > > * Another heading > > Blah blah blah, see [[id:c8f90f00-4e36-41b7-b7fe-e52966e36d1d][Alcohol]] > > #+end_example > > From page 2 I jump up to the page 1 alcohol heading. > > Not sure if you need it, but I'm assuming you load org-id? > > I ran into a problem like this a week or two ago, where [id:xxx] links were not working. Michael Welle suggested loading org-id and that resolved my problem. I do think however that the message I was getting was unhelpful (something like "Link not found. Create a new heading?"), even though there was nothing wrong with the link. -- Nick