From 20c14dfa87fc4a0d4e0791b2e625aac5404ea111 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 15 Mar 2017 10:07:28 +0100 Subject: a few modifications in the .el style file; institutional email added in the documentation --- arabluatex.el | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'arabluatex.el') diff --git a/arabluatex.el b/arabluatex.el index c08ea86..5343fbb 100644 --- a/arabluatex.el +++ b/arabluatex.el @@ -23,7 +23,7 @@ (defvar LaTeX-arabluatex-package-options '("voc" "fullvoc" "novoc" "trans") - "Package options for the arabluatex package") + "Package options for the arabluatex package.") (defvar LaTeX-arabluatex-mode-options '(;; @@ -32,7 +32,7 @@ ("novoc") ("trans") ) - "Global or local options") + "Global or local options.") (defvar LaTeX-arabluatex-key-val-options '(;; @@ -47,6 +47,8 @@ (TeX-add-style-hook "arabluatex" (lambda () + ;; This package relies on lualatex, so check for it: + (TeX-check-engine-add-engines 'luatex) (TeX-add-symbols "aemph" "SetInputScheme" @@ -63,8 +65,9 @@ "SetArbUp" "cap" "txarb" - '("arb" [ (TeX-arg-eval completing-read "mode: " - LaTeX-arabluatex-mode-options) ] t) + '("arb" [ (TeX-arg-eval completing-read "Mode: " + LaTeX-arabluatex-mode-options) ] + t) "SetHemistichDelim" '("bayt" 2) "abjad" @@ -80,12 +83,13 @@ '("setLR" 0)) (LaTeX-add-environments '("arab" LaTeX-env-args - [ (TeX-arg-eval completing-read "mode: " - LaTeX-arabluatex-mode-options) ] 0) + [ (TeX-arg-eval completing-read "Mode: " + LaTeX-arabluatex-mode-options) ] + 0) "txarab" '("arabverse" LaTeX-env-args [ TeX-arg-key-val LaTeX-arabluatex-key-val-options ] 0)) ) - :latex) + LaTeX-dialect) ;;; arabluatex.el ends here -- cgit v1.2.3