Re: Python warning in lyx2lyx

2025-03-03 Thread Jürgen Spitzmüller
Am Montag, dem 03.03.2025 um 10:08 + schrieb José Matos: > One solution is, just like Jürgen did, to escape the backslash > itself: > "r@{\\extracolsep{0pt}" > > The other option is to change the string to be raw, by prefixing an r > before the > string starts, where backslashes are normal cha

Re: Python warning in lyx2lyx

2025-03-03 Thread José Matos
On Sat, 2025-03-01 at 21:49 +0100, Jean-Marc Lasgouttes wrote: > /home/jean-marc/src/lyx/master/lib/lyx2lyx/lyx_2_5.py:2464: > SyntaxWarning: invalid escape sequence '\e' >    cmd = " special=\"" + scmd + "r@{\extracolsep{0pt}" + decpoint + "}" > + scmd2 + "l\">" > > I cannot reproduce it for so

Re: Python warning in lyx2lyx

2025-03-01 Thread Jürgen Spitzmüller
Am Samstag, dem 01.03.2025 um 21:49 +0100 schrieb Jean-Marc Lasgouttes: > While playing with master, I got the following warning: > > /home/jean-marc/src/lyx/master/lib/lyx2lyx/lyx_2_5.py:2464: > SyntaxWarning: invalid escape sequence '\e' >    cmd = " special=\"" + scmd + "r@{\extracolsep{0pt}"

Python warning in lyx2lyx

2025-03-01 Thread Jean-Marc Lasgouttes
Hello, While playing with master, I got the following warning: /home/jean-marc/src/lyx/master/lib/lyx2lyx/lyx_2_5.py:2464: SyntaxWarning: invalid escape sequence '\e' cmd = " special=\"" + scmd + "r@{\extracolsep{0pt}" + decpoint + "}" + scmd2 + "l\">" I cannot reproduce it for some reason