Re: LyX Windows installer and TeXLive

2005-11-16 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the find.exe from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from, but printing worked. I changed the
Path Prefix over to the correct gs8.51 folder and it all still worked!

However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information. So I took a
chance and copied find.exe (and find2perl to be on the safe side) from
C:\msys\1.0\bin\ copy find*.* to C:\LyX\bin. Then I ran Reconfigure.
Lo and behold, the Tex Information was now fully populated with .cls!
So that turns out to be really easy to fix. The install went pretty quickly.

Regards,
Stephen







Re: LyX Windows installer and TeXLive

2005-11-16 Thread Uwe Stöhr

Stephen Harris schrieb wrote:


However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information.


Yes the fixed version will be 0.3 and is not yet uploaded.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-16 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the find.exe from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from, but printing worked. I changed the
Path Prefix over to the correct gs8.51 folder and it all still worked!

However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information. So I took a
chance and copied find.exe (and find2perl to be on the safe side) from
C:\msys\1.0\bin\ copy find*.* to C:\LyX\bin. Then I ran Reconfigure.
Lo and behold, the Tex Information was now fully populated with .cls!
So that turns out to be really easy to fix. The install went pretty quickly.

Regards,
Stephen







Re: LyX Windows installer and TeXLive

2005-11-16 Thread Uwe Stöhr

Stephen Harris schrieb wrote:


However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information.


Yes the fixed version will be 0.3 and is not yet uploaded.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-16 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: <lyx-users@lists.lyx.org>
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the "find.exe" from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from, but printing worked. I changed the
Path Prefix over to the correct gs8.51 folder and it all still worked!

However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information. So I took a
chance and copied find.exe (and find2perl to be on the safe side) from
C:\msys\1.0\bin\ copy find*.* to C:\LyX\bin. Then I ran Reconfigure.
Lo and behold, the Tex Information was now fully populated with .cls!
So that turns out to be really easy to fix. The install went pretty quickly.

Regards,
Stephen







Re: LyX Windows installer and TeXLive

2005-11-16 Thread Uwe Stöhr

Stephen Harris schrieb wrote:


However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information.


