summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/bookest-bidi.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/bookest-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/bookest-bidi.def13
1 files changed, 5 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bookest-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/bookest-bidi.def
index 7b993f8a0bd..9969102163e 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/bookest-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/bookest-bidi.def
@@ -1,21 +1,18 @@
%%
%% This is file `bookest-bidi.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% bidi.dtx (with options: `bookest-bidi.def')
+
%%
%% __________________________________
-%% Copyright © 2009 Vafa Khalighi
+%% Copyright © 2009-2010 Vafa Khalighi
%%
%% License information appended.
%%
%%
+\ProvidesFile{bookest-bidi.def}[2010/03/01 v0.2 adaptations for bookest class]
\AtBeginDocument{
\def\@makechapterhead#1{%
\vspace*{20\p@}
- {\parindent \z@ \raggedleft \normalfont
+ {\parindent \z@ \if@RTL\raggedleft\else\raggedright\fi \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
{\colorA\huge\scshape \@chapapp\space \thechapter}
@@ -77,7 +74,7 @@
}
\NoHyper
%%
-%% Copyright © 2009 by Vafa Khalighi <vafa@users.berlios.de>
+%% Copyright © 2009-2010 by Vafa Khalighi <vafa@users.berlios.de>
%%
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of