From: Sharon Kimble <boudiccas@skimble.plus.com>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: SOLVED - Re: linking to headings with a unique ID exported to latex/PDF
Date: Fri, 03 Feb 2017 09:21:11 +0000 [thread overview]
Message-ID: <87o9yjvddk.fsf@skimble.plus.com> (raw)
In-Reply-To: <87fujwtz5u.fsf@skimble.plus.com> (Sharon Kimble's message of "Thu, 02 Feb 2017 15:01:17 +0000")
[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]
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:
>
> But when exported it does not work.
>
> So, how can I link to specific headings, preferably with a unique ID
> please?
Nothing that I tried worked, yes, I was using 'org-id', but it was still
failing, so I set about building a MWE.
And then I found the problem - the latex package called 'titlesec' when
used with org-mode to latex is incompatible with org-mode and stops
org-id from working. Comment it out and org-id works perfectly again.
What 'titlesec' does is compress the space around each header, so its a
latex problem not an org-mode problem, so I shall look for a latex
solution to compressing the header spaces.
Thanks for all the suggestions and ideas to solve the problem.
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.6, fluxbox 1.3.5-2, emacs 25.1.1.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
prev parent reply other threads:[~2017-02-03 9:21 UTC|newest]
Thread overview: 7+ 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
2017-02-02 19:15 ` Nick Dokos
2017-02-03 9:21 ` Sharon Kimble [this message]
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=87o9yjvddk.fsf@skimble.plus.com \
--to=boudiccas@skimble.plus.com \
--cc=emacs-orgmode@gnu.org \
/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).