comparison lisp/textmodes/tex-mode.el @ 51562:65f7a99a6241

(tex-compile-commands): Handle tex-start-commands like tex-start-tex does.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 14 Jun 2003 19:56:50 +0000
parents fd5c388dd142
children 09e60f24d0c4
comparison
equal deleted inserted replaced
51561:bed114065e35 51562:65f7a99a6241
1575 "If non-nil, use RefTeX's list of files to determine what command to use." 1575 "If non-nil, use RefTeX's list of files to determine what command to use."
1576 :type 'boolean) 1576 :type 'boolean)
1577 1577
1578 (defvar tex-compile-commands 1578 (defvar tex-compile-commands
1579 '(((concat "pdf" tex-command 1579 '(((concat "pdf" tex-command
1580 " " (shell-quote-argument tex-start-commands) " %f") 1580 " " (if (< 0 (length tex-start-commands))
1581 (shell-quote-argument tex-start-commands)) " %f")
1581 t "%r.pdf") 1582 t "%r.pdf")
1582 ((concat tex-command 1583 ((concat tex-command
1583 " " (shell-quote-argument tex-start-commands) " %f") 1584 " " (if (< 0 (length tex-start-commands))
1585 (shell-quote-argument tex-start-commands)) " %f")
1584 t "%r.dvi") 1586 t "%r.dvi")
1585 ("xdvi %r &" "%r.dvi") 1587 ("xdvi %r &" "%r.dvi")
1586 ("advi %r &" "%r.dvi") 1588 ("advi %r &" "%r.dvi")
1587 ("bibtex %r" "%r.aux" "%r.bbl") 1589 ("bibtex %r" "%r.aux" "%r.bbl")
1588 ("makeindex %r" "%r.idx" "%r.ind") 1590 ("makeindex %r" "%r.idx" "%r.ind")