|
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:
By default underscore is treated that way--see the "Subscripts and Superscripts" section of the manual (https://orgmode.org/manual/Subscripts-and-Superscripts.html).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
Set the '^' option to 'nil' to get the behaviour you're after: #+OPTIONS: toc:nil num:nil ^:nilIf you want a subscript anywhere, you can get that by using curly braces (e.g., ex_{ample}).
[Prev in Thread] | Current Thread | [Next in Thread] |