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

Attachment: signature.asc
Description: PGP signature

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

Reply via email to