Richard Brown wrote:
Thanks Elias! That worked, and got me a little further on. Now I have a
completely different error message, which reads
c: The TZ environment variable is not set; please set it to yout timezone
ci aborted
I get the same error even if I go to a DOS window, and do SET TZ=BST001
for my time zone, which is UCT+1. Should I be setting this variable some
other way?
Note that setting variables in some DOS box only helps for programs started
from that dos box. In particular, it cannot help a lyx session started from
the start menu or some desktop icon.
This because any program inherit environment variables from its parent
program. (The program that starts it up.) So, the dos box trick can
only work if you proceed to run lyx from that dos box after setting TZ
there.
If that works fine (set TZ in dos box, then run lyx by typing "lyx" in
the dos box)
then all you need is to make sure TZ is set correctly for your windows GUI.
In the windows 3.1 days, the correct solution would be to set TZ in
a system file called AUTOEXEC.BAT. I don't know if that one is supported
anymore though.
Another solution is to make a lyx.bat file that looks like this:
SET TZ=<whatever you need>
lyx.exe %~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9
Then make sure that your start menu and/or lyx icon runs this lyx.bat
instead
of starting lyx directly. The batch file will then set TX for you
everytime you
run lyx.
Helge Hafting