diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-04-11 16:41:13 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-04-11 16:41:13 +0200 |
commit | 2fe6f673d4564ddbf5e731f9243de75246ef87bc (patch) | |
tree | 97fe4ccf56348261f6b3588c4722508f1c6adaa0 | |
parent | 6839ce46fb8f433e3d696b6d7608825a8b5c0327 (diff) | |
download | ekdosis-2fe6f673d4564ddbf5e731f9243de75246ef87bc.tar.gz |
updated .el file
-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) |