Commit 3654a351 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(texinfo-tex-buffer): Bind

tex-start-options-string to empty string.
(texinfo-tex-region): Use texinfo-tex-trailer as documented.
parent 2602d1ea
......@@ -814,14 +814,17 @@ The value of `texinfo-tex-trailer' is appended to the temporary file after the r
(interactive "r")
(require 'tex-mode)
(let ((tex-command texinfo-tex-command)
(tex-trailer "@bye\n"))
(tex-trailer texinfo-tex-trailer))
(tex-region beg end)))
(defun texinfo-tex-buffer ()
"Run TeX on visited file, once or twice, to make a correct `.dvi' file."
(interactive)
(require 'tex-mode)
(let ((tex-command texinfo-texi2dvi-command))
(let ((tex-command texinfo-texi2dvi-command)
;; Disable tex-start-options-string. texi2dvi would not
;; understand anything specified here.
(tex-start-options-string ""))
(tex-buffer)))
(defun texinfo-texindex ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment