emacs-orgmode
[Top][All Lists]
Advanced

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

insert automatically a reference to a section header and a link


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

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.

Thanks and regards

Uwe Brauer 




reply via email to

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