Re: [patch] math_colorinset fix

2005-06-15 Thread Georg Baum
Lars Gullik Bjønnes wrote: > For 1.5 I think we should use the multi_index. > Too me it looks really nice. I like in too in principle. I don't like that I had to type a lot (because the color set is in pimpl), and what I don't like at all is the fact that I found no way to manipulate color names

Re: Windows installer, first page

2005-06-15 Thread Georg Baum
Angus Leeming wrote: > Note the "Install Minimal version" which is meant to inform the user that > we're proposing to use your minimal package. However, the user is free to > change anything and everything... But please don't tell that LyX ships with a minimal version of UNIX. I would suggest to

Latest CVS lyx: crashing on export?

2005-06-15 Thread Kayvan A. Sylvan
Hi everyone, Is anyone else seeing a crash when trying to view or export? For me, it's happening every time with View->PDF, or Export->PDF, Export->HTML, etc. On Cygwin, xforms frontend. ---Kayvan

Re: Windows installer, first page

2005-06-15 Thread Uwe Stöhr
Angus Leeming wrote: Ok, here's what I think we should have for the first page. All those other pages will be visited only if the user explicitly wants to. No this is what I DON'T want! I want to have a page with two radion buttons, one for the "advanced" installation and one for "standard".

Re: Windows installer version 15

