* David Scott (2006-01-13) writes:
> When I come to try and view the dvi file though XEmacs looks for
> xdvi. I need to use yap for this. Also I would like to be able to
> create a postscript file using dvips and a pdf file using dvipdfm. I
> can do these things using a command window but I would like to be able
> to do them while still in XEmacs.
The PostScript file can be created with the "File" option in the
command menu (or via `C-c C-c File RET' if you prefer keyboard
access). For dvipdfm you could define a new command for
`TeX-command-list' e.g. like this:
(eval-after-load "tex"
'(add-to-list 'TeX-command-list
'("dvipdfm" "dvipdfm %d" TeX-run-command t t) t))
It is usually better to use `add-to-list' instead of customizing
`TeX-command-list' directly because the default won't be overwritten
permanently. This may be important in case the variable's default is
changed in an update of AUCTeX.
If you are not satisfied with the behavior of the new command, have a
look at its doc string with `C-h v TeX-command-list RET' and modify
the command entry shown above according to it.
--
Ralf
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex