[Top][All Lists]

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

[AUCTeX] [feature request] including more completions for `C-c C-C'

From: Patrick Drechsler
Subject: [AUCTeX] [feature request] including more completions for `C-c C-C'
Date: Thu, 02 Jun 2005 22:59:51 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)


apart from customizing AUCTeX I am wondering why basics like
dvi2ps or ps2pdf, and dvi2pdf as a combo of both, are not offered
by default after typing `C-c C-c'.

I'm aware of the fact that including something like

(defun patrick-latex-mode-hook ()
  (add-to-list 'TeX-command-list
               '("dvips" "dvips -Ppdf -G0 -sPAPERSIZE=a4 %s.dvi" 
TeX-run-command nil t)) 
  ;; ps2pdf:
  (add-to-list 'TeX-command-list
               '("ps2pdf" "ps2pdf -dAutoRotatePages=/None" 
TeX-run-command nil t))
  ;; dvi2pdf - dvips and ps2pdf in one command; only works for small stuff:
  (add-to-list 'TeX-command-list
               '("dvi2pdf" "dvips -Ppdf -G0 -sPAPERSIZE=a4 %s.dvi && ps2pdf 
-dAutoRotatePages=/None" TeX-run-command nil t))
(add-hook 'LaTeX-mode-hook 'patrick-latex-mode-hook)

solves the problem.

Just an idea for future releases.

Cheers & thanks for the great work,


Version infos:

Emacs  : GNU Emacs (i686-pc-linux-gnu, X toolkit)
 of 2005-05-31 on golem
Package: AUCTeX 11.55

current state:
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style/" "auto/"
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t

reply via email to

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