Re: [O] Internal Links with Spaces

2015-03-10 Thread John Kitchin
I am not sure what the convention there is. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Tue, Mar 10, 2015 at

Re: [O] Internal Links with Spaces

2015-03-10 Thread Jacob Gerlach
On Mon, Mar 9, 2015 at 7:28 PM, John Kitchin jkitc...@andrew.cmu.edu wrote: I think you need to set (setq org-id-link-to-org-use-id 'create-if-interactive) Indeed, this is a variation of what Leo suggested and customizing org-id-link-to-org-use-id is almost working for me... Unfortunately, I

Re: [O] Internal Links with Spaces

2015-03-10 Thread Jacob Gerlach
On Tue, Mar 10, 2015 at 12:12 PM, John Kitchin jkitc...@andrew.cmu.edu wrote: As far as I know you have only two options to use refs to a headline in Latex export. 1) Use a CUSTOM_ID property on a heading and then use [[#your-custom-id]] as your link. You have to put relevant text in like:

Re: [O] Internal Links with Spaces

2015-03-09 Thread Leo Ufimtsev
On the side, if of any help: I generally use ID's for linking to headings. The benefit is that headings can be re-named safley and links still work. There is an org-module called 'org-id', which when enabled in conjunction with the variable below allows you to automatically generate a

Re: [O] Internal Links with Spaces

2015-03-09 Thread Jacob Gerlach
On Mon, Mar 9, 2015 at 10:38 AM, Leo Ufimtsev lufim...@redhat.com wrote: On the side, if of any help: I generally use ID's for linking to headings. The benefit is that headings can be re-named safley and links still work. A great suggestion. I wasn't aware of the feature, and renaming safety

Re: [O] Internal Links with Spaces

2015-03-09 Thread John Kitchin
I think you need to set (setq org-id-link-to-org-use-id 'create-if-interactive) Then the usual C-c l and C-c C-l should work to store links and insert them. It might be worth noting though, that in my experience, this is most useful for links within a file, or to files in your agenda list. org