Should we escape \url special characters in Beamer?
Jürgen Spitzmüller
jspitzm at gmail.com
Sat Mar 25 14:43:14 UTC 2023
Am Freitag, dem 24.03.2023 um 22:43 -0400 schrieb Scott Kostyshak:
> The \url command does not need to be escaped in standard classes.
> However, Beamer is special:
>
>
> https://tex.stackexchange.com/questions/334187/how-to-insert-a-percent-symbol-in-url-in-beamer
>
> https://tex.stackexchange.com/questions/504463/pound-sign-in-href-link-in-beamers-frame-environment
>
> From what I understand, to get \url to work with characters like '#'
> in Beamer, either '#' needs to be escaped, or a "fragile" frame
> should be used.
Or a hyperlink inset rather than an URL. The former does the escaping.
> Should LyX escape '#' in the 'Frame' environment, or do we put the
> responsibility on the user to know to use a Fragile Frame?
The former, but this requires some effort (probably a new layout flag
that advises to escape chars in embedded verbatim insets). Probably not
2.4 stuff.
--
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 508 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230325/43ccced9/attachment.asc>
More information about the lyx-devel
mailing list