Am Montag, 27. April 2015 um 18:48:46, schrieb Enrico Forestieri <for...@lyx.org> > On Mon, Apr 27, 2015 at 06:06:48PM +0200, Kornel Benko wrote: > > Am Montag, 27. April 2015 um 17:38:43, schrieb Enrico Forestieri > > <for...@lyx.org> > > > > > > What about speed of conversion and image quality? > > > Make sure you have pdftocairo and epstopdf. > > > > > > > I had both already installed. > > pdftocairo in package poppler-utils, epstopdf as part of TL2014. > > > > I did'nt notice problems with image quality or speed. Probably not enough > > preview > > images. Or bad eyes. > > I attach here a document with a preview and what I obtain with ghostscript > and pdftocairo. I think the results from the latter are much better. > As regards speed, yes, only if you have a document with some hundreds of > equations it becomes noticeable. >
Now I see what you meant. Yes, the second (pdftocairo) is far better. This file is also a good check for lyx2lyx. I can open it with lyx2.0, but neither with lyx2.1 nor with lyx2.2. (2.2 version) # lyx2lyx piano-inclinato.lyx Traceback (most recent call last): File "/usr/local/lyx2.2/lyx2lyx/lyx2lyx", line 86, in <module> main() File "/usr/local/lyx2.2/lyx2lyx/lyx2lyx", line 79, in main doc = LyX.File(**options.__dict__) File "/usr9/local/lyx2.2/lyx2lyx/LyX.py", line 734, in __init__ self.read() File "/usr9/local/lyx2.2/lyx2lyx/LyX.py", line 347, in read line = self.input.readline().decode(self.encoding) File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe8 in position 30: invalid continuation byte ----------------------------- # python3 /usr/local/lyx2.2/lyx2lyx/lyx2lyx piano-inclinato.lyx Traceback (most recent call last): File "/usr/local/lyx2.2/lyx2lyx/lyx2lyx", line 86, in <module> main() File "/usr/local/lyx2.2/lyx2lyx/lyx2lyx", line 79, in main doc = LyX.File(**options.__dict__) File "/usr9/local/lyx2.2/lyx2lyx/LyX.py", line 734, in __init__ self.read() File "/usr9/local/lyx2.2/lyx2lyx/LyX.py", line 280, in read line = self.input.readline() File "/usr/lib/python3.4/codecs.py", line 313, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 5502: invalid continuation byte --> Same error. I had to convert 'è' (2 occurrences) to some other string first (inside the tikzpicture) Kornel
signature.asc
Description: This is a digitally signed message part.