Should we escape \url special characters in Beamer?
Scott Kostyshak
skostysh at lyx.org
Wed May 3 19:07:39 UTC 2023
On Sat, Mar 25, 2023 at 03:43:14PM +0100, Jürgen Spitzmüller wrote:
> 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.
Sorry for the late reply. Indeed that works well.
> > 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.
Makes sense, thanks.
Scott
-------------- 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/20230503/67238fe4/attachment.asc>
More information about the lyx-devel
mailing list