Re: [patch] math_colorinset fix

2005-06-17 Thread Martin Vermeer
On Fri, Jun 17, 2005 at 09:11:47PM +0300, Martin Vermeer wrote: > On Fri, Jun 17, 2005 at 06:58:19PM +0200, Georg Baum wrote: > > Juergen Spitzmueller wrote: > > > >> Why? A character style seems perfect to me. > > > > > > With the minor disadvantage of being less WYSIWYG (personally, I don't >

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Martin Vermeer
On Fri, Jun 17, 2005 at 11:52:40PM +0100, Angus Leeming wrote: > Enrico Forestieri wrote: > > Enrico (quite confused) > > Ha! You're confused? Put yourself in my boots! Wasn't the correct expression "Hah!"? - Martin pgpRClOYE4bY9.pgp Description: PGP signature

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri wrote: > > Enrico (quite confused) > > Ha! You're confused? Put yourself in my boots! > You have a claim on our sympathy ;-) Your effort is much appreciated. -- Enrico

Re: [patch] math_colorinset fix

2005-06-17 Thread Angus Leeming
Martin Vermeer wrote: >> I see. We would need a new attribute superscript/subscript in LyXFont in >> order to implement this correctly with character styles. I am not sure >> whether that solution or an inset is preferable. > > I vote for an inset. It is neatly self-contained. What! Just when we

Re: [patch] [LyXWin Installer] check correctly for ghostscript

2005-06-17 Thread Angus Leeming
Uwe Stöhr wrote: > Angus Leeming wrote: > >> Ok, done. However, it looks to me like some refactoring would make like >> nicer. Could you try out the attached patch (against current CVS/your >> patched version) which simply moves the EnumRegKey stuff into a separate >> function. > > OK, but the c

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Angus Leeming
Asger Ottar Alstrup wrote: > Well, if you use the if-trick, then this single bat-file should work for > you as well: > > -- > @echo off > > if "%LANG%"=="" SET LANG=fr_FR > > if "%~1" == "~1" goto win95 > > "C:\program files\lyx\bin\lyx.exe" %~* > > goto end > > :win95 > "C:\program files\lyx

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Angus Leeming
Enrico Forestieri wrote: > Enrico (quite confused) Ha! You're confused? Put yourself in my boots! -- Angus

Re: [patch 13x] fix quoted filenames

2005-06-17 Thread Georg Baum
Am Donnerstag, 16. Juni 2005 17:13 schrieb Angus Leeming: > Georg Baum wrote: > > Does the following work with the babel variant? > > > > \mdqoff\includegraphics{"dir with spaces/picture with spaces".eps}\mdqon > > This works perfectly. Fine. The problem is of course that \mdqon and \mdqoff are

Re: [patch] math_colorinset fix

2005-06-17 Thread Martin Vermeer
On Fri, Jun 17, 2005 at 06:58:19PM +0200, Georg Baum wrote: > Juergen Spitzmueller wrote: > >> Why? A character style seems perfect to me. > > > > With the minor disadvantage of being less WYSIWYG (personally, I don't > > care about that). > > I see. We would need a new attribute superscript/su

Re: [patch] [LyXWin Installer] check correctly for ghostscript

2005-06-17 Thread Uwe Stöhr
Angus Leeming wrote: Ok, done. However, it looks to me like some refactoring would make like nicer. Could you try out the attached patch (against current CVS/your patched version) which simply moves the EnumRegKey stuff into a separate function. OK, but the code isn't smaller then. You misse

Re: [math fonts] BaKoMa fonts are now free!

2005-06-17 Thread Uwe Stöhr
Georg Baum schrieb: These are good news indeed. Do the latex-xft fonts have any advantage over the BaKoMa fonts, or can we always recommend BaKoMa now? Not that I know. But they have obvious disadvantages: - large operators are displayed too high when the have limits - relations disappear on

Re: [math fonts] BaKoMa fonts are now free!

2005-06-17 Thread Georg Baum
Uwe Stöhr wrote: > good news, the BaKoMa fonts are now FREE (also for our modifications): > > http://article.gmane.org/gmane.comp.tex.ctan.announce/2227 > > Ekkehart, I think we should change the License file of the BaKoMa for > LyX bundle. These are good news indeed. Do the latex-xft fonts hav

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Asger Ottar Alstrup
Angus Leeming wrote: @echo off if "%LANG%"=="" SET LANG=fr_FR "C:\Program Files\LyX\bin\lyx.exe" %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9 Ok, then I'll use this code snippet to output the batch file: std::string const arg_list = is_Win2000_or_later() ? "%~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~

Re: [patch] math_colorinset fix

2005-06-17 Thread Georg Baum
Juergen Spitzmueller wrote: > I have problems navigating especially in scriptinsets, where I have also > tested the colorinsets. The only problem I could find was that navigating into a subscript with the down arrow key did not go to the first character but somewhere inbetween. >> Why? A charact

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > Helge Hafting wrote: > >>>This should work for win98: > >>> echo off > >>>if "%LANG%"=="" SET LANG=fr_FR > >>>"C:\Program Files\LyX\bin\lyx.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 > >>> > >>Excellent! > >>And is the existing .bat file OK on more modern Wi

[math fonts] BaKoMa fonts are now free!

2005-06-17 Thread Uwe Stöhr
Hello LyXers, good news, the BaKoMa fonts are now FREE (also for our modifications): http://article.gmane.org/gmane.comp.tex.ctan.announce/2227 Ekkehart, I think we should change the License file of the BaKoMa for LyX bundle. regards Uwe

Re: [patch] math_colorinset fix

2005-06-17 Thread Juergen Spitzmueller
Georg Baum wrote: > What cursor navigation problems? I see also the mouse selection and placing > problems, but cursor navigation works fine. I have problems navigating especially in scriptinsets, where I have also tested the colorinsets. > > Also unrelated: for scriptinsets (via the Menu), it i

Re: [patch] math_colorinset fix

2005-06-17 Thread Georg Baum
Juergen Spitzmueller wrote: > Feels good. The only drawbacks I found are cursor navigation, selection > and mouse placing problems, but they are unrelated to your patch. What cursor navigation problems? I see also the mouse selection and placing problems, but cursor navigation works fine. > Also

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Angus Leeming
Helge Hafting wrote: >>>This should work for win98: >>>@echo off >>>if "%LANG%"=="" SET LANG=fr_FR >>>"C:\Program Files\LyX\bin\lyx.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 >>> >>Excellent! >>And is the existing .bat file OK on more modern Windows versions? >> >>@echo off >>if "%LANG%"=="" SET LANG=fr_F

Re: backup again

2005-06-17 Thread Lars Gullik Bjønnes
"Jean-Claude Christnach" <[EMAIL PROTECTED]> writes: | hi again, > | since Angus' post which told me about the debug option I start Lyx with | this option from the prompt. > | Autosave function is ok and produces a #file.lyx#. > | But the debug shows the message. "LYX was not able to make a backup

backup again

2005-06-17 Thread Jean-Claude Christnach
hi again, since Angus' post which told me about the debug option I start Lyx with this option from the prompt. Autosave function is ok and produces a #file.lyx#. But the debug shows the message. "LYX was not able to make a backup copy, beware!". The directory that I indicated in the path in the

Re: [patch] math_colorinset fix

2005-06-17 Thread Juergen Spitzmueller
Georg Baum wrote: > > Georg, I lost track in my mailbox. Can you please post again the final > > version for testing? > > Here it is. Feels good. The only drawbacks I found are cursor navigation, selection and mouse placing problems, but they are unrelated to your patch. Also unrelated: for scri

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Helge Hafting
Angus Leeming wrote: Helge Hafting wrote: Thanks for the info, Helge. Just to make sure that I don't screw this up, could you post the lyx.bat file you'd like for win98? Angus This should work for win98: @echo off if "%LANG%"=="" SET LANG=fr_FR "C:\Program Files\LyX\bin\lyx.exe" %1

Re: lyx1.4cvs bug, GUI scrolling affects the generated latex :-(

2005-06-17 Thread Helge Hafting
Martin Vermeer wrote: Fix attached. Your first guess was right: "Document data structures aren't properly set up when loading, only when viewing them?" I'll commit this presently. Tested and works fine with the documents that used to need a scrollthru in order to print correctly. :-) He

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Angus Leeming
Helge Hafting wrote: >> Thanks for the info, Helge. Just to make sure that I don't screw this >> up, could you post the lyx.bat file you'd like for win98? >> >> Angus >> > This should work for win98: > @echo off > if "%LANG%"=="" SET LANG=fr_FR > "C:\Program Files\LyX\bin\lyx.exe" %1 %2 %3 %4 %5 %6

Re: Opening PDFs

2005-06-17 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | Urg. Have you ever met Lars? He's a troll from Norway who lives under > | bridges, popping up only to eat unsuspecting innocents like you. Or me. >> > > Extra! Extra! Fantastic event! > Shown for the first time in Europe, France, Paris! > > LARS THE TROLL. In his c

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Helge Hafting
Lior Silberman wrote: I'm pretty sure there used to be a "version" command in some of the later versions of DOS and certainly in windows. In any case can't the Installer make a system call and check which OS it's running under? There is the "ver" command, which displays the version. It is us

Re: Windows installer version 15 unworkable on win98?

2005-06-17 Thread Helge Hafting
Angus Leeming wrote: Helge Hafting wrote: You may have to have one script for XP and another for win98, unless lyx can deal with quoted filenames itself. I don't know what other windows versions use, but I guess that 2000, 2003 and NT works like XP, with 95 and ME working like 98. But that's j

Re: Opening PDFs

2005-06-17 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Urg. Have you ever met Lars? He's a troll from Norway who lives under | bridges, popping up only to eat unsuspecting innocents like you. Or me. > Extra! Extra! Fantastic event! Shown for the first time in Europe, France, Paris! LARS THE TROLL. And yo

Re: I can’t import a *.tex file :(

2005-06-17 Thread Angus Leeming
Masse Soendergaard wrote: > Hi, when I try to import a *.tex file I get the following message: > >> > reLyX directory is: /gbar/bohr/home3/csw/kde-gcc/share/lyx/reLyX reLyX, > the LaTeX to LyX translator. Revision date 2003/01/20 > > Reading LaTeX command syntax (133.tex: Splitting Preamble Didn

Re: Opening PDFs

2005-06-17 Thread Angus Leeming
Asger Alstrup wrote: >> Where does 'gstring' come from? There ain't no typedef to >> std::string. > > I took the code from somewhere else and tried to make it self-contained, > although I obviously didn't succeed. OK. I'm glad to see that I got to the core of it anyway. >> Finally, and most impo

I can�t import a *.tex file :(

2005-06-17 Thread Masse Soendergaard
Hi, when I try to import a *.tex file I get the following message: reLyX directory is: /gbar/bohr/home3/csw/kde-gcc/share/lyx/reLyX reLyX, the LaTeX to LyX translator. Revision date 2003/01/20 Reading LaTeX command syntax (133.tex: Splitting Preamble Didn't find \begin{document} command! at

Re: Opening PDFs

2005-06-17 Thread Asger Alstrup
Angus Leeming wrote: Where does 'gstring' come from? There ain't no typedef to std::string. I took the code from somewhere else and tried to make it self-contained, although I obviously didn't succeed. AcrobatReader::AcrobatReader( gstring const & an ) : Just change to std::string, and yo

Re: Opening PDFs

2005-06-17 Thread Angus Leeming
Asger Alstrup wrote: > Hi, > > I attach some code that can open PDFs using DDE, which is the API > interface. It also allows you to go to a specific page, and so on. It has > been tested with a range of different Acrobat versions on all windows > versions. It would be simple to extend this with o

Re: [LyXWin Installer] solution for checking the ps viewer

2005-06-17 Thread Angus Leeming
Uwe Stöhr wrote: > Hello Angus, > > I implemented the check for a PS viewer: Well done. > I tested it for the registry combinations > a=acrodist + b=gsview32 > a=gsview32 + b=acrodist > a=acrodist + b= > a=gsview32 + a= > > and it works perfectly. So please apply. > regards Uwe Before I do so

Re: [patch] [LyXWin Installer] check correctly for ghostscript

2005-06-17 Thread Angus Leeming
Uwe Stöhr wrote: > Hello Angus, > > I received a report that the installer doesn't find an installed GPL > ghostscript. We currently check only for AFPL ghostscript. > > Patch attached, please apply. Ok, done. However, it looks to me like some refactoring would make like nicer. Could you try o

Re: [PATCH] Bug 961: reintroduce LFUN_BIBDB_ADD/DEL

2005-06-17 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > Jean-Marc Lasgouttes wrote: > > My point is that the behaviour of getInsetByCode is intended and > > should be left alone. > > OK, then the comment to the function is at least misleading. How about the > following (I know that it is not exactly what you are looking for

Opening PDFs

2005-06-17 Thread Asger Alstrup
Hi, I attach some code that can open PDFs using DDE, which is the API interface. It also allows you to go to a specific page, and so on. It has been tested with a range of different Acrobat versions on all windows versions. It would be simple to extend this with other methods, such as close,