%% %% This is file `loadingorder-bidi.def', %% generated with the docstrip utility. %% %% The original source files were: %% %% bidi.dtx (with options: `loadingorder-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2010 Vafa Khalighi %% %% License information appended. %% %% \ProvidesFile{loadingorder-bidi.def}[2010/07/25 v0.5 making sure that bidi is the last package loaded] \newcommand\bidi@isloaded[2][]{ \expandafter\ifx\csname if@bidi@#2loaded@\endcsname\relax \expandafter\newif\csname if@bidi@#2loaded@\endcsname \fi \@ifpackageloaded{#2} {\csname @bidi@#2loaded@true\endcsname #1} {\csname @bidi@#2loaded@false\endcsname}} \bidi@isloaded{amsmath} \bidi@isloaded{amsthm} \bidi@isloaded{breqn} \bidi@isloaded{caption} \bidi@isloaded{color} \bidi@isloaded{xcolor} \bidi@isloaded{colortbl} \bidi@isloaded{flowfram} \bidi@isloaded{xltxtra} \bidi@isloaded{xunicode} \bidi@isloaded{wrapfig} \bidi@isloaded{graphicx} \bidi@isloaded{hyperref} \bidi@isloaded{fancyhdr} \bidi@isloaded{draftwatermark} \bidi@isloaded{pdfpages} \bidi@isloaded{listings} \bidi@isloaded{pstricks} \bidi@isloaded{pgf} \bidi@isloaded{quotchap} \bidi@isloaded{tikz} \bidi@isloaded{titlesec} \bidi@isloaded{titletoc} \bidi@isloaded{array} \bidi@isloaded{stabular} \bidi@isloaded{subfig} \bidi@isloaded{subfigure} \bidi@isloaded{supertabular} \bidi@isloaded{xtab} \bidi@isloaded{longtable} \bidi@isloaded{arydshln} \bidi@isloaded{multicol} \bidi@isloaded{minitoc} \bidi@isloaded{ragged2e} \bidi@isloaded{tabls} \bidi@isloaded{tabulary} \bidi@isloaded{tocstyle} \bidi@isloaded{fontspec} \bidi@isloaded{arabxetex} \bidi@isloaded{polyglossia} \bidi@isloaded{fancyvrb} \AtBeginDocument{ \if@bidi@amsmathloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package amsmath after bidi package. Please load package amsmath before bidi package, and then try to run xelatex on your document again}{}]{amsmath} \fi% \if@bidi@amsthmloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package amsthm after bidi package. Please load package amsthm before bidi package, and then try to run xelatex on your document again}{}]{amsthm} \fi% \if@bidi@breqnloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package breqn after bidi package. Please load package breqn before bidi package, and then try to run xelatex on your document again}{}]{breqn} \fi% \if@bidi@captionloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package caption after bidi package. Please load package caption before bidi package, and then try to run xelatex on your document again}{}]{caption} \fi% \if@bidi@colorloaded@\else \@ifpackageloaded{hyperref}{}{% \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package color after bidi package. Please load package color before bidi package, and then try to run xelatex on your document again}{}]{color}} \fi% \if@bidi@xcolorloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xcolor after bidi package. Please load package xcolor before bidi package, and then try to run xelatex on your document again}{}]{xcolor} \fi% \if@bidi@colortblloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package colortbl after bidi package. Please load package colortbl before bidi package, and then try to run xelatex on your document again}{}]{colortbl} \fi% \if@bidi@flowframloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package flowfram after bidi package. Please load package flowfram before bidi package, and then try to run xelatex on your document again}{}]{flowfram} \fi% \if@bidi@xltxtraloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xltxtra after bidi package. Please load package xltxtra before bidi package, and then try to run xelatex on your document again}{}]{xltxtra} \fi% \if@bidi@xunicodeloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xunicode after bidi package. Please load package xunicode before bidi package, and then try to run xelatex on your document again}{}]{xunicode} \fi% \if@bidi@wrapfigloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package wrapfig after bidi package. Please load package wrapfig before bidi package, and then try to run xelatex on your document again}{}]{wrapfig} \fi% \if@bidi@graphicxloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package graphicx after bidi package. Please load package graphicx before bidi package, and then try to run xelatex on your document again}{}]{graphicx} \fi% \if@bidi@hyperrefloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package hyperref after bidi package. Please load package hyperref before bidi package, and then try to run xelatex on your document again}{}]{hyperref} \fi% \if@bidi@fancyhdrloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancyhdr after bidi package. Please load package fancyhdr before bidi package, and then try to run xelatex on your document again}{}]{fancyhdr} \fi% \if@bidi@draftwatermarkloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package draftwatermark after bidi package. Please load package draftwatermark before bidi package, and then try to run xelatex on your document again}{}]{draftwatermark} \fi% \if@bidi@pdfpagesloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pdfpages after bidi package. Please load package pdfpages before bidi package, and then try to run xelatex on your document again}{}]{pdfpages} \fi% \if@bidi@listingsloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package listings after bidi package. Please load package listings before bidi package, and then try to run xelatex on your document again}{}]{listings} \fi% \if@bidi@pstricksloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pstricks after bidi package. Please load package pstricks before bidi package, and then try to run xelatex on your document again}{}]{pstricks} \fi% \if@bidi@pgfloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pgf after bidi package. Please load package pgf before bidi package, and then try to run xelatex on your document again}{}]{pgf} \fi% \if@bidi@quotchaploaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package quotchap after bidi package. Please load package quotchap before bidi package, and then try to run xelatex on your document again}{}]{quotchap} \fi% \if@bidi@tikzloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tikz after bidi package. Please load package tikz before bidi package, and then try to run xelatex on your document again}{}]{tikz} \fi% \if@bidi@titlesecloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package titlesec after bidi package. Please load package titlesec before bidi package, and then try to run xelatex on your document again}{}]{titlesec} \fi% \if@bidi@titletocloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package titletoc after bidi package. Please load package titletoc before bidi package, and then try to run xelatex on your document again}{}]{titletoc} \fi% \if@bidi@arrayloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package array after bidi package. Please load package array before bidi package, and then try to run xelatex on your document again}{}]{array} \fi% \if@bidi@stabularloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package stabular after bidi package. Please load package stabular before bidi package, and then try to run xelatex on your document again}{}]{stabular} \fi% \if@bidi@subfigloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package subfig after bidi package. Please load package subfig before bidi package, and then try to run xelatex on your document again}{}]{subfig} \fi% \if@bidi@subfigureloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package subfigure after bidi package. Please load package subfigure before bidi package, and then try to run xelatex on your document again}{}]{subfigure} \fi% \if@bidi@supertabularloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package supertabular after bidi package. Please load package supertabular before bidi package, and then try to run xelatex on your document again}{}]{supertabular} \fi% \if@bidi@xtabloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xtab after bidi package. Please load package xtab before bidi package, and then try to run xelatex on your document again}{}]{xtab} \fi% \if@bidi@longtableloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package longtable after bidi package. Please load package longtable before bidi package, and then try to run xelatex on your document again}{}]{longtable} \fi% \if@bidi@arydshlnloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package arydshln after bidi package. Please load package arydshln before bidi package, and then try to run xelatex on your document again}{}]{arydshln} \fi% \if@bidi@multicolloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package multicol after bidi package. Please load package multicol before bidi package, and then try to run xelatex on your document again}{}]{multicol} \fi% \if@bidi@minitocloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package minitoc after bidi package. Please load package minitoc before bidi package, and then try to run xelatex on your document again}{}]{minitoc} \fi% \csname if@bidi@ragged2eloaded@\endcsname\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package ragged2e after bidi package. Please load package ragged2e before bidi package, and then try to run xelatex on your document again}{}]{ragged2e} \fi% \if@bidi@tablsloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tabls after bidi package. Please load package tabls before bidi package, and then try to run xelatex on your document again}{}]{tabls} \fi% \if@bidi@tabularyloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tabulary after bidi package. Please load package tabulary before bidi package, and then try to run xelatex on your document again}{}]{tabulary} \fi% \if@bidi@tocstyleloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tocstyle after bidi package. Please load package tocstyle before bidi package, and then try to run xelatex on your document again}{}]{tocstyle} \fi% \if@bidi@fontspecloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fontspec after bidi package. Please load package fontspec before bidi package, and then try to run xelatex on your document again}{}]{fontspec} \fi% \if@bidi@arabxetexloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package arabxetex after bidi package. Please load package arabxetex before bidi package, and then try to run xelatex on your document again}{}]{arabxetex} \fi% \if@bidi@polyglossialoaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package polyglossia after bidi package. Please load package polyglossia before bidi package, and then try to run xelatex on your document again}{}]{polyglossia} \fi% \if@bidi@fancyvrbloaded@\else \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancyvrb after bidi package. Please load package fancyvrb before bidi package, and then try to run xelatex on your document again}{}]{fancyvrb} \fi% } %% %% Copyright © 2009–2010 Vafa Khalighi %% %% It may be distributed and/or modified 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 “author-maintained” (as per LPPL maintenance status) %% by Vafa Khalighi. %% %% In addition to the terms of LPPL any distributed version %% (unchanged or modified) of bidi has to keep the statement %% about the moral obligation for using bidi. In case of major %% changes where this would not be appropriate the author of the %% changed version should contact the copyright holder. %% %% %% %% Moral obligation for using bidi: %% ____________________________________ %% %% Users of bidi who wish to include or use bidi or a modified %% version in a proprietary and commercially market product are asked %% under certain conditions (see below) for the payment of a license %% fee. The size of this fee is to be determined, in each instance, %% by the commercial user, depending on his/her judgment of the value of %% bidi for his/her product. %% %% %% The conditions for this are as follows: %% %% The producer of a proprietary and commercially market product %% that involves typesetting using bidi is asked to determine %% the value of a license fee for using bidi if %% %% - the product is a document and the producer has decided to %% include bidi to typeset (parts of) the document or has %% directed the author of the document to include bidi (for %% example, by providing a class file to be used by the author) %% %% - the product is a LaTeX class or package that includes bidi %% %% %% There is no moral obligation in case %% %% - the product is a document but producer has not directed %% the author to include bidi (in that case the moral obligation %% lies with the author of the document) %% %% - the product does not involve typesetting, e.g., consists, for %% example, of distributing bidi and its documentation. %% %% - the product is not proprietary, i.e., is made available as free %% software itself (which doesn't prohibit its commercial marketing) %% %% - bidi is used for non-commercial purposes %% %% %% Determinating a license fee might result in a license fee of zero %% (i.e., no payment) in case a producer has determined that the use %% of bidi has no enhancing effect on the product. This is a %% plausible scenario, i.e., in the above two cases the producer is %% only asked to evaluate the value of bidi for the product %% not for the payment of a license fee per se (which might or might %% not follow from this evaluation). %% %% The license fee, if any, can be payed to the author of %% the program who can be contacted at %% %% vafakhlgh@gmail.com %% %% %% %% %% End of file `loadingorder-bidi.def'.