aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1992-12-30 08:14:01 +0000
committerRichard M. Stallman1992-12-30 08:14:01 +0000
commit76a66e5e9fcabb8735019500e273e6205d3f3f2c (patch)
tree7f4988f55242b19016309e87ae574d00b86421e6
parent1df181b65f87f181326d5950dcecf243db8ae461 (diff)
downloademacs-76a66e5e9fcabb8735019500e273e6205d3f3f2c.tar.gz
emacs-76a66e5e9fcabb8735019500e273e6205d3f3f2c.zip
(texinfo-tex-command): Use texi2dvi.
(texinfo-texindex, texinfo-texindex-command): Commented out.
-rw-r--r--lisp/textmodes/texinfo.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 3f024908232..359d7acbc18 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -53,7 +53,7 @@
53 (define-key texinfo-mode-map "\C-c\C-t\C-l" 'tex-recenter-output-buffer) 53 (define-key texinfo-mode-map "\C-c\C-t\C-l" 'tex-recenter-output-buffer)
54 (define-key texinfo-mode-map "\C-c\C-t\C-q" 'tex-show-print-queue) 54 (define-key texinfo-mode-map "\C-c\C-t\C-q" 'tex-show-print-queue)
55 (define-key texinfo-mode-map "\C-c\C-t\C-p" 'texinfo-tex-print) 55 (define-key texinfo-mode-map "\C-c\C-t\C-p" 'texinfo-tex-print)
56 (define-key texinfo-mode-map "\C-c\C-t\C-i" 'texinfo-texindex) 56;; (define-key texinfo-mode-map "\C-c\C-t\C-i" 'texinfo-texindex)
57 (define-key texinfo-mode-map "\C-c\C-t\C-t" 'texinfo-tex-buffer) 57 (define-key texinfo-mode-map "\C-c\C-t\C-t" 'texinfo-tex-buffer)
58 (define-key texinfo-mode-map "\C-c\C-t\C-r" 'texinfo-tex-region) 58 (define-key texinfo-mode-map "\C-c\C-t\C-r" 'texinfo-tex-region)
59 59
@@ -310,11 +310,11 @@ to jump to the corresponding spot in the Texinfo file."
310 310
311;;; The tex and print function definitions: 311;;; The tex and print function definitions:
312 312
313(defvar texinfo-tex-command "tex" 313(defvar texinfo-tex-command "texi2dvi"
314 "*Command used by texinfo-tex-region to run tex on a region.") 314 "*Command used by texinfo-tex-region to run tex on a region.")
315 315
316(defvar texinfo-texindex-command "texindex" 316;;(defvar texinfo-texindex-command "texindex"
317 "*Command used by texinfo-texindex to sort unsorted index files.") 317;; "*Command used by texinfo-texindex to sort unsorted index files.")
318 318
319(defun texinfo-tex-region (beg end) 319(defun texinfo-tex-region (beg end)
320 "Run tex on the current region. 320 "Run tex on the current region.
@@ -395,15 +395,15 @@ See \\[texinfo-tex-region] for more information."
395 (interactive) 395 (interactive)
396 (texinfo-tex-region (point-min) (point-max))) 396 (texinfo-tex-region (point-min) (point-max)))
397 397
398(defun texinfo-texindex () 398;;(defun texinfo-texindex ()
399 "Run texindex on unsorted index files. 399;; "Run texindex on unsorted index files.
400The index files are made by \\[texinfo-tex-region] or \\[texinfo-tex-buffer]. 400;;The index files are made by \\[texinfo-tex-region] or \\[texinfo-tex-buffer].
401Runs the shell command defined by `texinfo-texindex-command'." 401;;Runs the shell command defined by `texinfo-texindex-command'."
402 (interactive) 402;; (interactive)
403 (send-string "tex-shell" 403;; (send-string "tex-shell"
404 (concat texinfo-texindex-command 404;; (concat texinfo-texindex-command
405 " " tex-zap-file ".??" "\n")) 405;; " " tex-zap-file ".??" "\n"))
406 (tex-recenter-output-buffer nil)) 406;; (tex-recenter-output-buffer nil))
407 407
408(defun texinfo-tex-print () 408(defun texinfo-tex-print ()
409 "Print .dvi file made by \\[texinfo-tex-region] or \\[texinfo-tex-buffer]. 409 "Print .dvi file made by \\[texinfo-tex-region] or \\[texinfo-tex-buffer].