summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-13 22:15:54 +0000
committerKarl Berry <karl@freefriends.org>2013-05-13 22:15:54 +0000
commit1ff28b17fa5479687257ee4525e3a06c8aa0a2c7 (patch)
tree22d0f15f3680a26ce6a158e96b25bf1908471b9e /Master/texmf-dist/doc
parente26fdd32ad8dc28823e2f351c31afa0dad690da9 (diff)
polyglossia (13may13)
git-svn-id: svn://tug.org/texlive/trunk@30442 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/README (renamed from Master/texmf-dist/doc/xelatex/polyglossia/README)29
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-arabic.tex (renamed from Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex)4
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/example-thai.tex (renamed from Master/texmf-dist/doc/xelatex/polyglossia/example-thai.tex)5
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/examples.tex (renamed from Master/texmf-dist/doc/xelatex/polyglossia/examples.tex)12
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdfbin0 -> 129521 bytes
-rw-r--r--Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex (renamed from Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex)183
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdfbin67620 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdfbin23337 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/examples.pdfbin148335 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdfbin150729 -> 0 bytes
10 files changed, 92 insertions, 141 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README b/Master/texmf-dist/doc/latex/polyglossia/README
index 2e9bc624861..104d02bc657 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/README
+++ b/Master/texmf-dist/doc/latex/polyglossia/README
@@ -1,14 +1,16 @@
¦----------------------------------------------¦
¦ ¦
- ¦ THE POLYGLOSSIA PACKAGE v1.2.1 ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.3 ¦
¦ ¦
- ¦ Modern multilingual typesetting with XeLaTeX ¦
+ ¦ Modern multilingual typesetting ¦
+ ¦ with XeLaTeX and LuaLaTeX ¦
¦ ¦
¦----------------------------------------------¦
-This package for provides a complete Babel replacement for users of XeLaTeX.
-This version includes support for 68 different languages.
+This package provides a complete Babel replacement for users of XeLaTeX and
+(at an early stage) LuaLaTeX. This version includes support for 74 different
+languages.
Polyglossia makes it possible to automate the following tasks:
@@ -30,7 +32,8 @@ Polyglossia makes it possible to automate the following tasks:
Several features of Babel that do not make sense in the XeTeX world (like font
encodings, shorthands, etc) are not supported. For German however, several
-shorthands do make sense and can be activated with the language option babelshorthands=true.
+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.
@@ -51,6 +54,12 @@ http://github.com/reutenauer/polyglossia/issues
CHANGES
+1.3 (11-05-2013)
+ * Several bugfixes.
+ * Sync with Babel 3.9.
+ * Added support for LuaTeX.
+ * Added support for Tibetan (end of lines are experimental).
+
1.2.0e (28-04-2012)
* Fixed a number of outstanding and not very interesting bugs.
* Added gloss files for Romansh and Friulan, contributed by Claudio
@@ -203,13 +212,3 @@ CHANGES
1.0
* Initial release on CTAN
-
-
- ------------------------------
- Arthur Reutenauer, April 2012
- <arthur 'dot' reutenauer 'at' normalesup 'dot' org>
-
- Original author:
- François Charette
- <firmicus ατ gmx δοτ net>
- ------------------------------
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex b/Master/texmf-dist/doc/latex/polyglossia/example-arabic.tex
index 1cd3266346f..6d685b9ae8a 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-arabic.tex
@@ -1,9 +1,9 @@
\documentclass[a4paper]{book}%
\usepackage[no-math]{fontspec}
\usepackage{xltxtra,url,amsmath}
-\setromanfont{Linux Libertine O}
+\setmainfont{Linux Libertine O}
\defaultfontfeatures{Scale=MatchLowercase}
-\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Scheherazade}%
+\newfontfamily\arabicfont[Script=Arabic]{Amiri}%
\newfontfamily\arabicfonttt[Script=Arabic,Scale=.75]{DejaVu Sans Mono}
\newfontfamily\farsifont[Script=Arabic,Scale=1.1,WordSpace=2]{IranNastaliq}
\usepackage[quiet,nolocalmarks]{polyglossia}
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.tex b/Master/texmf-dist/doc/latex/polyglossia/example-thai.tex
index 13995fd3d9c..b443c36fc90 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.tex
+++ b/Master/texmf-dist/doc/latex/polyglossia/example-thai.tex
@@ -4,10 +4,7 @@
\usepackage{polyglossia}
\setdefaultlanguage[numerals=thai]{thai}
\setotherlanguage{english}
-\setromanfont{Norasi}
-\defaultfontfeatures{Scale=MatchLowercase}
-\setmonofont{Inconsolata}
-\setsansfont{Lucida Sans Unicode}
+\setmainfont{Norasi}
\begin{document}
\begin{center}
\abstractname
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex b/Master/texmf-dist/doc/latex/polyglossia/examples.tex
index 9cb164c5b71..ee3381face1 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex
+++ b/Master/texmf-dist/doc/latex/polyglossia/examples.tex
@@ -11,15 +11,15 @@
\setotherlanguage[spelling=new,latesthyphen=true,babelshorthands=true]{german}
\setotherlanguages{latin,russian,turkish,polish,latvian,sanskrit,ukrainian,farsi,syriac,divehi,hebrew,amharic}
\setotherlanguage[calendar=gregorian,numerals=western]{urdu}
-\setromanfont{Linux Libertine O}
-\defaultfontfeatures{Scale=MatchLowercase,RawFeature={+locl}}
+\setmainfont{Linux Libertine O}
+\defaultfontfeatures{Scale=MatchLowercase}
\setmonofont{Inconsolata}
-\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}%
+\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\newfontfamily\syriacfont[Script=Syriac]{Serto Jerusalem}
-\newfontfamily\hebrewfont[Script=Hebrew]{David CLM}
+\newfontfamily\hebrewfont[Script=Hebrew]{Ezra SIL}
\newfontfamily\sanskritfont[Script=Devanagari]{Sanskrit 2003}
-\newfontfamily\thaifont[Script=Thai]{Norasi}%{Arial Unicode MS}
-\newfontfamily\thaanafont[Script=Thaana,WordSpace=2]{TITUS Cyberbit Basic}%this font does not have OT script tags, but it still seems to work
+\newfontfamily\thaifont[Script=Thai]{Norasi}
+\newfontfamily\thaanafont[Script=Thaana,WordSpace=2]{FreeSerif}
\newfontfamily\ethiopicfont[Script=Ethiopic]{Abyssinica SIL}
\parskip 1.33\baselineskip
%\newcommand\showhyphmin{\fbox{\the\lefthyphenmin\ \the\righthyphenmin}}
diff --git a/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf
new file mode 100644
index 00000000000..3354bb52de7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/polyglossia/polyglossia.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex b/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex
index 1ee2809bd28..0e84fa1f184 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex
+++ b/Master/texmf-dist/doc/latex/polyglossia/polyglossia.tex
@@ -1,14 +1,10 @@
\documentclass[11pt]{ltxdoc}
-\usepackage[dvipdfm]{color}
-\usepackage{xltxtra}
+\usepackage{color}
\usepackage{xspace,fancyvrb}
\usepackage[neverdecrease]{paralist}
\definecolor{myblue}{rgb}{0.02,0.04,0.48}
\definecolor{lightblue}{rgb}{0.61,.8,.8}
\definecolor{myred}{rgb}{0.65,0.04,0.07}
-\definecolor{darkgray}{gray}{0.3}
-\definecolor{lightgray}{gray}{0.6}
-\definecolor{mygreen}{rgb}{0,.43,0}
\usepackage[
bookmarks=true,
colorlinks=true,
@@ -17,14 +13,16 @@
citecolor=myblue,
hyperindex=false,
hyperfootnotes=false,
- pdftitle={Polyglossia: A Babel replacement for XeLaTeX},
- pdfauthor={F Charette <firmicus · gmx · net>},
- pdfkeywords={xetex, xelatex, multilingual, babel, hyphenation}
+ pdftitle={Polyglossia: A Babel replacement for XeLaTeX and LuaLaTeX},
+ pdfauthor={F Charette, A Reutenauer},
+ pdfkeywords={xetex, xelatex, luatex, lualatex, multilingual, babel, hyphenation}
]{hyperref}
\usepackage[babelshorthands]{polyglossia}
-%\usepackage{farsical} <<< needs to be disabled otherwise we have too many counters!
+\usepackage{farsical}
\setmainlanguage[variant=british,ordinalmonthday=false]{english}
\setotherlanguages{arabic,hebrew,syriac,greek,russian,catalan}
+\usepackage{metalogo}
+\usepackage[protrusion]{microtype}
\newcommand*\Cmd[1]{\cmd{#1}\DescribeMacro{#1}\xspace}
\newcommand*\pkg[1]{\textsf{\color{myblue}#1}}
\newcommand*\file[1]{\texttt{\color{myblue}#1}}
@@ -40,43 +38,26 @@
\def\etc{\@ifnextchar.{\textit{etc}}{\textit{etc.}\@\xspace}}
%% Sidenotes << copied from fontspec.dtx
-\newcommand\warn[2]{%
- \edef\thisversion{#1}%
- \ifhmode\unskip~\fi{\ifx\thisversion\fileversion\color{red}\fi
- $\leftarrow$}%
- \marginpar{\raggedleft
- \small%
- \ifx\thisversion\fileversion\color{red}\fi
- \notefont #1:~#2}}
-
\newcommand\new[1]{%
\edef\thisversion{#1}%
\ifhmode\unskip~\fi{\ifx\thisversion\fileversion\color{blue}\else\color[gray]{0.5}\fi
$\leftarrow$}%
\marginpar{\centering
\small\ifx\thisversion\fileversion\color{blue}\else\color[gray]{0.5}\fi
- \notefont #1}}
+ \textsf{#1}}}
\newcommand\displaycmd[2]{%
\\\DescribeMacro{#2}\centerline{\cmd{#1}}}
\renewenvironment{itemize}{\begin{compactitem}[\char"2023]}%[{\fontspec{DejaVu Sans}\char"25BB}]}%
{\end{compactitem}}
\renewenvironment{enumerate}{\begin{compactenum}}{\end{compactenum}}
-%% Sidenote font
-\newfontfamily\notefont[Scale=MatchLowercase]{Lucida Sans Unicode}
-%%%
-
%% fontspec declarations:
-\setromanfont[Mapping=tex-text]{Linux Libertine O}
-\defaultfontfeatures{Scale=MatchLowercase}
-\setmonofont{DejaVu Sans Mono}
-\setsansfont{Lucida Sans Unicode}
-\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}
-\newfontfamily\farsifont[Script=Arabic]{Farsi Simple Bold}
+\setmainfont{Linux Libertine O}
+\setsansfont{Linux Biolinum O}
+\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
+\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\newfontfamily\syriacfont[Script=Syriac]{Serto Jerusalem}
-\newfontfamily\hebrewfont[Script=Hebrew]{SBL Hebrew}
-
-\newcommand\Babel{\pkg{Babel}\xspace}
+\newfontfamily\hebrewfont[Script=Hebrew]{Ezra SIL}
\linespread{1.05}
\frenchspacing
@@ -88,10 +69,9 @@
\begin{document}
\GetFileInfo{polyglossia.sty}
-\title{\textcolor{lightblue}{\huge
-\fontspec{GFS Ambrosia}
-Π$\;\,$ο$\;\,$λ$\;\,$υ$\;\,$γ$\;\,$λ$\;\,$ω$\;\,$σ$\;\,$σ$\;\,$ι$\;\,$α}\\[16pt]
-\color{myblue}Polyglossia: A Babel Replacement for \XeLaTeX}
+\title{\textcolor{lightblue}{\Huge\fontspec[Script=Greek,Language=Polytonic Greek,LetterSpace=40]{GFS Ambrosia} Πολυγλωσσια}
+\\[16pt]
+\color{myblue}Polyglossia: A Babel Replacement for \XeLaTeX\ and \LuaLaTeX}
\author{\scshape\color{myblue}François Charette\\\color{myblue}Current maintainer: \scshape Arthur Reutenauer}
\date{\filedate \qquad \fileversion\\
\footnotesize (\textsc{pdf} file generated on \today)}
@@ -110,9 +90,10 @@
\section{Introduction}
-Polyglossia is a package for facilitating multilingual typesetting with \XeLaTeX.
-Basically, it can be used as a replacement of \Babel for performing the
-following tasks automatically:
+Polyglossia is a package for facilitating multilingual typesetting with
+\XeLaTeX\ and (at an early stage) \LuaLaTeX. Basically, it
+can be used as a replacement of \pkg{babel} for performing the following
+tasks automatically:
\begin{enumerate}
\item Loading the appropriate hyphenation patterns.
@@ -135,16 +116,16 @@ following tasks automatically:
available separately).
\end{enumerate}
-Several features of \Babel that do not make sense in the \XeTeX\ world (like font
+Several features of \pkg{babel} that do not make sense in the \XeTeX\ world (like font
encodings, shorthands, etc.) are not supported.
Generally speaking, \pkg{polyglossia} aims to remain as compatible as possible
-with the fundamental features of \Babel while being cleaner, light-weight,
+with the fundamental features of \pkg{babel} while being cleaner, light-weight,
and modern. The package \pkg{antomega} has been very beneficial in our attempt to
reach this objective.
\paragraph{Requirements:} The current version of \pkg{polyglossia} makes use of some convenient
macros defined in the \pkg{etoolbox} package by Philipp Lehmann. Being designed
-specifically for \XeLaTeX, it obviously also relies on \pkg{fontspec} by Will
+for \XeLaTeX\ and \LuaLaTeX, it obviously also relies on \pkg{fontspec} by Will
Robertson. For languages written from right to left, it needs the package \pkg{bidi}
by Vafa Khalighi (\textarabic{وفا خليقي}). Polyglossia also bundles three packages for calendaric
computations (\pkg{hebrewcal}, \pkg{hijrical}, and \pkg{farsical}).
@@ -156,26 +137,26 @@ You can determine the default language by means of the command:
\displaycmd{\setdefaultlanguage[⟨options⟩]\{lang\}}{\setdefaultlanguage}
(or equivalently \Cmd\setmainlanguage).
Secondary languages can be loaded with
- \displaycmd{\setotherlanguage[⟨options⟩]\{lang\}}{\setotherlanguage}.
+ \displaycmd{\setotherlanguage[⟨options⟩]\{lang\}.}{\setotherlanguage}
These commands have the advantage of being explicit and of allowing you to set
language-specific options.\footnote{ %
More on language-specific options below.}
It is also possible to load a series of secondary languages at once using
- \displaycmd{\setotherlanguages\{lang1,lang2,lang3,…\}}{\setotherlanguages}.
+ \displaycmd{\setotherlanguages\{lang1,lang2,lang3,…\}.}{\setotherlanguages}
Language-specific options can be set or changed at any time by means of
- \displaycmd{\setkeys\{⟨lang⟩\}\{opt1=value1,opt2=value2,…\}}{\setkeys}.
+ \displaycmd{\setkeys\{⟨lang⟩\}\{opt1=value1,opt2=value2,…\}.}{\setkeys}
\subsection{The “Babel way”}
\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 with \pkg{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.
+%is the opposite convention of \pkg{babel}.
%Note also that this method may not work in some cases, and should be
%considered deprecated.
@@ -262,15 +243,15 @@ 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} & \TX{italian} & romanian & turkish \\
-bahasam & \TX{esperanto} & \TX{lao} & \TX{russian} & turkmen \\
-basque & estonian & latin & samin & ukrainian \\
-\TX{bengali} & \TX{farsi} & latvian & \TX{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 & \\
+asturian & \TX{dutch} & irish & portuges & tibetan \\
+bahasai & \TX{english} & \TX{italian} & romanian & \TX{thai} \\
+bahasam & \TX{esperanto} & \TX{lao} & \TX{russian} & turkish \\
+basque & estonian & latin & samin & turkmen \\
+\TX{bengali} & \TX{farsi} & latvian & \TX{sanskrit}& ukrainian \\
+brazil[ian] & finnish & lithuanian & scottish & urdu \\
+breton & french & \TX{lsorbian} & \TX{serbian} & \TX{usorbian} \\
+bulgarian & galician & \TX{magyar} & slovak & vietnamese \\
+\TX{catalan} & \TX{german} & malayalam & slovenian & welsh \\
coptic & \TX{greek} & marathi & spanish & \\
\hline
\end{tabular}
@@ -290,7 +271,7 @@ Lao, Malayalam, Marathi, Tamil, Telugu, and Turkmen.\footnote{ %
Polyglossia can also be loaded with the option
-‘babelshorthands’\new{v1.1.1}, which globally activates \Babel
+‘babelshorthands’\new{v1.1.1}, which globally activates \pkg{babel}
shorthands whenever available. Currently shorthands are implemented for
Catalan, Dutch, German, Italian, and Russian: see these respective
languages for details.
@@ -336,25 +317,6 @@ of Homer’s \textit{Iliad}:
Note that for Arabic one cannot use the environment ¦arabic¦,
as \cmd\arabic\ is defined internally by \LaTeX. In this case
we need to use the environment ¦Arabic¦ instead\DescribeEnv{Arabic}.
-This is the beginning of Ibn Khaldūn’s \textit{Muqaddima}:
-
-% TODO: convince XeTeX to typeset right-to-left, even in verbatim.
-% The individual words are set correctly, but the whole paragraph is
-% left-to-right!
-\begin{Verbatim}[formatcom={\color{myblue}\addfontfeature{Script=Arabic}}]
-\begin{Arabic}
-اعلم أنّ فنّ التاريخ فنّ عزيز المذهب، جمّ الفوائد، شريف الغاية؛ إذ هو
-يوقفنا على أحوال الماضين من الأمم في أخلاقهم، والأنبياء في سيرهم، والملوك
-في دولهم وسياستهم؛ حتّى تتمّ فائدة الإقتداء في ذلك لمن يرومه في أحوال
-الدين والدنيا.
-\end{Arabic}
-\end{Verbatim}
-
-\begin{Arabic}
-اعلم أنّ فنّ التاريخ فنّ عزيز المذهب، جمّ الفوائد، شريف الغاية؛ إذ هو يوقفنا على
-أحوال الماضين من الأمم في أخلاقهم، والأنبياء في سيرهم، والملوك في دولهم
-وسياستهم؛ حتّى تتمّ فائدة الإقتداء في ذلك لمن يرومه في أحوال الدين والدنيا.
-\end{Arabic}
\subsection{Other commands}
The following commands are probably of lesser interest to the end user, but
@@ -368,33 +330,26 @@ ought to be mentioned here.
to another one in the middle of a document: \textit{this may have adverse effects}!
\item \Cmd\normalfontlatin: in an environment where \cmd\normalfont\ has been redefined
- to a non-latin script, this will call the font defined with \cmd\setromanfont\ etc.
+ to a non-latin script, this will call the font defined with \cmd\setmainfont\ etc.
Likewise it is possible to use \Cmd\rmfamilylatin, \Cmd\sffamilylatin,
and \Cmd\ttfamilylatin.
-\item Some macros defined in \Babel’s \file{hyphen.cfg} (and thus usually
- compiled into the xelatex format) are redefined, but keep a similar
+\item Some macros defined in \pkg{babel}’s \file{hyphen.cfg} (and thus usually
+ compiled into the \XeLaTeX\ and \LuaLaTeX\ format) are redefined, but keep a similar
behaviour, namely \Cmd\selectlanguage, \Cmd\foreignlanguage,
and the environment ¦otherlanguage¦\DescribeEnv{otherlanguage}.
\end{itemize}
%
-Since the \XeLaTeX\ format incorporates \Babel’s \file{hyphen.cfg},
+Since the \XeLaTeX\ and \LuaLaTeX\ format incorporate \pkg{babel}’s \file{hyphen.cfg},
the low-level commands for hyphenation and language switching
defined there are also accessible.
-%%\footnote{ %
-%% The file \file{hyphen\_cfg} (available on the
-%% \href{http://scripts.sil.org/svn-view/xetex/TRUNK/texmf/tex/xelatex/polyglossia/hyphen\_cfg}{\XeTeX\ subversion repository})
-%% is meant to eventually replace \Babel’s \file{hyphen.cfg}. If you want
-%% to experiment with it, rename it into \file{hyphen.cfg}, copy it to
-%% \texttt{…/tex/xelatex/polyglossia/} and rebuild the xelatex format.}
-
\section{Font setup}
With polyglossia it is possible to associate a specific font with any script or language
that occurs in the document. That font should always be defined as
¦\⟨script⟩font¦\ or ¦\⟨language⟩font¦.
-For instance, if the default roman font defined by \cmd\setromanfont\
+For instance, if the default font defined by \cmd\setmainfont\
does not support Greek, then one can define the font used to display Greek with:\\
\centerline{ \cmd\newfontfamily\cmd{\greekfont[Script=Greek,⟨…⟩]\{⟨font⟩\}}. }
Note that polyglossia will use the font thus defined as is.
@@ -435,13 +390,13 @@ The default value of each option is given in italic.
\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{v1.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{ج}.
+ 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}
\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{اب}}.
+ \item \Cmd\aemph to emphasize text with ¦\overline¦.\new{v1.2.0}
+ ¦\textarabic{\aemph{اب}}¦ yields \textarabic{\aemph{اب}}.
This command is also available for Farsi, Urdu, etc.
\end{itemize}
@@ -459,7 +414,7 @@ The default value of each option is given in italic.
\end{itemize}
\textbf{Commands}:
\begin{itemize}
- \item \Cmd{\l.l} and \Cmd{\L.L} behave as in \Babel to type a geminated l, as in \textit{co\l.laborar}. \new{v1.1.1}
+ \item \Cmd{\l.l} and \Cmd{\L.L} behave as in \pkg{babel} to type a geminated l, as in \textit{co\l.laborar}. \new{v1.1.1}
In polyglossia the same can also be achieved with \Cmd{\l·l} and \Cmd{\L·L}.\footnote{ %
NB: · is the glyph U+00B7 MIDDLE DOT.}
\end{itemize}
@@ -468,7 +423,7 @@ The default value of each option is given in italic.
\textbf{Options:}
\begin{itemize}
\item \TB{babelshorthands} = \textit{false} or true. \new{v1.1.1}
- if this is turned on, all shorthands defined in \Babel
+ if this is turned on, all shorthands defined in \pkg{babel}
for fine-tuning the hyphenation of Dutch words are activated.
\begin{itemize}
\item ¦"-¦ for an explicit hyphen sign, allowing hyphenation in the rest of the word
@@ -491,7 +446,7 @@ The default value of each option is given in italic.
\subsection{esperanto}\label{esperanto}
\textbf{Commands}:
\begin{itemize}
- \item \Cmd\hodiau\ and \Cmd\hodiaun are special forms of \cmd\today\ (see the \Babel documentation)
+ \item \Cmd\hodiau\ and \Cmd\hodiaun are special forms of \cmd\today\ (see the \pkg{babel} documentation)
\end{itemize}
\subsection{farsi}\label{farsi}
@@ -527,7 +482,7 @@ The default value of each option is given in italic.
will be loaded instead of ‘german’ or ‘ngerman’. NB: This is based on
the file \texttt{language.dat} that comes with \TeX Live 2008 and later.
\item\TB{babelshorthands} = \textit{false} or true: \new{v1.0.3}
- if this is turned on, all shorthands defined in \Babel
+ if this is turned on, all shorthands defined in \pkg{babel}
for fine-tuning the hyphenation of German words are activated.
\begin{itemize}
\item ¦"ck¦ for ¦ck¦ to be hyphenated as ¦k-k¦
@@ -611,14 +566,14 @@ The default value of each option is given in italic.
\subsection{lsorbian and usorbian}\label{lsorbian}\label{usorbian}
\textbf{Commands}:
\begin{itemize}
- \item \Cmd\oldtoday : see the \Babel documentation.
+ \item \Cmd\oldtoday : see the \pkg{babel} documentation.
\end{itemize}
\subsection{magyar}\label{magyar}
\textbf{Commands}:
\begin{itemize}
\item \Cmd\ontoday\ (= \Cmd\ondatemagyar): special forms of \cmd\today\
- (see the \Babel documentation).
+ (see the \pkg{babel} documentation).
\end{itemize}
@@ -671,7 +626,7 @@ that comes with this package.
\section{Modifying or extending captions and date formats}
To redefine internal macros, you can use the command ¦\gappto¦ from the package
-\pkg{etoolbox}. For compatibility with \Babel the command ¦\addto¦ is also available
+\pkg{etoolbox}. For compatibility with \pkg{babel} the command ¦\addto¦ is also available
with the same effect. For instance, to change the ¦\chaptername¦ for language ¦lingua¦,
you can do this:
\begin{verbatim}
@@ -682,12 +637,12 @@ you can do this:
Several scripts have their own versions of the decimal digits commonly called
‘Arabic numerals’. With the appropriate language option set, \pkg{polyglossia}
-will automatically convert the output of internal LaTeX counters to their
+will automatically convert the output of internal \LaTeX\ counters to their
localized forms, for instance to display page, chapter and section numbers.
In previous versions this conversion was achieved my means of TECKit fontmappings.
-If needed they can be activated with the fontspec option
-¦Mapping=arabicdigits¦ (or ¦farsidigits¦ or ¦thaidigits¦).
+If needed they can be activated with the fontspec ¦Mapping¦ option,
+using ¦arabicdigits¦, ¦farsidigits¦ or ¦thaidigits¦.
For instance if \cmd\arabicfont\ is defined with the option ¦Mapping=arabicdigits¦,
then by typing ¦\textarabic{2010}¦ one will obtain \textarabic{٢٠١٠}.
@@ -714,34 +669,34 @@ The Greek numerals are obtained with \Cmd\greeknumeral (or \Cmd\Greeknumeral\ in
Example: ¦\greeknumeral{1863}¦ yields \textgreek{\greeknumeral{1863}}.
The Arabic \textit{abjad} numbers can be generated with the command \Cmd\abjad.
-Example: ¦\abjad{1863}¦ yields {\arabicfont\abjad{1863}}.
+Example: ¦\abjad{1863}¦ yields \textarabic{\abjad{1863}}.
In the Maghrib the conventions are somewhat different, and the maghribi forms
of the \textit{abjad} numerals are obtained with the \Cmd\abjadmaghribi\ command.
-Example: ¦\abjadmaghribi{1863}¦ yields {\arabicfont\abjadmaghribi{1863}}.
+Example: ¦\abjadmaghribi{1863}¦ yields \textarabic{\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
-user interface is identical to the one in \Babel.
+ported from the implementation in \pkg{babel} with v1.1.1\new{v1.1.1}, and the
+user interface is identical to the one in \pkg{babel}.
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
+as they do in \pkg{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:
-¦\hebrewnumeral{1750}¦ yields {\hebrewfont\hebrewnumeral{1750}}.
-¦\Hebrewnumeral{1750}¦ yields {\hebrewfont\Hebrewnumeral{1750}}.
-¦\Hebrewnumeralfinal{1750}¦ yields {\hebrewfont\Hebrewnumeralfinal{1750}}.
+¦\hebrewnumeral{1750}¦ yields \texthebrew{\hebrewnumeral{1750}},
+¦\Hebrewnumeral{1750}¦ yields \texthebrew{\Hebrewnumeral{1750}},
+and ¦\Hebrewnumeralfinal{1750}¦ yields \texthebrew{\Hebrewnumeralfinal{1750}}.
Support is also provided for Syriac abjad numerals, which can be generated
with \Cmd\abjadsyriac.\footnote{ %
A fine guide to numerals in Syriac can be found at \link{http://www.garzo.co.uk/documents/syriac-numerals.pdf}.}
-Example: ¦\abjadsyriac{463}¦ yields {\syriacfont\abjadsyriac{463}}.
+Example: ¦\abjadsyriac{463}¦ yields \textsyriac{\abjadsyriac{463}}.
\section{Calendars}
\subsection{Hebrew calendar (hebrewcal.sty)}
The package \file{hebrewcal.sty} is almost a verbatim copy of \file{hebcal.sty}
-that comes with \Babel.
+that comes with \pkg{babel}.
The command \Cmd\Hebrewtoday\ formats the current date in the Hebrew calendar
(depending of the current writing direction this will automatically set either
in Hebrew script or in roman transliteration).
@@ -763,7 +718,7 @@ provide a localized version of ¦\Hijritoday¦.
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}.
+ \displaycmd{\DefineHijriDateFormat\{<lang>\}\{<code>\}.}{\DefineHijriDateFormat}
The command ¦\Hijritoday¦ also accepts an optional argument to add or subtract a correction
(in days) to the date computed by the arithmetical algorithm.\footnote{ %
@@ -783,7 +738,7 @@ itself a slight modification of ¦ftoday.sty¦ in Farsi\TeX.\footnote{ %
Reingold \& Gershowitz (ref.~n.~\ref{reingold}).}
Here we have renamed the command \cmd\ftoday\ to
\Cmd\Jalalitoday.
-%Example: today is \Jalalitoday.
+Example: today is \Jalalitoday.
%\section{Varia}
@@ -793,7 +748,7 @@ Here we have renamed the command \cmd\ftoday\ to
\pkg{Polyglossia} is notable for being a recycle box of previous contributions
by other people. I take this opportunity to thank the following individuals,
whose splendid work has made my task almost trivial in comparision: Johannes
-Braams and the numerous contributors to the \Babel{} package (in particular
+Braams and the numerous contributors to the \pkg{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}).
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf
deleted file mode 100644
index 1c4a5557049..00000000000
--- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf
deleted file mode 100644
index 0bea2e7afe3..00000000000
--- a/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
deleted file mode 100644
index 3d733daed9f..00000000000
--- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
deleted file mode 100644
index d4db13e82b2..00000000000
--- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
+++ /dev/null
Binary files differ