summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex')
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/README39
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdfbin83185 -> 80720 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex13
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdfbin19253 -> 18978 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/examples.pdfbin168134 -> 159613 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/examples.tex3
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf95
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdfbin202019 -> 172254 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex169
9 files changed, 146 insertions, 173 deletions
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 \<lang>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
<firmicus ατ gmx δοτ net>
------------------------------
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
--- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf
Binary files 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
--- a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf
Binary files 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
--- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
Binary files 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-<lang>.ldf}[polyglossia: module for <lang>]
-\makeatletter
-
-\ifx\l@<lang>\@undefined%
- \xpg@nopatterns{<Lang>}%
- \adddialect\l@<lang>0%
-\fi
-
-\def\captions<lang>{%
- \def\refname{\text<lang>{<++>}}%
- \def\abstractname{\text<lang>{<++>}}%
- \def\bibname{\text<lang>{<++>}}%
- \def\prefacename{\text<lang>{<++>}}%
- \def\chaptername{\text<lang>{<++>}}%
- \def\appendixname{\text<lang>{<++>}}%
- \def\contentsname{\text<lang>{<++>}}%
- \def\listfigurename{\text<lang>{<++>}}%
- \def\listtablename{\text<lang>{<++>}}%
- \def\indexname{\text<lang>{<++>}}%
- \def\figurename{\text<lang>{<++>}}%
- \def\tablename{\text<lang>{<++>}}%
- \def\thepart{\text<lang>{}}%
- \def\partname{\text<lang>{<++>}}%
- \def\pagename{\text<lang>{<++>}}%
- \def\seename{\text<lang>{<++>}}%
- \def\alsoname{\text<lang>{<++>}}%
- \def\enclname{\text<lang>{<++>}}%
- \def\ccname{\text<lang>{<++>}}%
- \def\headtoname{\text<lang>{<++>}}%
- \def\proofname{\text<lang>{<++>}}%
- \def\glossaryname{\text<lang>{<++>}}%
- }
-\def\date<lang>{%
- \def\today{\text<lang>{<++>}}%
- }
-
-%\def\<lang>@font{\normalfontlatin} % <== if the script is Latin
-% else:
-\def\<lang>@font{%
-\font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt
-\@ifundefined{<lang>font}{%
- \@ifundefined{<script>font}{%
- \zf@check@ot@script{<xxxx>}%xxx
- \if@tempswa%
- \addfontfeature{Script=<Script>}%
- \else%
- \PackageError{polyglossia}{^^J
- The current font does not contain the <Script> script!^^J
- Please define \string\<script>font\space or \string\<lang>font\space with \string\newfontfamily}%
- \fi%
- \zf@check@ot@lang{<XXX>}%xxx
- \if@tempswa\addfontfeature{Language=<Lang>}\fi%
- }%
- {\<script>font%
- \zf@check@ot@lang{<XXX>}%xxx
- \if@tempswa\addfontfeature{Language=<Lang>}\fi%
- }}%
- {\<lang>font}%
-}
-% If script and lang are identical (e.g. Greek, Arabic, Syriac, …), then use this:
-%\def\<lang>@font{%
-% \@ifundefined{<lang>font}{%
-% \font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt
-% \zf@check@ot@script{<xxx>}%
-% \if@tempswa%
-% \addfontfeature{Script=<Lang>}%
-% \else%
-% \PackageError{polyglossia}{The current font does not contain the <Lang> script!^^J
-% Please define \string\<lang>font\space with \string\newfontfamily}%
-% \fi%
-% }%
-% {\<lang>font}}
-
-\def\selectnormalfont<lang>{%
- \let\normalfont=\<lang>@font%
- \def\reset@font{\normalfont}}
-
-\def\<lang>@language{\protect\language=\l@<lang>}
-
-\setlocalhyphenmins{<lang>}{2}{2}%
-
-\def\noextras@<lang>{%
- }
-
-\def\blockextras@<lang>{%
- }
-
-\def\inlineextras@<lang>{%
- }
-
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
index 2bc3f918d4f..fd964d03b07 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex
index 6ac51291006..432a791680b 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex
@@ -22,7 +22,7 @@
pdfkeywords={xetex, xelatex, multilingual, babel, hyphenation}
]{hyperref}
\usepackage[babelshorthands]{polyglossia}
-\usepackage{farsical}
+%\usepackage{farsical} <<< needs to be disabled otherwise we have too many counters!
\setmainlanguage[variant=uk]{english}
\setotherlanguages{arabic,hebrew,syriac,greek,russian,catalan}
\newcommand*\Cmd[1]{\cmd{#1}\DescribeMacro{#1}\xspace}
@@ -167,14 +167,17 @@ Language-specific options can be set or changed at any time by means of
\subsection{The “Babel way”}
-As with \Babel, \pkg{polyglossia} also allows you to load language definition files
-as package options. In most cases, option \texttt{⟨lang⟩} will load the file
-\file{gloss-⟨lang⟩.ldf}. Note however that the \textit{first} language listed in \\
-\centerline{\cmd{\usepackage[lang1,lang2,…]{polyglossia}}}
-will be the default language for the document, which
-is the opposite convention of \Babel.
-Note also that this method may not work in some cases, and should be
-considered deprecated.
+\new{v1.2.0}
+{\color{red}\bfseries Warning}: \pkg{polyglossia} no longer supports loading
+language definition files as package options!
+%As with \Babel, \pkg{polyglossia} also allows you to load language definition files
+%as package options. In most cases, option \texttt{⟨lang⟩} will load the file
+%\file{gloss-⟨lang⟩.ldf}. Note however that the \textit{first} language listed in \\
+%\centerline{\cmd{\usepackage[lang1,lang2,…]{polyglossia}}}
+%will be the default language for the document, which
+%is the opposite convention of \Babel.
+%Note also that this method may not work in some cases, and should be
+%considered deprecated.
\subsection{Supported languages}
@@ -187,11 +190,13 @@ that are explained in section \ref{specific} below.
%albanian
%amharic
%\TX{arabic}
+%armenian
%asturian
%bahasai
%bahasam
%basque
-%brazil
+%\TX{bengali}
+%brazil[ian]
%breton
%bulgarian
%\TX{catalan}
@@ -211,18 +216,22 @@ that are explained in section \ref{specific} below.
%\TX{german}
%\TX{greek}
%\TX{hebrew}
-%hindi
+%\TX{hindi}
%icelandic
%interlingua
%irish
%italian
+%\TX{lao}
%latin
%latvian
%lithuanian
%\TX{lsorbian}
%\TX{magyar}
+%malayalam
+%marathi
%norsk
%nynorsk
+%occitan
%polish
%portuges
%romanian
@@ -236,27 +245,33 @@ that are explained in section \ref{specific} below.
%spanish
%swedish
%\TX{syriac}
+%tamil
+%telugu
%\TX{thai}
%turkish
+%turkmen
%ukrainian
%urdu
%\TX{usorbian}
+%vietnamese
%welsh
-%%%%% the following table was automatically generated with "maketabular.pl 5 < above_input"
+%%%%% private note: the following table was automatically generated with "maketabular.pl 5 < above_input"
\begin{tabular}{lllll}
\hline
-albanian & croatian & \TX{german} & \TX{magyar} & slovenian \\
-amharic & czech & \TX{greek} & norsk & spanish \\
-\TX{arabic} & danish & \TX{hebrew} & nynorsk & swedish \\
-asturian & divehi & hindi & polish & \TX{syriac} \\
-bahasai & \TX{dutch} & icelandic & portuges & \TX{thai} \\
-bahasam & \TX{english} & interlingua & romanian & turkish \\
-basque & \TX{esperanto} & irish & \TX{russian} & ukrainian \\
-brazil & estonian & italian & samin & urdu \\
-breton & \TX{farsi} & latin & sanskrit & \TX{usorbian} \\
-bulgarian & finnish & latvian & scottish & welsh \\
-\TX{catalan} & french & lithuanian & \TX{serbian} & \\
-coptic & galician & \TX{lsorbian} & slovak & \\
+albanian & croatian & \TX{hebrew} & norsk & swedish \\
+amharic & czech & \TX{hindi} & nynorsk & \TX{syriac} \\
+\TX{arabic} & danish & icelandic & occitan & tamil \\
+armenian & divehi & interlingua & polish & telugu \\
+asturian & \TX{dutch} & irish & portuges & \TX{thai} \\
+bahasai & \TX{english} & italian & romanian & turkish \\
+bahasam & \TX{esperanto} & \TX{lao} & \TX{russian} & turkmen \\
+basque & estonian & latin & samin & ukrainian \\
+\TX{bengali} & \TX{farsi} & latvian & sanskrit & urdu \\
+brazil[ian] & finnish & lithuanian & scottish & \TX{usorbian} \\
+breton & french & \TX{lsorbian} & \TX{serbian} & vietnamese \\
+bulgarian & galician & \TX{magyar} & slovak & welsh \\
+\TX{catalan} & \TX{german} & malayalam & slovenian & \\
+coptic & \TX{greek} & marathi & spanish & \\
\hline
\end{tabular}
\caption{Languages currently supported in \pkg{polyglossia}}
@@ -264,36 +279,25 @@ coptic & galician & \TX{lsorbian} & slovak & \\
\textit{NB:} The support for Amharic\new{v1.0.1} should be considered an experimental attempt to
port the package \pkg{ethiop}.\footnote{ Feedback is welcome.}
-The language definition files for Asturian\footnote{ %
- Provided by Kevin Godby and Xuacu Saturio.}, Lithuanian\footnote{ %
- Provided by Kevin Godby and Paulius Sladkevičius.},
-and Urdu\footnote{ %
- Provided by Kamal Abdali.}
-are new in version 1.1.1\new{v1.1.1}.
+Version 1.1.1\new{v1.1.1} addded support for Asturian, %\footnote{ Provided by Kevin Godby and Xuacu Saturio.},
+Lithuanian, %\footnote{ Provided by Kevin Godby and Paulius Sladkevičius.},
+and Urdu. %\footnote{ Provided by Kamal Abdali.}
+%
+Version 1.2\new{v1.2.0} adds support for Armenian, Occitan, Bengali,
+Lao, Malayalam, Marathi, Tamil, Telugu, and Turkmen.\footnote{ %
+ See acknowledgements at the end for due credit to the various contributors.}
-Some package options are convenient shortcuts for loading languages with
-specific options:
-\begin{itemize}
-\item american = english with option ‘variant=american’
-\item USenglish = english with option ‘variant=american’
-\item UKenglish = english with option ‘variant=british’
-\item british = english with option ‘variant=british’
-\item australian = english with option ‘variant=australian’
-\item newzealand = english with option ‘variant=newzealand’
-\item ogerman = german with option ‘spelling=old’
-\item monogreek = greek with option ‘variant=monotonic’ (or ‘mono’)
-\item polygreek = greek with option ‘variant=polytonic’ (or ‘poly’)
-\item ancientgreek = greek with option ‘variant=ancient’
-\end{itemize}
Polyglossia can also be loaded with the option ‘babelshorthands’\new{v1.1.1}, which
globally activates \Babel shorthands whenever available. Currently shorthands are
only implemented for German and Catalan: see below for details.
-Another option (turned off by default) is ‘nolocalmarks’, which
-prevents the redefinition of the internal \LaTeX\ macros
-\cmd\markboth\ and \cmd\markright.
+Another option (turned off by default) is ‘localmarks’, which
+redefines the internal \LaTeX\ macros \cmd\markboth\ and \cmd\markright.
+\new{v1.2.0}Note that this was formerly turned on by default, but ẃe
+now realize that it causes more problems than otherwise. For backwards-compatibility
+the opposite option ‘nolocalmarks’ is still available.
There is also the option ‘quiet’ which turns off most info messages and some of the warnings
issued by \LaTeX, \pkg{fontspec} and \pkg{polyglossia}.
@@ -389,6 +393,9 @@ For instance, if the default roman font defined by \cmd\setromanfont\
does not support Greek, then one can define the font used to display Greek with:\\
\centerline{ \cmd\newfontfamily\cmd{\greekfont[⟨options⟩]\{⟨font⟩\}}. }
See the \pkg{fontspec} documentation for more information.
+If a specific sans or monospace fonts is needed for a particular script or language,
+it can be specified by means of \new{v1.2.0}
+¦\⟨script⟩fontsf¦\ or ¦\⟨language⟩fontsf¦ and ¦\⟨script⟩fonttt¦\ or ¦\⟨language⟩fonttt¦, respectively.
Whenever a new language is activated, \pkg{polyglossia} will first check whether
a font has been defined for that language or – for languages in non-Latin scripts –
@@ -424,6 +431,15 @@ The default value of each option is given in italic.
\textbf{Commands}:
\begin{itemize}
\item \Cmd\abjad and \Cmd\abjadmaghribi (see section \ref{abjad})
+ \item \Cmd\aemph to emphasize Arabic text with ¦\overline¦:\new{v1.2.0}
+ ¦\textarabic{مثال: \aemph{اب}}¦ yields \textarabic{مثال: \aemph{اب}}.
+ This command is also available for Farsi, Urdu, etc.
+ \end{itemize}
+
+\subsection{bengali}\label{bengali}\new{v1.2.0}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{numerals} = Western or \textit{Devanagari}
\end{itemize}
\subsection{catalan}\label{catalan}
@@ -479,16 +495,17 @@ The default value of each option is given in italic.
\textbf{Commands}:
\begin{itemize}
\item \Cmd\abjad (see section \ref{abjad})
+ \item \Cmd\aemph (see section \ref{arabic}).
\end{itemize}
%\subsection{french}\label{french}
%\textbf{Options}:
% \begin{itemize}
-% \item \TB{espacedeuxpoints} = thick or half \new{v1.2}
+% \item \TB{espacedeuxpoints} = thick or half \new{v1.2.x} ???
% \footnote{ %
% Can be customized by redefining \french@colonspace }
% \end{itemize}
-%
+%
\subsection{german}\label{german}
\textbf{Options}:
@@ -522,6 +539,8 @@ The default value of each option is given in italic.
\item ¦"<¦ for French left double quotes («)
\item ¦">¦ for French right double quotes (»).
\end{itemize}
+ \item\TB{script} = \textit{latin} or fraktur.\new{v1.2.0}
+ Setting script=fraktur modifies the captions for typesetting German in Fraktur.
\end{itemize}
\subsection{greek}\label{greek}
@@ -550,8 +569,20 @@ The default value of each option is given in italic.
\textbf{Commands}:
\begin{itemize}
\item \Cmd\hebrewnumeral\ (= \Cmd\hebrewalph) (see section \ref{abjad}).
+ \item \Cmd\aemph (see section \ref{arabic}).
\end{itemize}
+\subsection{hindi}\label{hindi}\new{v1.2.0}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{numerals} = Western or \textit{Devanagari}
+ \end{itemize}
+
+\subsection{lao}\label{lao}\new{v1.2.0}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{numerals} = lao or \textit{arabic}
+ \end{itemize}
\subsection{lsorbian and usorbian}\label{lsorbian}\label{usorbian}
\textbf{Commands}:
@@ -576,10 +607,11 @@ The default value of each option is given in italic.
\subsection{sanskrit}\label{sanskrit}
\textbf{Options}:
\begin{itemize}
- \item \TB{Script} (default = Devanagari). \new{1.0.2}
+ \item \TB{Script} (default = Devanagari). \new{v1.0.2}
The value is passed to \pkg{fontspec} in cases where ¦\sanskritfont¦ or
¦\devanagarifont¦ are not defined. This can be useful if you typeset
Sanskrit texts in scripts other than Devanagari.
+ %TODO \item Numerals <<<<
\end{itemize}
\subsection{serbian}\label{serbian}
@@ -598,6 +630,7 @@ The default value of each option is given in italic.
\textbf{Commands}:
\begin{itemize}
\item \Cmd\abjadsyriac (see section \ref{abjad})
+ \item \Cmd\aemph (see section \ref{arabic}).
\end{itemize}
\subsection{thai}\label{thai}
@@ -617,7 +650,7 @@ To redefine internal macros, you can use the command ¦\gappto¦ from the packag
with the same effect. For instance, to change the ¦\chaptername¦ for language ¦lingua¦,
you can do this:
\begin{verbatim}
-\gappto\linguacaptions{\renewcommand{\chaptername}{Caput}}
+\gappto\captionslingua{\renewcommand{\chaptername}{Caput}}
\end{verbatim}
\section{Non-Western decimal digits}
@@ -638,7 +671,7 @@ simple \TeX\ macros. This prevents some problems that occur when the value of a
counter has to be written and read from auxiliary files.\footnote{ %
For instance the package \pkg{lastpage} did not work with \pkg{polyglossia} in situations
where the display of counters was redefined to include a font-switching command.}
-These macros (currently \Cmd\arabicdigits, \Cmd\farsidigits\ and \Cmd\thaidigits\ are provided)
+These macros (currently \Cmd\arabicdigits, \Cmd\farsidigits\ and \Cmd\thaidigits\ are provided)
are also available to the users. For instance in an Arabic environment
¦\arabicdigits{9182/738543-X}¦ yields
\textarabic{\arabicdigits{9182/738543-X}}.
@@ -662,9 +695,9 @@ of the \textit{abjad} numerals are obtained with the \Cmd\abjadmaghribi\ command
Example: ¦\abjadmaghribi{1863}¦ yields {\arabicfont\abjadmaghribi{1863}}.
The code for Hebrew numerals, which was incorrect in previous versions, was
-ported from the implementation in \Babel with v1.1.1\new{v1.1.1}, and the
+ported from the implementation in \Babel with v1.1.1\new{v1.1.1}, and the
user interface is identical to the one in \Babel.
-The commands \Cmd\hebrewnumeral, \Cmd\Hebrewnumeral and \Cmd\Hebrewnumeralfinal\ behave exactly
+The commands \Cmd\hebrewnumeral, \Cmd\Hebrewnumeral and \Cmd\Hebrewnumeralfinal\ behave exactly
as they do in \Babel: the second command prints the number with \textit{gereshayim} before
the last letter, and the latter uses in addition the final forms of Hebrew letters.
Examples:
@@ -697,12 +730,12 @@ It provides two macros for the end-user.
The command
\displaycmd{\HijriFromGregorian\{⟨year⟩\}\{⟨month⟩\}\{⟨day⟩\}}{\HijriFromGregorian}
sets the counters ¦Hijriday¦, ¦Hijrimonth¦ and ¦Hijriyear¦.
-\Cmd\Hijritoday\ formats the Hijri date for the current day.
-This command is now locale-aware\new{v1.1.1}: its output will differ depending on the
-currently active language. Presently \pkg{polyglossia}’s language definition files
-for Arabic, Farsi, Urdu, Turkish, Bahasa Indonesia and Bahasa Melayu
+\Cmd\Hijritoday\ formats the Hijri date for the current day.
+This command is now locale-aware\new{v1.1.1}: its output will differ depending on the
+currently active language. Presently \pkg{polyglossia}’s language definition files
+for Arabic, Farsi, Urdu, Turkish, Bahasa Indonesia and Bahasa Melayu
provide a localized version of ¦\Hijritoday¦.
-If the formatting macro for the current language is undefined, the Hijri date will be formatted
+If the formatting macro for the current language is undefined, the Hijri date will be formatted
in Arabic or in roman transliteration, depending of the current writing direction.
You can define a new format or redefine one with the command
\displaycmd{\DefineHijriDateFormat\{<lang>\}\{<code>\}}{\DefineHijriDateFormat}.
@@ -724,7 +757,7 @@ itself a slight modification of ¦ftoday.sty¦ in Farsi\TeX.\footnote{ %
One day I may rewrite \pkg{farsical} from scratch using the algorithm in
Reingold \& Gershowitz (ref.~n.~\ref{reingold}).}
Here we have renamed the command \cmd\ftoday\ to
-\Cmd\Jalalitoday. Example: today is \Jalalitoday.
+\Cmd\Jalalitoday. %Example: today is \Jalalitoday.
%\section{Varia}
@@ -737,18 +770,22 @@ whose splendid work has made my task almost trivial in comparision: Johannes
Braams and the numerous contributors to the \Babel{} package (in particular
Boris Lavva and others for its Hebrew support), Alexej Kryukov (\pkg{antomega}), Will
Robertson (\pkg{fontspec}), Apostolos Syropoulos (\pkg{xgreek}), Youssef Jabri
-(\pkg{arabi}), and Vafa Khalighi (\pkg{xepersian} and \pkg{bidi}). I should also thank other
+(\pkg{arabi}), and Vafa Khalighi (\pkg{xepersian} and \pkg{bidi}).
+The work of Mojca Miklavec and Arthur Reutenauer on hyphenation patterns with their package
+\pkg{hyph-utf8} is of course invaluable. 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),
Khaled Hosny (Arabic), Sertaç Ö. Yıldız (Turkish), Kamal Abdali (Urdu),
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.
-More recently, Kevin Godby of the \href{http://ubuntu-manual.org}{Ubuntu Manual} project has
+mechanism in xelatex.ini which is now used by polyglossia.
+More recently, Kevin Godby of the \href{http://ubuntu-manual.org}{Ubuntu Manual} project has
contributed very useful feedback, bug hunting and, with the help of translators,
-new language definition files for Asturian and Lithuanian. It is particularly heartening to
-realize that this package is used to typeset a document in dozens of different languages!
-I also thank Alan Munn for kindly proof-reading the documentation.
+new language definition files for Asturian, Lithuanian, Occitan, Bengali, Malayalam, Marathi, Tamil, and Telugu.
+It is particularly heartening to realize that this package is used to typeset a widely-read
+document in dozens of different languages!
+Support for Lao was also added thanks to Brian Wilson.
+I also thank Alan Munn for kindly proof-reading the penultimate version of this documentation.
And of course my gratitude also goes to Jonathan Kew, the formidable author of \XeTeX!
\end{document}