Re: Should we escape \url special characters in Beamer?
Am Sonntag, dem 12.05.2024 um 12:39 -0400 schrieb Richard Kimberly Heck: > Since 2.4.x has been branched, you can go ahead with that. OK, so the new stage is open now. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Should we escape \url special characters in Beamer?
On 5/12/24 05:41, Jürgen Spitzmüller wrote: Am Samstag, dem 25.03.2023 um 15:43 +0100 schrieb Jürgen Spitzmüller: 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. FWIW I have a patch ready for this for master. However, it requires a file format change, so I'd better wait with it until 2.4.0 is settled? In any case, please tell me before you plan to create lyx2lyx/lyx_2_5.py, since I have this and all the other stuff needed to get 2.5 conversion ready here. Since 2.4.x has been branched, you can go ahead with that. Riki -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Should we escape \url special characters in Beamer?
Am Samstag, dem 25.03.2023 um 15:43 +0100 schrieb Jürgen Spitzmüller: > > 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. FWIW I have a patch ready for this for master. However, it requires a file format change, so I'd better wait with it until 2.4.0 is settled? In any case, please tell me before you plan to create lyx2lyx/lyx_2_5.py, since I have this and all the other stuff needed to get 2.5 conversion ready here. -- Jürgen 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
Re: Should we escape \url special characters in Beamer?
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 signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Should we escape \url special characters in Beamer?
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 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
Re: Should we escape \url special characters in Beamer?
On Fri, 2023-03-24 at 22:43 -0400, Scott Kostyshak wrote: > 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. Yes. I learned this the hard way. For the moment my choice was to mark the Frame as fragile. So I too would like to get a solution for this. :-) Best regards, -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Should we escape \url special characters in Beamer?
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 url-with-beamer.23.lyx Description: application/lyx signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel