From 5fd15d101add3e08ff14e00c8a38998602e87959 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 10 Apr 2010 00:04:40 +0000
Subject: bidi now lualatex, too (9apr10)

git-svn-id: svn://tug.org/texlive/trunk@17780 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/bidi/letter-xetex-bidi.def           | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def

(limited to 'Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def')

diff --git a/Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def
new file mode 100644
index 00000000000..97c06228ce1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def
@@ -0,0 +1,39 @@
+%%
+%% This is file `letter-xetex-bidi.def',
+
+%% 
+%%   __________________________________
+%%   Copyright © 2009-2010 Vafa Khalighi
+%% 
+%%   License information appended.
+%% 
+%% 
+\ProvidesFile{letter-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for standard letter class for XeTeX engine]
+\renewcommand*{\opening}[1]{\ifx\@empty\fromaddress
+  \thispagestyle{firstpage}%
+    {\if@RTL\raggedright\else\raggedleft\fi\@date\par}%
+  \else  % home address
+    \thispagestyle{empty}%
+    {\if@RTL\raggedright\else\raggedleft\fi\if@RTL\begin{tabular}{r@{}}\else\begin{tabular}{l@{}}\fi\ignorespaces
+      \fromaddress \\*[2\parskip]%
+      \@date \end{tabular}\par}%
+  \fi
+  \vspace{2\parskip}%
+  {\if@RTL\raggedleft\else\raggedright\fi \toname \\ \toaddress \par}%
+  \vspace{2\parskip}%
+  #1\par\nobreak}
+%% 
+%% Copyright © 2009-2010      by Vafa Khalighi     <vafakh84@gmail.com>
+%% 
+%% Distributable under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%% 
+%% This work is "maintained" (as per LPPL maintenance status)
+%% by Vafa Khalighi.
+%% 
+%% 
+%% 
+%% 
+%%
+%% End of file `letter-xetex-bidi.def'.
-- 
cgit v1.2.3

