diff options
Diffstat (limited to 'arabluatex.el')
-rw-r--r-- | arabluatex.el | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/arabluatex.el b/arabluatex.el index c08ea86..5343fbb 100644 --- a/arabluatex.el +++ b/arabluatex.el | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | (defvar LaTeX-arabluatex-package-options | 24 | (defvar LaTeX-arabluatex-package-options |
25 | '("voc" "fullvoc" "novoc" "trans") | 25 | '("voc" "fullvoc" "novoc" "trans") |
26 | "Package options for the arabluatex package") | 26 | "Package options for the arabluatex package.") |
27 | 27 | ||
28 | (defvar LaTeX-arabluatex-mode-options | 28 | (defvar LaTeX-arabluatex-mode-options |
29 | '(;; | 29 | '(;; |
@@ -32,7 +32,7 @@ | |||
32 | ("novoc") | 32 | ("novoc") |
33 | ("trans") | 33 | ("trans") |
34 | ) | 34 | ) |
35 | "Global or local options") | 35 | "Global or local options.") |
36 | 36 | ||
37 | (defvar LaTeX-arabluatex-key-val-options | 37 | (defvar LaTeX-arabluatex-key-val-options |
38 | '(;; | 38 | '(;; |
@@ -47,6 +47,8 @@ | |||
47 | (TeX-add-style-hook | 47 | (TeX-add-style-hook |
48 | "arabluatex" | 48 | "arabluatex" |
49 | (lambda () | 49 | (lambda () |
50 | ;; This package relies on lualatex, so check for it: | ||
51 | (TeX-check-engine-add-engines 'luatex) | ||
50 | (TeX-add-symbols | 52 | (TeX-add-symbols |
51 | "aemph" | 53 | "aemph" |
52 | "SetInputScheme" | 54 | "SetInputScheme" |
@@ -63,8 +65,9 @@ | |||
63 | "SetArbUp" | 65 | "SetArbUp" |
64 | "cap" | 66 | "cap" |
65 | "txarb" | 67 | "txarb" |
66 | '("arb" [ (TeX-arg-eval completing-read "mode: " | 68 | '("arb" [ (TeX-arg-eval completing-read "Mode: " |
67 | LaTeX-arabluatex-mode-options) ] t) | 69 | LaTeX-arabluatex-mode-options) ] |
70 | t) | ||
68 | "SetHemistichDelim" | 71 | "SetHemistichDelim" |
69 | '("bayt" 2) | 72 | '("bayt" 2) |
70 | "abjad" | 73 | "abjad" |
@@ -80,12 +83,13 @@ | |||
80 | '("setLR" 0)) | 83 | '("setLR" 0)) |
81 | (LaTeX-add-environments | 84 | (LaTeX-add-environments |
82 | '("arab" LaTeX-env-args | 85 | '("arab" LaTeX-env-args |
83 | [ (TeX-arg-eval completing-read "mode: " | 86 | [ (TeX-arg-eval completing-read "Mode: " |
84 | LaTeX-arabluatex-mode-options) ] 0) | 87 | LaTeX-arabluatex-mode-options) ] |
88 | 0) | ||
85 | "txarab" | 89 | "txarab" |
86 | '("arabverse" LaTeX-env-args | 90 | '("arabverse" LaTeX-env-args |
87 | [ TeX-arg-key-val LaTeX-arabluatex-key-val-options ] 0)) | 91 | [ TeX-arg-key-val LaTeX-arabluatex-key-val-options ] 0)) |
88 | ) | 92 | ) |
89 | :latex) | 93 | LaTeX-dialect) |
90 | 94 | ||
91 | ;;; arabluatex.el ends here | 95 | ;;; arabluatex.el ends here |