AUCTeX Sync -- New Style Files
[packages] / xemacs-packages / auctex / style / fontenc.el
1 ;;; fontenc.el --- AUCTeX style for `fontenc.sty' (v1.99g)
2
3 ;; Copyright (C) 2015 Free Software Foundation, Inc.
4
5 ;; Author: Arash Esbati <arash@gnu.org>
6 ;; Maintainer: auctex-devel@gnu.org
7 ;; Created: 2015-09-12
8 ;; Keywords: tex
9
10 ;; This file is part of AUCTeX.
11
12 ;; AUCTeX is free software; you can redistribute it and/or modify it
13 ;; under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 3, or (at your option)
15 ;; any later version.
16
17 ;; AUCTeX is distributed in the hope that it will be useful, but
18 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20 ;; General Public License for more details.
21
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with AUCTeX; see the file COPYING.  If not, write to the Free
24 ;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 ;; 02110-1301, USA.
26
27 ;;; Commentary:
28
29 ;; This file adds support for `fontenc.sty' (v1.99g) from 2005/09/27.
30 ;; `fontenc.sty' is a standard LaTeX package and part of TeXLive.
31
32 ;;; Code:
33
34 (defvar LaTeX-fontenc-package-options-list
35   '(;; 128+ glyph encodings (text)
36     "OT1" "OT2" "OT3" "OT4" "OT6"
37     ;; 256 glyph encodings (text)
38     "T1" "T2A" "T2B" "T2C" "T3" "T4" "T5"
39     ;; 256 glyph encodings (text extended)
40     "X2"
41     ;; Other encodings
42     "LY1" "LV1" "LGR")
43   "Package options for the fontenc package.")
44
45 (defun LaTeX-fontenc-package-options ()
46   "Prompt for package options for the fontenc package."
47   (mapconcat 'identity
48              (TeX-completing-read-multiple
49               "Encoding(s): "
50               LaTeX-fontenc-package-options-list) ","))
51
52 ;;; fontenc.el ends here