summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-16 21:43:38 +0000
committerKarl Berry <karl@freefriends.org>2017-03-16 21:43:38 +0000
commit9ac331f466d2b6ffb279fe03f58c8bd5ec97825a (patch)
treeda3d81d8331f5cb9a8de4573cec334038bf9675b /Master/texmf-dist/doc
parent963f87c9830b8a8617be166bc065fbfb21223f86 (diff)
arabluatex (16mar17)
git-svn-id: svn://tug.org/texlive/trunk@43517 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.el95
-rw-r--r--Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdfbin425532 -> 452862 bytes
2 files changed, 95 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.el b/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.el
new file mode 100644
index 00000000000..5343fbbf17c
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.el
@@ -0,0 +1,95 @@
+;;; arabluatex.el --- AUCTeX style for `arabluatex.sty'
+;; This file is part of the `arabluatex' package
+
+;; ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
+;; Copyright (C) 2016--2017 Robert Alessi
+
+;; Please send error reports and suggestions for improvements to Robert
+;; Alessi <alessi@robertalessi.net>
+
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see
+;; <http://www.gnu.org/licenses/>.
+
+(defvar LaTeX-arabluatex-package-options
+ '("voc" "fullvoc" "novoc" "trans")
+ "Package options for the arabluatex package.")
+
+(defvar LaTeX-arabluatex-mode-options
+ '(;;
+ ("voc")
+ ("fullvoc")
+ ("novoc")
+ ("trans")
+ )
+ "Global or local options.")
+
+(defvar LaTeX-arabluatex-key-val-options
+ '(;;
+ ("mode" ("voc" "fullvoc" "novoc" "trans"))
+ ("width")
+ ("gutter")
+ ("metre")
+ ("delim" ("true" "false"))
+ ("utf" ("true" "false")))
+ "Key=value options for arabverse environment.")
+
+(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"
+ '("SetArbEasy" 0)
+ '("SetArbDflt" 0)
+ '("SetArbEasy*" 0)
+ '("SetArbDflt*" 0)
+ "SetTranslitFont"
+ "SetTranslitStyle"
+ "SetTranslitConvention"
+ "arbup"
+ '("ArbUpDflt" 0)
+ '("NoArbUp" 0)
+ "SetArbUp"
+ "cap"
+ "txarb"
+ '("arb" [ (TeX-arg-eval completing-read "Mode: "
+ LaTeX-arabluatex-mode-options) ]
+ t)
+ "SetHemistichDelim"
+ '("bayt" 2)
+ "abjad"
+ "arbnull"
+ "abraces"
+ "LR"
+ "RL"
+ "LRmarginpar"
+ "LRfootnote"
+ "RLfootnote"
+ "FixArbFtnmk"
+ '("setRL" 0)
+ '("setLR" 0))
+ (LaTeX-add-environments
+ '("arab" LaTeX-env-args
+ [ (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-dialect)
+
+;;; arabluatex.el ends here
diff --git a/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf b/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf
index 1155f97d9bc..7d326e7d47d 100644
--- a/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf
+++ b/Master/texmf-dist/doc/lualatex/arabluatex/arabluatex.pdf
Binary files differ