Friday, July 11, 2008

Setting up WinShell and dviout with pLatex

Install pLatex using the installer at;
http://www.ms.u-tokyo.ac.jp/~abenori/mycreate/

install ghost script, ghost view and dviout

install winshell
http://www.winshell.org/modules/ws_download/

configuration in winshell
options->program calls
1. Latex
C:\pTex\bin\platex.exe
cmdline: -src-specials -interaction=nonstopmode "%s.tex"
[-src "%s.tex" worked for me]

2. bibtex
C:\pTex\bin\jbibtex.exe
cmdline: "%s"

3. dviview
C:\pTex\dviout\dviout.exe
cmdline:-1 %s.dvi "# %l '%c.tex'"

4. dvips
C:\pTex\bin\dvipsk.exe
cmdline:-D600 "%s.dvi"

set font; ms gothic size 14 script Japanese encoding sjis

set colors in syntax-colors

In dviout set the following settings;
option->set up parameters->common
src: C:\Program Files\WinShell\WinShell.exe^s-c "%s" -l %d

This will jump to the position in winsell editior when you double click on a word in the dvi file

check, options->continuous review
to stop opening dviout window everytime you run dviout from winsell.
Moreover, it will instantly show any changes that you have made to tex file when you compile it.

No comments:

Post a Comment

Continuously monitor GPU usage

 For nvidia GPUs do the follwing: nvidia-smi -l 1