help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Problem with Latex / compile dvi postscript


From: Kester Clegg
Subject: Re: Problem with Latex / compile dvi postscript
Date: 03 Dec 2002 11:48:37 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> Kester Clegg <kester@cs.york.ac.uk> writes:
> 
> > I just wish C-c C-c would default to pdflatex, rather than latex!  :-)
> 
> See variable TeX-command-default.  But then the auto-detection of the
> viewing command doesn't work anymore.  Oh, well...

I can't find a TeX-command-default variable.

I think the only way to do it is to write a pdflatex mode, which just
seems silly.  I can't get the default of C-c C-c to use pdflatex rather
than latex despite playing around with every variable in there!  

It would be great to get a default of pdflatex, which could somehow send
a refresh to xpdf, but these are just idle trimmings...  I can type
pdflatex once and then use history.  :-)


 '(LaTeX-command-style (quote (("." "pdflatex
 '\\nonstopmode\\input{%t}'") ("^l" "latex"))))
 '(LaTeX-menu-max-items 30) '(LaTeX-version "pdflatex")
 '(TeX-command-list (quote (("TeX" "tex '\\nonstopmode\\input %t'"
 TeX-run-TeX nil t) ("TeX Interactive" "tex %t" TeX-run-interactive nil
 t) ("LaTeX" "%l '\\nonstopmode\\input{%t}'" TeX-run-LaTeX nil t)
 ("LaTeX Interactive" "%l %t" TeX-run-interactive nil t) ("LaTeX2e"
 "latex2e '\\nonstopmode\\input{%t}'" TeX-run-LaTeX nil t) ("View" "%v "
 TeX-run-silent t nil) ("Print" "%p %r " TeX-run-command t nil) ("Queue"
 "%q" TeX-run-background nil nil) ("File" "dvips %d -o %f "
 TeX-run-command t nil) ("BibTeX" "bibtex %s" TeX-run-BibTeX nil nil)
 ("Index" "makeindex %s" TeX-run-command nil t) ("Check" "lacheck %s"
 TeX-run-compile nil t) ("Spell" "<ignored>" TeX-run-ispell-on-document
 nil nil) ("Other" "" TeX-run-command t t) ("pdflatex" "pdflatex
 '\\nonstopmode\\input{%t}'" TeX-run-LaTeX nil t) ("Makeinfo" "makeinfo
 %t" TeX-run-compile nil t) ("Makeinfo HTML" "makeinfo --html %t"
 TeX-run-compile nil t) ("AmSTeX" "amstex '\\nonstopmode\\input %t'"
 TeX-run-TeX nil t))))
 '(TeX-default-mode (quote latex-mode))
 '(TeX-force-default-mode t)
 '(TeX-printer-default "pp23")
 '(TeX-quote-after-quote t)
 '(TeX-view-style (quote (("^a5$" "xdvi %d -paper a5") ("^landscape$"
"xdvi %d -paper a4r -s 4") ("." "xdvi %d") ("^p" "xpdf %d"))))
 '(reftex-plug-into-AUCTeX t)

(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; AUCTeX LaTeX mode

-- 
************************************************************************
Kester Clegg                            Dept. of Computer Science,
Research Assistant (UTC)                University of York, 
Tel (01904) 43 27 49                    email: kester at cs.york.ac.uk
************************************************************************


reply via email to

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