From 306b4622046e852e3a6d1a44b180adc65d5b2bdf Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 17 Jul 2010 23:23:18 +0000 Subject: polyglossia update (17jul10) git-svn-id: svn://tug.org/texlive/trunk@19504 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/polyglossia/README | 39 ++++- .../doc/xelatex/polyglossia/example-arabic.pdf | Bin 83185 -> 80720 bytes .../doc/xelatex/polyglossia/example-arabic.tex | 13 +- .../doc/xelatex/polyglossia/example-thai.pdf | Bin 19253 -> 18978 bytes .../doc/xelatex/polyglossia/examples.pdf | Bin 168134 -> 159613 bytes .../doc/xelatex/polyglossia/examples.tex | 3 +- .../doc/xelatex/polyglossia/gloss-template.ldf | 95 ------------ .../doc/xelatex/polyglossia/polyglossia.pdf | Bin 202019 -> 172254 bytes .../doc/xelatex/polyglossia/polyglossia.tex | 169 +++++++++++++-------- 9 files changed, 146 insertions(+), 173 deletions(-) delete mode 100644 Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf (limited to 'Master/texmf-dist/doc/xelatex/polyglossia') diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README b/Master/texmf-dist/doc/xelatex/polyglossia/README index e00455f313e..9b88159808c 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/README +++ b/Master/texmf-dist/doc/xelatex/polyglossia/README @@ -1,14 +1,14 @@ ¦----------------------------------------------¦ ¦ ¦ - ¦ THE POLYGLOSSIA PACKAGE v1.1.1 ¦ + ¦ THE POLYGLOSSIA PACKAGE v1.2.0 ¦ ¦ ¦ ¦ Modern multilingual typesetting with XeLaTeX ¦ ¦ ¦ ¦----------------------------------------------¦ This package for provides a complete Babel replacement for users of XeLaTeX. -This version includes support for 57 different languages. +This version includes support for 68 different languages. Polyglossia makes it possible to automate the following tasks: @@ -51,7 +51,38 @@ http://github.com/fc7/polyglossia/issues CHANGES -1.1.1 +1.2.0 (15-07-2010) + * Adapted for fontspec 2.0 (will not work with earlier versions!) + * New implementation of a \PolyglossiaSetup interface + that simplifies writing gloss-*.ldf files + * Many internal enhancements and refactoring + (including a patch by Dirk Ulrich) + * Improved automatic font setup when \font is not defined + * New environment otherlanguage* (env. equivalent of \foreignlanguage + (Enrico Gregorio) + * Bugfix to prevent bogus expansion of \{rm,sf,tt}family even in aux files + (Enrico Gregorio) + * New gloss files for Armenian, Bengali, Occitan, Bengali, Lao, + Malayalam, Marathi, Tamil, Telugu, and Turkmen. + * New auxiliary packages 'devanagaridigits' and 'bengalidigits' + * hijrical no longer loads bidi and checks for incompatible l3calc + * Add Babel shorthands for Russian (based on a patch by Vladimir Lomov) + * Fix \fnum@{table,figure} for Lithuanian + * Various improvements in gloss-russian (provided by Vladimir Lomov and + others) + * Corrected captions for Bahasai, Lithuanian, Russian, Croatian + * Add option indentfirst=true for Spanish, Croation and other languages + (NB: indentfirst was previously named frenchindent) + * New option 'script' for German: Setting script=fraktur modifies the + captions for typesetting in Fraktur. + * New command \aemph for Arabic, Farsi, Urdu, etc. to mark emphasis through + overlining. + * Package option 'nolocalmarks' is now true by default: to activate it the + option 'localmarks' must be passed instead. + * Loading languages à la Babel as package options is no longer possible (this + feature was deprecated since v1.1.0). + +1.1.1 (23-03-2010) * Bugfix for French: explicit spaces before/after double punctuation signs ("Par exemple : les grands « espaces » du Canada ! ") are now replaced by the appropriate non-breaking spaces, as in Babel. @@ -132,6 +163,6 @@ CHANGES ------------------------------ - François Charette, Dec 2009 + François Charette, July 2010 ------------------------------ diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf index 0098c169c98..0b656e0fdcb 100644 Binary files a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf and b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex index e4afddb406a..b685956d09f 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex @@ -6,13 +6,11 @@ \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} -\usepackage[quiet]{polyglossia} +\usepackage[quiet,nolocalmarks]{polyglossia} \setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=mashriq]{arabic} \setotherlanguage[variant=british]{english} \setotherlanguage{farsi} \parindent 0pt -\makeatletter -\makeatother \title{اختبار دعم اللغة العربية} \author{فرانسوا شاريت} \begin{document} @@ -23,7 +21,6 @@ \pagenumbering{arabic} \section{لغات مختلفة} - \textbf{العربية}\footnote{% من «\LR{\textenglish{\url{http://ar.wikipedia.org/wiki/}}\RL{\ttfamily لغة عربية}}»} أكبر لغات المجموعة السامية من حيث عدد المتحدثين، وإحدى أكثر اللغات انتشارا في @@ -66,10 +63,12 @@ and in many international organisations. \section{أعمال تأريخية \textenglish{(Calendar operations)}} - -\textenglish[variant=us]{\today} = \LR{\today} = \today\ = \Hijritoday%\footnote{ +%\textenglish{\today} = \LTR{\today} = +\setfootnoteLR +\today\ = \Hijritoday%\footnote{ % محسوب بـ \textenglish{\textsf{hijrical.sty}}} -\footnote{ What is this?} +\LTRfootnote{ What is this?} +\setfootnoteRL %\newpage \subsection{فلان} diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf index d05bf0117dd..cfa6447f0bd 100644 Binary files a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf and b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf index 97bc468c848..25b442369cf 100644 Binary files a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf and b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex index 68402264e74..b423123144a 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex @@ -2,6 +2,7 @@ \usepackage[no-math]{fontspec} \usepackage{xltxtra,url} \usepackage{polyglossia} +\usepackage{trace} \setdefaultlanguage{french} \setotherlanguage[variant=british,ordinalmonthday=false]{english} \setotherlanguage[variant=poly]{greek} @@ -18,7 +19,7 @@ \newfontfamily\hebrewfont[Script=Hebrew]{David CLM} \newfontfamily\sanskritfont[Script=Devanagari]{Sanskrit 2003} \newfontfamily\thaifont[Script=Thai]{Norasi}%{Arial Unicode MS} -\newfontfamily\thaanafont[Script=Thaana,WordSpace=2]{TITUS Cyberbit Basic} +\newfontfamily\thaanafont[Script=Thaana,WordSpace=2]{TITUS Cyberbit Basic}%this font does not have OT script tags, but it still seems to work \newfontfamily\ethiopicfont[Script=Ethiopic]{Abyssinica SIL} \parskip 1.33\baselineskip %\newcommand\showhyphmin{\fbox{\the\lefthyphenmin\ \the\righthyphenmin}} diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf b/Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf deleted file mode 100644 index 0923c7f7bda..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf +++ /dev/null @@ -1,95 +0,0 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% IMPORTANT: The format of gloss-*.ldf files will become much simpler in v1.2. -% If you want to write new support files for polyglossia, you are urged to -% contact the author. The present template will very soon be deprecated! -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\ProvidesFile{gloss-.ldf}[polyglossia: module for ] -\makeatletter - -\ifx\l@\@undefined% - \xpg@nopatterns{}% - \adddialect\l@0% -\fi - -\def\captions{% - \def\refname{\text{<++>}}% - \def\abstractname{\text{<++>}}% - \def\bibname{\text{<++>}}% - \def\prefacename{\text{<++>}}% - \def\chaptername{\text{<++>}}% - \def\appendixname{\text{<++>}}% - \def\contentsname{\text{<++>}}% - \def\listfigurename{\text{<++>}}% - \def\listtablename{\text{<++>}}% - \def\indexname{\text{<++>}}% - \def\figurename{\text{<++>}}% - \def\tablename{\text{<++>}}% - \def\thepart{\text{}}% - \def\partname{\text{<++>}}% - \def\pagename{\text{<++>}}% - \def\seename{\text{<++>}}% - \def\alsoname{\text{<++>}}% - \def\enclname{\text{<++>}}% - \def\ccname{\text{<++>}}% - \def\headtoname{\text{<++>}}% - \def\proofname{\text{<++>}}% - \def\glossaryname{\text{<++>}}% - } -\def\date{% - \def\today{\text{<++>}}% - } - -%\def\@font{\normalfontlatin} % <== if the script is Latin -% else: -\def\@font{% -\font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt -\@ifundefined{font}{% - \@ifundefined{