1 ;;; plfonts.el - Setup AUC TeX for editing Polish text with plfonts.sty
5 ;; `plfonts.sty' use `"' to make next character Polish.
6 ;; `plfonts.sty' <C> L. Holenderski, IIUW, lhol@mimuw.edu.pl
10 (defvar LaTeX-plfonts-mode-syntax-table
11 (copy-syntax-table LaTeX-mode-syntax-table)
12 "Syntax table used in LaTeX mode when using `plfonts.sty'.")
14 (modify-syntax-entry ?\" "w" LaTeX-plfonts-mode-syntax-table)
16 (TeX-add-style-hook "plfonts"
18 (set-syntax-table LaTeX-plfonts-mode-syntax-table)
19 (make-local-variable 'TeX-open-quote)
20 (make-local-variable 'TeX-close-quote)
21 (make-local-variable 'TeX-quote-after-quote)
22 (make-local-variable 'TeX-command-default)
23 (setq TeX-open-quote "\"<")
24 (setq TeX-close-quote "\">")
25 (setq TeX-quote-after-quote t)
26 (setq TeX-command-default "plLaTeX")
27 (run-hooks 'TeX-language-pl-hook)))
30 ;;; plfonts.el ends here