Jacob Gerlach <jacobgerl...@gmail.com> writes: > (Did I break the thread by adding "[PATCH]" to the subject? Apologies > if so, original thread was [1])
I read the thread before asking the question. > In more detail (repeating/summarizing the prior messages on original thread): > > Internal Links stored with org-store-link and inserted with > org-insert-link fail on export for headlines with spaces because of % > encoding the spaces. (This is orthogonal to the patch, just the > original motivation that led to it). > > One solution is to use org-id. I also came up with a hack to unhex the > link after it is inserted. > > In either case, the links inserted have descriptions. This is where I don't follow you. You can insert links without description, using `org-insert-link'. What makes you think you cannot? > Links with descriptions always export as hyperref's using the headline > text (instead of regular \ref's using the label). That's intended, indeed. If you added a description to a link, Org should use it. Regards,