Re: [PATCH] How to setup image converters on Mac?

2017-09-24 Thread Scott Kostyshak
On Sun, Sep 24, 2017 at 11:39:09PM +0200, Enrico Forestieri wrote: > It works for me on linux and cygwin. Of course, one has to move away > convert, rsvg-convert, and inkscape to appreciate that. Thanks, Stephan, for the patch, and Enrico, for testing on Linux and Cygwin. I think it is a good

Re: [PATCH] How to setup image converters on Mac?

2017-09-24 Thread Enrico Forestieri
On Sun, Sep 24, 2017 at 10:06:24PM +0200, Stephan Witt wrote: > Am 24.09.2017 um 18:26 schrieb Stephan Witt : > > Am 24.09.2017 um 18:12 schrieb Enrico Forestieri : > >> On Sun, Sep 24, 2017 at 12:24:26PM +0200, Stephan Witt wrote: > >>> > >>> This is the solution

Re: Strange itemize and selection in LyX 2.3beta1

2017-09-24 Thread Jean-Marc Lasgouttes
Le 24/09/2017 à 20:15, racoon a écrit : Sorry, just realized that I know how to reproduce: 1. Set Math Indentation (Document Settings) 2. Start a line with an inline math The line will be indented (although I guess that should happen only with non-inline math) and the selection behaves

Re: Small scrolling/drawing issue with master

2017-09-24 Thread Jean-Marc Lasgouttes
Le 24/09/2017 à 20:48, Pavel Sanda a écrit : hi, 1. have a document starting with figure 2. click on a first one a change scale on screen to much smaller %value 3. the figure gets correctly resized, but its absolute position remains at the start (bottom) of its previous y-coordinate. as a

Re: [PATCH] How to setup image converters on Mac?

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 18:26 schrieb Stephan Witt : > > Am 24.09.2017 um 18:12 schrieb Enrico Forestieri : >> >> On Sun, Sep 24, 2017 at 12:24:26PM +0200, Stephan Witt wrote: >>> >>> This is the solution I’d like to propose. It’s not tested on Linux and >>> Windows.

Small scrolling/drawing issue with master

2017-09-24 Thread Pavel Sanda
hi, 1. have a document starting with figure 2. click on a first one a change scale on screen to much smaller %value 3. the figure gets correctly resized, but its absolute position remains at the start (bottom) of its previous y-coordinate. as a consequence there is big non-editable void

Re: Strange itemize and selection in LyX 2.3beta1

2017-09-24 Thread racoon
Sorry, just realized that I know how to reproduce: 1. Set Math Indentation (Document Settings) 2. Start a line with an inline math The line will be indented (although I guess that should happen only with non-inline math) and the selection behaves strange. Daniel On 24.09.2017 20:08, racoon

Strange itemize and selection in LyX 2.3beta1

