Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Uwe Stöhr

Tomasz Łuczak wrote:


  I use TeXLive2005 and path to latex.exe is in PATH variable.
  After run LyXWin137preSmall-0-6.exe appear a message:
  No LaTeX-distribution could be found!...


This is fixed now. I use this code to catch all TeXLive cases:


  ; test if TeXLive is installed
  ; as described at TeXLives' homepage there should be an entry in the PATH
  ${if} $LatexPath == 
   ReadRegStr $String HKLM SYSTEM\CurrentControlSet\Control\Session
Manager\Environment Path
   StrCpy $Search TeXLive
   Call LaTeXCheck
  ${endif}
  ; check for the current user Path variable (the case when it is a
live CD/DVD)
  ${if} $LatexPath == 
   ReadRegStr $String HKCU Environment Path
   StrCpy $Search texlive
   StrCpy $2 TeXLive
   Call LaTeXCheck
  ${endif}
  ; check if the variable TLroot exists (the case when it is installed
using the program tlpmgui)
  ${if} $LatexPath == 
   ReadRegStr $String HKLM SYSTEM\CurrentControlSet\Control\Session
Manager\Environment TLroot
   StrCpy $LatexPath $String\bin\win32
   ; check if the latex.exe exists in the $LatexPath folder
   !insertmacro FileCheck $5 latex.exe $LatexPath
   ${if} $5 == False
StrCpy $LatexPath 
   ${endif}
  ${endif}
--


Probably TL2006 will use tlpmgui for windows too.


I bought the TeX Collection 2005 and this comes with the tlpmgui
version 8.4.2.11 / 1.0 2005.10.31 as installer for win32.

I've see that you are one of the authors, so here are some annotations:

Uninstallation:

- the folders
  \setup-win32
  \win32\bin
  \texmf-local
  aren't deleted when TeXLive is uninstalled. I expected a clean
  uninstallation that simply deletes TeXLive's install directory.

- the folder
  \texmf-local isn't deleted when TeXLive live CD/DVD is unregistered.

- WinDVI is still registered as default DVI-viewer after TeXLive's
  deinstallation.

Installation:

The installation on harddisk using the scheme basic lasts more than 45
 minutes! Why that? (MiKTeX was already installed before I installed
TeXLive. Could it be that the interfer altough this shouldn't be the
case because I installed it on a different harddisk partition.

---

At last another question:
Does Windows uses the copepage Windows CP-1250 as standard/default on 
polish systems?


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Tomasz Łuczak

Uwe Stöhr wrote:

Tomasz Łuczak wrote:


  I use TeXLive2005 and path to latex.exe is in PATH variable.
  After run LyXWin137preSmall-0-6.exe appear a message:
  No LaTeX-distribution could be found!...


This is fixed now. I use this code to catch all TeXLive cases:
Thanks, it should working but still missing support for installation for 
current user, e.g.:

${if} $LatexPath == 
   ReadRegStr $String HKCU Environment TLroot
   StrCpy $LatexPath $String\bin\win32
   ; check if the latex.exe exists in the $LatexPath folder
   !insertmacro FileCheck $5 latex.exe $LatexPath
   ${if} $5 == False
StrCpy $LatexPath 
   ${endif}


I've see that you are one of the authors, so here are some annotations:
Uninstallation:
- the folders
  \setup-win32
  \win32\bin
  \texmf-local
  aren't deleted when TeXLive is uninstalled. I expected a clean
  uninstallation that simply deletes TeXLive's install directory.
In next edition of tlpmgui uninstall procedure will remove setup-win32 
directory.
The directory bin\win32 is removed during uninstallation. Probably you 
had opened this directory in explorer or any file from this directory 
was opened.



- the folder
  \texmf-local isn't deleted when TeXLive live CD/DVD is unregistered.

Yes, because it contains classes and styles added by user.
I will add checkbutton to uninstall page Remove texmf-local in next 
edition.



- WinDVI is still registered as default DVI-viewer after TeXLive's
  deinstallation.

Uninstaller contains unregister procedure. I have to check it.


The installation on harddisk using the scheme basic lasts more than 45
 minutes! Why that? (MiKTeX was already installed before I installed
TeXLive. Could it be that the interfer altough this shouldn't be the
case because I installed it on a different harddisk partition.
It is possible. CD contains only zipped packages but DVD (TeXLive ready 
to run from DVD) contains only unzipped packages.
For DVD tlpm have to copy file by file if directory contain files from 
other packages. It take a lot of time. Install from CD is significant 
shorter - tlpm only unzip packages.
Mode detail about tlpm can explain author of tlpm Paweł Jackowski 
[EMAIL PROTECTED] Source code is available too.



At last another question:
Does Windows uses the copepage Windows CP-1250 as standard/default on 
polish systems?
Generally yes, but Windows use CP1250 for GUI, CP852 for text mode, 
ISO8859-2 (Polish Standard) in Internet Explorer for display internet 
pages and internal UNICODE in M$Office or Wordpad ;-)


best regards
Tomasz
--
  Tomasz Łuczak

 TECHNODAT Sp. z o.o.tel +48 32 2382337
 ul. Kościuszki 1c   tel +48 32 3314484
 44-100 Gliwice, PL  mob +48 602 524713
 http://www.technodat.com.pl http://www.emrm.pl



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Tomasz Łuczak

Uwe Stöhr wrote:


Could you please help me to verify what is used? I attached a small 
dummy installer showing one message coded in CP-1250. Are all characters 
correctly displayed? If not could you please send me a screenshot to see 
how the message appears?

OK, all characters are correct.
for full test you should use string with all polish diacritics:
ążśźęćń󳥯ŚŹĘĆŃÓŁ
You can find in attachment file with all diacritics in CP1250. This mail 
is in UTF-8.


best regards
Tomasz
--
  Tomasz Łuczak

 TECHNODAT Sp. z o.o.tel +48 32 2382337
 ul. Kościuszki 1c   tel +48 32 3314484
 44-100 Gliwice, PL  mob +48 602 524713
 http://www.technodat.com.pl http://www.emrm.pl

¹¿œŸêæñ󳥯ŒÊÆÑÓ£


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Uwe Stöhr

Tomasz Łuczak schrieb:

 Thanks, it should working but still missing support for installation 
 for current user


I've now this code now that works for me also in this case (many thanks 
that you pointed me to this):


  ; check if the variable TLroot exists (the case when it is installed 
using the program tlpmgui)

  ${if} $LatexPath == 
   ReadRegStr $String HKLM SYSTEM\CurrentControlSet\Control\Session 
Manager\Environment TLroot

   ${if} $String == 
ReadRegStr $String HKCU Environment TLroot ; the case when 
installed without admin permissions

   ${endif}
   StrCpy $LatexPath $String\bin\win32
   ; check if the latex.exe exists in the $LatexPath folder
   !insertmacro FileCheck $5 latex.exe $LatexPath
   ${if} $5 == False
StrCpy $LatexPath 
   ${endif}
  ${endif}


OK, all characters are correct.
for full test you should use string with all polish diacritics:
ążśźęćń󳥯ŚŹĘĆŃÓŁ


Thanks, the message has ę and it should work when this is correctly 
displayed.


Just another annotation for tlpmgui:

When I press the button to display the choice box for the language 
packs, I can't focus this window. The problem is that whenever I move 
the mouse over tlpmgui's main window, this one gets the focus and the 
language window is hidden behind it. This is a bit annoying.


 The directory bin\win32 is removed during uninstallation. Probably you
 had opened this directory in explorer or any file from this directory
 was opened.

Yes it is. Sorry I meant the folder setup-win32 that isn't removed.

best regards
Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Tomasz Łuczak

Uwe Stöhr wrote:

