emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] exporting links with underscores


From: Mike Gauland
Subject: Re: [BUG] exporting links with underscores
Date: Sat, 17 Dec 2022 17:08:52 +1300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

On 17/12/22 11:32, Leo Butler wrote:
Org version is 9.5.2; emacs version is 27.1.

The manual does not indicate that underscores need to be escaped in
links (and they can't be, as far as I can tell). The latex and html
exporters interpret them as the start of a subscript.

Leo

By default underscore is treated that way--see the "Subscripts and Superscripts" section of the manual (https://orgmode.org/manual/Subscripts-and-Superscripts.html).

Set the '^' option to 'nil' to get the behaviour you're after:

#+OPTIONS: toc:nil num:nil ^:nil

If you want a subscript anywhere, you can get that by using curly braces (e.g., ex_{ample}).




reply via email to

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