Re: #7084: Dynamic spellchecker throws "Search string is empty" exemption

2010-12-09 Thread Stephan Witt
Am 27.11.2010 um 15:32 schrieb LyX Ticket Tracker: > #7084: Dynamic spellchecker throws "Search string is empty" exemption > +--- > Reporter: guenno | Owner: stwitt > Type: defect | Status: accepted > Pr

Re: Fix: Graphics paths change into absolute paths on copy'n'paste

2010-12-09 Thread Stephan Witt
Am 09.12.2010 um 20:28 schrieb Stephan Witt: > Am 09.12.2010 um 20:14 schrieb Enrico Forestieri: > >> On Thu, Dec 09, 2010 at 02:19:25PM +0100, Stephan Witt wrote: >>> >>> But copying text from terminal window to LyX isn't possible anymore after I >>> copied an image. Succeeding pastes insert th

Re: Master-Child Closing Issue

2010-12-09 Thread Edwin Leuven
Richard Heck wrote: > So: Either we need to have separate "Close" and "Hide" possibilities for the > master---this is already in the context menu---or else we need to pop a > dialog in these cases: Do you want to hide this tab, or close the master and > all its children? or hide M if there is a C

LyX calculator

2010-12-09 Thread Pavel Sanda
hi, little bit crazy idea, anyway.. its a just proper time of the day for it... i found quite often in a need to compute some trivial (from pov of cpu) expression which usually ends up either in putting it to google calculator or more often in maxima session. input and sometimes even ouput repres

Re: Note on size of context menus

2010-12-09 Thread Liviu Andronic
On Fri, Dec 10, 2010 at 12:16 AM, Pavel Sanda wrote: > Liviu Andronic wrote: >> As for the tabular items themselves, personally I would prefer that it >> stays as it is. > > you mean this 2 column version? > No, no. I was talking only about the tabular-specific items: the menu present in beta1, fr

Re: Note on size of context menus

2010-12-09 Thread Pavel Sanda
Liviu Andronic wrote: > As for the tabular items themselves, personally I would prefer that it > stays as it is. you mean this 2 column version? p

Re: Note on size of context menus

2010-12-09 Thread Liviu Andronic
On Thu, Dec 9, 2010 at 11:54 PM, Pavel Sanda wrote: > Richard Heck wrote: >> That's a pretty good idea. Another would be to use more submenus on the >> tabular menu. > > i feel that once you need tree-like structure in context menu the whole point > to have something quickly in hand via context me

Re: Note on size of context menus

2010-12-09 Thread Pavel Sanda
Richard Heck wrote: > That's a pretty good idea. Another would be to use more submenus on the > tabular menu. i feel that once you need tree-like structure in context menu the whole point to have something quickly in hand via context menu is lost and we can safely return back to settings dialog o

Re: r36766 - lyx-devel/trunk/src/frontends/qt4

2010-12-09 Thread Georg Baum
Richard Heck wrote: > we can get here, because we might fail to close if the buffer is being > processed in the background, although we did perfectly well saving it. > So having still to do this makes the re-arrangement less attractive. Exactly. Therefore I am not going to change more, unless som

Master-Child Closing Issue

2010-12-09 Thread Richard Heck
Suppose you have two files, M.lyx and C.lyx, with M the default master for C. Open C. Now M is open and hidden. Show M. Close M. Both M and C close. This is not intuitive. If, on the other hand, you close C, then it is simply hidden. This is trunk. In 1.6, there is basically no way to close

Re: Note on size of context menus

2010-12-09 Thread Richard Heck
On 12/09/2010 05:23 PM, Liviu Andronic wrote: On Thu, Dec 9, 2010 at 9:32 PM, Pavel Sanda wrote: hi, dont have a netbook to test but i bet that our current tabular context menu have no chance to get inside the monitor after last changes... I can confirm. I have a 12 inch netbook, and beta1 c

Re: Note on size of context menus

2010-12-09 Thread Liviu Andronic
On Thu, Dec 9, 2010 at 9:32 PM, Pavel Sanda wrote: > hi, > dont have a netbook to test but i bet that our current tabular context menu > have no chance > to get inside the monitor after last changes... > I can confirm. I have a 12 inch netbook, and beta1 c-menu was fine but beta2 tabular c-menu c