Tomasz Łuczak schrieb:

  Thanks, it should working but still missing support for installation 
  for current user


I've now this code now that works for me also in this case (many thanks 
that you pointed me to this):

It should working now. Many thanks


OK, all characters are correct.
for full test you should use string with all polish diacritics:
ążśźęćń󳥯ŚŹĘĆŃÓŁ


Thanks, the message has ę and it should work when this is correctly 
displayed.

Probably yes. I will deep test with lyxwinistall-06 ;-)



Just another annotation for tlpmgui:

When I press the button to display the choice box for the language 
packs, I can't focus this window. The problem is that whenever I move 
the mouse over tlpmgui's main window, this one gets the focus and the 
language window is hidden behind it. This is a bit annoying.
You are right, but I hadn't enough time to polish all feature, main goal 
was correct install.



best regards
Tomasz
--
  Tomasz Łuczak

 TECHNODAT Sp. z o.o.tel +48 32 2382337
 ul. Kościuszki 1c   tel +48 32 3314484
 44-100 Gliwice, PL  mob +48 602 524713
 http://www.technodat.com.pl http://www.emrm.pl



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Uwe Stöhr

Tomasz Łuczak wrote:


 > I use TeXLive2005 and path to latex.exe is in PATH variable.
 > After run LyXWin137preSmall-0-6.exe appear a message:
 > No LaTeX-distribution could be found!...


This is fixed now. I use this code to catch all TeXLive cases:


  ; test if TeXLive is installed
  ; as described at TeXLives' homepage there should be an entry in the PATH
  ${if} $LatexPath == ""
   ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session
Manager\Environment" "Path"
   StrCpy $Search "TeXLive"
   Call LaTeXCheck
  ${endif}
  ; check for the current user Path variable (the case when it is a
live CD/DVD)
  ${if} $LatexPath == ""
   ReadRegStr $String HKCU "Environment" "Path"
   StrCpy $Search "texlive"
   StrCpy $2 "TeXLive"
   Call LaTeXCheck
  ${endif}
  ; check if the variable TLroot exists (the case when it is installed
using the program "tlpmgui")
  ${if} $LatexPath == ""
   ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session
Manager\Environment" "TLroot"
   StrCpy $LatexPath "$String\bin\win32"
   ; check if the latex.exe exists in the $LatexPath folder
   !insertmacro FileCheck $5 "latex.exe" "$LatexPath"
   ${if} $5 == "False"
StrCpy $LatexPath ""
   ${endif}
  ${endif}
--


Probably TL2006 will use tlpmgui for windows too.


I bought the "TeX Collection 2005" and this comes with the tlpmgui
version 8.4.2.11 / 1.0 2005.10.31 as installer for win32.

I've see that you are one of the authors, so here are some annotations:

Uninstallation:

- the folders
  \setup-win32
  \win32\bin
  \texmf-local
  aren't deleted when TeXLive is uninstalled. I expected a clean
  uninstallation that simply deletes TeXLive's install directory.

- the folder
  \texmf-local isn't deleted when TeXLive live CD/DVD is unregistered.

- WinDVI is still registered as default DVI-viewer after TeXLive's
  deinstallation.

Installation:

The installation on harddisk using the scheme "basic" lasts more than 45
 minutes! Why that? (MiKTeX was already installed before I installed
TeXLive. Could it be that the interfer altough this shouldn't be the
case because I installed it on a different harddisk partition.

---

At last another question:
Does Windows uses the copepage "Windows CP-1250" as standard/default on 
polish systems?


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Tomasz Łuczak

Uwe Stöhr wrote:

Tomasz Łuczak wrote:


 > I use TeXLive2005 and path to latex.exe is in PATH variable.
 > After run LyXWin137preSmall-0-6.exe appear a message:
 > No LaTeX-distribution could be found!...


This is fixed now. I use this code to catch all TeXLive cases:
Thanks, it should working but still missing support for installation for 
current user, e.g.:

${if} $LatexPath == ""
   ReadRegStr $String HKCU "Environment" "TLroot"
   StrCpy $LatexPath "$String\bin\win32"
   ; check if the latex.exe exists in the $LatexPath folder
   !insertmacro FileCheck $5 "latex.exe" "$LatexPath"
   ${if} $5 == "False"
StrCpy $LatexPath ""
   ${endif}


I've see that you are one of the authors, so here are some annotations:
Uninstallation:
- the folders
  \setup-win32
  \win32\bin
  \texmf-local
  aren't deleted when TeXLive is uninstalled. I expected a clean
  uninstallation that simply deletes TeXLive's install directory.
In next edition of tlpmgui uninstall procedure will remove setup-win32 
directory.
The directory bin\win32 is removed during uninstallation. Probably you 
had opened this directory in explorer or any file from this directory 
was opened.



- the folder
  \texmf-local isn't deleted when TeXLive live CD/DVD is unregistered.

Yes, because it contains classes and styles added by user.
I will add checkbutton to uninstall page "Remove texmf-local" in next 
edition.



- WinDVI is still registered as default DVI-viewer after TeXLive's
  deinstallation.

Uninstaller contains unregister procedure. I have to check it.


The installation on harddisk using the scheme "basic" lasts more than 45
 minutes! Why that? (MiKTeX was already installed before I installed
TeXLive. Could it be that the interfer altough this shouldn't be the
case because I installed it on a different harddisk partition.
It is possible. CD contains only zipped packages but DVD (TeXLive ready 
to run from DVD) contains only unzipped packages.
For DVD tlpm have to copy file by file if directory contain files from 
other packages. It take a lot of time. Install from CD is significant 
shorter - tlpm only unzip packages.
Mode detail about tlpm can explain author of tlpm Paweł Jackowski 
[EMAIL PROTECTED] Source code is available too.



At last another question:
Does Windows uses the copepage "Windows CP-1250" as standard/default on 
polish systems?
Generally yes, but Windows use CP1250 for GUI, CP852 for text mode, 
ISO8859-2 (Polish Standard) in Internet Explorer for display internet 
pages and internal UNICODE in M$Office or Wordpad ;-)


best regards
Tomasz
--
  Tomasz Łuczak

 TECHNODAT Sp. z o.o.tel +48 32 2382337
 ul. Kościuszki 1c   tel +48 32 3314484
 44-100 Gliwice, PL  mob +48 602 524713
 http://www.technodat.com.pl http://www.emrm.pl



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Tomasz Łuczak

Uwe Stöhr wrote:


Could you please help me to verify what is used? I attached a small 
dummy installer showing one message coded in CP-1250. Are all characters 
correctly displayed? If not could you please send me a screenshot to see 
how the message appears?

OK, all characters are correct.
for full test you should use string with all polish diacritics:
"ążśźęćń󳥯ŚŹĘĆŃÓŁ"
You can find in attachment file with all diacritics in CP1250. This mail 
is in UTF-8.


best regards
Tomasz
--
  Tomasz Łuczak

 TECHNODAT Sp. z o.o.tel +48 32 2382337
 ul. Kościuszki 1c   tel +48 32 3314484
 44-100 Gliwice, PL  mob +48 602 524713
 http://www.technodat.com.pl http://www.emrm.pl

¹¿œŸêæñ󳥯ŒÊÆÑÓ£


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Uwe Stöhr

Tomasz Łuczak schrieb:

>> Thanks, it should working but still missing support for installation 
>> for current user


I've now this code now that works for me also in this case (many thanks 
that you pointed me to this):


  ; check if the variable TLroot exists (the case when it is installed 
using the program "tlpmgui")

  ${if} $LatexPath == ""
   ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session 
Manager\Environment" "TLroot"

   ${if} $String == ""
