In org-mode's LaTeX export configuration, the
%s operator can be used as a placeholder for the headline string, as can be seen in the examples at
For reasons far too complicated to explain here, I would like to name the sections in my exported
.tex file not according to the corresponding headlines in my
.org file, but instead according to the respective sections'
I am wondering whether it is possible to achieve this. For example, there might be an operator equivalent to %s, which is automatically replaced by a section's
CUSTOM_ID rather than by its headline?
Example to illustrate
I'd like the
* My section
to result in the following
.tex code when exported via
C-c C-e C-b l L:
and not in the following: