annotate lisp/auctex/style/plhb.el @ 24:4103f0995bd7 r19-15b95

Import from CVS: tag r19-15b95
author cvs
date Mon, 13 Aug 2007 08:51:03 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
1 ;;; plhb.el - Setup AUC TeX for editing Polish text with plhb.sty
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
2
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
3 ;; $Id: plhb.el,v 1.1 1997/02/20 02:15:21 steve Exp $
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
4
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
5 ;;; Commentary:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
6 ;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
7 ;; `plhb.sty' use `"' to make next character Polish.
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
8 ;; `plhb.sty' <C> J. S. Bie\'n, IIUW, jsbien@mimuw.edu.pl
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
9
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
10 ;;; Code:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
11
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
12 (defvar LaTeX-plhb-mode-syntax-table
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
13 (copy-syntax-table LaTeX-mode-syntax-table)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
14 "Syntax table used in LaTeX mode when using `plhb.sty'.")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
15
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
16 (modify-syntax-entry ?\" "w" LaTeX-plhb-mode-syntax-table)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
17
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
18 (TeX-add-style-hook "plhb"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
19 (function (lambda ()
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
20 (set-syntax-table LaTeX-plhb-mode-syntax-table)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
21 (make-local-variable 'TeX-open-quote)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
22 (make-local-variable 'TeX-close-quote)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
23 (make-local-variable 'TeX-command-default)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
24 (make-local-variable 'TeX-quote-after-quote)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
25 (setq TeX-open-quote "\"<")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
26 (setq TeX-close-quote "\">")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
27 (setq TeX-quote-after-quote t)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
28 (setq TeX-command-default "plLaTeX")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
29 (run-hooks 'TeX-language-pl-hook))))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
30
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
31 ;;; plhb.el ends here