]> git.lyx.org Git - wiki-uploads.git/blob - LyX/WindowsSetup/Start_Lyx.bat
Import uploads from wiki
[wiki-uploads.git] / LyX / WindowsSetup / Start_Lyx.bat
1 REM ***********************************************************************************************\r
2 REM *** A simple start-up script for LyX (www.lyx.org), written by Frode Egeland, 30/04/04      ***\r
3 REM *** Customise this file with your own paths to Ghostscript, LyX, MiKTeX and Acrobat Reader  ***\r
4 REM *** NOTE: You will need to have installed Ghostscript for Windows, LyX for Windows, MiKTeX, ***\r
5 REM *** and a PDF viewer, like Adobe Acrobat Reader. Also note that you should start each line  ***\r
6 REM *** of the PATH commands with PATH=%PATH%;  Then add your path behind the semi-colon (";")  ***\r
7 REM *** NOTE: Paths with spaced MUST be enclosed in double-quotes, eg: "C:\some path\here"      ***\r
8 REM ***********************************************************************************************\r
9 TITLE LyX Start-up Script\r
10 \r
11 \r
12 REM This should be the path to the Ghostscript \bin and \lib folders\r
13 PATH=%PATH%;C:\gs\gs8.14\bin;C:\gs\gs8.14\lib\r
14 \r
15 \r
16 REM Put the path to the LyX \bin and \share\lyx folders here\r
17 PATH=%PATH%;C:\LyX\lyx\bin;C:\LyX\lyx\share\lyx\r
18 \r
19 \r
20 REM This needs to be the path to MiKTeX's \bin folder\r
21 PATH=%PATH%;C:\texmf\miktex\bin\r
22 \r
23 \r
24 REM Path to Acrobat Reader goes here\r
25 PATH=%PATH%;"C:\Program Files\Adobe\Acrobat 6.0\Reader"\r
26 \r
27 \r
28 REM This starts LyX in it's own window. Note that this has to be a shortcut created from the \bin\lyx.exe to the main lyx folder\r
29 start C:\lyx\lyx.exe.lnk\r