Re: Box Menu Item: Box (Minipage)??

2010-12-09 Thread Richard Heck
On 12/09/2010 05:16 PM, Liviu Andronic wrote: As long as the sub-menu contains an item 'Minipage', it can be found, and there'd be no need for a "Box (Minipage)" string in the Insert menu. And as you pointed out, there are valid reasons for not encompassing all the available Boxes under the labe

Re: r36766 - lyx-devel/trunk/src/frontends/qt4

2010-12-09 Thread Richard Heck
On 12/09/2010 04:41 PM, Georg Baum wrote: Richard Heck wrote: I wonder if it is possible to re-arrange this code to get a cleaner fix, roughly as in the attached (untested). It looks to me as if we are closing the child buffers before we know we need to do so. You are right, the closing order

Re: Box Menu Item: Box (Minipage)??

2010-12-09 Thread Liviu Andronic
On Thu, Dec 9, 2010 at 2:04 PM, Richard Heck wrote: > Done. > Great, thanks. > Now: Should the menu entry itself say something like "Box (Minipage)"? > People who know a bit of LaTeX (like me) might have a hard time figuring out > where this is, just as Liviu said. > As long as the sub-menu cont

Re: r36789 - in lyx-devel/trunk/src: . insets

2010-12-09 Thread Richard Heck
On 12/09/2010 01:30 PM, Andre Poenitz wrote: On Thu, Dec 09, 2010 at 06:55:11PM +0100, rgh...@lyx.org wrote: Author: rgheck Date: Thu Dec 9 18:55:11 2010 New Revision: 36789 URL: http://www.lyx.org/trac/changeset/36789 Log: Remove support for viewing URLs from hyperlinks. This is a security ri

Re: r36766 - lyx-devel/trunk/src/frontends/qt4

2010-12-09 Thread Georg Baum
Richard Heck wrote: > I wonder if it is possible to re-arrange this code to get a cleaner fix, > roughly as in the attached (untested). It looks to me as if we are > closing the child buffers before we know we need to do so. You are right, the closing order is wrong. Unfortunately this wrong orde

Re: Note on size of context menus

2010-12-09 Thread Edwin Leuven
Vincent van Ravesteijn wrote: > Go for it. i once did, but i have some vague memory that it was a bit controversial so in the end we decided to stick to what we had i do think that the menu's are too daunting for most perhaps i'll try to dig up these old threads over the xmas holiday to see wh

Re: Note on size of context menus

2010-12-09 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > Go for it. yay i see the flames :) > > Op 9 dec 2010 22:07 schreef "Edwin Leuven" : > > Jean-Marc Lasgouttes wrote: > > I think these menus are getting to large to be ac... > and would benefit from a bit of reorganisation > > and then some fresh icons on top of

Re: Note on size of context menus

2010-12-09 Thread Vincent van Ravesteijn
Go for it. Op 9 dec 2010 22:07 schreef "Edwin Leuven" : Jean-Marc Lasgouttes wrote: > I think these menus are getting to large to be ac... and would benefit from a bit of reorganisation and then some fresh icons on top of it ... ed.

Re: Note on size of context menus

2010-12-09 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: > I think these menus are getting to large to be actually useful. and would benefit from a bit of reorganisation and then some fresh icons on top of it ... ed.

Re: Note on size of context menus

2010-12-09 Thread Jean-Marc Lasgouttes
Le 09/12/2010 21:32, Pavel Sanda a écrit : hi, dont have a netbook to test but i bet that our current tabular context menu have no chance to get inside the monitor after last changes... I think these menus are getting to large to be actually useful. JMarc

Note on size of context menus

2010-12-09 Thread Pavel Sanda
hi, dont have a netbook to test but i bet that our current tabular context menu have no chance to get inside the monitor after last changes... pavel

Re: Fix: Graphics paths change into absolute paths on copy'n'paste

