summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-27 23:01:08 +0000
committerKarl Berry <karl@freefriends.org>2019-08-27 23:01:08 +0000
commit6596de0d2305161238d295f7104ee02955639976 (patch)
tree12ec0b5a1eda06b0aee6cfd092212988d8c679ce /Master
parenta7c65972c1ce4bc28a5aea3a11cf1692b0261095 (diff)
luabidi (28aug19)
git-svn-id: svn://tug.org/texlive/trunk@51969 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/lualatex/luabidi/LICENCE.md6
-rw-r--r--Master/texmf-dist/doc/lualatex/luabidi/README4
-rw-r--r--Master/texmf-dist/doc/lualatex/luabidi/README.md8
-rw-r--r--Master/texmf-dist/doc/lualatex/luabidi/doc/test.tex (renamed from Master/texmf-dist/doc/lualatex/luabidi/test.tex)0
-rw-r--r--Master/texmf-dist/doc/lualatex/luabidi/tex/arabmaths.tex2
-rw-r--r--Master/texmf-dist/doc/lualatex/luabidi/tex/autofootnoterule.tex (renamed from Master/texmf-dist/tex/lualatex/luabidi/autofootnoterule.tex)4
-rw-r--r--Master/texmf-dist/doc/lualatex/luabidi/tex/luabidi.sty (renamed from Master/texmf-dist/tex/lualatex/luabidi/luabidi.sty)18
-rw-r--r--Master/texmf-dist/doc/lualatex/luabidi/tex/textwidthfootnoterule.tex (renamed from Master/texmf-dist/tex/lualatex/luabidi/textwidthfootnoterule.tex)0
-rw-r--r--Master/texmf-dist/tex/lualatex/luabidi/arabmaths.tex2
9 files changed, 27 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/lualatex/luabidi/LICENCE.md b/Master/texmf-dist/doc/lualatex/luabidi/LICENCE.md
new file mode 100644
index 00000000000..7de4faf4888
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/luabidi/LICENCE.md
@@ -0,0 +1,6 @@
+# MIT Licence
+
+Copyright (c) Vafa Khalighi 2009, Arthur Reutenauer 2013, 2019, Jürgen Spitzmüller 2019.
+
+The licence for all files within this package is (the MIT
+licence)[https://opensource.org/licenses/MIT] unless otherwise noted.
diff --git a/Master/texmf-dist/doc/lualatex/luabidi/README b/Master/texmf-dist/doc/lualatex/luabidi/README
deleted file mode 100644
index 0c784be245d..00000000000
--- a/Master/texmf-dist/doc/lualatex/luabidi/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Luabidi is an attempt to offer the same functionality for LuaTeX as bidi
-does for XeTeX.
-
-Copyright (c) Vafa Khalighi 2009, and Arthur Reutenauer 2013
diff --git a/Master/texmf-dist/doc/lualatex/luabidi/README.md b/Master/texmf-dist/doc/lualatex/luabidi/README.md
new file mode 100644
index 00000000000..f889e844c6a
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/luabidi/README.md
@@ -0,0 +1,8 @@
+# luabidi
+Luabidi is an attempt to offer the same functionality for LuaTeX as bidi
+does for XeTeX.
+
+## CTAN Package
+https://www.ctan.org/pkg/luabidi
+
+Copyright (c) Vafa Khalighi 2009, Arthur Reutenauer 2013, 2019, Jürgen Spitzmüller 2019
diff --git a/Master/texmf-dist/doc/lualatex/luabidi/test.tex b/Master/texmf-dist/doc/lualatex/luabidi/doc/test.tex
index 1b51109ad46..1b51109ad46 100644
--- a/Master/texmf-dist/doc/lualatex/luabidi/test.tex
+++ b/Master/texmf-dist/doc/lualatex/luabidi/doc/test.tex
diff --git a/Master/texmf-dist/doc/lualatex/luabidi/tex/arabmaths.tex b/Master/texmf-dist/doc/lualatex/luabidi/tex/arabmaths.tex
new file mode 100644
index 00000000000..e125dce795e
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/luabidi/tex/arabmaths.tex
@@ -0,0 +1,2 @@
+\mathdir TRT
+\def\@eqnnum{{\normalfont \normalcolor \textdir TLT ({\textdir TRT\theequation})}}
diff --git a/Master/texmf-dist/tex/lualatex/luabidi/autofootnoterule.tex b/Master/texmf-dist/doc/lualatex/luabidi/tex/autofootnoterule.tex
index a1211cb10fc..f7706946522 100644
--- a/Master/texmf-dist/tex/lualatex/luabidi/autofootnoterule.tex
+++ b/Master/texmf-dist/doc/lualatex/luabidi/tex/autofootnoterule.tex
@@ -15,7 +15,7 @@
\def\l@fn{%
\hbox to \columnwidth
- {\luatexpagedir TLT\vbox{\kern -3\p@
+ {\pagedir TLT\vbox{\kern -3\p@
\hrule width .4\columnwidth \kern2.6\p@}\hfil}}
\def\r@fn{%
\hrule width .4\columnwidth\kern 2.6\p@}
@@ -111,6 +111,6 @@
\begingroup
\footnotemarkLR%
\renewcommand{\thefootnote}{\@arabic\c@footnote}%
-\luatexpardir TLT \luatextextdir TLT\footnotetext{#1}%
+\pardir TLT \textdir TLT\footnotetext{#1}%
\endgroup
}
diff --git a/Master/texmf-dist/tex/lualatex/luabidi/luabidi.sty b/Master/texmf-dist/doc/lualatex/luabidi/tex/luabidi.sty
index ca8b47cca1c..abc1d2a9367 100644
--- a/Master/texmf-dist/tex/lualatex/luabidi/luabidi.sty
+++ b/Master/texmf-dist/doc/lualatex/luabidi/tex/luabidi.sty
@@ -1,28 +1,28 @@
%% This file is luabidi.sty
%%
-%% Copyright © 2009 Vafa Khalighi, 2013 Arthur Reutenauer
+%% Copyright © 2009 Vafa Khalighi, 2013--2019 Arthur Reutenauer, 2019 Jürgen Spitzmüller
%%
%%%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{luabidi}[2013/05/27 v0.2
+\ProvidesPackage{luabidi}[2019/08/24 v0.4
Bidirectional typesetting in LuaTeX]
\newif\if@RTL
\newif\if@RTLmain
-\def\setRTLmain{\luatexpagedir TRT \luatexbodydir TRT \luatexpardir TRT \luatextextdir TRT}
-\def\setRTL{\@RTLtrue\luatexpardir TRT \luatextextdir TRT}
+\def\setRTLmain{\pagedir TRT \bodydir TRT \pardir TRT \textdir TRT}
+\def\setRTL{\@RTLtrue\pardir TRT \textdir TRT}
\let\setRL=\setRTL
-\def\setLTR{\@RTLfalse\luatexpardir TLT \luatextextdir TLT}
+\def\setLTR{\@RTLfalse\pardir TLT \textdir TLT}
\let\setLR=\setLTR
\let\unsetRTL=\setLTR
\let\unsetLTR=\setRTL
-\def\RTL{\@RTLtrue\trivlist \luatexpardir TRT \luatextextdir TRT\item\relax}
+\def\RTL{\@RTLtrue\trivlist \pardir TRT \textdir TRT\item\relax}
\def\endRTL{\@RTLfalse\endtrivlist}
-\def\LTR{\trivlist \luatexpardir TLT \luatextextdir TLT\item\relax}
+\def\LTR{\trivlist \pardir TLT \textdir TLT\item\relax}
\def\endLTR{\endtrivlist}
\def\@ensure@RTL#1{\if@RTL#1\else\RLE{#1}\fi}
-\def\@ensure@LTR#1{\if@RTL#1\else\LRE{#1}\fi}
+\def\@ensure@LTR#1{\if@RTL\LRE{#1}\else{#1}\fi}
\def\@ensure@dir#1{\if@RTL\RLE{#1}\else{#1}\fi}
\let\@ensure@maindir=\@ensuredir
\@RTLmainfalse
@@ -44,7 +44,7 @@
\begingroup
\footnotemark
\renewcommand{\thefootnote}{\@arabic\c@footnote}%
-\luatexpardir TLT \luatextextdir TLT\footnotetext{#1}%
+\pardir TLT \textdir TLT\footnotetext{#1}%
\endgroup
}
diff --git a/Master/texmf-dist/tex/lualatex/luabidi/textwidthfootnoterule.tex b/Master/texmf-dist/doc/lualatex/luabidi/tex/textwidthfootnoterule.tex
index 7fc71e0cefc..7fc71e0cefc 100644
--- a/Master/texmf-dist/tex/lualatex/luabidi/textwidthfootnoterule.tex
+++ b/Master/texmf-dist/doc/lualatex/luabidi/tex/textwidthfootnoterule.tex
diff --git a/Master/texmf-dist/tex/lualatex/luabidi/arabmaths.tex b/Master/texmf-dist/tex/lualatex/luabidi/arabmaths.tex
deleted file mode 100644
index f62f4dc35e9..00000000000
--- a/Master/texmf-dist/tex/lualatex/luabidi/arabmaths.tex
+++ /dev/null
@@ -1,2 +0,0 @@
-\luatexmathdir TRT
-\def\@eqnnum{{\normalfont \normalcolor \luatextextdir TLT ({\luatextextdir TRT\theequation})}}