Am Tue, 04 Jan 2022 00:25:00 +0000
schrieb José Abílio Matos <jama...@lyx.org>:

> On Monday, 3 January 2022 22.40.05 WET Enrico Forestieri wrote:
> > If i remember correctly, if the command starts with "python -tt" then we
> > could be sure it was a command defined by us and we replaced that with
> > os::python(). The last was for sure invoking a Python 2, while the bare
> > python command could possibly invoke a Python 3. This was when we still did
> > not support Python 3 and wanted to avoid substituting a user command
> > with our invocation. All of this is now obsolete, I think.
> 
> Thank you Enrico, that makes sense.
> I removed that transformation now.
> 
> I have applied the changes that I have described during the previous week 
> (i.e. last year). :-)
> 
> Please test it to find any weak spots.

There is one:
File 'preferences' is not updated, so I had to manually change occurrences of 
'python',
'python3' and 'python -tt' to '$${python}'.

The changed lines in preferences here:
 $ egrep python preferences

\converter "docbook5" "epub2" "$${python} $$s/scripts/docbook2epub.py java none 
none none
$$i $$o" ""
\converter "pygr" "eps" "$${python}  $$i  $$o" ""
\copier pdflatex "$${python} $$s/scripts/ext_copy.py -e pdf,aux -d $$i $$o"

        Kornel

Attachment: pgpU8DaerdNx4.pgp
Description: Digitale Signatur von OpenPGP

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

Reply via email to