From: John Hendy <jw.hendy@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: org-mode-email <emacs-orgmode@gnu.org>,
Sharon Kimble <boudiccas@skimble.plus.com>
Subject: Re: linking to headings with a unique I'D exported to latex/PDF
Date: Thu, 2 Feb 2017 10:13:11 -0600 [thread overview]
Message-ID: <CA+M2ft_OCNNZCC+dB673m6k1FCdqnx2c31RV94jtYOPcSiFuDg@mail.gmail.com> (raw)
In-Reply-To: <8737fwehjo.fsf@nicolasgoaziou.fr>
On Thu, Feb 2, 2017 at 9:30 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Sharon Kimble <boudiccas@skimble.plus.com> 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?
John
>> But when exported it does not work.
>
> What doesn't work?
>
> Regards,
>
> --
> Nicolas Goaziou
>
next prev parent reply other threads:[~2017-02-02 16:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-02 15:01 linking to headings with a unique I'D exported to latex/PDF Sharon Kimble
2017-02-02 15:30 ` Nicolas Goaziou
2017-02-02 15:43 ` Sharon Kimble
2017-02-02 16:18 ` John Hendy
2017-02-02 16:13 ` John Hendy [this message]
2017-02-02 19:15 ` Nick Dokos
2017-02-03 9:21 ` SOLVED - Re: linking to headings with a unique ID " Sharon Kimble
[not found] <66200e4145f44a5dbf0625dd8986c1f1@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-02-02 15:58 ` linking to headings with a unique I'D " Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+M2ft_OCNNZCC+dB673m6k1FCdqnx2c31RV94jtYOPcSiFuDg@mail.gmail.com \
--to=jw.hendy@gmail.com \
--cc=boudiccas@skimble.plus.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).