auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Creating ps and pdf files


From: Ralf Angeli
Subject: Re: [AUCTeX] Creating ps and pdf files
Date: Fri, 13 Jan 2006 12:57:43 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]