Yes the fixed version will be 0.3 and is not yet uploaded.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Angus Leeming [EMAIL PROTECTED]
Cc: Stephen Harris [EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 10:02 AM
Subject: Re: LyX Windows installer and TeXLive



the new installer version 0.2

https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=7989

now recognizes also TeXLive.
The various TeXLive Win-installers don't write something special to the
registry so that I serach for the path to the latex.exe in the PATH
variable.



Stephen, can you find out if TeXlive has an entry in the registry so
that the Windows installer can check for its existence?



I think the default install directory is C:\TexLive2005, I don't remember
any choice for changing the directory which is called TLroot
Don't know if this will help but I saw TLroot associated with the entry
for C:\TexLive2005 in
My Computer\HKEY_LOCAL_MACHINE\System\Controlset001
\Control\Session Manager\Environment
(also TEXMFTEMP , TEXMFCNF, but nothing latex.exe specific)


SH: I am a computist rather than a developer, so take this ? with a
grain of salt as I'm asking out of curiousity. I thought the TLroot
value (the default C:\TexLive2005 in this case) could be used as
a variable to check for C:\TLroot\texmf\miktex\bin where latex.exe
lives? I'm in not challenging the method you adopted, just interested.
I think the ~\texmf\miktex\bin\*.exe is the required structure.


If a user installs protext then MiKTeX is installed as LaTeX
distribution, so no change in the code was needed.
(btw. the protext bundle is the same as my complete installer for LyX,
it also comes with all necessary programs like GSView, spellchecker etc.)



With the Angus installer I had to use the browse icon to navigate
to latex.exe even though ProText uses the Miktex installation.
Only our standard Miktex installation is recognized by default.

The Miktex developer stated that the Miktex full iso was going
(http://dojo.miktex.org/blogs/christian_schenk/archive/category/1005.aspx)
to be used for the Miktex in ProText released along with TL2005
on the dvd only. ProTeXt includes the trial version of WinEdt but
there is very little difference between the Protext cd and the Miktex cd.
The Protext version has a different gui for updating Miktex.


Stephen could you please test if the installer recognizes your TeXLive
distribution (when thepath to the latex.exe of TeXLive is in the PATH 
variable). Many thanks in advance.
(When you also have MiKTeX installed LyXWin will use this one instead of 
TeXLive because MiKTeX is much easier to use, especially when a 
LaTeX-package is missing and should be installed.)


regards Uwe



I got into a discussion with Jean-Pierre Chrétien
Subject: Re: TeXLive 2005, LyX and Windows xp
about the relative merits of switching to ProText from
the web install of Miktex. So I tried TexLive2005 full install first, and
it was bloated. I then tried Protext which has almost the same version
number as the Mitex cd  md-2.4.2025.iso.bz2 19-Jul-2005 14:34 340M
which worked well enough, but it comes bundled with TeXnicCenter
which is no help for a LyX user and a soso Mitex Options gui.

So after deleting Texlive2005 and ProText, I tested the Mitex iso
and that worked very well. But then I had occasion to investigate
a net install of Mitex. So I deleted the Mixtex cd install and used
the Miktex net total install choosing to store all the cabs on disk.
This also works great and seems very close in content to the full iso.

To make a long story short, I've already deleted the TeXlive2005
and am using the net installed Miktex for troubleshooting now. I
would have tested your installer and Angus earlier, but with my
limited skills, I evaluate the success of the install using Tex
Information as one criteria, which the Angus install displays. I
didn't test the Angus 1.3.7 install with the other Miktex/Protext
versions because I like to install LyX to C:\LyX, which both of
the WinLyX 1.3.6 installers do well. I do like your installer.

Also Uwe wrote: There are two versions available:

- Complete; contains all programs listed above
- Small; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: - GSview (optional)]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.

How do you print without GSview? Well, maybe printing
from postscript is an unappreciated option for most users?
Maybe because pdf is available, but postscript has text
extract that works on some pdf files when Adobe doesn't.

Regards,
Stephen




Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:


Also Uwe wrote: There are two versions available:

- Complete; contains all programs listed above
- Small; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: - GSview (optional)]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.


Does this mean that you can't print with GSview when it was installed 
using my installer? I tested this and it works for me without problems.
If Ghostscript (gswin32.exe) isn't yet installed my installer installs 
it and GSview knows then where the gswin32.exe is located. So I can't 
see your problem or need a better description.



How do you print without GSview? Well, maybe printing
from postscript is an unappreciated option for most users?


PDF is now THE printing format in most offices. But I decide to include 
it not to the Small installer because to install it you have to use 
its own installer (installing it silently directly with my installer is 
very very complicated).
So if it is not included the Small installer needn't to start external 
installers which simplifies the installations process.

But if also other users want GSview to be included I'll think about it.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:

I think the default install directory is C:\TexLive2005, I don't 
remember

any choice for changing the directory which is called TLroot
Don't know if this will help but I saw TLroot associated with the entry
for C:\TexLive2005 in
My Computer\HKEY_LOCAL_MACHINE\System\Controlset001
\Control\Session Manager\Environment
(also TEXMFTEMP , TEXMFCNF, but nothing latex.exe specific)


SH: I am a computist rather than a developer, so take this ? with a
grain of salt as I'm asking out of curiousity. I thought the TLroot
value (the default C:\TexLive2005 in this case) could be used as
a variable to check for C:\TLroot\texmf\miktex\bin where latex.exe
lives? I'm in not challenging the method you adopted, just interested.


The problem are the different available installers for TeXLive on 
Windows. I cannot assure that all registry entries are set by all 
installers. After looking at


http://www.tug.org/texlive/windows.html

I decided to use the PATH variable to check for the path to the latex.exe.
But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?
If yes my method doesn't find but anyway I'll change the code to prevent 
these kind of bugs in the future.


