diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def new file mode 100644 index 00000000000..121f3572cd1 --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.def @@ -0,0 +1,52 @@ +%% +%% This is file `loadingorder-bidi-xepersian.def', + +%% +%% __________________________________ +%% Copyright © 2009-2010 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{loadingorder-bidi-xepersian.def}[2010/03/01 v0.1 making sure that xepersian is the last package loaded] +\bidi@isloaded{algorithmic} +\bidi@isloaded{algorithm} +\bidi@isloaded{backref} +\bidi@isloaded{enumerate} +\bidi@isloaded{subfigure} +\bidi@isloaded{tocloft} +\AtBeginDocument{ + \if@bidi@algorithmicloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithmic after xepersian package. Please load package algorithmic before xepersian package, and then try to run xelatex on your document again}{}]{algorithmic} + \fi% + \if@bidi@algorithmloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package algorithm after xepersian package. Please load package algorithm before xepersian package, and then try to run xelatex on your document again}{}]{algorithm} + \fi% + \if@bidi@backrefloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package backref after xepersian package. Please load package backref before xepersian package, and then try to run xelatex on your document again}{}]{backref} + \fi% + \if@bidi@enumerateloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package enumerate after xepersian package. Please load package enumerate before xepersian package, and then try to run xelatex on your document again}{}]{enumerate} + \fi% + \if@bidi@subfigureloaded@% + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package subfigure before xepersian package. Please load package subfigure after xepersian package, and then try to run xelatex on your document again}{}]{subfigure} +\else\fi% + \if@bidi@tocloftloaded@\else + \bidi@isloaded[\PackageError{xepersian}{Oops! you have loaded package tocloft after xepersian package. Please load package tocloft before xepersian package, and then try to run xelatex on your document again}{}]{tocloft} + \fi% +} +%% +%% 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 +%% 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 `loadingorder-bidi-xepersian.def'. |