summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-11-07 23:29:47 +0000
committerKarl Berry <karl@freefriends.org>2011-11-07 23:29:47 +0000
commitb8e34142e16a40e227b48dff7ad2f8c2d4b8c958 (patch)
treea70b7e1a654a569685bf51f4f18de6997da54820 /Master/texmf-dist/tex/xelatex/xepersian
parent420c94dbde219df3a7055fb922a6dbe04ca875ad (diff)
xepersian (7nov11)
git-svn-id: svn://tug.org/texlive/trunk@24537 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def2
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def1
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def68
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def42
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty2
5 files changed, 114 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
index a523c01a681..f6318db685f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-ltx.def
@@ -159,6 +159,7 @@
\eqcommand{اعلان‌قلم‌علائم}{DeclareSymbolFont}
\eqcommand{دوربسته}{deadcycles}
\eqcommand{تر}{def}
+\eqcommand{تعریف@کلید}{define@key}
\eqcommand{تعریف‌رنگ}{definecolor}
\eqcommand{درجه}{deg}
\eqcommand{کدجداساز}{delcode}
@@ -705,6 +706,7 @@
\eqcommand{کادراندازه}{scalebox}
\eqcommand{پیش‌فرض‌تمام‌بزرگ}{scdefault}
\eqcommand{شکل‌تمام‌بزرگ}{scshape}
+\eqcommand{مقدارکلیدها}{setkeys}
\eqcommand{قلم‌توان}{scriptfont}
\eqcommand{قلم‌توان‌توان}{scriptscriptfont}
\eqcommand{سبک‌ته‌نوشت‌ته‌نوشت}{scriptscriptstyle}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
index 048ace9c2ee..1f6ead598a4 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def
@@ -16,6 +16,7 @@
\eqcommand{خط‌زیرنویس‌خودکار}{autofootnoterule}
\eqcommand{اعدادفرمولهاخودکار}{AutoMathsDigits}
\eqcommand{اعدادفرمولهالاتین}{DefaultMathsDigits}
+\eqcommand{معادل@کلید}{keyval@eq@alias@key}
\eqcommand{تعریف‌قلم‌لاتین}{deflatinfont}
\eqcommand{تعریف‌قلم‌پارسی}{defpersianfont}
\eqcommand{کادراچپ}{hboxL}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
index 8ec15072ff9..893cdb2ec34 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
@@ -17,6 +17,15 @@
\makezwnjletter
\newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}}
\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}
+\@ifpackageloaded{keyval}{%
+\newcommand*\keyval@eq@alias@key[4][KV]{%
+ \bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
+ \bidi@csletcs{#1@#2@#3@default}{#1@#2@#4@default}}%
+}{\@ifpackageloaded{xkeyval}{%
+\newcommand*\keyval@eq@alias@key[4][KV]{%
+ \bidi@csletcs{#1@#2@#3}{#1@#2@#4}%
+ \bidi@csletcs{#1@#2@#3@default}{#1@#2@#4@default}}%
+}{}}
\input{commands-ltx.def}
\input{commands-xepersian.def}
\input{environments-ltx.def}
@@ -24,6 +33,65 @@
\input{messages-localise.def}
\input{misc-localise-xepersian.def}
\input{packages-localise-xepersian.def}
+\aliasfontfeature{ExternalLocation}{مکان‌خارجی}
+\aliasfontfeature{ExternalLocation}{مسیر}
+\aliasfontfeature{Renderer}{تحویل‌دهنده}
+\aliasfontfeature{BoldFont}{قلم‌سیاه}
+\aliasfontfeature{Language}{زبان}
+\aliasfontfeature{Script}{خط}
+\aliasfontfeature{UprightFont}{قلم‌عمودی}
+\aliasfontfeature{ItalicFont}{قلم‌ایتالیک}
+\aliasfontfeature{BoldItalicFont}{قلم‌ایتالیک‌سیاه}
+\aliasfontfeature{SlantedFont}{قلم‌خوابیده}
+\aliasfontfeature{BoldSlantedFont}{قلم‌خوابیده‌سیاه}
+\aliasfontfeature{SmallCapsFont}{قلم‌کلاه‌کوچک}
+\aliasfontfeature{UprightFeatures}{ویژگی‌های‌قلم‌عمودی}
+\aliasfontfeature{BoldFeatures}{ویژگی‌های‌قلم‌سیاه}
+\aliasfontfeature{ItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک}
+\aliasfontfeature{BoldItalicFeatures}{ویژگی‌های‌قلم‌ایتالیک‌سیاه}
+\aliasfontfeature{SlantedFeatures}{ویژگی‌های‌قلم‌خوابیده}
+\aliasfontfeature{BoldSlantedFeatures}{ویژگی‌های‌قلم‌خوابیده‌سیاه}
+\aliasfontfeature{SmallCapsFeatures}{ویژگی‌های‌قلم‌کلاه‌کوچک}
+\aliasfontfeature{SizeFeatures}{ویژگی‌های‌اندازه}
+\aliasfontfeature{Scale}{ضریب}
+\aliasfontfeature{WordSpace}{فضای‌کلمه}
+\aliasfontfeature{PunctuationSpace}{فضای‌نقطه‌گذاری}
+\aliasfontfeature{FontAdjustment}{تنظیم‌قلم}
+\aliasfontfeature{LetterSpace}{فضای‌حرف}
+\aliasfontfeature{HyphenChar}{نویسه‌تیره}
+\aliasfontfeature{Color}{رنگ}
+\aliasfontfeature{Opacity}{کدری}
+\aliasfontfeature{Mapping}{نگاشت}
+\aliasfontfeature{Weight}{سنگینی}
+\aliasfontfeature{Width}{پهنا}
+\aliasfontfeature{OpticalSize}{اندازه‌چشمی}
+\aliasfontfeature{FakeSlant}{خوابیده‌تقلبی}
+\aliasfontfeature{FakeStretch}{کشش‌تقلبی}
+\aliasfontfeature{FakeBold}{سیاه‌تقلبی}
+\aliasfontfeature{AutoFakeSlant}{خوابیده‌تقلبی‌خودکار}
+\aliasfontfeature{AutoFakeBold}{سیاه‌تقلبی‌خودکار}
+\aliasfontfeature{Ligatures}{دویاچندحرف‌متصل‌به‌هم}
+\aliasfontfeature{Alternate}{متناوب}
+\aliasfontfeature{Variant}{گوناگون}
+\aliasfontfeature{Variant}{مجموعه‌سبکی}
+\aliasfontfeature{CharacterVariant}{گوناگونی‌نویسه}
+\aliasfontfeature{ScriptStyle}{سبک‌اسکریپت}
+\aliasfontfeature{ScriptScriptStyle}{سبک‌اسکریپت‌اسکریپت}
+\aliasfontfeature{Style}{سبک}
+\aliasfontfeature{Annotation}{یادداشت}
+\aliasfontfeature{RawFeature}{ویژگی‌های‌کال}
+\aliasfontfeature{CharacterWidth}{پهنای‌نویسه}
+\aliasfontfeature{Numbers}{ارقام}
+\aliasfontfeature{Contextuals}{متنی}
+\aliasfontfeature{Diacritics}{تفکیک‌کننده‌ها}
+\aliasfontfeature{Letters}{حروف}
+\aliasfontfeature{Kerning}{دوری}
+\aliasfontfeature{VerticalPosition}{موقعیت‌عمودی}
+\aliasfontfeature{Fractions}{کسر}
+\aliasfontfeatureoption{Language}{Default}{پیش‌فرض}
+\aliasfontfeatureoption{Language}{Parsi}{پارسی}
+\aliasfontfeatureoption{Script}{Parsi}{پارسی}
+\aliasfontfeatureoption{Script}{Latin}{لاتین}
%%
%% Copyright © 2008–2012 Vafa Khalighi <vafaklg@gmail.com>
%%
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
index 2803e774e78..ba542797e64 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
@@ -118,6 +118,48 @@
}
}
\ExplSyntaxOff
+\@ifpackageloaded{graphicx}{%
+\def\Gin@boolkey#1#2{%
+\expandafter\@ifdefinable \csname Gin@#2درست\endcsname{%
+\expandafter\let\csname Gin@#2درست\expandafter\endcsname\csname Gin@#2true\endcsname}%
+\expandafter\@ifdefinable \csname Gin@#2نادرست\endcsname{%
+\expandafter\let\csname Gin@#2نادرست\expandafter\endcsname\csname Gin@#2false\endcsname}%
+ \csname Gin@#2\ifx\relax#1\relax true\else#1\fi\endcsname}
+\define@key{Grot}{origin}[c]{%
+ \@tfor\@tempa:=#1\do{%
+ \if l\@tempa \Grot@x\z@\else
+ \if چ\@tempa \Grot@x\z@\else
+ \if r\@tempa \Grot@x\width\else
+ \if ر\@tempa \Grot@x\width\else
+ \if t\@tempa \Grot@y\height\else
+ \if ب\@tempa \Grot@y\height\else
+ \if b\@tempa \Grot@y-\depth\else
+ \if ز\@tempa \Grot@y-\depth\else
+ \if B\@tempa \Grot@y\z@\else
+ \if ک\@tempa \Grot@y\z@\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}}
+\معادل@کلید{Gin}{پیش‌نویس}{draft}
+\معادل@کلید{Gin}{مبدا}{origin}
+\معادل@کلید{Grot}{مبدا}{origin}
+\معادل@کلید{Gin}{بی‌اضافه}{clip}
+\معادل@کلید{Gin}{حفظ‌تناسب}{keepaspectratio}
+\معادل@کلید{Gin}{پهنای‌طبیعی}{natwidth}
+\معادل@کلید{Gin}{بلندای‌طبیعی}{natheight}
+\معادل@کلید{Gin}{مختصات}{bb}
+\معادل@کلید{Gin}{محدوده‌نمایش}{viewport}
+\معادل@کلید{Gin}{حذف‌اطراف}{trim}
+\معادل@کلید{Gin}{زاویه}{angle}
+\معادل@کلید{Gin}{پهنا}{width}
+\معادل@کلید{Gin}{بلندا}{height}
+\معادل@کلید{Gin}{بلندای‌کل}{totalheight}
+\معادل@کلید{Gin}{ضریب}{scale}
+\معادل@کلید{Gin}{نوع}{type}
+\معادل@کلید{Gin}{پسوند}{ext}
+\معادل@کلید{Gin}{خواندنی}{read}
+\معادل@کلید{Gin}{فرمان}{command}
+\معادل@کلید{Grot}{طول}{x}
+\معادل@کلید{Grot}{عرض}{y}
+\معادل@کلید{Grot}{واحد}{units}
+}{}
%%
%% Copyright © 2008–2012 Vafa Khalighi <vafaklg@gmail.com>
%%
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index ccd581cc812..3ac0c7f9e56 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -13,7 +13,7 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.3.3}
+\def\xepersianversion{v1.3.4}
\def\xepersiandate{2012/01/01}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]