16

私は組織モードで作業しており、タイトルではなく番号でセクションを参照するリンクを生成しようとしています。

* Section One
:PROPERTIES:
:CUSTOM_ID: sec:one
:END:

* Section Two
#+label: sec:two

I can reference Section One with  [[#sec:one]] and [[#sec:one][Section One]],
but I can't get the actual section number (1) to resolve.

見たい

As you can see in Section 1

みたいな書き方で

As you can see in Section [[sec:one]],

何か案は?

4

3 に答える 3

9

Tom Regner のアプローチは機能しますが、専用のターゲットを使用する必要はありません。引き続き custom_id リンクを使用できますが、説明はありませ。このような:

* 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).
于 2014-07-06T17:04:38.543 に答える