Should we escape \url special characters in Beamer?

Scott Kostyshak skostysh at lyx.org
Sat Mar 25 02:43:39 UTC 2023


On Fri, Mar 24, 2023 at 10:43:00PM -0400, Scott Kostyshak wrote:
> 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.
> 
> Should LyX escape '#' in the 'Frame' environment, or do we put the responsibility on the user to know to use a Fragile Frame?
> 
> Scott

In case anyone is curious, attached is an example file.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: url-with-beamer.23.lyx
Type: application/x-lyx
Size: 2310 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230324/4716a584/attachment-0001.lyx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230324/4716a584/attachment-0001.asc>


More information about the lyx-devel mailing list