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

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to