Re: LyX & odg drawings

2011-09-29 Thread Tommaso Cucinotta
Il 29/09/2011 23:37, Alex Fernandez ha scritto: Alternatively, one could think of pulling all the conversion logic (along with configuration files, graph path discovery, etc.) *out of LyX*, and make it a powerful independent tool for image and file conversion, over which LyX would depend (and ely

Re: r39783 - lyx-devel/trunk/development

2011-09-29 Thread Stephan Witt
Am 29.09.2011 um 23:52 schrieb Jean-Marc Lasgouttes: > Le 29/09/11 17:47, Stephan Witt a écrit : >>> - LDFLAGS="${LDFLAGS}"${MAC_API:+" -framework Carbon"} >>> - LDFLAGS="${LDFLAGS} -framework AppKit" >> >> This does not work for me. :( The AppKit framework has to be provided.

Re: enabling hunspell on linux (was: Re: LyX 2.0.1 Released)

2011-09-29 Thread Stephan Witt
Am 29.09.2011 um 22:54 schrieb Liviu Andronic: > I also managed to use > /usr/local/build/lyx-hunspell/dicts > > which contains the Hunspell dictionaries as hosted on the LyX SVN. Fine. > > A note: after changing the Hunspell Path it is mandatory to restart > LyX for the new settings to take e

benchmarking ninja

2011-09-29 Thread Peter Kümmel
Here a small benchmark of the 'make' replacement 'ninja': http://martine.github.com/ninja/manual.html Now there is a generator for cmake which makes it possible to test ninja with our real-world application. Maybe someone finds it interesting. Peter Building

Re: Memory usage during Advanced Search in math mode.

2011-09-29 Thread Jean-Marc Lasgouttes
Le 29/09/11 01:13, Tommaso Cucinotta a écrit : ==26690== LEAK SUMMARY: ==26690== definitely lost: 12,126 bytes in 73 blocks ==26690== indirectly lost: 18,336 bytes in 571 blocks ==26690== possibly lost: 696,631 bytes in 2,590 blocks ==26690== still reachable: 898,279 bytes in 7,833 blocks ==26690

Re: r39783 - lyx-devel/trunk/development

2011-09-29 Thread Jean-Marc Lasgouttes
Le 29/09/11 17:47, Stephan Witt a écrit : - LDFLAGS="${LDFLAGS}"${MAC_API:+" -framework Carbon"} - LDFLAGS="${LDFLAGS} -framework AppKit" This does not work for me. :( The AppKit framework has to be provided. I don't know why I didn't notice it and what I checked as

Re: LyX & odg drawings

2011-09-29 Thread Alex Fernandez
Hi, On Thu, Sep 29, 2011 at 6:40 PM, Tommaso Cucinotta wrote: >> Any ideas on what command line converter can be used for ODG? > > libreoffice, used as in lib/scripts/libreoffice2eps.py > > However, it wouldn't convert anything different from OO formats. > > Also, AFAICU, when you say "--converte

Re: enabling hunspell on linux (was: Re: LyX 2.0.1 Released)

2011-09-29 Thread Liviu Andronic
On Thu, Sep 29, 2011 at 1:12 PM, Kornel Benko wrote: > The hunspelldir_path in preferences is incorrect. Here (ubuntu) it is > > /usr/share/myspell/dicts > That's correct. I did manage to screw the path when trying the system dictionaries. I tested and I get Hunspell working with both /usr/share/m

Re: r39786 - lyx-devel/trunk/lib

2011-09-29 Thread Richard Heck
On 09/29/2011 12:43 PM, Tommaso Cucinotta wrote: > Il 29/09/2011 16:25, Richard Heck ha scritto: >> Now, adding the EPS to PNG conversion explicitly allows LyX to find >> the conversion path. >> This is fine for branch. Note that it should also allow previews of ODG >> pictures in LyX. > > I can't

Re: Floating Dock-Widget schließen

2011-09-29 Thread Pavel Sanda
Stephan Witt wrote: > I tried the search widget already to compare it with the spell checker. > Here on my mac it isn't a dock widget. And escape closes it already. i tried it here and it closes it in both cases already so forget my previous post... pavel

Re: HELP! Re: r39753 - lyx-devel/trunk/src

2011-09-29 Thread Pavel Sanda
Richard Heck wrote: > On 09/24/2011 02:35 PM, rgh...@lyx.org wrote: > > Author: rgheck > > Date: Sat Sep 24 20:35:44 2011 > > New Revision: 39753 > > URL: http://www.lyx.org/trac/changeset/39753 > > > > Log: > > Fix bug #7764 by ordering the formats according to translated strings. > > > Can someon

Re: r39786 - lyx-devel/trunk/lib

2011-09-29 Thread Tommaso Cucinotta
Il 29/09/2011 16:25, Richard Heck ha scritto: Now, adding the EPS to PNG conversion explicitly allows LyX to find the conversion path. This is fine for branch. Note that it should also allow previews of ODG pictures in LyX. I can't remember whether we added ODG (and the "zipped=native" flag in

Re: LyX & odg drawings

2011-09-29 Thread Tommaso Cucinotta
Il 29/09/2011 16:24, Alex Fernandez ha scritto: Luckily, eLyXer is highly configurable. You can add a new converter line in src/conf/base.conf: [ImageConfig.converters] myconverter:binary "$input" --export "$output" and use it from the command line: $ eLyXer --converter myconverter inpu

Re: r39783 - lyx-devel/trunk/development

2011-09-29 Thread Stephan Witt
Am 29.09.2011 um 10:54 schrieb sw...@lyx.org: > Author: switt > Date: Thu Sep 29 10:53:59 2011 > New Revision: 39783 > URL: http://www.lyx.org/trac/changeset/39783 > > Log: > remove framework settings which are provided by automake now > > Modified: > lyx-devel/trunk/development/LyX-Mac-binary

Re: Floating Dock-Widget schließen

2011-09-29 Thread Stephan Witt
Am 29.09.2011 um 14:40 schrieb Pavel Sanda: > Stephan Witt wrote: >> Currently we handle the escape key of our dock widgets manually. >> When the user presses Escape the focus is switched to the main window. >> This makes sense when the dock widget is docked. When it is floating >> it should close

Re: r39786 - lyx-devel/trunk/lib

2011-09-29 Thread Richard Heck
On 09/29/2011 10:04 AM, tomm...@lyx.org wrote: > Author: tommaso > Date: Thu Sep 29 16:04:02 2011 > New Revision: 39786 > URL: http://www.lyx.org/trac/changeset/39786 > > Log: > Make export to XHTML work when there are included ODG pictures, > or any other graphic format that: > - is exportable to

Re: LyX & odg drawings

2011-09-29 Thread Alex Fernandez
Hi, On Thu, Sep 29, 2011 at 4:07 PM, Tommaso Cucinotta wrote: > committed as r39786. > > Though, I just noticed that, exporting to "html" keeps failing, this time > because > elyxer is used in this case, which doesn't even use any information about > the > converters that we have in lyxrc.default

Re: LyX & odg drawings

2011-09-29 Thread Tommaso Cucinotta
Il 28/09/2011 06:02, Julien Rioux ha scritto: On 28/09/2011 1:02 AM, Tommaso Cucinotta wrote: Now, AFAICS, there are 2 possibilities: a) flood the graph with "low-priority" (or, if you prefer, high-cost) fake edges, basically from each node (handled by convert) to any other node (handled by con

Re: r39772 - in lyx-devel/trunk/src: . client tex2lyx

2011-09-29 Thread Richard Heck
On 09/29/2011 03:57 AM, Jean-Marc Lasgouttes wrote: > Le 27/09/11 09:27, lasgout...@lyx.org a écrit : >> Author: lasgouttes >> Date: Tue Sep 27 09:27:19 2011 >> New Revision: 39772 >> URL: http://www.lyx.org/trac/changeset/39772 >> >> Log: >> Link against Cocoa and/or Carbon for Mac OS X. This is n

Re: Memory usage during Advanced Search in math mode.

2011-09-29 Thread Rudi Gaelzer
On Wednesday 28 September 2011 19:05:28 Tommaso Cucinotta wrote: > Il 28/09/2011 20:40, Rudi Gaelzer ha scritto: > > The document I'm working right now has thousands of formulas and I've > > been using the advanced search pretty heavily. I can detect the > > increasing memory load even with the ver

Re: Floating Dock-Widget schließen

2011-09-29 Thread Pavel Sanda
Stephan Witt wrote: > Currently we handle the escape key of our dock widgets manually. > When the user presses Escape the focus is switched to the main window. > This makes sense when the dock widget is docked. When it is floating > it should close, IMHO. But this is not the case. iirc there was r

Re: enabling hunspell on linux (was: Re: LyX 2.0.1 Released)

2011-09-29 Thread Stephan Witt
Am 29.09.2011 um 12:57 schrieb Liviu Andronic: > On Thu, Sep 29, 2011 at 7:11 AM, Stephan Witt wrote: >> I'm almost sure Hunspell with enchant doesn't use the dictionaries in >> "/usr/local/build/lyx-hunspell/dicts". >> > Yes, for sure. However I couldn't make LyX work with default Hunspell > di

Re: enabling hunspell on linux (was: Re: LyX 2.0.1 Released)

2011-09-29 Thread Kornel Benko
Am Donnerstag, 29. September 2011 schrieb Liviu Andronic: > On Thu, Sep 29, 2011 at 7:11 AM, Stephan Witt wrote: > > I'm almost sure Hunspell with enchant doesn't use the dictionaries in > > "/usr/local/build/lyx-hunspell/dicts". > > Yes, for sure. However I couldn't make LyX work with default Hu

Re: enabling hunspell on linux (was: Re: LyX 2.0.1 Released)

2011-09-29 Thread Liviu Andronic
On Thu, Sep 29, 2011 at 7:11 AM, Stephan Witt wrote: > I'm almost sure Hunspell with enchant doesn't use the dictionaries in > "/usr/local/build/lyx-hunspell/dicts". > Yes, for sure. However I couldn't make LyX work with default Hunspell dictionaries. I'm suspecting user error, but I still can't m

Re: r39772 - in lyx-devel/trunk/src: . client tex2lyx

2011-09-29 Thread Stephan Witt
Am 29.09.2011 um 10:14 schrieb Jean-Marc Lasgouttes: > Le 29/09/11 10:09, Stephan Witt a écrit : >> I tried it and couldn't see any difference when using my build script. >> What I don't understand... the use of Cocoa or Carbon should depend on the >> used Qt-Build-variant, IMHO. >> But it looks

Re: r39772 - in lyx-devel/trunk/src: . client tex2lyx

2011-09-29 Thread Jean-Marc Lasgouttes
Le 29/09/11 10:09, Stephan Witt a écrit : I tried it and couldn't see any difference when using my build script. What I don't understand... the use of Cocoa or Carbon should depend on the used Qt-Build-variant, IMHO. But it looks like it doesn't hurt to link with Cocoa while using Carbon-Qt and

Re: r39772 - in lyx-devel/trunk/src: . client tex2lyx

2011-09-29 Thread Stephan Witt
Am 29.09.2011 um 09:57 schrieb Jean-Marc Lasgouttes: > Le 27/09/11 09:27, lasgout...@lyx.org a écrit : >> Author: lasgouttes >> Date: Tue Sep 27 09:27:19 2011 >> New Revision: 39772 >> URL: http://www.lyx.org/trac/changeset/39772 >> >> Log: >> Link against Cocoa and/or Carbon for Mac OS X. This i

Re: r39772 - in lyx-devel/trunk/src: . client tex2lyx

2011-09-29 Thread Jean-Marc Lasgouttes
Le 27/09/11 09:27, lasgout...@lyx.org a écrit : Author: lasgouttes Date: Tue Sep 27 09:27:19 2011 New Revision: 39772 URL: http://www.lyx.org/trac/changeset/39772 Log: Link against Cocoa and/or Carbon for Mac OS X. This is needed for autoOpen and Linkback. If stephan does not object, I propos