ReadRegStr $String HKCU "Environment" "TLroot" ; the case when 
installed without admin permissions

   ${endif}
   StrCpy $LatexPath "$String\bin\win32"
   ; check if the latex.exe exists in the $LatexPath folder
   !insertmacro FileCheck $5 "latex.exe" "$LatexPath"
   ${if} $5 == "False"
StrCpy $LatexPath ""
   ${endif}
  ${endif}


OK, all characters are correct.
for full test you should use string with all polish diacritics:
"ążśźęćń󳥯ŚŹĘĆŃÓŁ"


Thanks, the message has "ę" and it should work when this is correctly 
displayed.


Just another annotation for tlpmgui:

When I press the button to display the choice box for the language 
packs, I can't focus this window. The problem is that whenever I move 
the mouse over tlpmgui's main window, this one gets the focus and the 
language window is hidden behind it. This is a bit annoying.


> The directory bin\win32 is removed during uninstallation. Probably you
> had opened this directory in explorer or any file from this directory
> was opened.

Yes it is. Sorry I meant the folder "setup-win32" that isn't removed.

best regards
Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-07 Thread Tomasz Łuczak

Uwe Stöhr wrote:

Tomasz Łuczak schrieb:

 >> Thanks, it should working but still missing support for installation 
 >> for current user


I've now this code now that works for me also in this case (many thanks 
that you pointed me to this):

It should working now. Many thanks


OK, all characters are correct.
for full test you should use string with all polish diacritics:
"ążśźęćń󳥯ŚŹĘĆŃÓŁ"


Thanks, the message has "ę" and it should work when this is correctly 
displayed.

Probably yes. I will deep test with lyxwinistall-06 ;-)



Just another annotation for tlpmgui:

When I press the button to display the choice box for the language 
packs, I can't focus this window. The problem is that whenever I move 
the mouse over tlpmgui's main window, this one gets the focus and the 
language window is hidden behind it. This is a bit annoying.
You are right, but I hadn't enough time to polish all feature, main goal 
was correct install.



best regards
Tomasz
--
  Tomasz Łuczak

 TECHNODAT Sp. z o.o.tel +48 32 2382337
 ul. Kościuszki 1c   tel +48 32 3314484
 44-100 Gliwice, PL  mob +48 602 524713
 http://www.technodat.com.pl http://www.emrm.pl



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

 I use TeXLive2005 and path to latex.exe is in PATH variable.
 After run LyXWin137preSmall-0-6.exe appear a message:
 No LaTeX-distribution could be found!...

Hmm, not good but I cannot reproduce it. My TeXLive2005 doesn't write 
things to the PATH variable. But anyway could you please send me your 
complete PATH?


Only for information: When you have problems of getting LaTeX recognized 
you can use the network version of my installer. This is designed to set 
the path to latex.exe manually.


 I see in lyx_installer-small.nsi:

 ReadRegStr $String HKLM SYSTEM\CurrentControlSet\Control\Session
 Manager\Environment Path
 StrCpy $Search TeXLive

 In my opinion this is wrong way to recognize of TeXLive distribution.

The code you mention is for TeXLive2004. For TeXLive2005 this code is used:

   ReadRegStr $String HKCU Environment Path
   StrCpy $Search texlive
   StrCpy $2 TeXLive

 TeXLive2003 had own installer, TeXLive2004 hadn't windows installer,
 but later appear native windows installer: tlpm.exe (text mode) +
 tlpmgui.exe...
 Several edition of TeXLive have different variables: TEXMF, TEXMFMAIN
 TEXMFCNF.

This is one of the reasons why I can't give support for TeXLive. The 
distribution is changed massively every year. To avoid these troubles I 
recommend to use the network version of my installer.


BUT!: As I wrote in my announcement for version 0.6 of my installer:

I tried to use TeXLive together with my LyX installer but failed.
 - TeXLive comes with its own (very old) Ghostscript version 7.07, that 
is incompatible with the version 8.x that is used in my installer. To 
avoid  this problem, install TeXLive without Ghostscript or delete the 
folder ~\etc\Ghostscript in LyX's install directory and delete its path 
in LyX preferences.
 - I found also incompatibilities in the programs dt2dv and dv2dt, that 
are used by LyX for the DVI-output. I don't know how to fix this.
 - TeXLive don't have the program epstopdf so that you have to 
redefine the EPS - PDF converter in LyX using the program ps2pdf.


These problems and possibly more implies that I don't give support that 
LyXWin works together with TeXLive.


I bought the official TeXLive2005 DVD and fiddled aroud for three days 
after I gave up to get it to work properly. I focus now on the MiKTeX 
distribution.


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Uwe Stöhr wrote:


  TeXLive2003 had own installer, TeXLive2004 hadn't windows installer,
  but later appear native windows installer: tlpm.exe (text mode) +
  tlpmgui.exe...
  Several edition of TeXLive have different variables: TEXMF, TEXMFMAIN
  TEXMFCNF.


just like with LyX, every version has its own file format :-)

This is one of the reasons why I can't give support for TeXLive. The 


there is no reason to support old TeXLive versions.


I tried to use TeXLive together with my LyX installer but failed.
 - TeXLive comes with its own (very old) Ghostscript version 7.07, that 
is incompatible with the version 8.x that is used in my installer. To 
avoid  this problem, install TeXLive without Ghostscript or delete the 
folder ~\etc\Ghostscript in LyX's install directory and delete its path 
in LyX preferences.
 - I found also incompatibilities in the programs dt2dv and dv2dt, that 
are used by LyX for the DVI-output. I don't know how to fix this.
 - TeXLive don't have the program epstopdf so that you have to 
redefine the EPS - PDF converter in LyX using the program ps2pdf.


eps2pdf is a shell script, if it is missing write a short
note to the texlive mailing list.

These problems and possibly more implies that I don't give support that 
LyXWin works together with TeXLive.


I bought the official TeXLive2005 DVD and fiddled aroud for three days 
after I gave up to get it to work properly. I focus now on the MiKTeX 
distribution.


TeXLive has proTeXt as official windows distribution, which is
the same as MiKTeX, except that it installs additionally Ghostscript,
GhostView and a GUI, if the user need one.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

Herbert Voss wrote:


there is no reason to support old TeXLive versions.


I couldn't expect that users upgrade their TeXLive every year.

 - TeXLive don't have the program epstopdf so that you have to 
redefine the EPS - PDF converter in LyX using the program ps2pdf.


eps2pdf is a shell script, if it is missing write a short
note to the texlive mailing list.


Could you do this for me please. You know more details about this than I do.


TeXLive has proTeXt as official windows distribution, which is
the same as MiKTeX, except that it installs additionally Ghostscript,
GhostView and a GUI, if the user need one.


proTeXt works fine with LyX. It is very similar to my LyXWinInstaller, 
the difference is that I ship LyX as editor, protext comes with 
TeXnicCenter and WinEdt.


thanks and regards
Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Jean-Pierre Chrétien
Uwe Stöhr [EMAIL PROTECTED] writes:
[...]
 These problems and possibly more implies that I don't give support that 
 LyXWin works together with TeXLive.
 
 I bought the official TeXLive2005 DVD and fiddled aroud for three days 
 after I gave up to get it to work properly. I focus now on the MiKTeX 
 distribution.