2017-09-24 Thread racoon
Hi, While writing in LyX 2.3beta1 I noticed a couple of times a strange problem. In the attached file the sub itemize item is too far to the right and selection from the end of that item with the mouse behaves strange. Unfortunately, I don't know the steps to reproduce it. Maybe someone of

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Jürgen Spitzmüller
Am Sonntag, den 24.09.2017, 18:57 +0200 schrieb Stephan Witt: > Isn’t this ok? Works for me as well. Jürgen signature.asc Description: This is a digitally signed message part

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Jürgen Spitzmüller
Am Sonntag, den 24.09.2017, 19:03 +0200 schrieb Jürgen Spitzmüller: > You have to pass the inkscape command as first argument. No, actually, you don't. That's optional (I forgot). Jürgen > > Jürgen signature.asc Description: This is a digitally signed message part

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Jürgen Spitzmüller
Am Sonntag, den 24.09.2017, 18:57 +0200 schrieb Stephan Witt: > Sorry, I neither read the script nor the python docs until now. > > I think it’s fine already. The subprocess.check_call gets the > args passed as array of strings and executes the sub process > with individual arguments. The spaces

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Stephan Witt
> Am 24.09.2017 um 18:57 schrieb Stephan Witt : > > Am 24.09.2017 um 18:32 schrieb Jürgen Spitzmüller : >> >> Am Sonntag, den 24.09.2017, 17:30 +0200 schrieb Stephan Witt: OK, but we might need to re-add quotes in the script (like we had to do for

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 18:32 schrieb Jürgen Spitzmüller : > > Am Sonntag, den 24.09.2017, 17:30 +0200 schrieb Stephan Witt: >>> OK, but we might need to re-add quotes in the script (like we had >>> to do >>> for the first argument (inkscape command), for windows. >> >> Yes, that should

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Kornel Benko
Am Sonntag, 24. September 2017 um 18:41:47, schrieb Stephan Witt > Am 24.09.2017 um 16:55 schrieb Kornel Benko : > > > > Am Sonntag, 24. September 2017 um 16:18:08, schrieb Kornel Benko > > > >> Am Sonntag, 24. September 2017 um 14:50:19,

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 16:55 schrieb Kornel Benko : > > Am Sonntag, 24. September 2017 um 16:18:08, schrieb Kornel Benko > >> Am Sonntag, 24. September 2017 um 14:50:19, schrieb Stephan Witt >> >>> Am 24.09.2017 um 12:30 schrieb Kornel Benko

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Jürgen Spitzmüller
Am Sonntag, den 24.09.2017, 17:30 +0200 schrieb Stephan Witt: > > OK, but we might need to re-add quotes in the script (like we had > > to do > > for the first argument (inkscape command), for windows. > > Yes, that should be done to be safe anyway. > Every shell script needs to be written

Re: [PATCH] How to setup image converters on Mac?

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 18:12 schrieb Enrico Forestieri : > > On Sun, Sep 24, 2017 at 12:24:26PM +0200, Stephan Witt wrote: >> >> This is the solution I’d like to propose. It’s not tested on Linux and >> Windows. >> >> The idea is to add imgconvert as fallback-converter for SVG to PDF

Re: [PATCH] Re: How to setup image converters on Mac?

2017-09-24 Thread Enrico Forestieri
On Sun, Sep 24, 2017 at 12:24:26PM +0200, Stephan Witt wrote: > > This is the solution I’d like to propose. It’s not tested on Linux and > Windows. > > The idea is to add imgconvert as fallback-converter for SVG to PDF and PNG to > PDF. > At the moment it uses the Qt library routines for image

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 16:25 schrieb Jürgen Spitzmüller : > > Am Sonntag, den 24.09.2017, 13:57 +0200 schrieb Stephan Witt: >> I’d say you see the path names in svg2pdftex unquoted because of the >> shell is removing them. > > Makes sense. > >> Nevertheless you get the path names with

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Kornel Benko
Am Sonntag, 24. September 2017 um 16:18:08, schrieb Kornel Benko > Am Sonntag, 24. September 2017 um 14:50:19, schrieb Stephan Witt > > > Am 24.09.2017 um 12:30 schrieb Kornel Benko : > > > > > > Am Sonntag, 24. September 2017 um 11:55:38,

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Jürgen Spitzmüller
Am Sonntag, den 24.09.2017, 13:57 +0200 schrieb Stephan Witt: > I’d say you see the path names in svg2pdftex unquoted because of the > shell is removing them. Makes sense. > Nevertheless you get the path names with spaces passed as one > argument. OK, but we might need to re-add quotes in the

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Kornel Benko
Am Sonntag, 24. September 2017 um 14:50:19, schrieb Stephan Witt > Am 24.09.2017 um 12:30 schrieb Kornel Benko : > > > > Am Sonntag, 24. September 2017 um 11:55:38, schrieb Stephan Witt > > > >> commit 350ef993e59b3ede7dd621a81f096ea78296c5c8 >

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 12:30 schrieb Kornel Benko : > > Am Sonntag, 24. September 2017 um 11:55:38, schrieb Stephan Witt > >> commit 350ef993e59b3ede7dd621a81f096ea78296c5c8 >> Author: Stephan Witt >> Date: Sun Sep 24 11:54:55 2017 +0200 >> >>add

Re: [PATCH] Re: How to setup image converters on Mac?

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 12:24 schrieb Stephan Witt : > > Am 21.09.2017 um 15:08 schrieb Stephan Witt : >> >> Am 21.09.2017 um 14:54 schrieb Enrico Forestieri : >>> >>> On Thu, Sep 21, 2017 at 11:43:29AM +0200, Stephan Witt wrote: My question

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 13:08 schrieb Jürgen Spitzmüller : > > Am Sonntag, den 24.09.2017, 12:18 +0200 schrieb Stephan Witt: >> I think they’ll be quoted automatically. > > At least in the svg2pdftex script, they end unquoted. I expect problems > if the path to the tmp dir contains

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Jürgen Spitzmüller
Am Sonntag, den 24.09.2017, 12:18 +0200 schrieb Stephan Witt: > I think they’ll be quoted automatically. At least in the svg2pdftex script, they end unquoted. I expect problems if the path to the tmp dir contains spaces. Jürgen signature.asc Description: This is a digitally signed message part

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Kornel Benko
Am Sonntag, 24. September 2017 um 11:55:38, schrieb Stephan Witt > commit 350ef993e59b3ede7dd621a81f096ea78296c5c8 > Author: Stephan Witt > Date: Sun Sep 24 11:54:55 2017 +0200 > > add inkscape wrapper script for Mac OS > Probably it doesn't matter, (because

[PATCH] Re: How to setup image converters on Mac?

2017-09-24 Thread Stephan Witt
Am 21.09.2017 um 15:08 schrieb Stephan Witt : > > Am 21.09.2017 um 14:54 schrieb Enrico Forestieri : >> >> On Thu, Sep 21, 2017 at 11:43:29AM +0200, Stephan Witt wrote: >>> >>> My question (again): how can I circumvent this and configure „my“ converter >>> so

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Stephan Witt
Am 24.09.2017 um 12:03 schrieb Jürgen Spitzmüller : > > Am Sonntag, den 24.09.2017, 11:55 +0200 schrieb Stephan Witt: >> -checkProg('an EMF -> EPS converter', ['metafile2eps $$i $$o', >> 'wmf2eps -o $$o $$i', inkscape_name + ' --file=$$i --export-area- >> drawing --without-gui

Re: [LyX/master] add inkscape wrapper script for Mac OS

2017-09-24 Thread Jürgen Spitzmüller
Am Sonntag, den 24.09.2017, 11:55 +0200 schrieb Stephan Witt: > -checkProg('an EMF -> EPS converter', ['metafile2eps $$i $$o', > 'wmf2eps -o $$o $$i', inkscape_name + ' --file=$$i --export-area- > drawing --without-gui --export-eps=$$o'], > +checkProg('an EMF -> EPS converter',