thanks and regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 3:51 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


Also Uwe wrote: There are two versions available:

- Complete; contains all programs listed above
- Small; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: - GSview (optional)]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.


Does this mean that you can't print with GSview when it was installed 
using my installer? I tested this and it works for me without problems.
If Ghostscript (gswin32.exe) isn't yet installed my installer installs it 
and GSview knows then where the gswin32.exe is located. So I can't see 
your problem or need a better description.




No, I wrote perhaps a muddled:

I would have tested your installer and Angus earlier, but with my limited 
skills, I evaluate the success of the install using Tex

Information as one criteria, which the Angus install displays.


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does. So testing only
the Angus installer then required adding gsview to Path Prefix.
I guess I consider that a milder shortcoming since a user can
readily fix it. I suppose it is my biased preference for using
gsview which explains its lack of objective developer prioritizing.
Both installers certainly have merit; I tested yours only twice
mainly for the ability to install to C:\Lyx as well as Progra~1.

Regards,
Stephen





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

I wrote:


But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?


I forgot to ask if

C:\TexLive2005\texmf\miktex\bin

was/is in your PATH variable when you installed TeXLive. If not what 
TeXLive stuff is in your PATH.



thanks and regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 4:18 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:

I decided to use the PATH variable to check for the path to the latex.exe.
But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?
If yes my method doesn't find but anyway I'll change the code to prevent 
these kind of bugs in the future.


thanks and regards Uwe



Oh, I did that from memory, let me see.


Directory of E:\TeXLive2005

11/07/2005  11:20 PMDIR  .
11/07/2005  11:20 PMDIR  ..
11/07/2005  05:12 AM15,017 dir.txt
11/07/2005  01:08 AM83,041 tlpm.log
11/07/2005  11:20 PMDIR  texmf-local
11/07/2005  11:20 PMDIR  temp
11/07/2005  11:20 PMDIR  setup-win32
11/15/2005  04:53 PM 0 texliv05.txt
  3 File(s) 98,058 bytes
  5 Dir(s)   1,533,841,408 bytes free

SH: I'm getting short of space on my storage partition
which is why I deleted ProText. I'm not sure, this may
be just the directory I used to install from.

I will send sh.exe as an attachment. I will rename it
sh.zip because of filters so rename it back if you use it.

Regards,
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 5:00 PM
Subject: Re: LyX Windows installer and TeXLive



I wrote:


But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?


I forgot to ask if

C:\TexLive2005\texmf\miktex\bin

was/is in your PATH variable when you installed TeXLive. If not what 
TeXLive stuff is in your PATH.



thanks and regards Uwe




I've already cleaned my Windows path statement so
can't check it to be sure. I do remember using the
browse button in the Angus installer to navigate
to the Texlive2005 subdir containing latex.exe
because the installer would not let me proceed until
it found a latex.exe I think it was the path you give.

I have Miktex/latex.exe in my windows path statement now.
But that is something I do after I finish installing LyX, not
after installing Latex, not before. I don't remember if
TexLive appended by itself to the Windows path either.

So C:\TexLive2005\texmf\miktex\bin was not in my
windows path before installing LyX. I might have put
it there afterwards before deleting it. I'm only sure
about manually inputting into the LyX installation.

I have to write out a grocery list now too,
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the find.exe from MSYS 
with my installer.

I'll upload a new version of the installer soon.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the find.exe from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



Great! I will test it. TexLive2005 is still on my E: drive,
maybe enough of it to install. Do you still want to see
if your installer works with TexLive2005? I will have
some time later this week, though not the ProTeXt.
Did you run some sort of diff or comparison utility?

