1 ;;; eso-pic.el --- AUCTeX style for `eso-pic.sty' (v2.0d)
3 ;; Copyright (C) 2014 Free Software Foundation, Inc.
5 ;; Author: Arash Esbati <arash@gnu.org>
6 ;; Maintainer: auctex-devel@gnu.org
10 ;; This file is part of AUCTeX.
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)
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.
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
29 ;; This file adds support for `eso-pic.sty' (v2.0d) from 2013/10/06.
30 ;; `eso-pic.sty' is part of TeXLive.
38 ;; Run style hook for eso-pic
39 (TeX-run-style-hooks "atbegshi")
45 '("AddToShipoutPictureBG" t)
46 '("AddToShipoutPictureBG*" t)
47 '("AddToShipoutPictureFG" t)
48 '("AddToShipoutPictureFG*" t)
49 '("ClearShipoutPictureBG" 0)
50 '("ClearShipoutPictureFG" 0)
53 '("AtPageUpperLeft" t)
54 '("AtPageLowerLeft" t)
56 '("AtTextUpperLeft" t)
57 '("AtTextLowerLeft" t)
59 '("AtStockUpperLeft" t)
60 '("AtStockLowerLeft" t)
66 [ "Grid unit name" ] "Grid unit" "Label factor"
67 "Grid delta" "Grid Delta" "Gap"))
69 ;; Declare expert macro
70 (TeX-declare-expert-macros
72 "gridSetup" "LenToUnit"))
75 (defvar LaTeX-eso-pic-package-options-list
76 '(("pscoord" ("true" "false"))
77 ("texcoord" ("true" "false"))
78 ("grid" ("true" "false"))
79 ("gridunit" ("mm" "in" "bp" "pt"))
82 ("subgridstyle" ("solid" "dotted"))
83 ("dvips" ("true" "false")))
84 "Package options for the eso-pic package.")
86 (defun LaTeX-eso-pic-package-options nil
87 "Prompt for package options for the eso-pic package."
88 (TeX-read-key-val t LaTeX-eso-pic-package-options-list))
90 ;;; eso-pic.el ends here