2010-12-09 Thread Stephan Witt
Am 09.12.2010 um 20:14 schrieb Enrico Forestieri: > On Thu, Dec 09, 2010 at 02:19:25PM +0100, Stephan Witt wrote: >> >> But copying text from terminal window to LyX isn't possible anymore after I >> copied an image. Succeeding pastes insert the image again. > > Please, try the attached patch. Yo

Re: Fix: Graphics paths change into absolute paths on copy'n'paste

2010-12-09 Thread Enrico Forestieri
On Thu, Dec 09, 2010 at 02:19:25PM +0100, Stephan Witt wrote: > > But copying text from terminal window to LyX isn't possible anymore after I > copied an image. Succeeding pastes insert the image again. Please, try the attached patch. You have to apply it on top of the previous one. -- Enrico I

Re: r36789 - in lyx-devel/trunk/src: . insets

2010-12-09 Thread Andre Poenitz
On Thu, Dec 09, 2010 at 06:55:11PM +0100, rgh...@lyx.org wrote: > Author: rgheck > Date: Thu Dec 9 18:55:11 2010 > New Revision: 36789 > URL: http://www.lyx.org/trac/changeset/36789 > > Log: > Remove support for viewing URLs from hyperlinks. This is a security > risk, due to our lack of control o

Re: Formats::viewURL()

2010-12-09 Thread Richard Heck
On 11/01/2010 11:35 AM, Pavel Sanda wrote: Richard Heck wrote: yes, i'm aware of it. do you propose some alternative? I had the idea to look for a browser and record that separately. But it wouldn't fit into the normal "viewer" stuff. i see. you have my ok for both alternatives - disabling i

Re: combining chars and textgreek/textcyr

2010-12-09 Thread Pavel Sanda
Guenter Milde wrote: > This is reported at http://www.lyx.org/trac/ticket/6463 > where you can also find the LyX example file > accents-with-greek-and-cyrillic.lyx attached is the patch from bugzilla. i can commit it into trunk, though i have only little idea about all this stuff. some comments?

Re: Problem with PassThru?

2010-12-09 Thread Richard Heck
On 12/09/2010 08:41 AM, Jean-Marc Lasgouttes wrote: Le 9 déc. 2010 à 14:28, Richard Heck a écrit : It does not work for me that way. And if you look at the code, it seems to me that we just never output the command in the pass_thru cases. The command only gets output much later. This must have

Re: Box Menu Item: Box (Minipage)??

2010-12-09 Thread Paul A . Rubin
Richard Heck comcast.net> writes: > > Now: Should the menu entry itself say something like "Box (Minipage)"? Might that scare off people looking for a parbox? > People who know a bit of LaTeX (like me) might have a hard time figuring > out where this is, just as Liviu said. Downside: It's a

Re: Problem with PassThru?

2010-12-09 Thread Jean-Marc Lasgouttes
Le 9 déc. 2010 à 14:28, Richard Heck a écrit : > It does not work for me that way. And if you look at the code, it seems to me > that we just never output the command in the pass_thru cases. The command > only gets output much later. This must have been broken for some time. Well, before the int

Re: Problem with PassThru?