Regards,
Stephen




Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Angus Leeming [EMAIL PROTECTED]
Cc: Stephen Harris [EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 10:02 AM
Subject: Re: LyX Windows installer and TeXLive



the new installer version 0.2

https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=7989

now recognizes also TeXLive.
The various TeXLive Win-installers don't write something special to the
registry so that I serach for the path to the latex.exe in the PATH
variable.



Stephen, can you find out if TeXlive has an entry in the registry so
that the Windows installer can check for its existence?



I think the default install directory is C:\TexLive2005, I don't remember
any choice for changing the directory which is called TLroot
Don't know if this will help but I saw TLroot associated with the entry
for C:\TexLive2005 in
My Computer\HKEY_LOCAL_MACHINE\System\Controlset001
\Control\Session Manager\Environment
(also TEXMFTEMP , TEXMFCNF, but nothing latex.exe specific)


SH: I am a computist rather than a developer, so take this ? with a
grain of salt as I'm asking out of curiousity. I thought the TLroot
value (the default C:\TexLive2005 in this case) could be used as
a variable to check for C:\TLroot\texmf\miktex\bin where latex.exe
lives? I'm in not challenging the method you adopted, just interested.
I think the ~\texmf\miktex\bin\*.exe is the required structure.


If a user installs protext then MiKTeX is installed as LaTeX
distribution, so no change in the code was needed.
(btw. the protext bundle is the same as my complete installer for LyX,
it also comes with all necessary programs like GSView, spellchecker etc.)



With the Angus installer I had to use the browse icon to navigate
to latex.exe even though ProText uses the Miktex installation.
Only our standard Miktex installation is recognized by default.

The Miktex developer stated that the Miktex full iso was going
(http://dojo.miktex.org/blogs/christian_schenk/archive/category/1005.aspx)
to be used for the Miktex in ProText released along with TL2005
on the dvd only. ProTeXt includes the trial version of WinEdt but
there is very little difference between the Protext cd and the Miktex cd.
The Protext version has a different gui for updating Miktex.


Stephen could you please test if the installer recognizes your TeXLive
distribution (when thepath to the latex.exe of TeXLive is in the PATH 
variable). Many thanks in advance.
(When you also have MiKTeX installed LyXWin will use this one instead of 
TeXLive because MiKTeX is much easier to use, especially when a 
LaTeX-package is missing and should be installed.)


regards Uwe



I got into a discussion with Jean-Pierre Chrétien
Subject: Re: TeXLive 2005, LyX and Windows xp
about the relative merits of switching to ProText from
the web install of Miktex. So I tried TexLive2005 full install first, and
it was bloated. I then tried Protext which has almost the same version
number as the Mitex cd  md-2.4.2025.iso.bz2 19-Jul-2005 14:34 340M
which worked well enough, but it comes bundled with TeXnicCenter
which is no help for a LyX user and a soso Mitex Options gui.

So after deleting Texlive2005 and ProText, I tested the Mitex iso
and that worked very well. But then I had occasion to investigate
a net install of Mitex. So I deleted the Mixtex cd install and used
the Miktex net total install choosing to store all the cabs on disk.
This also works great and seems very close in content to the full iso.

To make a long story short, I've already deleted the TeXlive2005
and am using the net installed Miktex for troubleshooting now. I
would have tested your installer and Angus earlier, but with my
limited skills, I evaluate the success of the install using Tex
Information as one criteria, which the Angus install displays. I
didn't test the Angus 1.3.7 install with the other Miktex/Protext
versions because I like to install LyX to C:\LyX, which both of
the WinLyX 1.3.6 installers do well. I do like your installer.

Also Uwe wrote: There are two versions available:

- Complete; contains all programs listed above
- Small; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: - GSview (optional)]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.

How do you print without GSview? Well, maybe printing
from postscript is an unappreciated option for most users?
Maybe because pdf is available, but postscript has text
extract that works on some pdf files when Adobe doesn't.

Regards,
Stephen




Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:


Also Uwe wrote: There are two versions available:

- Complete; contains all programs listed above
- Small; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: - GSview (optional)]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.


