[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Cross references that output both section number and section nam
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Cross references that output both section number and section name |
Date: |
Fri, 26 May 2017 09:20:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Aaron Wenner <address@hidden> writes:
> Does anyone know if it’s possible to create cross-references to sections in
> org-mode that contain (or export as) both the section number and the link
> text? For example:
>
> * This is heading 1
> ** This is heading 1.1
>
> * New heading
> [[*This is heading 1.1]] # Outputs as 1.1
> [[*This is heading 1.1][This is heading 1.1]] # Outputs as "This is
> heading 1.1"
> Is there any way to create a link that outputs both examples at the
> same time: Eg: 1.1 This is heading 1.1
[[*This is heading 1.1]] [[*This is heading 1.1][This is heading 1.1]]
Regards,
--
Nicolas Goaziou