Support for xfig graphics (Solved)

Dr Eberhard W Lisse nospam at lisse.NA
Sat Jun 25 15:42:29 UTC 2022


Well, I see two things :-)-O

You didn't include it as graphic but as external file, so it does not
preview in the lyX file.  Cosmetic, but I wonder why one would do that.

And indeed the stock fig2pdftex.py lacks a shebang on my Mac which I
would not consider a feature so I have raised it as

	https://www.lyx.org/trac/ticket/12560

on the tracker.

greetings, el

On 2022-06-21 20:08 , Rudi Gaelzer wrote:
 > 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/
 >> lyx_tmpbuf25/40_home_rudi_temp_ufrgs_Coulomb_Law.fig"
 >> 14:20:04.104: Fatal Python error: init_sys_streams: can't initialize sys
 >> standard streams
 >>
 >> There's a fatal error with python.  Is that it?  I had to force the
 >> standard distribution for python in .bashrc with:
 >>
 >> alias python='/usr/bin/python3'
 >>
 >> otherwise the standard would fall to the Intel distribution.
 >
 > It seems that the problem was indeed a mix-up with different python
 > distributions.  Got rid of the Intel python distribution and now the
 > internal conversion of Xfig files is working again.



More information about the lyx-users mailing list