Re: Python scripting

2010-11-27 Thread Liviu Andronic
On Sat, Nov 27, 2010 at 11:40 PM, wrote: > Any other useful link? > http://www.lyx.org/Development Regards Liviu

Re: Suggestion - preamble inset

2010-11-27 Thread Michal
> I think this may be quite easy to do already, though it is a bit of a > hack. LyX 2.0's layouts have an "InPreamble" tag, intended primarily > for use with document classes that want, say, \title to be in the > preamble. It should be possible to create a "Preamble" layout, with > InPreamble true,

Re: Suggestion - preamble inset

2010-11-27 Thread Richard Heck
On 11/27/10 10:03 PM, Michal wrote: Some time ago I've suggested to allow for differentiating preambles wrt branches, ie. allowing different preambles for different branches in the same document. Granted, this change was probably too big, and too little would be gained... but now I hav

Suggestion - preamble inset

2010-11-27 Thread Michal
Some time ago I've suggested to allow for differentiating preambles wrt branches, ie. allowing different preambles for different branches in the same document. Granted, this change was probably too big, and too little would be gained... but now I have some idea which, as I suppose, would b

LyX 2.0 - some bugs

2010-11-27 Thread Michal
In this mail I've collected all the bugs with LyX 2.0beta1 I've spotted so far. Overall, the experience has been very pleasant, but there are some glitches worth correcting. My platform is (for now) Win XP SP3 Polish. If something is unclear, please ask - I'm writing this in a hurry, hopin

Re: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-27 Thread Enrico Forestieri
On Sat, Nov 27, 2010 at 11:18:56PM +0100, veno...@arcadiaclub.com wrote: > BTW: could someone apply the part of the patch about lyxpreview-tools.py? I fixed that problem in a more general way at r36545. BTW, this was a regression introduced at r33554. BTW2, currently LyX asserts whenever the cur

Re: Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-27 Thread Enrico Forestieri
On Sat, Nov 27, 2010 at 09:00:06PM +0100, Pavel Sanda wrote: > also dont know whether killing dvipng is harmless or introduce new regressions Well, right now dvipng is not mandatory. If it is not found in the path, the legacy method is anyway used. > but it doesn't seem to be good idea in the mi

Re: [patch] LuaTeX

2010-11-27 Thread Guenter Milde
On 2010-11-27, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> On 2010-11-26, Jürgen Spitzmüller wrote: >> > Guenter Milde wrote: >> >> Both xelatex and luatlaex can use TeX fonts and PSNFSS: >> > OK, I tried this now. The two engines indeed seem to be able to deal with >> > these font packages

RE: Python scripting

2010-11-27 Thread venom00
> it means untrivial ditching into the dispatch mechanism, so this is for sure not > 2.0 business. OK, then I'll just start thinking about it. Maybe a first release of the scripting support could not have such events, but just keypresses as notification in LyX server. I don't know how these things

RE: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-27 Thread venom00
Well, in this thread several different point of views appeared. I've put a up a pool to get a decision together quickly. http://micropoll.com/t/KEkx4ZBgk0 I think we should drop dvipng, or at least allow to set whether to use dvipng or the legacy method in a LyX-wide manner, even if I think that

Re: PATCH for GuiSpellchecker.cpp to simplify on_replacePB_clicked()

2010-11-27 Thread Stephan Witt
Am 27.11.2010 um 21:13 schrieb Stephan Witt: > Am 27.11.2010 um 19:49 schrieb Jean-Marc Lasgouttes: > >> Le 27/11/2010 19:45, Stephan Witt a écrit : >>> The result is the next patch: >>> 1. start check in updateView only once >>> 2. instead of count_ manipulation skip over replaced word >>> 3. co

Re: PATCH for GuiSpellchecker.cpp to simplify on_replacePB_clicked()

2010-11-27 Thread Stephan Witt
Am 27.11.2010 um 21:13 schrieb Stephan Witt: > Am 27.11.2010 um 19:49 schrieb Jean-Marc Lasgouttes: > >> Le 27/11/2010 19:45, Stephan Witt a écrit : >>> The result is the next patch: >>> 1. start check in updateView only once >>> 2. instead of count_ manipulation skip over replaced word >>> 3. co

Re: PATCH for GuiSpellchecker.cpp to simplify on_replacePB_clicked()

2010-11-27 Thread Stephan Witt
Am 27.11.2010 um 19:49 schrieb Jean-Marc Lasgouttes: > Le 27/11/2010 19:45, Stephan Witt a écrit : >> The result is the next patch: >> 1. start check in updateView only once >> 2. instead of count_ manipulation skip over replaced word >> 3. correct the absolute word count >> >> Better? > > I can

Re: Python scripting

2010-11-27 Thread Pavel Sanda
veno...@arcadiaclub.com wrote: > > who told you? iirc adv search and adv math macros appeared this way... > > I read somewhere on the wiki that new contributors have to stay in a corner > fixing bugs for a pair of years before they can implement new features. :D can't remember such kind of rules.

