在组织模式中,我有一个包含内部链接的文档,即有这种格式的链接......
For more info, see [[*First%20heading][First heading]]
...链接到章节标题:
* First heading
这些链接不会出现在导出的文件中,无论是HTML还是tex / PDF。是否有一个组织模式设置来控制它?
答案 0 :(得分:2)
虽然导出标题链接会很棒(虽然它似乎在8.0之前的版本中有效),但作为一种解决方法,您可以the manual推荐并使用专用目标,如
- one item - <<target>>another item Here we refer to item [[target]].
或CUSTOM_ID
- 属性,as in
* Section One :PROPERTIES: :CUSTOM_ID: sec:one :END: * Section Two You can reference Section One with [[#sec:one]] but NOT [[#sec:one][Section One]], i.e., the link without description will get you the actual section number (1).
(来自How can I reference a section by number in org-mode export?的第二个例子)。
似乎使用* link_name
是一个后备解决方案:
如果以上都不成功,Org将搜索与链接文本完全相同的标题,但也可能包含TODO关键字和标签。