Re: Support for xfig graphics

2022-06-21 Thread Steve Litt
José Abílio Matos said on Tue, 21 Jun 2022 17:29:48 +0100 >LyX is choosing python2 as the python version and since that python2 >does not work then the converters that use python fail. That can't be right. Python 2 has been deprecated for years. I'm sure LyX gives you the choice to use Python

Re: Conversion failure for older format

2022-06-21 Thread Rudi Gaelzer
On terça-feira, 21 de junho de 2022 13:27:12 -03 José Abílio Matos wrote: > > This is problematic on so many levels. :-) > Notice that your python2 is using python3's standard library and so the > disaster is unavoidable. > > Something is wrong with your python2 installation because that should

Re: Support for xfig graphics (Solved)

2022-06-21 Thread Rudi Gaelzer
On terça-feira, 21 de junho de 2022 14:26:39 -03 Rudi Gaelzer wrote: > Indeed there is: > > 14:20:04.072: Previewing ... > 14:20:04.076: (buffer-view) > 14:20:04.085: python -tt "/usr/share/lyx/scripts/fig_copy.py" > "/home/rudi/temp/ ufrgs/Coulomb_Law.fig" "/tmp/lyx_tmpdir.DFELBfPgzbQo/ >

Re: Conversion failure for older format

2022-06-21 Thread José Abílio Matos
On Tuesday, 21 June 2022 17.06.00 WEST Jean-Marc Lasgouttes wrote: > Are you sure that you do not have another file names "lyx2lyx" > somewhere? "locate" may be able to determine that. > > JMarc It is unlikely because lyx always knows the relative location of lyx2lyx. So even if there are two

Re: Conversion failure for older format

2022-06-21 Thread José Abílio Matos
On Tuesday, 21 June 2022 13.44.01 WEST Rudi Gaelzer wrote: > Hits a snag right at the beginning: > > rudi@stix|Plasma Modes>python2 /usr/share/lyx/lyx2lyx/lyx2lyx Langmuir- > lyxformat-508.lyx > /dev/null > File "/usr/lib64/python3.10/site.py", line 93 > print(message, file=sys.stderr) >

Re: Support for xfig graphics

2022-06-21 Thread José Abílio Matos
On Tuesday, 21 June 2022 14.12.14 WEST Rudi Gaelzer wrote: > It seems that the support for xfig figures is not working on my system. See > the attached files. > The Xfig file sets the TeX flag for text. I think that this could be a manifestation of the problem that you have. LyX is choosing

Re: Support for xfig graphics

2022-06-21 Thread Rudi Gaelzer
On terça-feira, 21 de junho de 2022 13:09:22 -03 Jean-Marc Lasgouttes wrote: > Le 21/06/2022 à 15:12, Rudi Gaelzer a écrit : > > Running: > > Fedora Core 36 on x64 box > > KDE Plasma Version: 5.24.5 > > LyX Version 2.3.6.1 (provided by Fedora repo) > > > > It seems that the support for xfig

Re: Support for xfig graphics

2022-06-21 Thread Jean-Marc Lasgouttes
Le 21/06/2022 à 15:12, Rudi Gaelzer a écrit : Running: Fedora Core 36 on x64 box KDE Plasma Version: 5.24.5 LyX Version 2.3.6.1 (provided by Fedora repo) It seems that the support for xfig figures is not working on my system. See the attached files. The Xfig file sets the TeX flag for text.

Re: Conversion failure for older format

2022-06-21 Thread Jean-Marc Lasgouttes
Le 21/06/2022 à 14:39, Rudi Gaelzer a écrit : lyx2lyx is a python script. How do I verify the path for python scripts? It is not in the paths for shell commands, listed by which. According to dnf, the only package that provides lyx2lyx is lyx-common-2.3.6.1-6.fc36.noarch Are you sure that

Support for xfig graphics

2022-06-21 Thread Rudi Gaelzer
Running: Fedora Core 36 on x64 box KDE Plasma Version: 5.24.5 LyX Version 2.3.6.1 (provided by Fedora repo) It seems that the support for xfig figures is not working on my system. See the attached files. The Xfig file sets the TeX flag for text. In the LyX window, the preview fails. When I

Re: Conversion failure for older format

2022-06-21 Thread Rudi Gaelzer
On segunda-feira, 20 de junho de 2022 13:44:47 -03 José Abílio Matos wrote: > > If you still have the 508 format file could you run: > > $ python2 /usr/share/lyx/lyx2lyx/lyx2lyx -lyxformat-508.lyx > > /dev/null > > The only difference from your command above is that this is running the >

Re: Conversion failure for older format

2022-06-21 Thread Rudi Gaelzer
On terça-feira, 21 de junho de 2022 07:06:28 -03 Jean-Marc Lasgouttes wrote: > Le 20/06/2022 à 15:28, Rudi Gaelzer a écrit : > > That successfully converted the original to format 544, which the frontend > > was able to render. > > Is it possible that there's a bug in the automagic process? > >

Re: Conversion failure for older format

2022-06-21 Thread Jean-Marc Lasgouttes
Le 20/06/2022 à 15:28, Rudi Gaelzer a écrit : That successfully converted the original to format 544, which the frontend was able to render. Is it possible that there's a bug in the automagic process? I'm running the installation from the rpm packages distributed for Fedora core 35/36. Could