Subject: Re: bug#54092: 29.0.50; Org Export ignores subscript/superscript setting in node names

From: Eli Zaretskii <[email-masked]>
Date: Mon, 21 Feb 2022 21:42:08 +0200

> From: Philipp Stephani <[email-masked]>
> Date: Mon, 21 Feb 2022 19:55:25 +0100
> 
> 
> Create an Org file like this:
> 
> $ cat /tmp/test.org 
> #+OPTIONS: ^:{}
> 
> * aaa_bbb
> :PROPERTIES:
> :ALT_TITLE: ccc_ddd
> :END:
> 
> eee_fff
> 
> Visit it in Emacs, enabling Texinfo export:
> 
> $ emacs -Q -l org -l ox -l ox-texinfo /tmp/test.org
> 
> Export the file to a Texinfo file using C-c C-e i t.
> The resulting Texinfo file will contain:
> 
> 
> @menu
> * ccc@math{_ddd}::
> @end menu
> 
> @node ccc@math{_ddd}
> @chapter aaa_bbb
> 
> eee_fff
> 
> 
> Note that despite the ^:{} option, the node name (but nothing else)
> still (incorrectly) uses a subscript for "ddd".  My suspicion is that
> this is due to the use of `org-element-parse-secondary-string' in
> `org-export-get-alt-title'; that seems to ignore the export options.

Shouldn't this be reported to the Org bug address instead?