To come back to an earlier discussion in this list about TeXLive and
ProTeXt (aka MiKTeXLive, if I can propose this new denomination),
proTeXt-1.3 IS a MikTeX distribution with the TeXLive 2005 files
(thats's why its size is 406 Mo compressed and near 700 Mo decompressed).
IMHO, the only argumnet for  using TeXLive on Windows is the similarity of the
TDS on the various platforms (MiKTeX only knows texmf and localtexmf,
which is less powerful than the texmf, texmf-dist, texmf-var, texmf-local
structure of TeXlive).

As proTeXt offers a very complete distribution, I tend to recommend
installing it first, the run a LyX installer (ignoring the applications
which come with proTeXt like Winshell, GS, and such).
Both proTeXt and the installer may be burnt to provide a LyXWin CD,
prone to distribution to people having a low bandpass connection, 
or no connection at all.
The LyXWin CD itself can be distributed, unless there are legal issues,
as an ISO image (using jigdo e.g.)

Regards

-- 
Jean-Pierre




Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Angus Leeming

Uwe Stöhr wrote:
 - I found also incompatibilities in the programs dt2dv and dv2dt, that 
are used by LyX for the DVI-output.


Could you expand?

Angus



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Jean-Pierre Chrétien wrote:

Uwe Stöhr [EMAIL PROTECTED] writes:
[...]

These problems and possibly more implies that I don't give support that 
LyXWin works together with TeXLive.


I bought the official TeXLive2005 DVD and fiddled aroud for three days 
after I gave up to get it to work properly. I focus now on the MiKTeX 
distribution.



To come back to an earlier discussion in this list about TeXLive and
ProTeXt (aka MiKTeXLive, if I can propose this new denomination),
proTeXt-1.3 IS a MikTeX distribution with the TeXLive 2005 files
(thats's why its size is 406 Mo compressed and near 700 Mo decompressed).
IMHO, the only argumnet for  using TeXLive on Windows is the similarity of the
TDS on the various platforms (MiKTeX only knows texmf and localtexmf,
which is less powerful than the texmf, texmf-dist, texmf-var, texmf-local
structure of TeXlive).


this depends only to the way MiKTeX works. Unless no one did
a cab of any file/package it cannot be part of the texmf tree.
On the other hand it is true, that people uses about 30% of
the installed files, e.g. omega, ConTeXt, sources of tex, ...
So I would say, that MiKTeX is also powerful than a teTeX
or texlive installtion.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

Angus Leeming wrote:

 - I found also incompatibilities in the programs dt2dv and dv2dt, 
that are used by LyX for the DVI-output.


Could you expand?


TeXLive has its own dt2dv versions, I expect old ones. The are called 
when I want to generate a DVI and give me spurious error messages. I 
deleted the dv2dt files from LyX's install directory but got the same 
errors. When I replace TeXLive's dt2dv files by the ones from LyX it 
also don't work (other error messages). I currently don't have TeXLive 
installed to send you exactly the error messages.


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

Herbert Voss schrieb:


So I would say, that MiKTeX is also powerful than a teTeX
or texlive installtion.


It is. Personally I like the automatic(on the fly) installation of 
missing LaTeX-packages, so that the user isn't bothered with 
LaTeX-errors that xxx.sty is missing.
This feature is very useful for LyX because all missing packages are 
installed while LyX reconfigures.


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Angus Leeming
On Wednesday 04 January 2006 19:26, Uwe Stöhr wrote:
 Angus Leeming wrote:
   - I found also incompatibilities in the programs dt2dv and dv2dt,
  that are used by LyX for the DVI-output.
 
  Could you expand?

 TeXLive has its own dt2dv versions, I expect old ones. The are called
 when I want to generate a DVI and give me spurious error messages. I
 deleted the dv2dt files from LyX's install directory but got the same
 errors. When I replace TeXLive's dt2dv files by the ones from LyX it
 also don't work (other error messages). I currently don't have TeXLive
 installed to send you exactly the error messages.

Herbert,

do you know where I should post fixes to these files? (See attached)

Angus
diff -p -N -r -U 4 dtl/dt2dv.c dtl_orig/dt2dv.c
--- dtl/dt2dv.c	2005-07-27 11:19:58.0 +0100
+++ dtl_orig/dt2dv.c	1995-03-08 22:00:00.0 +
@@ -1,12 +1,10 @@
 /* dt2dv - convert human-readable DTL file to DVI format
  - this is intended to invert dv2dt version 0.6.0
-   - version 0.6.2 - 27 July 2005
+   - version 0.6.1 - 14:38 GMT +11  Thu 9 March 1995
- Geoffrey Tobin[EMAIL PROTECTED]
- fixes:  Michal Tomczak-Jaegermann[EMAIL PROTECTED]
  Nelson H. F. Beebe[EMAIL PROTECTED]
-	 Angus Leeming [EMAIL PROTECTED]: Enable dt2dv to handle
-	 .dvi files containing strings longer than 1024 chars.
- Reference:  The DVI Driver Standard, Level 0,
  by  The TUG DVI Driver Standards Committee.
  Appendix A, Device-Independent File Format.
 */
@@ -2224,24 +,23 @@ xfer_len_string
 #endif
 /* transfer (length and) quoted string from dtl to dvi file, */
 /* return number of bytes written to dvi file. */
 {
-  U4 k, k2, lstr_maxsize;
+  U4 k, k2;
   Lstring lstr;
 
   if (debug)
   {
 PRINT_PROGNAME;
 fprintf (stderr, (xfer_len_string) : entering xfer_len_string.\n);
   }
 
+  init_Lstring (lstr, LSIZE);
+
   /* k[n] : length of special string */
 
   k = get_unsigned (dtl);
 
-  lstr_maxsize = (k  LSIZE) ? k : LSIZE;
-  init_Lstring (lstr, lstr_maxsize);
-
   if (debug)
   {
 PRINT_PROGNAME;
 fprintf (stderr, (xfer_len_string) : string's nominal length k = );
@@ -2569,9 +2566,9 @@ fontdef
 
 #ifdef HEX_CHECKSUM
   /* c[4] : (hexadecimal) checksum : I (gt) would prefer this */
   xfer_hex (4, dtl, dvi);
-#else /*NOT HEX_CHECKSUM */
+#else /NOT HEX_CHECKSUM */
   /* c[4] : checksum (octal, for comparison with tftopl's .pl file) */
   xfer_oct (4, dtl, dvi);
 #endif
 
diff -p -N -r -U 4 dtl/dtl.doc dtl_orig/dtl.doc
--- dtl/dtl.doc	2005-06-09 11:04:29.0 +0100
+++ dtl_orig/dtl.doc	1995-03-08 17:50:00.0 +
@@ -12,17 +12,17 @@ Note:  `DTL' stands for `Device-Independ
 ASCII text representation of a DVI file.
 
 References for DVI file structure:
 --
-
+ 
 In this distribution:
 
 dvi.doc
 
 In the TeX archives:
 
 CTAN:  dviware/driv-standard/level-0/dvistd0.tex
-
+ 
 The DVI Driver Standard, Level 0,
 by  The TUG DVI Driver Standards Committee  (now defunct)
 chaired by Joachim Schrod.
 Appendix A, Device-Independent File Format,
@@ -38,9 +38,9 @@ Naturally, `variety' has no DVI equivale
 The other DTL commands correspond one-to-one with DVI commands, but I
 have used briefer names (except for `special') than those used in the
 DVI standards document.
 
-DTL  :  DVI
+DTL  :  DVI 
 
 (text)  :  series of set_char commands, for printable ASCII text
 \(   :  literal ASCII left parenthesis in (text)
 \)   :  literal ASCII right parenthesis in (text)
diff -p -N -r -U 4 dtl/dvi.doc dtl_orig/dvi.doc
--- dtl/dvi.doc	2005-06-09 11:04:36.0 +0100
+++ dtl_orig/dvi.doc	1995-03-01 03:38:00.0 +
@@ -21,9 +21,9 @@ DVI Commands
 
 Listed in the free format:
 Opcode  Symbol  Parameter[Signed? Bytes]  ...  Action.
 
-
+
 0set_char_0-  set character 0 from current font
 ...
 127  set_char_127  -  set character 127 from current font
 
diff -p -N -r -U 4 dtl/Makefile dtl_orig/Makefile
--- dtl/Makefile	2005-07-27 19:06:45.0 +0100
+++ dtl_orig/Makefile	1995-03-08 22:00:00.0 +
@@ -2,16 +2,8 @@
 # Version 0.6.1
 # Thu 9 March 1995
 # Geoffrey Tobin
 # Nelson H. F. Beebe
-#
-# Changes 27 July 2005 by Angus Leeming to enable the Makefile to
-# work out of the box on both *nix and Windows machines under
-# the MinSYS environment.
-#
-# The Makefile can also be used unaltered to build a Windows executable
-# from a Linux box if make is invoked as:
-# $ make EXEEXT='.exe' CC='i386-mingw32-gcc'
 #===
 
 BINDIR  = /usr/local/bin
 CATDIR		= $(MANDIR)/../cat$(MANEXT)
@@ -23,24 +15,12 @@ CHMOD   = /bin/chmod
 COL		= col -b
 CP  = /bin/cp
 DITROFF		= ditroff
 DITROFF		= groff
-
-# This is a GNU make extension.
-# If you're flavour of make refuses to accept it,
-# then simply hardcode 

Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Uwe Stöhr wrote:

Herbert Voss schrieb:


So I would say, that MiKTeX is also powerful than a teTeX
or texlive installtion.



It is. Personally I like the automatic(on the fly) installation of 
missing LaTeX-packages, so that the user isn't bothered with 
LaTeX-errors that xxx.sty is missing.


There is a Linux Version of the MiKTeX package manager

This feature is very useful for LyX because all missing packages are 
installed while LyX reconfigures.


no, this works as along as Christian has build a cab file of
such a package. For example: for PSTricks he did this not
for all packages. If a user uses package pst-vue3d, then it is
much more difficult for newbies to install this package by
hand. In this case it is easier with Linux! What the TeX-World
really needs is a good package manager for Linux/Windows/Mac. The
MiKTeX one is no _real_ one, because it cannot install
_all_ packages.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Angus Leeming wrote:

On Wednesday 04 January 2006 19:26, Uwe Stöhr wrote:


Angus Leeming wrote:


- I found also incompatibilities in the programs dt2dv and dv2dt,
that are used by LyX for the DVI-output.


Could you expand?


TeXLive has its own dt2dv versions, I expect old ones. The are called
when I want to generate a DVI and give me spurious error messages. I
deleted the dv2dt files from LyX's install directory but got the same
errors. When I replace TeXLive's dt2dv files by the ones from LyX it
also don't work (other error messages). I currently don't have TeXLive
installed to send you exactly the error messages.



Herbert,

do you know where I should post fixes to these files? (See attached)


as I said, there is _no real_ Windows installer on TeXLive and
the interest in this area is low. However, you can post to the
TeXLive people, maybe that one is interesting in the
Windows part.
texlive mailing list - http://tug.org/mailman/listinfo/tex-live

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Angus Leeming
Herbert Voss wrote:
 Herbert,
 
 do you know where I should post fixes to these files? (See attached)
 
 as I said, there is _no real_ Windows installer on TeXLive and
 the interest in this area is low. However, you can post to the
 TeXLive people, maybe that one is interesting in the
 Windows part.
 texlive mailing list - http://tug.org/mailman/listinfo/tex-live

Thanks. But what I really meant is: I pulled the dt2dv package off CTAN.
How do I go about getting these improvements into it?

-- 
Angus



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Angus Leeming wrote:


Thanks. But what I really meant is: I pulled the dt2dv package off CTAN.
How do I go about getting these improvements into it?


to the people listed in the header, e.g. Nelson Beebe. But I do not
know any person, who uses or needs this file ...

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

Herbert Voss wrote:

This feature is very useful for LyX because all missing packages are 
installed while LyX reconfigures.


no, this works as along as Christian has build a cab file of
such a package.


But you can build it and send it to him. I did this in the past to have 
actual versions of beamer, xcolor and pgf. Christian uploaded the files 
then within one or two days.



What the TeX-World
really needs is a good package manager for Linux/Windows/Mac. The
MiKTeX one is no _real_ one, because it cannot install
_all_ packages.


Christian is currently hard working to build MiKTeX on Linux. I don't 
know his plans about the package manager. But he's mostly interested in 
proposals. So if you have an idea how to make it better, you should 
contact him.


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Uwe Stöhr wrote:

Herbert Voss wrote:

This feature is very useful for LyX because all missing packages are 
installed while LyX reconfigures.



no, this works as along as Christian has build a cab file of
such a package.



But you can build it and send it to him. I did this in the past to have 
actual versions of beamer, xcolor and pgf. Christian uploaded the files 
then within one or two days.


you don't want to tell me, that this is an acceptable way ...
Have a look at the CPAN, then you understand what a
package manager means.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Tomasz Łuczak

Uwe Stöhr wrote:

   I use TeXLive2005 and path to latex.exe is in PATH variable.
   After run LyXWin137preSmall-0-6.exe appear a message:
   No LaTeX-distribution could be found!...

 Hmm, not good but I cannot reproduce it. My TeXLive2005 doesn't write 
things to the PATH variable. But anyway could you please send me your 
complete PATH?


My variables:
PATH=C:\Apps\Tcl\bin;C:\Apps\Perl\bin\;C:\Apps\TL2005\bin\win32;c:\apps\im;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
TLroot=C:\Apps\TL2005
TEXMFCNF=C:\TeXLive2005\texmf-var\web2c

 The code you mention is for TeXLive2004. For TeXLive2005 this code is 
used:


ReadRegStr $String HKCU Environment Path
StrCpy $Search texlive
StrCpy $2 TeXLive

It's same wrong way.
For TL2005 and TL2004 (if used tlpmgui for install) installer should 
check whether variable TLroot exist. Then path to latex.exe is 
%TLroot%\bin\win32

My proposition to recognize TL2005 (and TL2004 installed by tlpmgui):
   ReadRegStr $String HKCU Environment Path
   ReadRegStr $tlroot HKCU Environment TLroot
   StrCpy $Search $tlroot
   StrCpy $2 TeXLive
   Call LaTeXCheck

   TeXLive2003 had own installer, TeXLive2004 hadn't windows installer,
   but later appear native windows installer: tlpm.exe (text mode) +
   tlpmgui.exe...
   Several edition of TeXLive have different variables: TEXMF, TEXMFMAIN
   TEXMFCNF.

 This is one of the reasons why I can't give support for TeXLive. The

Probably TL2006 will use tlpmgui for windows too. that variable TLroot 
will available.


 distribution is changed massively every year. To avoid these troubles 
I recommend to use the network version of my installer.


Network installation working fine.

 BUT!: As I wrote in my announcement for version 0.6 of my installer:

 I tried to use TeXLive together with my LyX installer but failed.

For me network version of lyxwininstaller working without problems.
I compiled into pdf several big documents (almost 200 pages with 
pictures) without errors.


  - TeXLive comes with its own (very old) Ghostscript version 7.07, 
that is incompatible with the version 8.x that is used in my installer. 
To avoid  this problem, install TeXLive without Ghostscript or delete 
the folder ~\etc\Ghostscript in LyX's install directory and delete its 
path in LyX preferences.


Or uninstall from TL

  - I found also incompatibilities in the programs dt2dv and dv2dt, 
that are used by LyX for the DVI-output. I don't know how to fix this.


LyX 1.3.7pre6 exports to dvi simple documents without errors.

  - TeXLive don't have the program epstopdf so that you have to 
redefine the EPS - PDF converter in LyX using the program ps2pdf.


Better way is uninstall gs from TL, for avoid problems with gs.

 These problems and possibly more implies that I don't give support 
that LyXWin works together with TeXLive.


I expect only chance to use TeXLive when I install in other directory 
instead default.


 I bought the official TeXLive2005 DVD and fiddled aroud for three 
days after I gave up to get it to work properly. I focus now on the 
MiKTeX distribution.


I suggested only way to improve recognize of TeXLive, nothing more.

best regards
Tomasz
--
  Tomasz Łuczak

 TECHNODAT Sp. z o.o.tel +48 32 2382337
 ul. Kościuszki 1c   tel +48 32 3314484
 44-100 Gliwice, PL  mob +48 602 524713
 http://www.technodat.com.pl http://www.emrm.pl



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Uwe Stöhr wrote:

Herbert Voss wrote:


there is no reason to support old TeXLive versions.



I couldn't expect that users upgrade their TeXLive every year.

 - TeXLive don't have the program epstopdf so that you have to 


anwer from Staszek (texlive):

TeX Live2005 *has* epstopdf for Windows. eps2pdf has never been used in TL.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

> I use TeXLive2005 and path to latex.exe is in PATH variable.
> After run LyXWin137preSmall-0-6.exe appear a message:
> No LaTeX-distribution could be found!...

Hmm, not good but I cannot reproduce it. My TeXLive2005 doesn't write 
things to the PATH variable. But anyway could you please send me your 
complete PATH?


Only for information: When you have problems of getting LaTeX recognized 
you can use the network version of my installer. This is designed to set 
the path to "latex.exe" manually.


> I see in lyx_installer-small.nsi:
>
> ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session
> Manager\Environment" "Path"
> StrCpy $Search "TeXLive"

> In my opinion this is wrong way to recognize of TeXLive distribution.

The code you mention is for TeXLive2004. For TeXLive2005 this code is used:

   ReadRegStr $String HKCU "Environment" "Path"
   StrCpy $Search "texlive"
   StrCpy $2 "TeXLive"

> TeXLive2003 had own installer, TeXLive2004 hadn't windows installer,
> but later appear native windows installer: tlpm.exe (text mode) +
> tlpmgui.exe...
> Several edition of TeXLive have different variables: TEXMF, TEXMFMAIN
> TEXMFCNF.

This is one of the reasons why I can't give support for TeXLive. The 
distribution is changed massively every year. To avoid these troubles I 
recommend to use the network version of my installer.


BUT!: As I wrote in my announcement for version 0.6 of my installer:

I tried to use TeXLive together with my LyX installer but failed.
 - TeXLive comes with its own (very old) Ghostscript version 7.07, that 
is incompatible with the version 8.x that is used in my installer. To 
avoid  this problem, install TeXLive without Ghostscript or delete the 
folder ~\etc\Ghostscript in LyX's install directory and delete its path 
in LyX preferences.
 - I found also incompatibilities in the programs dt2dv and dv2dt, that 
are used by LyX for the DVI-output. I don't know how to fix this.
 - TeXLive don't have the program "epstopdf" so that you have to 
redefine the EPS -> PDF converter in LyX using the program "ps2pdf".


These problems and possibly more implies that I don't give support that 
LyXWin works together with TeXLive.


I bought the official TeXLive2005 DVD and fiddled aroud for three days 
after I gave up to get it to work properly. I focus now on the MiKTeX 
distribution.


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Uwe Stöhr wrote:


 > TeXLive2003 had own installer, TeXLive2004 hadn't windows installer,
 > but later appear native windows installer: tlpm.exe (text mode) +
 > tlpmgui.exe...
 > Several edition of TeXLive have different variables: TEXMF, TEXMFMAIN
 > TEXMFCNF.


just like with LyX, every version has its own file format :-)

This is one of the reasons why I can't give support for TeXLive. The 


there is no reason to support old TeXLive versions.


I tried to use TeXLive together with my LyX installer but failed.
 - TeXLive comes with its own (very old) Ghostscript version 7.07, that 
is incompatible with the version 8.x that is used in my installer. To 
avoid  this problem, install TeXLive without Ghostscript or delete the 
folder ~\etc\Ghostscript in LyX's install directory and delete its path 
in LyX preferences.
 - I found also incompatibilities in the programs dt2dv and dv2dt, that 
are used by LyX for the DVI-output. I don't know how to fix this.
 - TeXLive don't have the program "epstopdf" so that you have to 
redefine the EPS -> PDF converter in LyX using the program "ps2pdf".


eps2pdf is a shell script, if it is missing write a short
note to the texlive mailing list.

These problems and possibly more implies that I don't give support that 
LyXWin works together with TeXLive.


I bought the official TeXLive2005 DVD and fiddled aroud for three days 
after I gave up to get it to work properly. I focus now on the MiKTeX 
distribution.


TeXLive has proTeXt as "official" windows distribution, which is
the same as MiKTeX, except that it installs additionally Ghostscript,
GhostView and a GUI, if the user need one.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

Herbert Voss wrote:


there is no reason to support old TeXLive versions.


I couldn't expect that users upgrade their TeXLive every year.

 - TeXLive don't have the program "epstopdf" so that you have to 
redefine the EPS -> PDF converter in LyX using the program "ps2pdf".


eps2pdf is a shell script, if it is missing write a short
note to the texlive mailing list.


Could you do this for me please. You know more details about this than I do.


TeXLive has proTeXt as "official" windows distribution, which is
the same as MiKTeX, except that it installs additionally Ghostscript,
GhostView and a GUI, if the user need one.


proTeXt works fine with LyX. It is very similar to my LyXWinInstaller, 
the difference is that I ship LyX as editor, protext comes with 
TeXnicCenter and WinEdt.


thanks and regards
Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Jean-Pierre Chrétien
Uwe Stöhr <[EMAIL PROTECTED]> writes:
[...]
> These problems and possibly more implies that I don't give support that 
> LyXWin works together with TeXLive.
> 
> I bought the official TeXLive2005 DVD and fiddled aroud for three days 
> after I gave up to get it to work properly. I focus now on the MiKTeX 
> distribution.

To come back to an earlier discussion in this list about TeXLive and
ProTeXt (aka MiKTeXLive, if I can propose this new denomination),
proTeXt-1.3 IS a MikTeX distribution with the TeXLive 2005 files
(thats's why its size is 406 Mo compressed and near 700 Mo decompressed).
IMHO, the only argumnet for  using TeXLive on Windows is the similarity of the
TDS on the various platforms (MiKTeX only knows texmf and localtexmf,
which is less powerful than the texmf, texmf-dist, texmf-var, texmf-local
structure of TeXlive).

As proTeXt offers a very complete distribution, I tend to recommend
installing it first, the run a LyX installer (ignoring the applications
which come with proTeXt like Winshell, GS, and such).
Both proTeXt and the installer may be burnt to provide a LyXWin CD,
prone to distribution to people having a low bandpass connection, 
or no connection at all.
The LyXWin CD itself can be distributed, unless there are legal issues,
as an ISO image (using jigdo e.g.)

Regards

-- 
Jean-Pierre




Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Angus Leeming

Uwe Stöhr wrote:
 - I found also incompatibilities in the programs dt2dv and dv2dt, that 
are used by LyX for the DVI-output.


Could you expand?

Angus



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Jean-Pierre Chrétien wrote:

Uwe Stöhr <[EMAIL PROTECTED]> writes:
[...]

These problems and possibly more implies that I don't give support that 
LyXWin works together with TeXLive.


I bought the official TeXLive2005 DVD and fiddled aroud for three days 
after I gave up to get it to work properly. I focus now on the MiKTeX 
distribution.



To come back to an earlier discussion in this list about TeXLive and
ProTeXt (aka MiKTeXLive, if I can propose this new denomination),
proTeXt-1.3 IS a MikTeX distribution with the TeXLive 2005 files
(thats's why its size is 406 Mo compressed and near 700 Mo decompressed).
IMHO, the only argumnet for  using TeXLive on Windows is the similarity of the
TDS on the various platforms (MiKTeX only knows texmf and localtexmf,
which is less powerful than the texmf, texmf-dist, texmf-var, texmf-local
structure of TeXlive).


this depends only to the way MiKTeX works. Unless no one did
a cab of any file/package it cannot be part of the texmf tree.
On the other hand it is true, that people uses about 30% of
the installed files, e.g. omega, ConTeXt, sources of tex, ...
So I would say, that MiKTeX is also powerful than a teTeX
or texlive installtion.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

Angus Leeming wrote:

 - I found also incompatibilities in the programs dt2dv and dv2dt, 
that are used by LyX for the DVI-output.


Could you expand?


TeXLive has its own dt2dv versions, I expect old ones. The are called 
when I want to generate a DVI and give me spurious error messages. I 
deleted the dv2dt files from LyX's install directory but got the same 
errors. When I replace TeXLive's dt2dv files by the ones from LyX it 
also don't work (other error messages). I currently don't have TeXLive 
installed to send you exactly the error messages.


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

Herbert Voss schrieb:


So I would say, that MiKTeX is also powerful than a teTeX
or texlive installtion.


It is. Personally I like the automatic(on the fly) installation of 
missing LaTeX-packages, so that the user isn't bothered with 
LaTeX-errors that xxx.sty is missing.
This feature is very useful for LyX because all missing packages are 
installed while LyX reconfigures.


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Angus Leeming
On Wednesday 04 January 2006 19:26, Uwe Stöhr wrote:
> Angus Leeming wrote:
> >>  - I found also incompatibilities in the programs dt2dv and dv2dt,
> >> that are used by LyX for the DVI-output.
> >
> > Could you expand?
>
> TeXLive has its own dt2dv versions, I expect old ones. The are called
> when I want to generate a DVI and give me spurious error messages. I
> deleted the dv2dt files from LyX's install directory but got the same
> errors. When I replace TeXLive's dt2dv files by the ones from LyX it
> also don't work (other error messages). I currently don't have TeXLive
> installed to send you exactly the error messages.

Herbert,

do you know where I should post fixes to these files? (See attached)

Angus
diff -p -N -r -U 4 dtl/dt2dv.c dtl_orig/dt2dv.c
--- dtl/dt2dv.c	2005-07-27 11:19:58.0 +0100
+++ dtl_orig/dt2dv.c	1995-03-08 22:00:00.0 +
@@ -1,12 +1,10 @@
 /* dt2dv - convert human-readable "DTL" file to DVI format
  - this is intended to invert dv2dt version 0.6.0
-   - version 0.6.2 - 27 July 2005
+   - version 0.6.1 - 14:38 GMT +11  Thu 9 March 1995
- Geoffrey Tobin[EMAIL PROTECTED]
- fixes:  Michal Tomczak-Jaegermann[EMAIL PROTECTED]
  Nelson H. F. Beebe[EMAIL PROTECTED]
-	 Angus Leeming [EMAIL PROTECTED]: Enable dt2dv to handle
-	 .dvi files containing strings longer than 1024 chars.
- Reference:  "The DVI Driver Standard, Level 0",
  by  The TUG DVI Driver Standards Committee.
  Appendix A, "Device-Independent File Format".
 */
@@ -2224,24 +,23 @@ xfer_len_string
 #endif
 /* transfer (length and) quoted string from dtl to dvi file, */
 /* return number of bytes written to dvi file. */
 {
-  U4 k, k2, lstr_maxsize;
+  U4 k, k2;
   Lstring lstr;
 
   if (debug)
   {
 PRINT_PROGNAME;
 fprintf (stderr, "(xfer_len_string) : entering xfer_len_string.\n");
   }
 
+  init_Lstring (, LSIZE);
+
   /* k[n] : length of special string */
 
   k = get_unsigned (dtl);
 
-  lstr_maxsize = (k > LSIZE) ? k : LSIZE;
-  init_Lstring (, lstr_maxsize);
-
   if (debug)
   {
 PRINT_PROGNAME;
 fprintf (stderr, "(xfer_len_string) : string's nominal length k = ");
@@ -2569,9 +2566,9 @@ fontdef
 
 #ifdef HEX_CHECKSUM
   /* c[4] : (hexadecimal) checksum : I (gt) would prefer this */
   xfer_hex (4, dtl, dvi);
-#else /*NOT HEX_CHECKSUM */
+#else /NOT HEX_CHECKSUM */
   /* c[4] : checksum (octal, for comparison with tftopl's .pl file) */
   xfer_oct (4, dtl, dvi);
 #endif
 
diff -p -N -r -U 4 dtl/dtl.doc dtl_orig/dtl.doc
--- dtl/dtl.doc	2005-06-09 11:04:29.0 +0100
+++ dtl_orig/dtl.doc	1995-03-08 17:50:00.0 +
@@ -12,17 +12,17 @@ Note:  `DTL' stands for `Device-Independ
 ASCII text representation of a DVI file.
 
 References for DVI file structure:
 --
-
+ 
 In this distribution:
 
 dvi.doc
 
 In the TeX archives:
 
 CTAN:  dviware/driv-standard/level-0/dvistd0.tex
-
+ 
 "The DVI Driver Standard, Level 0",
 by  The TUG DVI Driver Standards Committee  (now defunct)
 chaired by Joachim Schrod.
 Appendix A, "Device-Independent File Format",
@@ -38,9 +38,9 @@ Naturally, `variety' has no DVI equivale
 The other DTL commands correspond one-to-one with DVI commands, but I
 have used briefer names (except for `special') than those used in the
 DVI standards document.
 
-DTL  :  DVI
+DTL  :  DVI 
 
 (text)  :  series of set_char commands, for printable ASCII text
 \(   :  literal ASCII left parenthesis in (text)
 \)   :  literal ASCII right parenthesis in (text)
diff -p -N -r -U 4 dtl/dvi.doc dtl_orig/dvi.doc
--- dtl/dvi.doc	2005-06-09 11:04:36.0 +0100
+++ dtl_orig/dvi.doc	1995-03-01 03:38:00.0 +
@@ -21,9 +21,9 @@ DVI Commands
 
 Listed in the free format:
 "Opcode  Symbol  Parameter[Signed? Bytes]  ...  Action".
 
-
+
 0set_char_0-  set character 0 from current font
 ...
 127  set_char_127  -  set character 127 from current font
 
diff -p -N -r -U 4 dtl/Makefile dtl_orig/Makefile
--- dtl/Makefile	2005-07-27 19:06:45.0 +0100
+++ dtl_orig/Makefile	1995-03-08 22:00:00.0 +
@@ -2,16 +2,8 @@
 # Version 0.6.1
 # Thu 9 March 1995
 # Geoffrey Tobin
 # Nelson H. F. Beebe
-#
-# Changes 27 July 2005 by Angus Leeming to enable the Makefile to
-# work out of the box on both *nix and Windows machines under
-# the MinSYS environment.
-#
-# The Makefile can also be used unaltered to build a Windows executable
-# from a Linux box if make is invoked as:
-# $ make EXEEXT='.exe' CC='i386-mingw32-gcc'
 #===
 
 BINDIR  = /usr/local/bin
 CATDIR		= $(MANDIR)/../cat$(MANEXT)
@@ -23,24 +15,12 @@ CHMOD   = /bin/chmod
 COL		= col -b
 CP  = /bin/cp
 DITROFF		= ditroff
 DITROFF		= groff
-
-# This is a GNU make extension.
-# If you're flavour of make refuses to accept it,

Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Uwe Stöhr wrote:

Herbert Voss schrieb:


So I would say, that MiKTeX is also powerful than a teTeX
or texlive installtion.



It is. Personally I like the automatic(on the fly) installation of 
missing LaTeX-packages, so that the user isn't bothered with 
LaTeX-errors that xxx.sty is missing.


There is a Linux Version of the MiKTeX package manager

This feature is very useful for LyX because all missing packages are 
installed while LyX reconfigures.


no, this works as along as Christian has build a cab file of
such a package. For example: for PSTricks he did this not
for all packages. If a user uses package pst-vue3d, then it is
much more difficult for newbies to install this package by
hand. In this case it is easier with Linux! What the TeX-World
really needs is a good package manager for Linux/Windows/Mac. The
MiKTeX one is no _real_ one, because it cannot install
_all_ packages.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Angus Leeming wrote:

On Wednesday 04 January 2006 19:26, Uwe Stöhr wrote:


Angus Leeming wrote:


- I found also incompatibilities in the programs dt2dv and dv2dt,
that are used by LyX for the DVI-output.


Could you expand?


TeXLive has its own dt2dv versions, I expect old ones. The are called
when I want to generate a DVI and give me spurious error messages. I
deleted the dv2dt files from LyX's install directory but got the same
errors. When I replace TeXLive's dt2dv files by the ones from LyX it
also don't work (other error messages). I currently don't have TeXLive
installed to send you exactly the error messages.



Herbert,

do you know where I should post fixes to these files? (See attached)


as I said, there is _no real_ Windows installer on TeXLive and
the interest in this area is low. However, you can post to the
TeXLive people, maybe that one is interesting in the
Windows part.
texlive mailing list -> http://tug.org/mailman/listinfo/tex-live

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Angus Leeming
Herbert Voss wrote:
>> Herbert,
>> 
>> do you know where I should post fixes to these files? (See attached)
> 
> as I said, there is _no real_ Windows installer on TeXLive and
> the interest in this area is low. However, you can post to the
> TeXLive people, maybe that one is interesting in the
> Windows part.
> texlive mailing list -> http://tug.org/mailman/listinfo/tex-live

Thanks. But what I really meant is: I pulled the dt2dv package off CTAN.
How do I go about getting these improvements into it?

-- 
Angus



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Angus Leeming wrote:


Thanks. But what I really meant is: I pulled the dt2dv package off CTAN.
How do I go about getting these improvements into it?


to the people listed in the header, e.g. Nelson Beebe. But I do not
know any person, who uses or needs this file ...

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Uwe Stöhr

Herbert Voss wrote:

This feature is very useful for LyX because all missing packages are 
installed while LyX reconfigures.


no, this works as along as Christian has build a cab file of
such a package.


But you can build it and send it to him. I did this in the past to have 
actual versions of beamer, xcolor and pgf. Christian uploaded the files 
then within one or two days.



What the TeX-World
really needs is a good package manager for Linux/Windows/Mac. The
MiKTeX one is no _real_ one, because it cannot install
_all_ packages.


Christian is currently hard working to build MiKTeX on Linux. I don't 
know his plans about the package manager. But he's mostly interested in 
proposals. So if you have an idea how to make it better, you should 
contact him.


regards Uwe


Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Uwe Stöhr wrote:

Herbert Voss wrote:

This feature is very useful for LyX because all missing packages are 
installed while LyX reconfigures.



no, this works as along as Christian has build a cab file of
such a package.



But you can build it and send it to him. I did this in the past to have 
actual versions of beamer, xcolor and pgf. Christian uploaded the files 
then within one or two days.


you don't want to tell me, that this is an acceptable way ...
Have a look at the CPAN, then you understand what a
package manager means.

Herbert



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Tomasz Łuczak

Uwe Stöhr wrote:

>  > I use TeXLive2005 and path to latex.exe is in PATH variable.
>  > After run LyXWin137preSmall-0-6.exe appear a message:
>  > No LaTeX-distribution could be found!...
>
> Hmm, not good but I cannot reproduce it. My TeXLive2005 doesn't write 
things to the PATH variable. But anyway could you please send me your 
complete PATH?


My variables:
PATH=C:\Apps\Tcl\bin;C:\Apps\Perl\bin\;C:\Apps\TL2005\bin\win32;c:\apps\im;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
TLroot=C:\Apps\TL2005
TEXMFCNF=C:\TeXLive2005\texmf-var\web2c

> The code you mention is for TeXLive2004. For TeXLive2005 this code is 
used:

>
>ReadRegStr $String HKCU "Environment" "Path"
>StrCpy $Search "texlive"
>StrCpy $2 "TeXLive"

It's same wrong way.
For TL2005 and TL2004 (if used tlpmgui for install) installer should 
check whether variable TLroot exist. Then path to latex.exe is 
%TLroot%\bin\win32

My proposition to recognize TL2005 (and TL2004 installed by tlpmgui):
   ReadRegStr $String HKCU "Environment" "Path"
   ReadRegStr $tlroot HKCU "Environment" "TLroot"
   StrCpy $Search $tlroot
   StrCpy $2 "TeXLive"
   Call LaTeXCheck

>  > TeXLive2003 had own installer, TeXLive2004 hadn't windows installer,
>  > but later appear native windows installer: tlpm.exe (text mode) +
>  > tlpmgui.exe...
>  > Several edition of TeXLive have different variables: TEXMF, TEXMFMAIN
>  > TEXMFCNF.
>
> This is one of the reasons why I can't give support for TeXLive. The

Probably TL2006 will use tlpmgui for windows too. that variable TLroot 
will available.


> distribution is changed massively every year. To avoid these troubles 
I recommend to use the network version of my installer.


Network installation working fine.

> BUT!: As I wrote in my announcement for version 0.6 of my installer:
>
> I tried to use TeXLive together with my LyX installer but failed.

For me network version of lyxwininstaller working without problems.
I compiled into pdf several big documents (almost 200 pages with 
pictures) without errors.


>  - TeXLive comes with its own (very old) Ghostscript version 7.07, 
that is incompatible with the version 8.x that is used in my installer. 
To avoid  this problem, install TeXLive without Ghostscript or delete 
the folder ~\etc\Ghostscript in LyX's install directory and delete its 
path in LyX preferences.


Or uninstall from TL

>  - I found also incompatibilities in the programs dt2dv and dv2dt, 
that are used by LyX for the DVI-output. I don't know how to fix this.


LyX 1.3.7pre6 exports to dvi simple documents without errors.

>  - TeXLive don't have the program "epstopdf" so that you have to 
redefine the EPS -> PDF converter in LyX using the program "ps2pdf".


Better way is uninstall gs from TL, for avoid problems with gs.

> These problems and possibly more implies that I don't give support 
that LyXWin works together with TeXLive.


I expect only chance to use TeXLive when I install in other directory 
instead default.


> I bought the official TeXLive2005 DVD and fiddled aroud for three 
days after I gave up to get it to work properly. I focus now on the 
MiKTeX distribution.


I suggested only way to improve recognize of TeXLive, nothing more.

best regards
Tomasz
--
  Tomasz Łuczak

 TECHNODAT Sp. z o.o.tel +48 32 2382337
 ul. Kościuszki 1c   tel +48 32 3314484
 44-100 Gliwice, PL  mob +48 602 524713
 http://www.technodat.com.pl http://www.emrm.pl



Re: LyXWin137preSmall-0-6.exe and TeXLive2005

2006-01-04 Thread Herbert Voss

Uwe Stöhr wrote:

Herbert Voss wrote:


there is no reason to support old TeXLive versions.



I couldn't expect that users upgrade their TeXLive every year.

 - TeXLive don't have the program "epstopdf" so that you have to 


anwer from Staszek (texlive):

TeX Live2005 *has* epstopdf for Windows. eps2pdf has never been used in TL.

Herbert