emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] linking to headings with a unique I'D exported to latex/PDF


From: Nick Dokos
Subject: Re: [O] linking to headings with a unique I'D exported to latex/PDF
Date: Thu, 02 Feb 2017 14:15:51 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

John Hendy <address@hidden> writes:

> On Thu, Feb 2, 2017 at 9:30 AM, Nicolas Goaziou <address@hidden> wrote:
>> Hello,
>>
>> Sharon Kimble <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]