[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prevent underscores to be translates in subscript when exporting to
From: |
Ihor Radchenko |
Subject: |
Re: prevent underscores to be translates in subscript when exporting to latex |
Date: |
Sat, 08 Oct 2022 22:13:03 +0800 |
Luca Ferrari <fluca1978@gmail.com> writes:
> Hi all,
> I've a link like
> [[https://foo.com/bar_baz.html][https://foo.com/bar_baz.html]] that,
> once rendered in LaTeX, is converted to a subscript like
> bar\textsubscript{baz}.
> Is there a way to prevent this?
Description part of the link can contain markup, including underscore.
Just as if you write bar_baz in paragraph, =_= is interpreted as
subscript.
As usual, to prevent Org markup from being interpreted, you can use
verbatim environment:
[[https://foo.com/bar_baz.html][=https://foo.com/bar_baz.html=]]
or entity
[[https://foo.com/bar_baz.html][https://foo.com/bar\under{}baz.html]]
or you can drop the description part of the link altogether:
[[https://foo.com/bar_baz.html]]
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>