emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* insert automatically a reference to a section header and a link
@ 2021-11-17  7:36 Uwe Brauer
  2021-11-17  8:28 ` Uwe Brauer
                   ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: Uwe Brauer @ 2021-11-17  7:36 UTC (permalink / raw)
  To: emacs-orgmode


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 



^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2021-11-23 15:21 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17  7:36 insert automatically a reference to a section header and a link Uwe Brauer
2021-11-17  8:28 ` Uwe Brauer
2021-11-17 10:04 ` Eric S Fraga
2021-11-17 13:58   ` Uwe Brauer
2021-11-17 14:06     ` John Kitchin
2021-11-17 14:15       ` Uwe Brauer
2021-11-17 14:59         ` Stefan Nobis
2021-11-17 15:42           ` Juan Manuel Macías
2021-11-17 16:08             ` Uwe Brauer
2021-11-17 15:55           ` Uwe Brauer
2021-11-17 16:08             ` Eric S Fraga
2021-11-17 16:44               ` Uwe Brauer
2021-11-17 16:29             ` Stefan Nobis
2021-11-17 17:05               ` Uwe Brauer
2021-11-17 19:10                 ` Stefan Nobis
2021-11-23 15:20                 ` Bruce D'Arcus
2021-11-17 18:17               ` Juan Manuel Macías
2021-11-17 19:00                 ` Stefan Nobis
2021-11-17 14:58     ` Eric S Fraga
2021-11-17 16:00       ` Uwe Brauer
2021-11-17 16:31         ` Eric S Fraga
2021-11-17 17:06           ` Uwe Brauer
2021-11-17 16:49 ` [Problems with org-ref-helm-insert-ref-link and org-id-get-create] (was: insert automatically a reference to a section header and a link) Uwe Brauer
2021-11-17 17:57   ` John Kitchin
2021-11-17 18:58     ` [Problems with org-ref-helm-insert-ref-link and org-id-get-create] Uwe Brauer
2021-11-17 19:58       ` John Kitchin
2021-11-17 20:16         ` Uwe Brauer
2021-11-17 21:41         ` Uwe Brauer
2021-11-17 21:54           ` John Kitchin
2021-11-18  7:44             ` Uwe Brauer
2021-11-18  8:06               ` Uwe Brauer
2021-11-18 12:48               ` John Kitchin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).