Does this mean that you can't print with GSview when it was installed 
using my installer? I tested this and it works for me without problems.
If Ghostscript (gswin32.exe) isn't yet installed my installer installs 
it and GSview knows then where the gswin32.exe is located. So I can't 
see your problem or need a better description.



How do you print without GSview? Well, maybe printing
from postscript is an unappreciated option for most users?


PDF is now THE printing format in most offices. But I decide to include 
it not to the Small installer because to install it you have to use 
its own installer (installing it silently directly with my installer is 
very very complicated).
So if it is not included the Small installer needn't to start external 
installers which simplifies the installations process.

But if also other users want GSview to be included I'll think about it.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:

I think the default install directory is C:\TexLive2005, I don't 
remember

any choice for changing the directory which is called TLroot
Don't know if this will help but I saw TLroot associated with the entry
for C:\TexLive2005 in
My Computer\HKEY_LOCAL_MACHINE\System\Controlset001
\Control\Session Manager\Environment
(also TEXMFTEMP , TEXMFCNF, but nothing latex.exe specific)


SH: I am a computist rather than a developer, so take this ? with a
grain of salt as I'm asking out of curiousity. I thought the TLroot
value (the default C:\TexLive2005 in this case) could be used as
a variable to check for C:\TLroot\texmf\miktex\bin where latex.exe
lives? I'm in not challenging the method you adopted, just interested.


The problem are the different available installers for TeXLive on 
Windows. I cannot assure that all registry entries are set by all 
installers. After looking at


http://www.tug.org/texlive/windows.html

I decided to use the PATH variable to check for the path to the latex.exe.
But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?
If yes my method doesn't find but anyway I'll change the code to prevent 
these kind of bugs in the future.


thanks and regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 3:51 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


Also Uwe wrote: There are two versions available:

- Complete; contains all programs listed above
- Small; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: - GSview (optional)]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.


Does this mean that you can't print with GSview when it was installed 
using my installer? I tested this and it works for me without problems.
If Ghostscript (gswin32.exe) isn't yet installed my installer installs it 
and GSview knows then where the gswin32.exe is located. So I can't see 
your problem or need a better description.




No, I wrote perhaps a muddled:

I would have tested your installer and Angus earlier, but with my limited 
skills, I evaluate the success of the install using Tex

Information as one criteria, which the Angus install displays.


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does. So testing only
the Angus installer then required adding gsview to Path Prefix.
I guess I consider that a milder shortcoming since a user can
readily fix it. I suppose it is my biased preference for using
gsview which explains its lack of objective developer prioritizing.
Both installers certainly have merit; I tested yours only twice
mainly for the ability to install to C:\Lyx as well as Progra~1.

Regards,
Stephen





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

I wrote:


But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?


I forgot to ask if

C:\TexLive2005\texmf\miktex\bin

was/is in your PATH variable when you installed TeXLive. If not what 
TeXLive stuff is in your PATH.



thanks and regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 4:18 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:

I decided to use the PATH variable to check for the path to the latex.exe.
But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?
If yes my method doesn't find but anyway I'll change the code to prevent 
these kind of bugs in the future.


thanks and regards Uwe



Oh, I did that from memory, let me see.


Directory of E:\TeXLive2005

11/07/2005  11:20 PMDIR  .
11/07/2005  11:20 PMDIR  ..
11/07/2005  05:12 AM15,017 dir.txt
11/07/2005  01:08 AM83,041 tlpm.log
11/07/2005  11:20 PMDIR  texmf-local
11/07/2005  11:20 PMDIR  temp
11/07/2005  11:20 PMDIR  setup-win32
11/15/2005  04:53 PM 0 texliv05.txt
  3 File(s) 98,058 bytes
  5 Dir(s)   1,533,841,408 bytes free

SH: I'm getting short of space on my storage partition
which is why I deleted ProText. I'm not sure, this may
be just the directory I used to install from.

I will send sh.exe as an attachment. I will rename it
sh.zip because of filters so rename it back if you use it.

Regards,
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 5:00 PM
Subject: Re: LyX Windows installer and TeXLive



