diff options
Diffstat (limited to 'ekdosis.el')
-rw-r--r-- | ekdosis.el | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -34,6 +34,15 @@ | |||
34 | (TeX-read-key-val t | 34 | (TeX-read-key-val t |
35 | (append LaTeX-ekdosis-preamble-options))) | 35 | (append LaTeX-ekdosis-preamble-options))) |
36 | 36 | ||
37 | (defvar LaTeX-ekdosis-declarewitness-options | ||
38 | '(;; | ||
39 | ("settlement") | ||
40 | ("repository") | ||
41 | ("msName") | ||
42 | ("origDate") | ||
43 | ) | ||
44 | "Local options.") | ||
45 | |||
37 | (defvar LaTeX-ekdosis-app-options | 46 | (defvar LaTeX-ekdosis-app-options |
38 | '(;; | 47 | '(;; |
39 | ("type") | 48 | ("type") |
@@ -102,19 +111,22 @@ | |||
102 | ;; Folding features: | 111 | ;; Folding features: |
103 | (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) | 112 | (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) |
104 | '("{1}" ("app")) | 113 | '("{1}" ("app")) |
105 | t) | 114 | ) |
106 | (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) | 115 | (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) |
107 | '("{7}||{6}||{5}||{4}||{3}||{2}||{1}" ("lem")) | 116 | '("{7}||{6}||{5}||{4}||{3}||{2}||{1}" ("lem")) |
108 | t) | 117 | ) |
109 | (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) | 118 | (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) |
110 | '("[r]" ("rdg")) | 119 | '("[r]" ("rdg")) |
111 | t) | 120 | ) |
112 | (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) | 121 | (add-to-list (make-local-variable 'LaTeX-fold-macro-spec-list) |
113 | '("[n]" ("note")) | 122 | '("[n]" ("note")) |
114 | t) | 123 | ) |
115 | ;; This package relies on lualatex, so check for it: | 124 | ;; This package relies on lualatex, so check for it: |
116 | (TeX-check-engine-add-engines 'luatex) | 125 | (TeX-check-engine-add-engines 'luatex) |
117 | (TeX-add-symbols | 126 | (TeX-add-symbols |
127 | '("DeclareWitness" "xml:id" "rendition" "description" | ||
128 | [ (TeX-arg-key-val LaTeX-ekdosis-declarewitness-options) ] | ||
129 | 0) | ||
118 | '("app" [ (TeX-arg-key-val | 130 | '("app" [ (TeX-arg-key-val |
119 | LaTeX-ekdosis-app-options) ] | 131 | LaTeX-ekdosis-app-options) ] |
120 | t) | 132 | t) |