2005-06-15 Thread Uwe Stöhr
Angus Leeming wrote: Btw. please don't deform my code as you for example did in lyx_utils.nsh. I don't like meaningless variable names like "$0" as it makes it difficult for me, others and yourself (e.g. if you haven't had a look at the code for half a year). Shrug. Your code caused the comp

Windows installer, first page

2005-06-15 Thread Angus Leeming
Angus Leeming wrote: >> Peter Kümmel wrote: >> >> Then, the only remaining difference is how we deal with >> >> MinSYS,Python,Perl, right? >> > >> > You could provide both ways and give the user the choice. >> > Attached a shot from the Firefox setup. >> >> I also prefer this option. Angus' v

Re: Windows installer version 15

2005-06-15 Thread Angus Leeming
Uwe Stöhr wrote: Angus Leeming wrote: To be honest, I haven't tried it since the original proposal. I don't think that our views are wildly different though, so there's hope ;-) I added a summary page at the beginning as you want it. So please give it a try and PLEASE report me if acroread wa

Re: [patch] math_colorinset fix

2005-06-15 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Georg Baum <[EMAIL PROTECTED]> >> writes: >> >> | - transform[string(entry.lyxname)] = int(entry.lcolor); >> | + LyXTransform[string(entry.lyxname)] = int(entry.lcolor); >> | + LaTeXTransform[st

Re: [patch] math_colorinset fix

2005-06-15 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Georg Baum <[EMAIL PROTECTED]> >> writes: >> >> | - transform[string(entry.lyxname)] = int(entry.lcolor); >> | + LyXTransform[string(entry.lyxname)] = int(entry.lcolor); >> | + LaTeXTransform[st

Re: [patch] math_colorinset fix

2005-06-15 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Georg Baum <[EMAIL PROTECTED]> >> writes: >> >> | - transform[string(entry.lyxname)] = int(entry.lcolor); >> | + LyXTransform[string(entry.lyxname)] = int(entry.lcolor); >> | + LaTeXTransform[st

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri wrote: [snip] > > Launching the last command in the bat file with "start" should do the trick. > > > > $ cat lyx.bat > > echo off > > rem > > rem some stuff here > > rem > > start lyx.exe > > > > Enrico > > I'm afraid that

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri wrote: > > Helge Hafting ...> writes: > > To avoid double quoting the ~ character should be used. So: > > lyx.exe "%~1" "%~2" "%~3" "%~4" "%~5" "%~6" "%~7" "%~8" "%~9" > > works as expected. > > Excellent! Done. > > I'll upload Ver

Re: [LyXWin Installer] small version updated again

2005-06-15 Thread Uwe Stöhr
Paul A. Rubin wrote: Don't know if it makes a difference, but it might be safer to use HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\7.0\InstallPath Hello Paul, I implement a solution that checks which program is associated to the .pdf file extension. Could you please thest if this instal

Re: Windows installer version 15

2005-06-15 Thread Uwe Stöhr
Angus Leeming wrote: To be honest, I haven't tried it since the original proposal. I don't think that our views are wildly different though, so there's hope ;-) I added a summary page at the beginning as you want it. So please give it a try and PLEASE report me if acroread was found (I need f

Re: [LyXWin Installer] small version updated again

2005-06-15 Thread Paul A. Rubin
Angus Leeming wrote: - I need the registry path for Acroread. If anybody has installed it, please send it to me. Under HKLM I have "Software\Adobe\Acrobat\Exe" which stores "C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" so perhaps you can use the same test for both? Don't kn

Re: Windows installer version 15

2005-06-15 Thread Peter Kümmel
Angus Leeming wrote: Then, the only remaining difference is how we deal with MinSYS,Python,Perl, right? You could provide both ways and give the user the choice. Attached a shot from the Firefox setup. Peter <>

Re: [patch] math_colorinset fix

2005-06-15 Thread Georg Baum
Lars Gullik Bjønnes wrote: > Georg Baum <[EMAIL PROTECTED]> > writes: > > | - transform[string(entry.lyxname)] = int(entry.lcolor); > | + LyXTransform[string(entry.lyxname)] = int(entry.lcolor); > | + LaTeXTransform[string(entry.latexname)] = int(entry.lcolor); > >

Re: Insert->File crashes

2005-06-15 Thread Kayvan A. Sylvan
On Wed, Jun 15, 2005 at 04:20:27PM +0200, Jean-Marc Lasgouttes wrote: > > "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: > > Kayvan> This is under Cygwin, using xforms frontend: Using CVS lyx, > Kayvan> upon Insert->File->Plain Text As Paragraphs > > Kayvan> Lyx crashes with the foll

Re: Windows installer version 15

2005-06-15 Thread Angus Leeming
Uwe Stöhr wrote: Uwe, I didn't do anythiing with your fonts stuff because I don't think it should go on the same page as the UI language stuff and, more importantly, becase I was unsure whether it was finished. Why don't you start making patches against the stuff in CVS (BRANCH_1_3_X ;-)) and

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I propose not to persue this further as I understand you use Angus> gettext-0.13 in the 1.4.x tree and things work well enough Angus> --with-included-gettext in teh 1.3.x tree. Sure. Thanks a lot to testing that. JMarc

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus> Sorry, I guess that I missed this bit of your mail. Angus> I could certainly try, but I don't see what it gains us. Angus> There's about 20 lines in the installer to set the language of Angus> the UI. Moreover, because it is encapsulated in a lyx.bat file, Angu

Re: Windows installer version 15

2005-06-15 Thread Uwe Stöhr
Angus Leeming wrote: Uwe, I didn't do anythiing with your fonts stuff because I don't think it should go on the same page as the UI language stuff and, more importantly, becase I was unsure whether it was finished. Why don't you start making patches against the stuff in CVS (BRANCH_1_3_X ;-))

Re: Insert->File crashes

2005-06-15 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> This is under Cygwin, using xforms frontend: Using CVS lyx, Kayvan> upon Insert->File->Plain Text As Paragraphs Kayvan> Lyx crashes with the following messages (Plain Text As Lines Kayvan> works, though): I cannot reproduce th

Re: [patch] bug 1837

2005-06-15 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Also, inserting of several other insets is already disabled Juergen> over multiple selected cells (because LyX crashed). I think Juergen> it is consistent to disable tabular too. This is what I wanted to know, thanks.

Re: The LANG environment variable...

2005-06-15 Thread Uwe Stöhr
Lars Gullik Bjønnes wrote: | Both appear to be quite common. google on "nn_NO" and on "no_NY". Note | that the po file is nn.po... I'll apply this. thanks and regards Uwe

Re: Installing Windows fonts

2005-06-15 Thread Uwe Stöhr
Johann Kellerman wrote: I know there are only a couple of translated languages. What I propose is create the other languages as nullsoft languages. For now the installer strings can be in english until a concerned user post the correct translations. The only string we can translate for now is th

Re: Installing Windows fonts

2005-06-15 Thread Uwe Stöhr
Angus Leeming wrote: Or, perhaps more simply: StrCpy $0 "$MiKTeXPath$\r$\n$GhostscriptPath$\r$\n$ImageMagickPath$\r$\n$PythonPath$\r$\n$PerlPath" ${StrNSISToIO} $0 $0 Thanks Angus. I implemented it in the actual version: (http://fkurth.de/uwest/LyX/Installer/lyx_setup_136proposal-v15.exe

Re: [LyXWin Installer] small version updated again

2005-06-15 Thread Uwe Stöhr
Jean-Marc Lasgouttes a écrit: Isn't there a way in NSIS to check whether the pdf extension is registered? There is no reason to force the user to use acrobat if he prefers gsview or whatever. Good idea. The actual version: http://fkurth.de/uwest/LyX/Installer/lyx_setup_136proposal-v15.exe ch

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Sorry, I guess that I missed this bit of your mail. Angus> I could certainly try, but I don't see what it gains us. Angus> There's about 20 lines in the installer to set the language of Angus> the UI. Moreover, because it is encaps

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Jean-Marc> This probably means that if you manage to link against the Jean-Marc> gettext provided with mingw tools, it should just work. Hello? Angus? Do you think it is possible to build LyX against the gettext provided with mingw? This would probably fix a lot of th

Re: The LANG environment variable...

2005-06-15 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >>> You didn't look in the right place, obviously. google for "gettext >>> windows": >>> >>> http://gnuwin32.sourceforge.net/install.html#Native-language_support_ Angu

Re: More about LyX meeting

2005-06-15 Thread Jean-Marc Lasgouttes
> "Stephan" == Stephan Witt <[EMAIL PROTECTED]> writes: Stephan> I stay from the 8th of July til 20th of July in Paris Stephan> together with my wife and my children (2) and we'll be guests Stephan> of our friends. So there is no need to care for us. But I Stephan> have to see what our plans a

Windows installer version 15

2005-06-15 Thread Angus Leeming
Now uploaded to the wiki. It merges Uwe's and Helge's code and enables the user to specify the language of the UI by creating and running a lyx.bat file: @echo off if "%LANG%"=="" SET LANG=fr_FR "C:\Program Files\LyX\bin\lyx.exe" %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9 Similarly, we now have a reLy

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Enrico Forestieri wrote: Helge Hafting <[EMAIL PROTECTED]> writes: To avoid double quoting the ~ character should be used. So: lyx.exe "%~1" "%~2" "%~3" "%~4" "%~5" "%~6" "%~7" "%~8" "%~9" works as expected. Excellent! Done. I'll upload Version 15 ASAP. It has this lyx.bat and a reLyX.bat for

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Enrico Forestieri wrote: Angus Leeming <[EMAIL PROTECTED]> writes: 2 Launching LyX at the end of the installer as !define PRODUCT_BAT "$INSTDIR\bin\lyx.bat" !define MUI_FINISHPAGE_RUN "${PRODUCT_BAT}" works perfectly well, but I get a bloody great cmd window in the background. How do I ma

Re: [PATCH 13x, 14x] the PATH env var

2005-06-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: > > Angus> The attached patch ensures that the LyX binary dir is the first > > Angus> element in the PATH on non-POSIX builds. The change will mean > > Angus> that fixes like Enrico Forestieri's, described here: > > Angus> http

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes: > > 2 Launching LyX at the end of the installer as > >!define PRODUCT_BAT "$INSTDIR\bin\lyx.bat" > >!define MUI_FINISHPAGE_RUN "${PRODUCT_BAT}" > > works perfectly well, but I get a bloody great cmd window in the > > background. How do I make it g

Re: The LANG environment variable...

2005-06-15 Thread Enrico Forestieri
Helge Hafting <[EMAIL PROTECTED]> writes: > > Angus Leeming wrote: > [snip] > >In that case, shouldn't it be > > > >lyx.exe "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9" > > > > > > > No, that will turn > lyx.bat "file with spaces.lyx" > into > lyx.exe ""file with spaces.lyx"" and that won't

Re: The LANG environment variable...

2005-06-15 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Uwe Stöhr wrote: >>> nn_NO Nynorsk >> It is no_NY. > | Both appear to be quite common. google on "nn_NO" and on "no_NY". Note | that the po file is nn.po... I think it really should be "nn". nn is the language XX is the country. en_EN is english in en

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Uwe Stöhr wrote: nn_NO Nynorsk It is no_NY. Both appear to be quite common. google on "nn_NO" and on "no_NY". Note that the po file is nn.po... Angus

Re: The LANG environment variable...

2005-06-15 Thread Uwe Stöhr
Angus Leeming wrote: Putting the two dataabses together: nn_NO Nynorsk It is no_NY. I put some code tables on http://fkurth.de/uwest/LyX/Installer/LangCodes/ regards Uwe

Re: More about LyX meeting

2005-06-15 Thread Stephan Witt
Jean-Marc Lasgouttes wrote: "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Dear Jean-Marc, I spent some time outside of my office, so I couldn't respond... Jean-Marc> So, I know have the following table for our next meeting: Update: 13 14 15 16 17 18 19

Re: [patch] math_colorinset fix

2005-06-15 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Then I am going to commit the attached patch provided that Jürgens testing | does not show problems. change hte names first | >> The MathHullInset some how should change the 'inherited base color'. >> Don't ask me how this could be achieved exactly. >

Re: [LyXWin Installer] small version updated again

2005-06-15 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> - If Acrobat/Acrored if found by LyX's configure script the Uwe> following entry is made to lyxrc.defaults: Uwe> \viewer pdf "acrobat" Isn't there a way in NSIS to check whether the pdf extension is registered? There is no reason to force

RE: [LyXWin Installer] small version updated again

2005-06-15 Thread Johann Kellerman
>- I need the registry path for Acroread. If anybody has installed it, please send it to me. I started working on this. My thoughts was to extract the pdf viewer associated with pdf's on the windows machine. With: Function getFileAssociation Exch $R1

Re: Screen resolution / dpi

2005-06-15 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> LyX 1.3.6 , therefore, won't use it. LyX 1.4 is in feature freeze, >> so I guess that it won't use it either. Looks like you'll be having >> considerable usage for a while yet. Andre> Qt 4 is no go for LyX 1.4 as far as I am concerned.

Re: Installing Windows fonts

2005-06-15 Thread Johann Kellerman
> StrCpy $0 >"$MiKTeXPath$\r$\n$GhostscriptPath$\r$\n$ImageMagickPath$\r$\n$PythonPa th$\r > $\n>$PerlPath" > ${StrNSISToIO} $0 $0 >Note that ${StrNSISToIO} is part of StrUtils.nsh... >You don't want to manipulate (change) $GhostscriptPath et al, >because you're actually going to use them l

Re: [patch] math_colorinset fix

2005-06-15 Thread Georg Baum
Andre Poenitz wrote: > On Tue, Jun 14, 2005 at 12:11:53PM +0200, Georg Baum wrote: >> Done. Please test. I also changed inheritance from MathNestInset to >> MathGridInset in order to get the corner markers. > > That's wrong IIRC. You can add corner markers by calling > metricsMarkers[2] and drawM

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Angus Leeming wrote: I've been testing things out and have two remaining problems: 1. Creating short cuts from the desktop and from the start menu to c:\Program Files\LyX\bin\lyx.bat works perfectly well, but my icons are replaced with that of a .bat file. Any idea how to get back to the ico

Re: [LyXWin Installer] small version updated again

2005-06-15 Thread Angus Leeming
Uwe Stöhr wrote: I wrote: But we need also the entries \viewer pdf2 "acrobat" \viewer pdf3 "acrobat" Simple fix attached, please apply. I've a better solution. The entries should only be made if pdflatex and dvipdfm does really exists. The attached patch works for me. This is overkill an

Re: [LyXWin Installer] small version updated again

2005-06-15 Thread Uwe Stöhr
I wrote: But we need also the entries \viewer pdf2 "acrobat" \viewer pdf3 "acrobat" Simple fix attached, please apply. I've a better solution. The entries should only be made if pdflatex and dvipdfm does really exists. The attached patch works for me. Angus, two questions about the config

Re: [LyXWin Installer] small version updated again

2005-06-15 Thread Angus Leeming
Uwe Stöhr wrote: Hello LyXers, again an update to the installer: http://fkurth.de/uwest/LyX/Installer/lyx_setup_136proposal-v14-2.exe Angus Leeming wrote: In other words, I think that the installer should lead the user through the installation. It shouldn't "just do it" for him. That's w

Re: The LANG environment variable...

2005-06-15 Thread Angus Leeming
Helge Hafting wrote: Angus Leeming wrote: On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if "%LANG%"=="" SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any parameters to it. The script

Re: More about LyX meeting

2005-06-15 Thread Alfredo Braunstein
Angus Leeming wrote: > Alfredo Braunstein wrote: >>>... and me expecting in November too!"... >> Congratulations both! > > Thanks, Alfredo. Hope your little family is doing well too. We are overwhelmingly happy, it's just a pitty that it's a bit LyX-incompatible (I mean new job, new city, new ho

Re: The LANG environment variable...

2005-06-15 Thread Helge Hafting
Andre Poenitz wrote: On Tue, Jun 14, 2005 at 10:45:07AM +0200, Asger Alstrup wrote: Angus Leeming wrote: That way, Uwe wouldn't set LANG globably from the Windows installer but rather would get the configure script to output \ui_language de_DE to lyxrc.defaults. Thoughts? Lo

Re: The LANG environment variable...

2005-06-15 Thread Helge Hafting
Angus Leeming wrote: On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: if "%LANG%"=="" SET LANG=no_NO lyx.exe %* [...] Second line starts the lyx executable and passes any parameters to it. The script is tested on windows

Re: More about LyX meeting

2005-06-15 Thread Angus Leeming
Alfredo Braunstein wrote: >>... and me expecting in November too!"... > Congratulations both! Thanks, Alfredo. Hope your little family is doing well too. -- Angus

Re: Installing Windows fonts

2005-06-15 Thread Angus Leeming
Johann Kellerman wrote: > So after constructing and writing out the complete path variable to > anther variable, the one that you send to Angus's plugin. You should > escape al the path names: > > Push $GhostscriptPath > Call Nsis2Io > Pop $GhostscriptPath > Push $INSTDIR > Call Nsis2Io > Pop $R0

Re: Installing Windows fonts

2005-06-15 Thread Johann Kellerman
> > Create one string that contains > > the lang environment variable and just makes sure that is translated for now. > > That solves the language step in one go. You select your installation language > > and your environment variable is set according to that. > > That is not possible as w

Re: More about LyX meeting

2005-06-15 Thread Alfredo Braunstein
Angus Leeming wrote: > finding a new job and me expecting in November too!" In fact, if, after Congratulations both! Alfredo

Re: generated filenames too long

2005-06-15 Thread Stefan Kostner
Hi Andre, On Jun 13, 2005, at 9:27 PM, Andre Poenitz wrote: On Mon, Jun 13, 2005 at 07:42:15PM +0200, Stefan Kostner wrote: Stefan Kostner wrote: This means that the filenames of the eps files can be extremely long causing tools like dvips to crash with either segfault or for instance "dvips:

Re: Installing Windows fonts

2005-06-15 Thread Johann Kellerman
> > and the \t issue when you write to > > !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSummary.ini" "Field 2" "Text" \ > >"$INSTDIR\bin \r\n$MiKTeXPath \r\n$GhostscriptPath > > \r\n$ImageMagickPath\r\n$PythonPath\r\n$PerlPath" > > you have to quote the paths. > > What do you mean

Re: [LyXWin 1.3.6pre12] View (pdflatex) dies at graphic

2005-06-15 Thread Georg Baum
Paul A. Rubin wrote: > (version 1.3.5) > C:/LyX/tmp/lyx_tmpdir2408a00864/lyx_tmpbuf0/_LyX_Documents_MGT914_princomp > > (version 1.3.6) "C:/Documents and Settings/rubin.BUSINESS/Local > Settings/Temp/lyx_tmpdir3112a03360/lyx_tmpbuf0/C__Documents and > Settings_rubin_BUSINESS_My Documents_MGT 914_