diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/README | 33 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf | bin | 150053 -> 161877 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/examples.tex | 27 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf | bin | 187435 -> 187339 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex | 24 |
6 files changed, 58 insertions, 39 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README b/Master/texmf-dist/doc/xelatex/polyglossia/README index d0f10a94ffe..844e3467cde 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/README +++ b/Master/texmf-dist/doc/xelatex/polyglossia/README @@ -1,7 +1,7 @@ ¦----------------------------------------------¦ ¦ ¦ - ¦ THE POLYGLOSSIA PACKAGE v1.0.2 ¦ + ¦ THE POLYGLOSSIA PACKAGE v1.1.0 ¦ ¦ ¦ ¦ Modern multilingual typesetting with XeLaTeX ¦ ¦ ¦ @@ -29,7 +29,8 @@ Polyglossia makes it possible to automate the following tasks: written from right to left (via the package bidi, available separately). Several features of Babel that do not make sense in the XeTeX world (like font -encodings, shorthands, etc) are not supported. +encodings, shorthands, etc) are not supported. For German however, several +shorthands do make sense and can be activated with the language option babelshorthands=true. Polyglossia is distributed in the traditional way with *.dtx and *.ins files, and also comes with a TDS-conformant ready-to-unpack zip file. @@ -43,6 +44,32 @@ and follow the instructions displayed. CHANGES +1.1.0 + * Use \newXeTeXintercharclass (thanks to Enrico Gregorio) + * Fixed implementation of shorthands for German (Babel code in file babelsh.def) + * Arabic (Khaled Hosny): + - Fix abjad form for 3 and 5 and add option abjadjimnotail + - bugfix for \arabicnumber + - make Gregorian calender the default + - fixed typos in the sample text + * Turkish (S. Ö. Yıldız): + - fix white-space before : and ! + - also check if the font specified TRK for language + - added missing Turkish translation of "Glossary" + * Suppress nopattern warning for non-hyphenated scripts + * Changed U+0163 to U+021B for Romanian (Elie Roux) + * Stylistic fixes and use macro \xpg@option for package options (E. Gregorio) + * Fix monthnames in Dutch (A. Ledda) + * Add Brazilian translation for "glossary" + * Remove spurious space generated by gloss-spanish + * Fix ldf file for brazilian + * Various improvements in the code communicated by E. Gregorio: + - remove superfluous \protect\language + - change default language from 0 to \l@nohyphenation=255 + - localize lccode handling of apostrophe in French; add it to Italian + * Fix frenchspacing for vietnamese + * Other minor bugfixes + 1.0.2 This is mostly a bug fixes release. * Captions corrected in Hebrew, Russian and Spanish @@ -63,6 +90,6 @@ CHANGES ------------------------------ - François Charette, Jan 2009 + François Charette, Dec 2009 <firmicus ατ gmx δοτ net> ------------------------------ diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex index 4db566c5aa4..acefd404179 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex @@ -5,23 +5,20 @@ \setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=mashriq]{arabic} \setotherlanguage[variant=british]{english} \setotherlanguage{farsi} -\setromanfont{Junicode} \defaultfontfeatures{Scale=MatchLowercase} -\setmonofont{Inconsolata} -\setsansfont{Lucida Sans Unicode} -\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Adobe Arabic}%{Scheherazade}% +\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Scheherazade}% \newfontfamily\arabicfonttt[Script=Arabic,Scale=.75]{DejaVu Sans Mono} \newfontfamily\farsifont[Script=Arabic,Scale=1.1,WordSpace=2]{IranNastaliq} \parindent 0pt \makeatletter \makeatother -\title{امتحان تأييد اللغة العربية} +\title{اختبار دعم اللغة العربية} \author{فرانسوا شاريت} \begin{document} \pagenumbering{alph} \maketitle \tableofcontents -\chapter{امتحان} +\chapter{تجربة} \pagenumbering{arabic} \section{لغات مختلفة} @@ -29,12 +26,12 @@ \textbf{العربية}\footnote{% من «\LR{\textenglish{\url{http://ar.wikipedia.org/wiki/}}\RL{\ttfamily لغة عربية}}»} أكبر لغات المجموعة السامية من حيث عدد المتحدثين، وإحدى أكثر اللغات انتشارا في -العالم، يتحدثها أكثر من ٤٢٢ مليون نسمة،١ ويتوزع متحدثوها في المنطقة المعروفة +العالم، يتحدثها أكثر من ٤٢٢ مليون نسمة، ويتوزع متحدثوها في المنطقة المعروفة باسم الوطن العربي، بالإضافة إلى العديد من المناطق الأخرى المجاورة كالأحواز وتركيا وتشاد ومالي والسنغال. وللغة العربية أهمية قصوى لدى أتباع الديانة الإسلامية، فهي لغة مصدري التشريع الأساسيين في الإسلام: القرآن، والأحاديث النبوية المروية عن النبي محمد، ولا تتم الصلاة في الإسلام (وعبادات أخرى) إلا بإتقان بعض من كلمات هذه اللغة. -والعربية هي أيضاً لغة طقسية رئيسية لدى عدد من الكنائس المسيحية في العالم العربي، +والعربية هي أيضًا لغة طقسية رئيسية لدى عدد من الكنائس المسيحية في العالم العربي، كما كتبت بها الكثير من أهم الأعمال الدينية والفكرية اليهودية في العصور الوسطى. وإثر انتشار الإسلام، وتأسيسه دولا، ارتفعت مكانة اللغة العربية، وأصبحت لغة السياسة والعلم والأدب لقرون طويلة في الأراضي التي حكمها المسلمون، وأثرت العربية، تأثيرا diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf Binary files differindex eb44be65145..6725fb891dc 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex index 2274b7ee652..91e7f6dca22 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex @@ -6,17 +6,17 @@ \setotherlanguage[variant=british,ordinalmonthday=false]{english} \setotherlanguage[variant=poly]{greek} \setotherlanguage[numerals=thai]{thai} -\setotherlanguages{german,latin,russian,turkish,polish,latvian,sanskrit,ukrainian,arabic,farsi,syriac,divehi,hebrew,amharic} +\setotherlanguage[locale=mashriq]{arabic} +\setotherlanguage[spelling=new,latesthyphen=true,babelshorthands=true]{german} +\setotherlanguages{german,latin,russian,turkish,polish,latvian,sanskrit,ukrainian,farsi,syriac,divehi,hebrew,amharic} \setromanfont{Linux Libertine} \defaultfontfeatures{Scale=MatchLowercase,RawFeature={+locl}} \setmonofont{Inconsolata} -\setsansfont{Gill Sans Std} -\newfontfamily\arabicfont[Script=Arabic]{Adobe Arabic}%{Scheherazade}% -\newfontfamily\syriacfont[ExternalLocation="/mnt/data/fonts/syriac/", - Script=Syriac]{SyrCOMJerusalem.otf} -\newfontfamily\hebrewfont[Script=Hebrew,Scale=1]{Adobe Hebrew} +\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}% +\newfontfamily\syriacfont[Script=Syriac]{Serto Jerusalem} +\newfontfamily\hebrewfont[Script=Hebrew]{David CLM} \newfontfamily\sanskritfont[Script=Devanagari]{Sanskrit 2003} -\newfontfamily\thaifont[ExternalLocation="/mnt/data/fonts/thai/",Script=Thai]{Norasi.ttf}%{Arial Unicode MS} +\newfontfamily\thaifont[Script=Thai]{Norasi}%{Arial Unicode MS} \newfontfamily\thaanafont[Script=Thaana,WordSpace=2]{TITUS Cyberbit Basic} \newfontfamily\ethiopicfont[Script=Ethiopic]{Abyssinica SIL} \parskip 1.33\baselineskip @@ -32,9 +32,9 @@ (\today) \end{english} -\begin{german}[spelling=new,latesthyphen=true] +\begin{german} \textbf{Die deutsche Sprache}\footnote{ From \url{http://de.wikipedia.org/wiki/Deutsche_Sprache}} (auch das Deutsche) gehört zum westlichen Zweig der germanischen Sprachen und ist eine der meistgesprochenen europäischen Sprachen weltweit, und gilt so als Weltsprache.\\ -(\today) +("<\today">) \end{german} \begin{russian} @@ -92,9 +92,7 @@ Quamquam sermone nativo fungi desinit, cumque nostris diebus perpauci Latine loq \end{sanskrit} \begin{Arabic}[] -%في فضل علم التاريخ وتحقيق مذاهبه والأملاع لما يعرض للمؤرخين من المغالط والأوهام وذكر شيء من أسبابها. «اعلم أنّ فنّ التاريخ فنّ عزيز المذهب، جمّ الفوائد، شريف الغاية؛ إذ هو يوقفنا على أحوال الماضين من الأمم في أخلاقهم، و الأنبياء في سيرهم، و الملوك في دولهم و سياستهم؛ حتّى تتمّ فائدة الإقتداء في ذلك لمن يرومه في أحوال الدين و الدنيا.» (ابن خلدون، المقدّمة)\\ -%فهو محتاج إلى مآخذ متعددة و معارف متنوعة و حسن نظر و تثبت يفضيان بصاحبهما إلى الحق و ينكبان به عن المزلات و المغالط لأن الأخبار إذا اعتمد فيها على مجرد النقل و لم تحكم أصول العادة و قواعد السياسة و طبيعة العمران و الأحوال في الاجتماع الإنساني و لا قيس الغائب منها بالشاهد و الحاضر بالذاهب فربما لم يؤمن فيها من العثور و مزلة القدم و الحيد عن جادة الصدق و كثيراً ما وقع للمؤرخين و المفسرين و أئمة النقل من المغالط في الحكايات و الوقائع لاعتمادهم فيها على مجرد النقل غثاً أو سميناً و لم يعرضوها على أصولها و لا قاسوها بأشباهها و لا سبروها بمعيار الحكمة و الوقوف على طبائع الكائنات و تحكيم النظر و البصيرة في الأخبار فضلوا عن الحق و تاهوا في بيداء الوهم و الغلط و لا سيما في إحصاء الأعداد من الأموال و العساكر إذا عرضت في الحكايات إذ هي مظنة الكذب و مطية الهذر و لا بد من ردها إلى الأصول و عرضها على القواعد. (\today\ = \Hijritoday[0]) \end{Arabic} @@ -116,13 +114,6 @@ Quamquam sermone nativo fungi desinit, cumque nostris diebus perpauci Latine loq ދިވެހިބަހަކީ ދިވެހިރާއްޖޭގެ ރަސްމީ ބަހެވެ. މި ބަހުން ވާހަކަ ދައްކައި އުޅެނީ ދިވެހިރާއްޖޭގެ އަހުލުވެރިންގެ އިތުރުން ހިންދުސްތާނުގެ މަލިކު ގެ އަހުލުވެރިންނެވެ. އެބައިމީހުން މި ބަހަށް ކިޔަނީ މަހަލް ބަހެވެ. ބަހާބެހޭ މާހިރުން ދިވެހިބަސް ހިމަނުއްވައިފައިވަނީ އިންޑޯ އާރިޔަން ބަސްތަކުގެ ތެރޭގަ އެވެ. -%ދިވެހި ބަހުގެ މަތިކޮޅުގައި އެންމެ ކުރީޒަމާނުގައި އޮތް މައި ބަސް " ޕުރޯޓޯ- އިންޑޯ- ޔޫރަޕިއަން" ބަހުން ވާހަކަދައްކާ އުލުނު -%ބަޔަކު ދެބަޔަކަށް ބެހިގެން، އެއްބަޔަކު ހުޅަނގުގެ ރަށްރަށަށް އަނެއްބަޔަކު އިރުމަތީ ރަށްރަށަށް ގޮސް އެތަންތާނގައި ރަށްވެހިވީ އެވެ. މި މީހުން -%ވާހަކަދައްކާ އުޅުނު ބަސް ބަދަލުވެ ތަރައްޤީވެ ވަކި ބަސް ބަހަށްވީ އެތައް ވޭލާއެއްގެ ނުވަތަ ޒަމާނެއްގެ ތެރޭގަ އެވެ. އިރުމައްޗަށް އައި މައިގަނޑު -%ބަހަކީ އިންޑޯ- އިރޭނިއަން ބަހެވެ. މި ބަސް ކަފިވީ އިރޭނިއަން ބަހަށާއި، އިންޑޯ އާރިއަން (ސާންސްކިރިތު) ބަހަށެވެ. މިދެންނެވި ސާންސްކިރިތުގެ -%ހުޅަނގާއި، ހުޅަނގު ދެކުނުގެ ބައިގައިވަނީ ގުޖަރާތީ މަރާޓީ ކޮންކަނީ، ދިވެހި، ސިންހަޅަ، މި ބަސްބަހެވެ، ވީމާ، މިބަސް ތަކުގައި ބޭނުންކުރާ -%ލަފުޒުތަކާއި، ޤަވާއިދާއި އަދި ބަހުގެ އަދަބުތަކުގައި ތިމާގެކަންހުރެ އެވެ. ހުޅަނގަށް ގޮސްފައިވާ ގޮފީގެ ބަސްތަކާއި، އަލުގަނޑުމެންގެ އިންޑިކު -%ނުވަތަ ސާންސްކިރިތުން އުފެދިފައިވާ ބަސްތަކާއި ވަރަށް ތަފާތެވެ. އިނގިރާސި ބަހަކީ މިދެންނެވި ހުޅަނގަށް ގޮސްފައިވާ ގޮފީގެ އަލްމާނީ ބަހެކެވެ. \end{divehi} %\fontspec[Script=Georgian]{DejaVu Serif} diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf Binary files differindex 0a92d4f8869..ae2fe1fb49f 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex index 9f6052e36ef..e92046dd433 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex @@ -72,9 +72,9 @@ \defaultfontfeatures{Scale=MatchLowercase} \setmonofont{DejaVu Sans Mono}%{Consolas} \setsansfont{Lucida Sans Unicode} -\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Scheherazade} -\newfontfamily\farsifont[Script=Arabic,Scale=1.33]{Farsi Simple Bold} -\newfontfamily\syriacfont[Script=Syriac,Scale=1.5,ExternalLocation="/mnt/data/fonts/syriac/"]{SyrCOMJerusalem.otf} +\newfontfamily\arabicfont[Script=Arabic]{Scheherazade} +\newfontfamily\farsifont[Script=Arabic]{Farsi Simple Bold} +\newfontfamily\syriacfont[Script=Syriac]{Serto Jerusalem} \newfontfamily\hebrewfont[Script=Hebrew]{SBL Hebrew} \newcommand\Babel{\pkg{babel}\xspace} @@ -90,7 +90,7 @@ \GetFileInfo{polyglossia.sty} \title{\textcolor{lightblue}{\huge -\fontspec[ExternalLocation="/mnt/data/fonts/greek/"]{GFSAmbrosia.otf} +\fontspec{GFS Ambrosia} Π$\;\,$ο$\;\,$λ$\;\,$υ$\;\,$γ$\;\,$λ$\;\,$ω$\;\,$σ$\;\,$σ$\;\,$ι$\;\,$α}\\[16pt] \color{myblue}Polyglossia: A Babel Replacement for \XeLaTeX} \author{\scshape\color{myblue}François Charette} @@ -334,7 +334,7 @@ The default value of each option is given in italic. \subsection{arabic} \textbf{Options}: \begin{itemize} - \item \TB{calendar} = \textit{islamic} (= hijri) or gregorian + \item \TB{calendar} = \textit{gregorian} or islamic (= hijri) \item \TB{locale} = \textit{default},\footnote{ % For Egypt, Sudan, Yemen and the Golf states.} mashriq,\footnote{ % @@ -344,6 +344,8 @@ The default value of each option is given in italic. as well as the form of the numerals (unless overriden by the following option). \item \TB{numerals} = \textit{mashriq} or maghrib (the latter is the default when locale = algeria, tunisia or morocco) + \item \TB{abjadjimnotail} = \textit{false} or true.\new{1.0.3} + Set this to true if you want the \textit{abjad} form of the number three to be \textarabic{ج}\ – as in the manuscript tradition – instead of the modern usage \textarabic{ج}. \end{itemize} \textbf{Commands}: \begin{itemize} @@ -385,11 +387,10 @@ The default value of each option is given in italic. the latest (experimental) hyphenation patterns ‘(n)german-x-latest’ will be loaded instead of ‘german’ or ‘ngerman’. NB: This is based on the file \texttt{language.dat} that comes with \TeX Live 2008. - \item\TB{babelshorthands} = \textit{false} or true: \new{1.0.2} + \item\TB{babelshorthands} = \textit{false} or true: \new{1.0.3} if this is turned on, all shorthands defined in the Babel language for fine-tuning the hyphenation of German words are - activated. NB: This feature has not been much tested and should be - considered experimental. + activated. (NB: This feature was broken in the previous version.) \begin{itemize} \item ¦"ck¦ for ¦ck¦ to be hyphenated as ¦k-k¦ \item ¦"ff¦ for ¦ff¦ to be hyphenated as ¦ff-f¦; this is also available for the letters l, m, n, p, r and t @@ -571,7 +572,7 @@ It also accepts an optional argument to add or subtract a correction (in days) to the date computed by the arithmetical algorithm.\footnote{ % The Islamic calendar is indeed a purely lunar calendar based on the observation of the first visibility of the lunar crescent at the beginning of the lunar month, - so their can be differences between different localities, as well as between + so there can be differences between different localities, as well as between civil and religious authorities.} For instance if ¦\Hijritoday¦ yields the date “7 Rajab 1429” (which is the date that was displayed on the front page of \href{http://www.aljazeera.net}{aljazeera.net} on @@ -600,7 +601,10 @@ Robertson (\pkg{fontspec}), Apostolos Syropoulos (\pkg{xgreek}), Youssef Jabri (\pkg{arabi}), and Vafa Khalighi (\pkg{xepersian}). I should also thank other individuals for their assistance in supporting specific languages: Yves Codet (Sanskrit), Zdenek Wagner (Hindi), Mikhal Oren (Hebrew), Sergey Astanin (Russian), -and several other members of the \XeTeX\ user community. +Khaled Hosny (Arabic), Sertaç Ö. Yıldız (Turkish), +and several other members of the \XeTeX\ user community, notably Enrico Gregorio, who +has sent me many useful suggestions and corrections and contributed the ¦\newXeTeXintercharclass¦ +mechanism in xelatex.ini which is now used by polyglossia. And of course my gratitude also goes to Jonathan Kew, the formidable author of \XeTeX! \end{document} |