I wrote:


But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?


I forgot to ask if

C:\TexLive2005\texmf\miktex\bin

was/is in your PATH variable when you installed TeXLive. If not what 
TeXLive stuff is in your PATH.



thanks and regards Uwe




I've already cleaned my Windows path statement so
can't check it to be sure. I do remember using the
browse button in the Angus installer to navigate
to the Texlive2005 subdir containing latex.exe
because the installer would not let me proceed until
it found a latex.exe I think it was the path you give.

I have Miktex/latex.exe in my windows path statement now.
But that is something I do after I finish installing LyX, not
after installing Latex, not before. I don't remember if
TexLive appended by itself to the Windows path either.

So C:\TexLive2005\texmf\miktex\bin was not in my
windows path before installing LyX. I might have put
it there afterwards before deleting it. I'm only sure
about manually inputting into the LyX installation.

I have to write out a grocery list now too,
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the find.exe from MSYS 
with my installer.

I'll upload a new version of the installer soon.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the find.exe from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



Great! I will test it. TexLive2005 is still on my E: drive,
maybe enough of it to install. Do you still want to see
if your installer works with TexLive2005? I will have
some time later this week, though not the ProTeXt.
Did you run some sort of diff or comparison utility?

Regards,
Stephen




Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Angus Leeming" <[EMAIL PROTECTED]>
Cc: "Stephen Harris" <[EMAIL PROTECTED]>
Sent: Tuesday, November 15, 2005 10:02 AM
Subject: Re: LyX Windows installer and TeXLive



the new installer version 0.2

https://developer.berlios.de/project/showfiles.php?group_id=5117_id=7989

now recognizes also TeXLive.
The various TeXLive Win-installers don't write something special to the
registry so that I serach for the path to the latex.exe in the PATH
variable.



Stephen, can you find out if TeXlive has an entry in the registry so
that the Windows installer can check for its existence?



I think the default install directory is C:\TexLive2005, I don't remember
any choice for changing the directory which is called "TLroot"
Don't know if this will help but I saw TLroot associated with the entry
for C:\TexLive2005 in
My Computer\HKEY_LOCAL_MACHINE\System\Controlset001
\Control\Session Manager\Environment
(also TEXMFTEMP , TEXMFCNF, but nothing latex.exe specific)


SH: I am a computist rather than a developer, so take this ? with a
grain of salt as I'm asking out of curiousity. I thought the TLroot
value (the default C:\TexLive2005 in this case) could be used as
a variable to check for C:\TLroot\texmf\miktex\bin where latex.exe
lives? I'm in not challenging the method you adopted, just interested.
I think the ~\texmf\miktex\bin\*.exe is the required structure.


If a user installs "protext" then MiKTeX is installed as LaTeX
distribution, so no change in the code was needed.
(btw. the protext bundle is the same as my "complete" installer for LyX,
it also comes with all necessary programs like GSView, spellchecker etc.)



With the Angus installer I had to use the browse icon to navigate
to latex.exe even though ProText uses the Miktex installation.
Only our "standard" Miktex installation is recognized by default.