2010-12-09 Thread Jean-Marc Lasgouttes
Le 9 déc. 2010 à 10:11, Philippe Charpentier a écrit : > Le 09/12/2010 09:48, Jean-Marc Lasgouttes a écrit : >> Le 9 déc. 2010 à 09:43, Philippe Charpentier a écrit : >>> As I said, the simplest example is using the lyx class "article (Chess)" >>> and the layout Mainline (and activate "View Source

Re: Problem with PassThru?

2010-12-09 Thread Richard Heck
On 12/09/2010 04:11 AM, Philippe Charpentier wrote: Le 09/12/2010 09:48, Jean-Marc Lasgouttes a écrit : Le 9 déc. 2010 à 09:43, Philippe Charpentier a écrit : As I said, the simplest example is using the lyx class "article (Chess)" and the layout Mainline (and activate "View Source"): the latex

Re: Fix: Graphics paths change into absolute paths on copy'n'paste

2010-12-09 Thread Stephan Witt
Am 09.12.2010 um 12:38 schrieb Enrico Forestieri: > On Thu, Dec 09, 2010 at 07:58:45AM +0100, Stephan Witt wrote: >> Am 09.12.2010 um 02:04 schrieb Enrico Forestieri: >> >>> On Wed, Dec 08, 2010 at 11:52:10PM +0100, Stephan Witt wrote: I don't know if there are any drawbacks - it works

Box Menu Item: Box (Minipage)??

2010-12-09 Thread Richard Heck
On 12/09/2010 03:05 AM, Guenter Milde wrote: On 2010-12-08, Richard Heck wrote: On 12/08/2010 10:12 AM, Liviu Andronic wrote: Dear all Is there a reason for using 'box' instead of 'box (minipage)' in Insert? My problem with current arrangement is that it is unintuitive. When I first found about

Re: Fix: Graphics paths change into absolute paths on copy'n'paste

2010-12-09 Thread Enrico Forestieri
On Wed, Dec 08, 2010 at 08:30:15PM -0500, BH wrote: > On Wed, Dec 8, 2010 at 8:04 PM, Enrico Forestieri wrote: > > On Wed, Dec 08, 2010 at 11:52:10PM +0100, Stephan Witt wrote: > >> > >> I don't know if there are any drawbacks - it works! > > > > It may have drawbacks. For example, are you able to

Re: Fix: Graphics paths change into absolute paths on copy'n'paste

2010-12-09 Thread Enrico Forestieri
On Thu, Dec 09, 2010 at 07:58:45AM +0100, Stephan Witt wrote: > Am 09.12.2010 um 02:04 schrieb Enrico Forestieri: > > > On Wed, Dec 08, 2010 at 11:52:10PM +0100, Stephan Witt wrote: > >> > >> I don't know if there are any drawbacks - it works! > > > > It may have drawbacks. > > For example, are

Re: r36771 - lyx-devel/trunk/src

2010-12-09 Thread Abdelrazak Younes
On 12/09/2010 10:52 AM, Abdelrazak Younes wrote: On 12/09/2010 09:30 AM, Jean-Marc Lasgouttes wrote: Le 9 déc. 2010 à 09:19, Abdelrazak Younes a écrit : Now that we are on it, might be more appropriate anyway. Undo is (I think) a user interface component and BufferView is responsible for how t

Re: r36771 - lyx-devel/trunk/src

2010-12-09 Thread Abdelrazak Younes
On 12/09/2010 09:30 AM, Jean-Marc Lasgouttes wrote: Le 9 déc. 2010 à 09:19, Abdelrazak Younes a écrit : Now that we are on it, might be more appropriate anyway. Undo is (I think) a user interface component and BufferView is responsible for how the Buffer is presented to the user and how the

Re: Fix: Graphics paths change into absolute paths on copy'n'paste

2010-12-09 Thread Stephan Witt
Am 09.12.2010 um 10:11 schrieb Helge Hafting: > On 08. des. 2010 16:29, Pavel Sanda wrote: >> Enrico Forestieri wrote: >>> On Wed, Dec 08, 2010 at 03:47:30PM +0100, Vincent van Ravesteijn wrote: >>> "C:\Documents\chapters\first\firstsection\test.lyx" "C:\UnrelatedPath\test\images\large\

Re: [PATCH] external inset supporting spreadsheet import into LyX 2.0

2010-12-09 Thread Liviu Andronic
On Thu, Dec 9, 2010 at 9:55 AM, Helge Hafting wrote: >> its committed. please add item to newinlyx20 wiki pages. perhaps some >> other wiki pages about excel import call for update as well. > > Added information to the wiki under 'Misc', with a link to > the pdf demonstrating the feature. > > What

Re: Fix: Graphics paths change into absolute paths on copy'n'paste

2010-12-09 Thread Helge Hafting
On 08. des. 2010 16:29, Pavel Sanda wrote: Enrico Forestieri wrote: On Wed, Dec 08, 2010 at 03:47:30PM +0100, Vincent van Ravesteijn wrote: "C:\Documents\chapters\first\firstsection\test.lyx" "C:\UnrelatedPath\test\images\large\color\test.jpg" ? Should we now have a relative path "..\..\..\..

Re: Problem with PassThru?

2010-12-09 Thread Philippe Charpentier
Le 09/12/2010 09:48, Jean-Marc Lasgouttes a écrit : > Le 9 déc. 2010 à 09:43, Philippe Charpentier a écrit : >> As I said, the simplest example is using the lyx class "article (Chess)" >> and the layout Mainline (and activate "View Source"): the latex code >> should be >> \mainline{what you type} >

Re: [PATCH] external inset supporting spreadsheet import into LyX 2.0

2010-12-09 Thread Helge Hafting
On 09. des. 2010 02:21, Pavel Sanda wrote: Helge Hafting wrote: I hope this can be useful for LyX 2.0, spreadsheets are requested now and then on the user list. its committed. please add item to newinlyx20 wiki pages. perhaps some other wiki pages about excel import call for update as well.

Re: Problem with PassThru?

2010-12-09 Thread Jean-Marc Lasgouttes
Le 9 déc. 2010 à 09:43, Philippe Charpentier a écrit : > As I said, the simplest example is using the lyx class "article (Chess)" > and the layout Mainline (and activate "View Source"): the latex code > should be > \mainline{what you type} > and it is > {what you type > > If there where changes fo

Re: Problem with PassThru?

2010-12-09 Thread Philippe Charpentier
Le 08/12/2010 23:00, Richard Heck a écrit : > On 12/08/2010 01:09 PM, Philippe Charpentier wrote: >> Hi, >> I update this morning the svn version of lyx, compile it and notice the >> following bug: >> >> using the class article(chess), the layout Mainline is not traduced to >> latex with the comman

Re: r36771 - lyx-devel/trunk/src

2010-12-09 Thread Jean-Marc Lasgouttes
Le 8 déc. 2010 à 15:01, Vincent van Ravesteijn a écrit : > By the way, I see now a worse bug: > > 1. insert e.g. "have some lower capital text" > 2. change to :"Ahave some Blower capital textC" > 3. press undo. > > Now A, B and C disappears all together. Yuck! This is an old bug, though. JMarc

Re: r36771 - lyx-devel/trunk/src

2010-12-09 Thread Jean-Marc Lasgouttes
Le 9 déc. 2010 à 09:19, Abdelrazak Younes a écrit : >> Now that we are on it, might be more appropriate anyway. Undo is (I >> think) a user interface component and BufferView is responsible for >> how the Buffer is presented to the user and how the user interacts >> with the Buffer. >> > > You

Re: [PATCH] external inset supporting spreadsheet import into LyX 2.0

2010-12-09 Thread Abdelrazak Younes
On 12/08/2010 05:11 PM, Helge Hafting wrote: This patch lets LyX 2.0 use spreadsheets as external insets: * gnumeric spreadsheets * openoffice spreadsheets * excel spreadhsheets This is done using the "ssconvert" utility that comes with gnumeric, so it is necessary to have gnumeric even if the s

Re: r36771 - lyx-devel/trunk/src

2010-12-09 Thread Abdelrazak Younes
On 12/08/2010 02:45 PM, Vincent van Ravesteijn wrote: While you're at this, I wonder if you have a relatively easy fix for this bug. Add a character to a document, then go to the end of the document. Now do Undo, Redo. The redo moves you to the end of the document, so you don't actually see what

combining chars and textgreek/textcyr

2010-12-09 Thread Guenter Milde
Dear LyX devels, The current handling of combining Unicode characters clashes with the handling of LaTeX font-encoding changes ("textgreek" and "textcyr" in LYXDIR/unicodesymbols). Current behaviour = Conversion of a document with combining accents on non-Latin characters results

Re: 'box (minipage)' menu item

2010-12-09 Thread Guenter Milde
On 2010-12-08, Richard Heck wrote: > On 12/08/2010 10:12 AM, Liviu Andronic wrote: >> Dear all >> Is there a reason for using 'box' instead of 'box (minipage)' in >> Insert? My problem with current arrangement is that it is unintuitive. >> When I first found about *minipage* functionality and neede