Re: Quote mark added when switching windows

2008-01-03 Thread Bennett Helm
On Jan 3, 2008, at 6:31 PM, Jean-Marc Lasgouttes wrote: Andre Poenitz <[EMAIL PROTECTED]> writes: Or maybe even something that has a number in Trolltech's task tracker ;-) And is it there? Looks so. There are two entries I could find that seem relevant. The first is 159114 - Mac: switchi

Re: Quote mark added when switching windows

2008-01-03 Thread Jean-Marc Lasgouttes
Andre Poenitz <[EMAIL PROTECTED]> writes: > Or maybe even something that has a number in Trolltech's task tracker > ;-) And is it there? JMarc

about MSVC 2008

2008-01-03 Thread Uwe Stöhr
I've seen that Joost changed the build system to MSVC2008, but wasn't it a bit too rush?: I found out that I still have to install the Windows SDK separately because I use a 64bit version. More problematic might be that Windows 2000 is no longer supported my MSVC2008 as I read here: http://en

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread rgheck
Andre Poenitz wrote: On Thu, Jan 03, 2008 at 09:44:23AM -0500, rgheck wrote: Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: One other small thing. Instead of the repeated directory creation stuff, what about something like this: function mkpath { bas

After switching document, LyX forgets position

2008-01-03 Thread Grósz Dániel
Hello, I use LyX 1.5.3 on openSUSE Linux 10.3. Several documents are open. In a document, I scroll away from the cursor position. If I switch to an other document (either using tabs or the View menu) and switch back, I find myself at the cursor. I think this is unexpected behavior for the user (or

Re: Context Menu enabled in trunk

2008-01-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: I would of course keep all the algorithms. I am just thinking of dropping all classes and variable that have a Qt equivalent. Why not. Remember that you need to have a menu with all the uninterpreted things, and another

Re: Context Menu enabled in trunk

2008-01-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: First thing is to define new menu types for Context menu in addition to menu bar. I guess this will involve a modification of stdmenu.inc as well as MenuBackend. I don't know really what is needed as I get lost in this me

Re: [EMAIL PROTECTED]: lyx-1.5.3 failed on i386 5]

2008-01-03 Thread Abdelrazak Younes
Mikhail Teterin wrote: Hello! We are getting failure reports from the automated builds of LyX-1.5.3 on some branches of FreeBSD. The most recent failure is logged here: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.5.2007123019/lyx-1.5.3.log it ends with: c++ -DHAVE_CONFIG_H -I.

Re: Experimental Mac LinkBack support

2008-01-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Stefan Schimanski <[EMAIL PROTECTED]> writes: Is it really impossible to use applescript to tell omnigraffle to export a file to a given format? Maybe it is possible, haven't checked. But I wouldn't like it. You end up with AppleScript for every application you want

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Andre Poenitz
On Thu, Jan 03, 2008 at 09:44:23AM -0500, rgheck wrote: > Jean-Marc Lasgouttes wrote: >> rgheck <[EMAIL PROTECTED]> writes: >> >> >>> One other small thing. Instead of the repeated directory creation >>> stuff, what about something like this: >>>function mkpath { >>> base=shift; >>>

Re: Quote mark added when switching windows

2008-01-03 Thread Andre Poenitz
On Thu, Jan 03, 2008 at 03:31:13PM +0100, Jean-Marc Lasgouttes wrote: > Bennett Helm <[EMAIL PROTECTED]> writes: > > >> We have had other reports about this already. Could you check whether > >> it is a general Qt/Mac problem? > > > > I'm not sure what you mean: what would make it a "general Qt/Ma

Re: [EMAIL PROTECTED]: lyx-1.5.3 failed on i386 5]

2008-01-03 Thread Mikhail Teterin
Hello! We are getting failure reports from the automated builds of LyX-1.5.3 on some branches of FreeBSD. The most recent failure is logged here: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.5.2007123019/lyx-1.5.3.log it ends with: c++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_

Re: [Cvslog] r22281 - in /lyx-devel/trunk/src: LaTeXFeatures.cpp Text3...

2008-01-03 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: >> If it turns out that you code really solves an open problem, then make >> a package and upload it to CTAN. Then many more people will benefit >> from it. > > I plan to do that. Do you have any experience how this process works? I did it for simplec

Re: [Cvslog] r22350 - in /lyx-devel/trunk/src/mathed: InsetMathHull.cp...

2008-01-03 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: lasgouttes > Date: Thu Jan 3 18:31:12 2008 > New Revision: 22350 > > URL: http://www.lyx.org/trac/changeset/22350 > Log: > Disable and check properly the math numbering functions. > > * InsetMathHull.cpp (getStatus): disable LFUN_MATH_NUMBER and > LFUN_M

Re: Quote mark added when switching windows

2008-01-03 Thread Christopher Reeve
> I don't have Qt Designer or examples to test with. (I have too little > space on my hard drive, so I deleted them.) I don't know what other > apps use Qt, and a quick search on the web only brought up single > window applications, which don't help here. Can anyone else check ... > or let

Re: Showing a message box after embedding status is changed.

2008-01-03 Thread Bo Peng
> The attached patch adds member message_ to class EmbeddedFiles, Because using a member variable to store error or information message is not a good idea, I just submitted a patch using conventional Alert::information and ExceptionMessage. I also changed other Alert::error to ExceptionMessage to

Re: Quote mark added when switching windows

2008-01-03 Thread Bennett Helm
On Jan 3, 2008, at 9:31 AM, Jean-Marc Lasgouttes wrote: Bennett Helm <[EMAIL PROTECTED]> writes: We have had other reports about this already. Could you check whether it is a general Qt/Mac problem? I'm not sure what you mean: what would make it a "general Qt/Mac problem"? If Qt/Designer

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Bennett Helm
On Jan 3, 2008, at 10:05 AM, Jean-Marc Lasgouttes wrote: Bennett Helm <[EMAIL PROTECTED]> writes: That sounds good. Perhaps configure.py could launch this script after it runs; wouldn't that be better than doing it after the user dir's creation? This is starting to give me second thoughts abo

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Bennett Helm
On Jan 3, 2008, at 10:08 AM, Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: I was assuming the script was supposed to run on a very minimal shell. Is this always supported? Seems to be on darwin. It is on OS X 10.4, at least. Bennett

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > I was assuming the script was supposed to run on a very minimal shell. > Is this always supported? Seems to be on darwin. JMarc

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Jean-Marc Lasgouttes
Bennett Helm <[EMAIL PROTECTED]> writes: > That sounds good. Perhaps configure.py could launch this script after > it runs; wouldn't that be better than doing it after the user dir's > creation? > > This is starting to give me second thoughts about whether linking > rather than copying to files is

Re: Experimental Mac LinkBack support

2008-01-03 Thread Stefan Schimanski
Am 03.01.2008 um 15:03 schrieb Jean-Marc Lasgouttes: Stefan Schimanski <[EMAIL PROTECTED]> writes: Is it really impossible to use applescript to tell omnigraffle to export a file to a given format? Maybe it is possible, haven't checked. But I wouldn't like it. You end up with AppleScript

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread rgheck
Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: One other small thing. Instead of the repeated directory creation stuff, what about something like this: function mkpath { base=shift; for dir in $*; do base="$base/$dir"; if test -d $base; then c

Re: Quote mark added when switching windows

2008-01-03 Thread Jean-Marc Lasgouttes
Bennett Helm <[EMAIL PROTECTED]> writes: >> We have had other reports about this already. Could you check whether >> it is a general Qt/Mac problem? > > I'm not sure what you mean: what would make it a "general Qt/Mac > problem"? If Qt/Designer or some other Qt/Mac app had the same symptoms. JMar

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Bennett Helm
On Jan 3, 2008, at 5:13 AM, Jean-Marc Lasgouttes wrote: Bennett Helm <[EMAIL PROTECTED]> writes: This raises a question, though. Now, with no existing user's directory, this script will create it before launching LyX (i.e., lyx- app). However, once this is done, when lyx-app launches it doe

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Bennett Helm
On Jan 2, 2008, at 6:01 AM, Andreas Vox wrote: Bennett Helm <[EMAIL PROTECTED]> writes: I think the attached script does the trick. It goes into .../LyX.app/ Contents/MacOS/ and should be named "lyx". For it to work, the lyx executable must be renamed "lyx-app", and LyX.app/Contents/Info.plis

Re: Context Menu enabled in trunk

2008-01-03 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > First thing is to define new menu types for Context menu in addition > to menu bar. I guess this will involve a modification of stdmenu.inc > as well as MenuBackend. I don't know really what is needed as I get > lost in this menu business every times

Re: Context Menu enabled in trunk

2008-01-03 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > I would of course keep all the algorithms. I am just thinking of > dropping all classes and variable that have a Qt equivalent. Why not. Remember that you need to have a menu with all the uninterpreted things, and another one which is the raw menu. Y

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Bennett Helm
On Jan 3, 2008, at 5:09 AM, Jean-Marc Lasgouttes wrote: Bennett Helm <[EMAIL PROTECTED]> writes: 1. Test if the user's directory exists, and if not then: create a new user's directory, copy files from the old one (if it exists), and clean up the preferences file, mostly to point to the new use

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Bennett Helm
On Jan 3, 2008, at 5:07 AM, Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: One other small thing. Instead of the repeated directory creation stuff, what about something like this: function mkpath { base=shift; for dir in $*; do base="$base/$dir";

Re: Quote mark added when switching windows

2008-01-03 Thread Bennett Helm
On Jan 3, 2008, at 5:14 AM, Jean-Marc Lasgouttes wrote: Bennett Helm <[EMAIL PROTECTED]> writes: I can confirm this. (Note that ' is the standard OS X keybinding for switching between windows of the frontmost application.) Perhaps it's related to a similar problem I've noticed: when all othe

Re: Experimental Mac LinkBack support

2008-01-03 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: >> Is it really impossible to use applescript to tell omnigraffle to >> export a file to a given format? > > Maybe it is possible, haven't checked. But I wouldn't like it. You end > up with AppleScript for every application you want to support. Your > L

Re: Experimental Mac LinkBack support

2008-01-03 Thread Stefan Schimanski
Am 03.01.2008 um 14:28 schrieb Jean-Marc Lasgouttes: Stefan Schimanski <[EMAIL PROTECTED]> writes: The "problem" of importing is that there is no general way to convert a document into a format which is understood by LyX and latex. So how should e.g. an OmniGraffle file be put into LyX if LyX

Re: Experimental Mac LinkBack support

2008-01-03 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > The "problem" of importing is that there is no general way to convert > a document into a format which is understood by LyX and latex. So how > should e.g. an OmniGraffle file be put into LyX if LyX and latex do > not understand .graffle files? Is

Re: Experimental Mac LinkBack support

2008-01-03 Thread Stefan Schimanski
Am 03.01.2008 um 11:25 schrieb Jean-Marc Lasgouttes: Stefan Schimanski <[EMAIL PROTECTED]> writes: The basic concept is that you paste objects from LinkBack enabled application (e.g. OmniGraffle [2]) and LyX will store the PDF representation _and_ the LinkBack data (by appending .linkback to

Re: Experimental Mac LinkBack support

2008-01-03 Thread Stefan Schimanski
If you click on the edit button now in the Graphics dialog the server application is launched by the LinkBack framework and the LinkBack data is sent back to it for editing. After modifying and saving, the updated LinkBack data and the updated PDF is sent back to LyX. LyX will update the fi

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Andreas Vox
Bennett Helm <[EMAIL PROTECTED]> writes: > I think the attached script does the trick. It goes into .../LyX.app/ > Contents/MacOS/ and should be named "lyx". For it to work, the lyx > executable must be renamed "lyx-app", and LyX.app/Contents/Info.plist > needs to have the CFBundleExecutable

Re: Experimental Mac LinkBack support

2008-01-03 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > The basic concept is that you paste objects from LinkBack enabled > application (e.g. OmniGraffle [2]) and LyX will store the PDF > representation _and_ the LinkBack data (by appending .linkback to the > filename). The latter is the original document

Re: Quote mark added when switching windows

2008-01-03 Thread Jean-Marc Lasgouttes
Bennett Helm <[EMAIL PROTECTED]> writes: > I can confirm this. (Note that ' is the standard OS X keybinding > for switching between windows of the frontmost application.) > > Perhaps it's related to a similar problem I've noticed: when all > other applications are hidden except LyX, typing h (nor

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Jean-Marc Lasgouttes
Bennett Helm <[EMAIL PROTECTED]> writes: > This raises a question, though. Now, with no existing user's > directory, this script will create it before launching LyX (i.e., lyx- > app). However, once this is done, when lyx-app launches it does not > display the splash document. Is there a neat way

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Jean-Marc Lasgouttes
Bennett Helm <[EMAIL PROTECTED]> writes: > 1. Test if the user's directory exists, and if not then: create a new > user's directory, copy files from the old one (if it exists), and > clean up the preferences file, mostly to point to the new user's > directory. Instead of copying files (having sev

Re: LyX/Mac: Eliminating Installer

2008-01-03 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > One other small thing. Instead of the repeated directory creation > stuff, what about something like this: >function mkpath { > base=shift; > for dir in $*; do > base="$base/$dir"; > if test -d $base; then continue; fi >

Re: Experimental Mac LinkBack support

2008-01-03 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! On top of my PDF pasting patch from some days ago I added experimental LinkBack [1] support to LyX. * Concept The basic concept is that you paste objects from LinkBack enabled application (e.g. OmniGraffle [2]) and LyX will store the PDF representation _and_ th