   "Determines which TeX mode yacas-notebook should use.
 Choices are 'auctex, 'tex and nil")
 
-(defvar ynb-info-dir "")
-
 (defvar ynb-temp-dir
   "/tmp/"
   "*Directory for temporary files.

(defconst ynb-menu-process
  (list
    "Process"
    ["Start a Yacas process"   yacas-start-process 
     (not (processp yacas-process))]
    ["Run Yacas on region"  yacas-region]
    ["Run Yacas on initialization cells"  ynb-eval-init]
    ["Send string to Yacas" yacas-eval-string t]
    ["Show Yacas buffer"  ynb-show-yacas-buffer]
    ["Don't show Yacas buffer"  ynb-dont-show-yacas-buffer]
    ["Reset the Yacas process" yacas-reset t]
    ["Kill Yacas process"  yacas-kill-job (processp yacas-process)]))

(defun ynb-info-help ()
  (interactive)


\\{yacas-notebook-mode-map}
"
  (make-local-variable 'ispell-parser)
  (setq ispell-parser 'tex)
  (make-local-variable 'ispell-tex-p)
  (setq ispell-tex-p t)
  (setq yacas-use-filter t)
  (use-local-map yacas-notebook-mode-map)
  (if (eq ynb-use-tex 'auctex)
    (progn
      (require 'font-latex)
      (add-hook 'yacas-notebook-mode-hook 'font-latex-setup)))
  (ynb-menu-install-menus)
  (run-hooks 'yacas-notebook-mode-hook))

