Re: libreoffice conversion issues

2017-05-10 Thread Uwe Stöhr

El 10.05.2017 a las 03:28, Tommaso Cucinotta escribió:

On 09/05/2017 22:56, Uwe Stöhr wrote:

Of course the wrong option syntax should be fixed.


[47cd1e23/lyxgit].


Thank you.

Concerning the LibreOffice version I was referring to LibreOffice 5.3. 
In 5.3.0 and 5.3.1 I could not use PDF or EPS images in office files 
because of conversion errors. I reported them and since 5.3.2 they are 
fixed.


regards Uwe


Re: libreoffice conversion issues

2017-05-09 Thread Tommaso Cucinotta

On 09/05/2017 22:56, Uwe Stöhr wrote:

Have you tried the latest LibreOffice? Some of the recent releases had 
conversion problems. Until I upgraded to 5.3.2 LibreOffice works fine for me. 
Of course the wrong option syntax should be fixed.


That was among the queued tries after my Ubuntu upgrade. Now I have LibreOffice 
5.3.1.2 and the problem seems to have gone.

This is the full output I get on screen, in addition to the "--" vs "-" syntax 
issue:

$ ./src/lyx ~/newfile1.lyx
Warning: -headless is deprecated.  Use --headless instead.
Warning: -nologo is deprecated.  Use --nologo instead.
Warning: eps is deprecated.  Use -eps instead.
convert /tmp/lyx_tmpdir.TCUECaQ20934/gconverto20934.odg -> 
/tmp/lyx_tmpdir.TCUECaQ20934/gconverto20934.eps using filter : draw_eps_Export
Input files: -
Processing: -
Rendering with existing %%BoundingBox: 0 0 539 785
Calculating Bounding Box...ready. %%BoundingBox: 96 589 236 697
Creating output file - ... ready.

Perhaps some of these lines might also be hidden...

T.



Re: libreoffice conversion issues

2017-05-09 Thread Tommaso Cucinotta

On 09/05/2017 22:56, Uwe Stöhr wrote:

Of course the wrong option syntax should be fixed.


[47cd1e23/lyxgit].

T.


Re: libreoffice conversion issues

2017-05-09 Thread Uwe Stöhr

El 06.05.2017 a las 01:34, Tommaso Cucinotta escribió:

For 1), we have also the unoconv converter in configure.py, which seems 
to work instead, shall we define unoconv as the first default ?


Please not for Windows.

Have you tried the latest LibreOffice? Some of the recent releases had 
conversion problems. Until I upgraded to 5.3.2 LibreOffice works fine 
for me. Of course the wrong option syntax should be fixed.


thanks and regards
Uwe


libreoffice conversion issues

2017-05-05 Thread Tommaso Cucinotta

Hi,

when trying use of .odg drawings in LyX, I'm seeing these two annoyances:

1) LyX fails to convert .odg -> eps if libreoffice is open already elsewhere, 
with any other document (I had a .odp presentation open in the background), 
because it tries to run
   if os.system(r'libreoffice -headless -nologo -convert-to eps ' + '"' + infile + 
'"' + '') != 0:
   
   which unfortunately seems to exit immediately without doing any conversion 
(Ubuntu 16.10).
   Closing the already running libreoffice instance fixes the issue: now you 
can open the same .lyx file, which gets properly rendered on screen

2) libreoffice complains about deprecated "-XYZ" syntax, when it should be 
"--XYZ"

For 1), we have also the unoconv converter in configure.py, which seems to work 
instead, shall we define unoconv as the first default ?

Thanks,

T.