diff options
author | Karl Berry <karl@freefriends.org> | 2013-09-17 22:16:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-09-17 22:16:07 +0000 |
commit | 5d3eded8ad72ddcafd63144edcd885a7ba0b4b75 (patch) | |
tree | fef63988dc328afbe009cc54117d49f264351c2a /Master/texmf-dist/tex/lualatex/simurgh/simurgh-unibidi.sty | |
parent | ee2e061286e8dd9aaeec0f661c8ea41027660a89 (diff) |
simurgh (17sep13)
git-svn-id: svn://tug.org/texlive/trunk@31684 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/simurgh/simurgh-unibidi.sty')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/simurgh/simurgh-unibidi.sty | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/simurgh/simurgh-unibidi.sty b/Master/texmf-dist/tex/lualatex/simurgh/simurgh-unibidi.sty new file mode 100644 index 00000000000..fdab9652765 --- /dev/null +++ b/Master/texmf-dist/tex/lualatex/simurgh/simurgh-unibidi.sty @@ -0,0 +1,23 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{simurgh-unibidi}[2013/12/01 v0.01a unicode bidi] +\RequireLuaModule {simurgh-unibidi} +\simurgh@newrobustcmd*{\simurgh@unibidi@cs}[1]{\directlua {packagedata.typo_dir.#1}} +\simurgh@newrobustcmd*{\simurgh@unibidi@setdir}[1]{\simurgh@unibidi@cs{set (#1)}} +\simurgh@newrobustcmd*{\simurgh@unibidi@setmode}[1]{% scope, method, fences + \if@simurgh@csundef{simurgh@unibidi@currentmode}{% + \simurgh@newrobustcmd*{\simurgh@unibidi@currentmode}{\simurgh@unibidi@cs{getbidimode { + scope = [[#1]], + method = [[default]], + fences = [[yes]] + }}}% + }{% + \simurgh@renewrobustcmd*{\simurgh@unibidi@currentmode}{\simurgh@unibidi@cs{getbidimode { + scope = [[#1]], + method = [[default]], + fences = [[yes]] + }}}% + }% + \simurgh@unibidi@setdir{\number\simurgh@unibidi@currentmode}% +} + +\endinput
\ No newline at end of file |