1. Configure SW (User Setup-Files) to open LaTeX files and save files as "Portable LaTeX."
2. Configure SW to use MiKTeX for compiling the TeX code and showing the dvi file. Go to Typeset-Expert Settings-DVI Format Settings and change to MiKTeX (set path to D:/miktex/miktex/bin/texify.exe or wherever texify.exe is found), with %x --max-iterations=1 %f as command line. Tick the box "Run in new command console." Leave "Tex format file" blank. Then, change Previewer to Yap (set path to D:/miktex/miktex/bin/yap.exe), with %x --single-instance %f as command line. Use by clicking Typeset-Preview.
3. Configure SW to use MiKTeX for creating pdf files. Go to Typeset-Expert Settings-PDF Format Settings and change to pdftex. Do as for the DVI format settings, except that the command line should be %x -p "%f". This will create the pdf file, but not display it, so you need to open it manually. Unfortunately, it is not easy (but possible) to get SW to both create and show the pdf file, so this is a second-best solution. (The best solution is make SW call on a cmd file instead, which will both create and show the pdf file.)
4. SW tends to insert its own tcilatex macros in case you have not included the \usepackage{} that your code needs (...or Scientific Word thinks that it needs). If so, the file cannot be processed by MiKTeX. To avoid this, create your tex file from inside Scientific Workplace (File-New). Then, use File-Import Contents to edit material from non-SW tex files.
5. The best way to print is through the dvi previewer (Yap) or Acrobat.
|