lyx_mirror/lib/scripts
José Matos 8dd31803b1 Attempt to fix #11457
In python 3 the colors need to be strings and not bytes:

This was the equivalent of

>> print("%s" % b"1")
"b'1'"

since the colors were bytes the call to dvipng was something like

dvipng -Ttight -depth -height -D 115 -fg "b'rgb 0.937255 0.941176 0.945098'" -bg "b'rgb 0.137255 0.149020 0.160784'"  "lyxpreviewxBJEqm.dvi"

Note the "b'rgb after both -fg and -bg that wrecked havoc and thus dvipng failed. That was the difference between python2 and python3 calls.
2019-05-28 16:22:32 +01:00
..
bash_completion
checkKeys.pl.in Cmate tests: Amend aca3031 2018-06-09 09:48:41 +02:00
clean_dvi.py
CMakeLists.txt Cmake tests: Added check to inspect created pdf in test "AMS-import" 2018-06-09 09:15:21 +02:00
convert_pdf.py
convertDefault.py convertDefault.py: remove ancient restriction 2019-03-21 02:35:51 +01:00
csv2lyx.py
ext_copy.py scripts/ext_copy.py: add option to copy directly to the document directory 2017-08-08 15:23:03 +01:00
fen2ascii.py Update scripts to support simultaneously python 2 and 3 2018-04-28 10:51:35 +01:00
fig2pdftex.py Update scripts to support simultaneously python 2 and 3 2018-04-28 10:51:35 +01:00
fig2pstex.py Update scripts to support simultaneously python 2 and 3 2018-04-28 10:51:35 +01:00
fig_copy.py Update scripts to support simultaneously python 2 and 3 2018-04-28 10:51:35 +01:00
gnuplot2pdf.py Enable graphics generation from external gnuplot scripts. 2017-05-04 00:44:00 +02:00
html2latexwrapper.py
include_bib.py Update scripts to support simultaneously python 2 and 3 2018-04-28 10:51:35 +01:00
layout2layout.py Add NewlineCmd InsetLayout and Argument option 2019-04-18 11:35:03 +02:00
legacy_lyxpreview2ppm.py Load color before polyglossia also in preview snippets 2017-07-11 10:03:03 +02:00
listerrors Replace /usr/bin/env python -> /usr/bin/python3 2018-08-29 17:26:21 +01:00
lyx_batch.pl.in Add a testcase for buffer-write-as 2019-05-27 10:21:15 +02:00
lyxknitr.R
lyxpak.py lyxpak.py: Python 3 compatibility 2017-04-15 00:05:40 +02:00
lyxpreview2bitmap.py Attempt to fix #11457 2019-05-28 16:22:32 +01:00
lyxpreview_tools.py python3: fix the preview framework to work with both python 2 and 3 (part 4) 2017-05-12 10:01:48 +01:00
lyxstangle.R
lyxsweave.R
prefs2prefs_lfuns.py So long, date-insert! 2018-08-20 09:25:22 +02:00
prefs2prefs_prefs.py Remove support for pixmap cache 2018-10-07 14:56:55 +02:00
prefs2prefs.py prefs2prefs.py: whitespace changes 2017-05-12 15:29:29 +01:00
prefTest.pl.in Cmake export tests: Modularisation of prefTest.pl 2017-06-18 12:13:57 +02:00
prefTest.pm Cmake export tests: Missed second parameter for writeConverters() 2017-06-21 00:09:50 +02:00
svg2pdftex.py Replace /usr/bin/env python -> /usr/bin/python3 2018-08-29 17:26:21 +01:00
svg2pstex.py Replace /usr/bin/env python -> /usr/bin/python3 2018-08-29 17:26:21 +01:00
tex_copy.py Update scripts to support simultaneously python 2 and 3 2018-04-28 10:51:35 +01:00
TeXFiles.py TeXFiles.py: Python 3 compatibility 2017-04-13 10:49:38 +02:00