Re: Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-27 Thread Pavel Sanda
veno...@arcadiaclub.com wrote: > > on a first sight it looks like a bad idea to introduce fileformat option for > switching some background hacks we use in converter machinery > > Pavel, I proposed my idea to the list before starting to code, but I didn't > receive any reply! one can easily rever

Re: PATCH for GuiSpellchecker.cpp to simplify on_replacePB_clicked()

2010-11-27 Thread Jean-Marc Lasgouttes
Le 27/11/2010 19:45, Stephan Witt a écrit : The result is the next patch: 1. start check in updateView only once 2. instead of count_ manipulation skip over replaced word 3. correct the absolute word count Better? I cannot tell. This code is very fragile (although better than in 1.6), only tho

Re: PATCH for GuiSpellchecker.cpp to simplify on_replacePB_clicked()

2010-11-27 Thread Stephan Witt
Am 27.11.2010 um 18:53 schrieb Stephan Witt: > Am 27.11.2010 um 18:02 schrieb Jean-Marc Lasgouttes: > >> Le 27/11/2010 16:05, Stephan Witt a écrit : >>> I cannot see why on_replacePB_clicked is so different from >>> on_replaceAllPB_clicked. >>> Does anybody have an explanation? >>> The attached

Re: PATCH for GuiSpellchecker.cpp to simplify on_replacePB_clicked()

2010-11-27 Thread Stephan Witt
Am 27.11.2010 um 18:02 schrieb Jean-Marc Lasgouttes: > Le 27/11/2010 16:05, Stephan Witt a écrit : >> I cannot see why on_replacePB_clicked is so different from >> on_replaceAllPB_clicked. >> Does anybody have an explanation? >> The attached patch would simplify on_replacePB_clicked a lot and wor

Re: PATCH for GuiSpellchecker.cpp to simplify on_replacePB_clicked()

2010-11-27 Thread Jean-Marc Lasgouttes
Le 27/11/2010 16:05, Stephan Witt a écrit : I cannot see why on_replacePB_clicked is so different from on_replaceAllPB_clicked. Does anybody have an explanation? The attached patch would simplify on_replacePB_clicked a lot and works. I complicated an already existing code in order to be able t

PATCH for GuiSpellchecker.cpp to simplify on_replacePB_clicked()

2010-11-27 Thread Stephan Witt
I cannot see why on_replacePB_clicked is so different from on_replaceAllPB_clicked. Does anybody have an explanation? The attached patch would simplify on_replacePB_clicked a lot and works. Stephan Index: src/frontends/qt4/GuiSpellchecker.cpp ==

Re: [patch] LuaTeX

2010-11-27 Thread Enrico Forestieri
On Sat, Nov 27, 2010 at 02:26:44PM +0100, Jürgen Spitzmüller wrote: > Enrico Forestieri wrote: > > > Guenter Milde wrote: > > > > Regarding the naming: it is IMO best to call the button "use System > > > > fonts". > > > > > > > > > > > > I won't touch the naming anymore. > > > > I agree with G

Re: [patch] LuaTeX

2010-11-27 Thread Jürgen Spitzmüller
Guenter Milde wrote: > On 2010-11-26, Jürgen Spitzmüller wrote: > > Guenter Milde wrote: > >> Both xelatex and luatlaex can use TeX fonts and PSNFSS: > > OK, I tried this now. The two engines indeed seem to be able to deal with > > these font packages. However, as soon as the fontspec package is lo

Re: [patch] LuaTeX

2010-11-27 Thread Jürgen Spitzmüller
Enrico Forestieri wrote: > > Guenter Milde wrote: > > > Regarding the naming: it is IMO best to call the button "use System > > > fonts". > > > > > > > > I won't touch the naming anymore. > > I agree with Günter. Please reconsider. Well, my initial proposal was "Use System Fonts". Then people

Re: Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-27 Thread Enrico Forestieri
On Sat, Nov 27, 2010 at 08:51:43AM +0100, veno...@arcadiaclub.com wrote: > I proposed my idea to the list before starting to code, but I didn't > receive any reply! You have to get accustomed to how a team-driven free software project works. Who implemented the new method has withdrawn from LyX d

Re: [patch] LuaTeX

2010-11-27 Thread Enrico Forestieri
On Sat, Nov 27, 2010 at 11:25:51AM +0100, Jürgen Spitzmüller wrote: > Guenter Milde wrote: > > Regarding the naming: it is IMO best to call the button "use System > > fonts". > > I won't touch the naming anymore. I agree with Günter. Please reconsider. -- Enrico

RE: Python scripting

2010-11-27 Thread venom00
> to give you wider overview, i have been asking about must-have new features for 2.0 each month from early spring and formally closed the gates by beta1, so little bit late... I always arrive too late in this sort of things :D Anyway it's not too urgent, maybe it could be ready for the next relea

Re: [patch] LuaTeX

2010-11-27 Thread Jürgen Spitzmüller
Guenter Milde wrote: > Regarding the naming: it is IMO best to call the button "use System > fonts". I won't touch the naming anymore. Jürgen