emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: insert automatically a reference to a section header and a link


From: Uwe Brauer
Subject: Re: insert automatically a reference to a section header and a link
Date: Wed, 17 Nov 2021 09:28:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

> Hi

> In auctex+reftex it is possible that when I insert a new section header
> a reference label is inserted automatically:


> 1. Example
>    \subsection{Inverse problem}
>    \label{sec:one}

> 2. And then using  reftex-reference 
>    I can insert \ref{sec:one}      


> So the equivalent of 1. in org mode would be to automatically insert

> ** Inverse problem
>    :PROPERTIES:
>    :CUSTOM_ID: sec:one
>    :END:

> Can this be done?

> And then what would be the equivalent to 2? It is not org-insert-link,
> as far as I can see.

To answer at least one of my questions:

org-ref-helm-insert-ref-link 
is the equivalent to reftex-reference.

But I cannot see how to configure org, so that it automatically insert a
section header link.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]