The Miktex developer stated that the Miktex full iso was going
(http://dojo.miktex.org/blogs/christian_schenk/archive/category/1005.aspx)
to be used for the Miktex in ProText released along with TL2005
on the dvd only. ProTeXt includes the trial version of WinEdt but
there is very little difference between the Protext cd and the Miktex cd.
The Protext version has a different gui for updating Miktex.


Stephen could you please test if the installer recognizes your TeXLive
distribution (when thepath to the latex.exe of TeXLive is in the PATH 
variable). Many thanks in advance.
(When you also have MiKTeX installed LyXWin will use this one instead of 
TeXLive because MiKTeX is much easier to use, especially when a 
LaTeX-package is missing and should be installed.)


regards Uwe



I got into a discussion with Jean-Pierre Chrétien
Subject: Re: TeXLive 2005, LyX and Windows xp
about the relative merits of switching to ProText from
the web install of Miktex. So I tried TexLive2005 full install first, and
it was bloated. I then tried Protext which has almost the same version
number as the Mitex cd  md-2.4.2025.iso.bz2 19-Jul-2005 14:34 340M
which worked well enough, but it comes bundled with TeXnicCenter
which is no help for a LyX user and a soso Mitex Options gui.

So after deleting Texlive2005 and ProText, I tested the Mitex iso
and that worked very well. But then I had occasion to investigate
a net install of Mitex. So I deleted the Mixtex cd install and used
the Miktex net total install choosing to store all the cabs on disk.
This also works great and seems very close in content to the full iso.

To make a long story short, I've already deleted the TeXlive2005
and am using the net installed Miktex for troubleshooting now. I
would have tested your installer and Angus earlier, but with my
limited skills, I evaluate the success of the install using Tex
Information as one criteria, which the Angus install displays. I
didn't test the Angus 1.3.7 install with the other Miktex/Protext
versions because I like to install LyX to C:\LyX, which both of
the WinLyX 1.3.6 installers do well. I do like your installer.

Also Uwe wrote: There are two versions available:

- "Complete"; contains all programs listed above
- "Small"; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: "- GSview (optional)"]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.

How do you print without GSview? Well, maybe printing
from postscript is an unappreciated option for most users?
Maybe because pdf is available, but postscript has text
extract that works on some pdf files when Adobe doesn't.

Regards,
Stephen




Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:


Also Uwe wrote: There are two versions available:

- "Complete"; contains all programs listed above
- "Small"; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: "- GSview (optional)"]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.


Does this mean that you can't print with GSview when it was installed 
using my installer? I tested this and it works for me without problems.
If Ghostscript (gswin32.exe) isn't yet installed my installer installs 
it and GSview knows then where the gswin32.exe is located. So I can't 
see your problem or need a better description.



How do you print without GSview? Well, maybe printing
from postscript is an unappreciated option for most users?


PDF is now THE printing format in most offices. But I decide to include 
it not to the "Small" installer because to install it you have to use 
its own installer (installing it silently directly with my installer is 
very very complicated).
So if it is not included the Small installer needn't to start external 
installers which simplifies the installations process.

But if also other users want GSview to be included I'll think about it.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:

I think the default install directory is C:\TexLive2005, I don't 
remember

any choice for changing the directory which is called "TLroot"
Don't know if this will help but I saw TLroot associated with the entry
for C:\TexLive2005 in
My Computer\HKEY_LOCAL_MACHINE\System\Controlset001
\Control\Session Manager\Environment
(also TEXMFTEMP , TEXMFCNF, but nothing latex.exe specific)


SH: I am a computist rather than a developer, so take this ? with a
grain of salt as I'm asking out of curiousity. I thought the TLroot
value (the default C:\TexLive2005 in this case) could be used as
a variable to check for C:\TLroot\texmf\miktex\bin where latex.exe
lives? I'm in not challenging the method you adopted, just interested.


The problem are the different available installers for TeXLive on 
Windows. I cannot assure that all registry entries are set by all 
installers. After looking at


http://www.tug.org/texlive/windows.html

I decided to use the PATH variable to check for the path to the latex.exe.
But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?
If yes my method doesn't find but anyway I'll change the code to prevent 
these kind of bugs in the future.


thanks and regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: <lyx-users@lists.lyx.org>
Sent: Tuesday, November 15, 2005 3:51 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


Also Uwe wrote: There are two versions available:

- "Complete"; contains all programs listed above
- "Small"; doesn't contain MiKTeX and GSview
   (to reduce the download time)
[and from beta post: "- GSview (optional)"]

SH: I don't seem to be able to print when using the
Postscript viewer unless I've installed gswin32.exe
I have each time been adding it to Path Prefix and
on the overly safe side using the absolute path to
C:\ghostgum\gsview\gswin32 under File formats.


