yatex-init.el 814 B

123456789101112131415161718192021222324252627
  1. ;;
  2. ;; yatex-init.el
  3. ;;
  4. ;; for Vine Linux with emacsen-common
  5. ;; Munehiro Yamamoto <munepi@vinelinux.org>
  6. (defcustom vine-default-yatex t
  7. "A boolean for vine-default-yatex"
  8. :type 'boolean)
  9. (defcustom vine-default-yahtml t
  10. "A boolean for vine-default-yahtml"
  11. :type 'boolean)
  12. (add-hook 'vine-default-setup-hook
  13. (lambda()
  14. (when vine-default-yatex
  15. (message "Loading vine-default-yatex ...")
  16. (drop-vine-default-from-load-path "/auctex");; /auctex /auctex/images;; "not /auctex$"
  17. (drop-vine-default-from-load-path "/preview-latex");; /preview-latex /preview-latex/images;; not "/preview-latex$"
  18. (require 'vine-default-yatex))
  19. (when vine-default-yahtml
  20. (message "Loading vine-default-yahtml ...")
  21. (require 'vine-default-yahtml))
  22. ))
  23. ;;; end of file