Re: LaTeX compiling with MiKTeX?
Posted: Thu Jul 05, 2001 7:51 pm
by Ken Hinson
Here is how I setup TextPad 4 for use with MiKTeX 2.1 under Windows 2000.
After the "cut here" later in this message, copy everything to a text file
called addtex.reg. Then run the command "regedit /s addtex.reg".
This adds several items to TextPad's Tools menu for using MikTeX
and defines a LaTeX document class.
In YAP, use the following as the command for Inverse Search (in View->Options):
C:\Program Files\TextPad 4\SYSTEM\DDEOPN32.EXE TextPad %f(%l)
-----< cut here >----------
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Document Classes\LaTeX]
"Type"=dword:00000002
"Members"=hex(7):2e,00,74,00,65,00,78,00,00,00,00,00
"Properties"=hex:46,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00
"SyntaxProps"=hex:01,00,00,00
"SyntaxFile"="LaTeX.syn"
"WordChars"="_"
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools]
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\0]
"Properties"=hex:00,00,00,00,56,80,00,00,c8,09,00,00
"MenuText"="LaTeX"
"Command"="C:\texmf\miktex\bin\latex.exe"
"Parameters"="-interaction=nonstopmode -c-style -src $FileName"
"Folder"="$FileDir"
"RE"="^\([^:]+\):\([0-9]+\):"
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\1]
"Properties"=hex:00,00,00,00,57,80,00,00,c8,09,00,00
"MenuText"="AmSTeX"
"Command"="C:\texmf\miktex\bin\amstex.exe"
"Parameters"="-interaction=nonstopmode -c-style -src $FileName"
"Folder"="$FileDir"
"RE"="^\([^:]+\):\([0-9]+\):"
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\10]
"Properties"=hex:06,00,00,00,00,00,00,00,84,09,00,00
"MenuText"="-----------"
"Command"=""
"Parameters"=""
"Folder"=""
"RE"=""
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\11]
"Properties"=hex:00,00,00,00,5e,80,00,00,44,00,00,00
"MenuText"="Print PS"
"Command"="C:\Program Files\GSview\gsview\gsview32.exe"
"Parameters"="/S\"YourPrinterName\" $FileDir\$BaseName.ps"
"Folder"="$FileDir"
"RE"=""
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\2]
"Properties"=hex:00,00,00,00,58,80,00,00,c8,09,00,00
"MenuText"="TeX"
"Command"="C:\texmf\miktex\bin\tex.exe"
"Parameters"="-interaction=nonstopmode -c-style -src $FileName"
"Folder"="$FileDir"
"RE"="^\([^:]+\):\([0-9]+\):"
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\3]
"Properties"=hex:06,00,00,00,00,00,00,00,84,09,00,00
"MenuText"="-----------"
"Command"=""
"Parameters"=""
"Folder"=""
"RE"=""
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\4]
"Properties"=hex:00,00,00,00,59,80,00,00,cc,00,00,00
"MenuText"="Create PS"
"Command"="C:\texmf\miktex\bin\dvips.exe"
"Parameters"="-P pdf -o $BaseName.ps $BaseName.dvi"
"Folder"="$FileDir"
"RE"=""
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\5]
"Properties"=hex:00,00,00,00,5a,80,00,00,44,00,00,00
"MenuText"="Create PDF"
"Command"="C:\Program Files\Adobe\Acrobat 5.0\Distillr\acrodist.exe"
"Parameters"="$FileDir\$BaseName.ps"
"Folder"="$FileDir"
"RE"=""
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\6]
"Properties"=hex:06,00,00,00,00,00,00,00,84,09,00,00
"MenuText"="-----------"
"Command"=""
"Parameters"=""
"Folder"=""
"RE"=""
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\7]
"Properties"=hex:00,00,00,00,5b,80,00,00,44,00,00,00
"MenuText"="View DVI"
"Command"="C:\texmf\miktex\bin\yap.exe"
"Parameters"="-1 -s $Line$File $BaseName.dvi"
"Folder"="$FileDir"
"RE"=""
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\8]
"Properties"=hex:00,00,00,00,5d,80,00,00,44,00,00,00
"MenuText"="View PS"
"Command"="C:\Program Files\GSview\gsview\gsview32.exe"
"Parameters"="$FileDir\$BaseName.ps"
"Folder"="$FileDir"
"RE"=""
[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\9]
"Properties"=hex:00,00,00,00,5c,80,00,00,44,00,00,00
"MenuText"="View PDF"
"Command"="C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe"
"Parameters"="$FileDir\$BaseName.pdf"
"Folder"="$FileDir"
"RE"=""