Does this mean that you can't print with GSview when it was installed 
using my installer? I tested this and it works for me without problems.
If Ghostscript (gswin32.exe) isn't yet installed my installer installs it 
and GSview knows then where the gswin32.exe is located. So I can't see 
your problem or need a better description.




No, I wrote perhaps a muddled:

I would have tested your installer and Angus earlier, but with my limited 
skills, I evaluate the success of the install using Tex

Information as one criteria, which the Angus install displays.


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does. So testing only
the Angus installer then required adding gsview to Path Prefix.
I guess I consider that a milder shortcoming since a user can
readily fix it. I suppose it is my biased preference for using
gsview which explains its lack of objective developer prioritizing.
Both installers certainly have merit; I tested yours only twice
mainly for the ability to install to C:\Lyx as well as Progra~1.

Regards,
Stephen





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

I wrote:


But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?


I forgot to ask if

C:\TexLive2005\texmf\miktex\bin

was/is in your PATH variable when you installed TeXLive. If not what 
TeXLive stuff is in your PATH.



thanks and regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: <lyx-users@lists.lyx.org>
Sent: Tuesday, November 15, 2005 4:18 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:

I decided to use the PATH variable to check for the path to the latex.exe.
But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?
If yes my method doesn't find but anyway I'll change the code to prevent 
these kind of bugs in the future.


thanks and regards Uwe



Oh, I did that from memory, let me see.


Directory of E:\TeXLive2005

11/07/2005  11:20 PM  .
11/07/2005  11:20 PM  ..
11/07/2005  05:12 AM15,017 dir.txt
11/07/2005  01:08 AM83,041 tlpm.log
11/07/2005  11:20 PM  texmf-local
11/07/2005  11:20 PM  temp
11/07/2005  11:20 PM  setup-win32
11/15/2005  04:53 PM 0 texliv05.txt
  3 File(s) 98,058 bytes
  5 Dir(s)   1,533,841,408 bytes free

SH: I'm getting short of space on my storage partition
which is why I deleted ProText. I'm not sure, this may
be just the directory I used to install from.

I will send sh.exe as an attachment. I will rename it
sh.zip because of filters so rename it back if you use it.

Regards,
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: <lyx-users@lists.lyx.org>
Sent: Tuesday, November 15, 2005 5:00 PM
Subject: Re: LyX Windows installer and TeXLive



I wrote:


But does the latex.exe really live in
C:\TexLive2005\texmf\miktex\bin
and not in
C:\TexLive2005\bin\win32
as described in the webpage from above?


I forgot to ask if

C:\TexLive2005\texmf\miktex\bin

was/is in your PATH variable when you installed TeXLive. If not what 
TeXLive stuff is in your PATH.



thanks and regards Uwe




I've already cleaned my Windows path statement so
can't check it to be sure. I do remember using the
browse button in the Angus installer to navigate
to the Texlive2005 subdir containing latex.exe
because the installer would not let me proceed until
it found a latex.exe I think it was the path you give.

I have Miktex/latex.exe in my windows path statement now.
But that is something I do after I finish installing LyX, not
after installing Latex, not before. I don't remember if
TexLive appended by itself to the Windows path either.

So C:\TexLive2005\texmf\miktex\bin was not in my
windows path before installing LyX. I might have put
it there afterwards before deleting it. I'm only sure
about manually inputting into the LyX installation.

I have to write out a grocery list now too,
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-15 Thread Uwe Stöhr

Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the "find.exe" from MSYS 
with my installer.

I'll upload a new version of the installer soon.

regards Uwe


Re: LyX Windows installer and TeXLive

2005-11-15 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: <lyx-users@lists.lyx.org>
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the "find.exe" from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



Great! I will test it. TexLive2005 is still on my E: drive,
maybe enough of it to install. Do you still want to see
if your installer works with TexLive2005? I will have
some time later this week, though not the ProTeXt.
Did you run some sort of diff or comparison utility?

Regards,
Stephen