summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/polyglossia
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-12 18:23:29 +0000
committerKarl Berry <karl@freefriends.org>2008-07-12 18:23:29 +0000
commit9bca6550cfe2de5380ebe394480ccb24126f2863 (patch)
tree2abb49bb229bed346f86399bc005c1ed7038d867 /Master/texmf-dist/doc/xelatex/polyglossia
parent037cf3d536e0f1fa1cccb00e1f26e8279abceb40 (diff)
new xetex package polyglossia (11jul08)
git-svn-id: svn://tug.org/texlive/trunk@9485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/polyglossia')
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/README.txt47
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/TODO.txt111
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf90
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/minimal.pdfbin0 -> 4874 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/minimal.tex7
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/polyglossia-doc.txt7
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdfbin0 -> 149579 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex500
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/test.pdfbin0 -> 128513 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/test.tex158
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/testarabic.pdfbin0 -> 77577 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/testarabic.tex108
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.pdfbin0 -> 9434 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.tex8
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.pdfbin0 -> 36179 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.tex26
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/testthai.pdfbin0 -> 19578 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/testthai.tex60
18 files changed, 1122 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README.txt b/Master/texmf-dist/doc/xelatex/polyglossia/README.txt
new file mode 100644
index 00000000000..a9e6f0f2302
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/README.txt
@@ -0,0 +1,47 @@
+
+ ¦----------------------------------------------¦
+ ¦ ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.0 ¦
+ ¦ ¦
+ ¦ Modern multilingual typesetting with XeLaTeX ¦
+ ¦ ¦
+ ¦----------------------------------------------¦
+
+This package for provides a complete Babel replacement for users of XeLaTeX.
+The initial version includes support for 54 different languages.
+
+Polyglossia makes it possible to automate the following tasks:
+
+* Loading the appropriate hyphenation patterns.
+* Setting the script and language tags of the current font (if possible and
+ available), using the package fontspec.
+* Switching to a font assigned by the user to a particular script or language.
+* Adjusting some typographical conventions in function of the current language
+ (such as afterindent, frenchindent, spaces before or after punctuation marks,
+ etc.).
+* redefining the document strings (like “chapter”, “figure”, “bibliography”).
+* Adapting the formatting of dates (for non-gregorian calendars via external
+ packages bundled with polyglossia: currently the hebrew, islamic and farsi
+ calendars are supported).
+* For languages that have their own numeration system, modifyinf the formatting
+ of numbers appropriately.
+* Ensuring the proper directionality if the document contains languages
+ 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.
+
+Polyglossia is distributed in the traditional way with *.dtx and *.ins files,
+and also comes with a TDS-conformant ready-to-unpack zip file.
+
+To install from source (i.e. using polyglossia.dtx), run
+ xelatex polyglossia.dtx
+which will generate all files and produce the pdf documentation all at once.
+Alternatively if you have the file polyglossia.ins run
+ xetex polyglossia.ins
+and follow the instructions displayed.
+
+ ------------------------------
+ François Charette, July 2008
+ <firmicus ατ gmx δοτ net>
+ ------------------------------
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/TODO.txt b/Master/texmf-dist/doc/xelatex/polyglossia/TODO.txt
new file mode 100644
index 00000000000..4fb1894ba5c
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/TODO.txt
@@ -0,0 +1,111 @@
+=== THIS IS THE TODO LIST FOR THE POLYGLOSSIA PACKAGE ===
+
+polyglossia.sty:
+ * for languages with hyphenation patterns but without
+ a gloss-* module, allow to load it with only a warning message
+ * MAKE polyglossia cooperate with Babel-aware packages and classes, for
+ example scrlttr2! Lines 1347 to 1708 of scrlttr2.cls are a sort of
+ patch for Babel, which is not compatible with polyglossia right now...
+
+ * hyphenation shorthands:
+ Perhaps implement the following as an option, based on dutch module of babel:
+
+ "| disable ligature at this position
+ "- an explicit hyphen sign, allowing hyphenation in the rest of the word
+ "~ to produce a hyphencharacter without the following \discretionary{}{}{}.
+ "" to produce an invisible ‘breakpoint’.
+ \- like the old \-, but allowing hyphenation in the rest of the word.
+
+
+TEST THIS:
+============================================================================
+\newcommand{\PolyglossiaSetup}[2]{%
+ \xpg@define@keys{#1}%
+ \setkeys[xpg@setup]{#1}{script,direction,hyphenmins,frenchspacing,frenchindent}% to set the defaults
+ \setkeys[xpg@setup]{#1}{#2}}
+
+\def\xpg@first#1,#2{#1}
+\def\xpg@second#1,#2{#2}
+
+\def\xpg@define@keys#1{%
+ \define@key[xpg@setup]{#1}{script}{%
+ \def\@tmpa{##1}\def\tmp@latin{latin}%
+ \csgdef{#1@script}{\@tmpa}% -> could be eventually useful
+ \ifx\@tmpa\tmp@latin%
+ \csgdef{#1@script@latin}{\relax}%
+ \ifcsundef{#1@font}{\cslet{#1@font}{\normalfontlatin}}{}%
+ \fi}%
+ \define@choicekey+[xpg@setup]{#1}[\tmp@val]{Direction}{LR,RL}[LR]{%
+ \def\tmp@RL{RL}%
+ \ifx\tmp@val\tmp@RL%
+ \csgdef{#1@RL}{\relax}%
+ \else%
+ \cslet{#1@RL}{\@undefined}
+ \fi}%
+ {\PackageWarning{polyglossia}{#1: Invalid value for key Direction}}%
+ \define@key[xpg@setup]{#1}{hyphenmins}[{2,2}]{%
+ \edef\@tmpb{\xpg@first{##1}}%
+ \edef\@tmpc{\xpg@second{##1}}%
+ \providehyphenmins{#1}{\@tmpb\@tmpc\relax}%
+ }%
+ \define@boolkeys[xpg@setup]{#1}[#1@]{frenchspacing,frenchindent}[false]%
+}
+
+\endinput
+
+Example (at the end of a gloss file):
+\PolyglossiaSetup{<lang>}{%
+ Script=Latin, %default=Latin
+ Direction=LR, %default=LR
+% LanguageString=<lang>, %default=<lang>
+% Aliases={Foo,Bar},
+ hyphenmins={x,y} %default={2,2} ? {2,3} in babel...
+ frenchspacing=true, %default=false
+ frenchindent=true %default=false
+ }
+
+=> \<lang>@latin is defined and if \<lang>@font is not def. it is set to \normalfontlatin
+=> if Direction=RL , \<lang>@RL is defined
+=> \providehyphenmins{<lang>}{xy}
+=> \frenchspacing etc are set in \select@language etc
+
+
+============================================================================
+
+gloss-arabic.ldf:
+ * check locales: if morocco or algeria : use western numerals but don't
+ override the numbers key
+ * define a defaultLRlanguage … \def\LRtoday{\localdefaultLRlanguage{\today}} ???
+
+gloss-english.ldf:
+ * change format to Day Month Year when dialect is british
+
+gloss-farsi.ldf:
+ * add option for months
+ * implement ftoday.sty?
+
+gloss-finnish.ldf:
+ * hyphenpenalty as in Babel?
+
+gloss-french.ldf:
+ * \define@key{french}{guillemets}[normal]{
+ * \addfontfeature{Mapping=sansaccents}% <<< TODO!
+
+gloss-hebrew.ldf
+ * insert gereshayim (\char"05F4) before last letter of a sequence of two letters or more
+ * insert geresh (\char"05F3) after letter if it is alone
+
+gloss-italian.ldf
+ * \clubpenalty3000\widowpenalty3000\finalhyphendemerits50000000
+
+gloss-{l,u}sorbian.ldf
+ * implement option date=old
+
+gloss-ukrainian.ldf and others
+ * add stuff from Babel ? (operators etc)
+
+hijrical.sty
+ * \def\CYearsFromHijri#1{%yields the corr julian or gregorian years
+
+** UPDATE ldf for spanish using new ldf for Babel by J Bezos
+ and add option for mexican (using mx package)
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf b/Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf
new file mode 100644
index 00000000000..18e3a4bf8c0
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/gloss-template.ldf
@@ -0,0 +1,90 @@
+\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/minimal.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/minimal.pdf
new file mode 100644
index 00000000000..ce5f9746a09
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/minimal.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/minimal.tex b/Master/texmf-dist/doc/xelatex/polyglossia/minimal.tex
new file mode 100644
index 00000000000..71f4c37b171
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/minimal.tex
@@ -0,0 +1,7 @@
+\documentclass[a4paper]{article}
+\usepackage[no-math]{fontspec}
+\usepackage[french,dutch,english]{polyglossia}
+\setromanfont{Linux Libertine}
+\begin{document}
+Test!
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia-doc.txt b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia-doc.txt
new file mode 100644
index 00000000000..62fc2893995
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia-doc.txt
@@ -0,0 +1,7 @@
+\pkg{Polyglossia}:
+A \pkg{Babel} replacement for users of \XeLaTeX
+
+François Charette
+<firmicus ατ gmx δοτ net>
+
+
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf
new file mode 100644
index 00000000000..de811cc7b07
--- /dev/null
+++ 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
new file mode 100644
index 00000000000..98d121422d2
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex
@@ -0,0 +1,500 @@
+\documentclass[11pt]{ltxdoc}
+\usepackage{xltxtra}
+\usepackage{xspace,fancyvrb}
+\usepackage[neverdecrease]{paralist}
+\usepackage[dvipdfm]{color}
+\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[dvipdfm,
+ bookmarks=true,
+ colorlinks=true,
+ linkcolor=myblue,
+ urlcolor=myblue,
+ 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}
+ ]{hyperref}
+\usepackage{polyglossia,farsical}
+\setmainlanguage[variant=uk]{english}
+\setotherlanguages{arabic,hebrew,syriac,greek,russian}
+\newcommand*\Cmd[1]{\cmd{#1}\DescribeMacro{#1}\xspace}
+\newcommand*\pkg[1]{\textsf{\color{myblue}#1}}
+\newcommand*\file[1]{\texttt{\color{myblue}#1}}
+\newcommand*\TR[1]{\textcolor{myred}{#1}}
+\newcommand*\TB[1]{\textcolor{myblue}{\bf #1}}
+\def\eg{\textit{e.g.,}\xspace}
+\def\ie{\textit{i.e.,}\xspace}
+\def\ca{\textit{ca.}\@\xspace}
+\def\Eg{\textit{E.g.,}\xspace}
+\def\Ie{\textit{I.e.,}\xspace}
+\def\etc{\@ifnextchar.{\textit{etc}}{\textit{etc.}\@\xspace}}
+
+\newlength{\oldparindent}
+\newcommand{\parindentoff}{\setlength{\oldparindent}{\parindent} \setlength{\parindent}{0pt}}
+\newcommand{\parindenton}{\setlength{\parindent}{\oldparindent}}
+
+%% 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$\rightarrow$}%
+ \,{\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{\raggedleft
+ \small\ifx\thisversion\fileversion\color{blue}\else\color[gray]{0.5}\fi
+ $\rightarrow$\,{\notefont #1:~New!}}}
+\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}
+\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\hebrewfont[Script=Hebrew]{SBL Hebrew}
+
+\newcommand\Babel{\pkg{babel}\xspace}
+
+\linespread{1.05}
+\frenchspacing
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+% COMMENT THE NEXT LINE TO INCLUDE THE CODE
+\AtBeginDocument{\OnlyDescription}
+\begin{document}
+\GetFileInfo{polyglossia.sty}
+
+\title{\textcolor{lightblue}{\huge
+\fontspec[ExternalLocation="/mnt/data/fonts/greek/"]{GFSAmbrosia.otf}
+Π$\;\,$ο$\;\,$λ$\;\,$υ$\;\,$γ$\;\,$λ$\;\,$ο$\;\,$σ$\;\,$σ$\;\,$ι$\;\,$α}\\[16pt]
+\color{myblue}Polyglossia: A Babel Replacement for \XeLaTeX}
+\author{\scshape\color{myblue}François Charette}
+\date{\filedate \qquad \fileversion\\
+\footnotesize (\textsc{pdf} file generated on \today)}
+
+\maketitle
+\tableofcontents
+
+
+\DeleteShortVerb{\|}
+\MakeShortVerb{\¦}
+
+%\begin{abstract}
+%Blablabla
+%\end{abstract}
+
+
+\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:
+
+\begin{enumerate}
+\item Loading the appropriate hyphenation patterns.
+\item Setting the script and language tags of the current font (if possible and
+ available), via the package \pkg{fontspec}.
+\item Switching to a font assigned by the user to a particular script or language.
+\item Adjusting some typographical conventions in function of the current language
+ (such as afterindent, frenchindent, spaces before or after punctuation marks,
+ etc.).
+\item Redefining all document strings (like “chapter”, “figure”, “bibliography”).
+\item Adapting the formatting of dates (for non-gregorian calendars via external
+ packages bundled with polyglossia: currently the hebrew, islamic and farsi
+ calendars are supported).
+\item For languages that have their own numeration system, modifying the formatting
+ of numbers appropriately (this also includes redefining the alphabetic sequence
+ for non-Latin alphabets).
+\item Ensuring the proper directionality if the document contains languages
+ that are written from right to left (via the package \pkg{bidi},
+ available separately).
+\end{enumerate}
+
+Several features of \Babel{} that do not make sense in the \XeTeX\ world (like font
+encodings, shorthands, etc.) are (obviously) not supported.
+Generally speaking, \pkg{polyglossia} aims to remain as compatible as possible
+with the fundamental features of \Babel{} while being cleaner, light-weight,
+and modern. The package \pkg{antomega} has been much 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
+Robertson. For languages written from right to left, it needs the package \pkg{bidi}
+(by the present author). Polyglossia also bundles three packages for calendaric
+computations (\pkg{hebrewcal}, \pkg{hijrical}, and \pkg{farsical}).
+
+\section{Loading language definition files}
+
+\subsection{The recommended way}
+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}.
+These commands have the advantage of being explicit and of allowing 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}.
+Language-specific options can be set or changed at any time by means of
+ \displaycmd{\setkeys\{⟨lang⟩\}\{opt1=value1,opt2=value2,…\}}{\setkeys}.
+
+
+\subsection{The “Babel way”}
+As with \Babel{}, \pkg{polyglossia} also allows 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}
+
+Table~\ref{tab:lang} lists all languages currently supported.
+Those in red have specific options and/or command
+that are explained in section \ref{specific} below.
+
+\begin{table}[h]\centering
+\label{tab:lang}
+\begin{tabular}{lllll}\hline
+albanian & czech & \TR{german} & \TR{magyar}& slovak \\
+\TR{arabic}& danish & \TR{greek} & norsk & slovenian\\
+bahasai & divehi & \TR{hebrew} & nynorsk & spanish \\
+bahasam & dutch & hindi & polish & swedish \\
+basque &\TR{english}& icelandic & portuges & \TR{syriac} \\
+brazil &\TR{esperanto}& interlingua & romanian & \TR{thai} \\
+breton & estonian & irish &\TR{russian}& turkish \\
+bulgarian&\TR{farsi} & italian & samin & ukrainian \\
+catalan & finnish & latin & sanskrit &\TR{usorbian} \\
+coptic & french & latvian & scottish & welsh \\
+croatian & galician & \TR{lsorbian} &\TR{serbian}& \\
+\hline
+\end{tabular}
+\caption{Languages currently supported in \pkg{polyglossia}}
+\end{table}
+
+Some 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}
+Another option (turned off by default) is ‘nolocalmarks’, which
+prevents the redefinition of the internal \LaTeX\ macros
+\cmd\markboth\ and \cmd\markright.
+
+\section{Language-switching commands}
+
+Whenever a language definition file \file{gloss-⟨lang⟩.ldf} is loaded,
+the command \cmd{\text⟨lang⟩[⟨options⟩]\{…\}} \DescribeMacro{\text⟨lang⟩}
+becomes available for short insertions of text in that language.
+For example ¦\textrussian{\today}¦ yields \textrussian{\today}
+Longer passages are better put between the environment ¦⟨lang⟩¦
+(again with the possibility of setting language options locally.
+\DescribeEnv{⟨lang⟩}
+For instance the following allows us to quote the beginning
+of Homer’s \textit{Iliad}:
+
+\begin{verbatim}
+\begin{greek}[variant=ancient]
+τὸν δ' ἠμείβετ' ἔπειτα θεά, γλαυκῶπις Ἀθήνη: “ὦ πάτερ ἡμέτερε Κρονίδη, ὕπατε
+κρειόντων, καὶ λίην κεῖνός γε ἐοικότι κεῖται ὀλέθρῳ: ὡς ἀπόλοιτο καὶ ἄλλος,
+ὅτις τοιαῦτά γε ῥέζοι: ἀλλά μοι ἀμφ' Ὀδυσῆι δαί̈φρονι δαίεται ἦτορ, δυσμόρῳ, ὃς
+δὴ δηθὰ φίλων ἄπο πήματα πάσχει νήσῳ ἐν ἀμφιρύτῃ, ὅθι τ' ὀμφαλός ἐστι θαλάσσης …”
+\end{greek}
+\end{verbatim}
+
+\begin{greek}[variant=ancient]
+τὸν δ' ἠμείβετ' ἔπειτα θεά, γλαυκῶπις Ἀθήνη: “ὦ πάτερ ἡμέτερε Κρονίδη, ὕπατε
+κρειόντων, καὶ λίην κεῖνός γε ἐοικότι κεῖται ὀλέθρῳ: ὡς ἀπόλοιτο καὶ ἄλλος,
+ὅτις τοιαῦτά γε ῥέζοι: ἀλλά μοι ἀμφ' Ὀδυσῆι δαί̈φρονι δαίεται ἦτορ, δυσμόρῳ, ὃς
+δὴ δηθὰ φίλων ἄπο πήματα πάσχει νήσῳ ἐν ἀμφιρύτῃ, ὅθι τ' ὀμφαλός ἐστι θαλάσσης …”
+\end{greek}
+
+
+\subsection{Other commands}
+The following commands are probably of lesser interest to the end user, but
+ought to be mentioned here.
+\begin{itemize}
+\item \Cmd\selectbackgroundlanguage: this selects the global font setup and
+ the numeration definitions for the default language.
+
+\item \Cmd\resetdefaultlanguage\ (experimental):
+ completely switches the default language
+ 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.
+ Likewise it is possible to use \Cmd\rmfamilylatin, \Cmd\sffamilylatin,
+ and \Cmd\ttfamilylatin.
+
+\item Also some macros defined in \Babel’s \file{hyphen.cfg} (and thus usually
+ compiled into the xelatex 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},
+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{Language-specific options and commands}\label{specific}
+
+This section gives a list of all languages for which options and end-user commands are defined.
+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{locale} = \textit{default},\footnote{ %
+ For Egypt, Sudan, Yemen and the Golf states.}
+ mashriq,\footnote{ %
+ For Iraq, Syria, Jordan, Lebanon and Palestine.}
+ libya, algeria, tunisia, morocco, or mauritania.
+ This setting influences the spelling of the month names for the Gregorian calendar,
+ 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)
+ \end{itemize}
+\textbf{Commands}:
+ \begin{itemize}
+ \item \Cmd\abjad and \Cmd\abjadmaghribi (see section \ref{abjad})
+ \end{itemize}
+
+\subsection{english}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{variant} = \textit{american} (= us), british (= uk), australian or newzealand
+ \item \TB{ordinalmonthday} = true/\textit{false} (true by default only when variant = british)
+ \end{itemize}
+
+\subsection{esperanto}
+\textbf{Commands}:
+ \begin{itemize}
+ \item \Cmd\hodiau\ and \Cmd\hodiaun are special forms of \cmd\today\ (see the \Babel\ documentation)
+ \end{itemize}
+
+\subsection{farsi}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{numerals} = western or \textit{eastern}
+ \item \TB{locale} (not yet implemented)
+ \item \TB{calendar} (not yet implemented)
+ \end{itemize}
+\textbf{Commands}:
+ \begin{itemize}
+ \item \Cmd\abjad (see section \ref{abjad})
+ \end{itemize}
+
+\subsection{german}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{spelling} = \textit{new} or old
+ \end{itemize}
+
+\subsection{greek}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{variant} = \textit{monotonic} (= mono), polytonic (= poly), or ancient
+ \item \TB{numerals} = \textit{greek} or arabic
+ \item \TB{attic} = \textit{false}/true
+ \end{itemize}
+\textbf{Commands}:
+ \begin{itemize}
+ \item \Cmd\Greeknumber and \Cmd\greeknumber \ (see section \ref{abjad}).
+ \item The command \Cmd\atticnumeral (= \Cmd\atticnum) (activated with
+ the option ¦attic=true¦), displays numbers using the acrophonic
+ numbering system (defined in the Unicode range
+ \textsf{U+10140–U+10174}).\footnote{ %
+ See the documentation of the \pkg{xgreek} package for more details.}
+ \end{itemize}
+
+\subsection{hebrew}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{numerals} = hebrew or \textit{arabic}
+ \item \TB{calendar} = hebrew or \textit{gregorian}
+ \end{itemize}
+\textbf{Commands}:
+ \begin{itemize}
+ \item \Cmd\hebrewnumeral\ (= \Cmd\hebrewalph) (see section \ref{abjad}).
+ \end{itemize}
+
+
+\subsection{lsorbian and usorbian}
+\textbf{Commands}:
+ \begin{itemize}
+ \item \Cmd\oldtoday : see the \Babel documentation.
+ \end{itemize}
+
+\subsection{magyar}
+\textbf{Commands}:
+ \begin{itemize}
+ \item \Cmd\ontoday\ (= \Cmd\ondatemagyar): special forms of \cmd\today\
+ (see the \Babel\ documentation).
+ \end{itemize}
+
+
+\subsection{russian}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{spelling} = \textit{modern} or old (for captions and date only, not for hyphenation)
+ \end{itemize}
+
+\subsection{serbian}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{script} = \textit{cyrillic} or latin
+ \end{itemize}
+
+\subsection{syriac}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{numerals} = \textit{western} (i.e., 1234567890) or eastern
+ (for which the Oriental Arabic numerals are used: \textarabic{١٢٣٤٥٦٧٨٩٠}).
+ \end{itemize}
+\textbf{Commands}:
+ \begin{itemize}
+ \item \Cmd\abjadsyriac (see section \ref{abjad})
+ \end{itemize}
+
+\subsection{thai}
+\textbf{Options}:
+ \begin{itemize}
+ \item \TB{numerals} = thai or \textit{arabic}
+ \end{itemize}
+
+To insert the word breaks, you need to use an external processor.
+See the documentation to \pkg{thai-latex} and the file \file{testthai.tex}
+that comes with this package.
+
+\section{Alphabetic numeration in Greek, Arabic, Hebrew, Syriac and Farsi}\label{abjad}
+
+In certain languages, numbers can be represented
+by a special alphanumerical notation.\footnote{ %
+ See, e.g., \url{http://en.wikipedia.org/wiki/Greek_numerals},
+ \url{http://en.wikipedia.org/wiki/Abjad_numerals},
+ and \url{http://en.wikipedia.org/wiki/Hebrew_numerals}.}
+ %% \url{http://en.wikipedia.org/wiki/Syriac_alphabet}
+Note that the Hebrew implementation in \pkg{polyglossia} is currently less
+sophisticated than the one in \Babel, where various special cases are taken into
+account.
+
+The Greek numerals are obtained with \Cmd\greeknumeral (or \Cmd\Greeknumeral\ in uppercase).
+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}}.
+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}}.
+
+Hebrew numerals are generated with the command \Cmd\hebrewnumeral.
+Example:
+¦\hebrewnumeral{1863}¦ yields {\hebrewfont\hebrewnumeral{1863}}.
+
+Support is also provided for Syriac abjad numerals, which can be generated
+with \Cmd\abjadsyriac.
+Example: ¦\abjadsyriac{463}¦ yields {\syriacfont\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.
+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).
+
+\subsection{Islamic calendar (hijrical.sty)}
+This new package computes dates in the Islamic (Hijra) calendar, which is lunar.\footnote{ %
+ It makes use of the arithmetical algorithm in chapter 6 of
+ Reingold \& Gershowitz, \textit{Calendrical calculation: the Millenium edition}
+ (Cambridge University Press, 2001).\label{reingold}}
+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 (depending of the
+current writing direction this is set either in Arabic or in roman transliteration).
+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
+ civil and religious authorities.}
+For instance if ¦\Hijritoday¦ yields the date “\Hijritoday” (which is the one
+for \today\ indicated on the front page of \href{http://www.aljazeera.net}{aljazeera.net}),
+¦\Hijritoday[1]¦ would rather print “\Hijritoday[1]” (the date given on the site
+\href{http://www.gulfnews.com}{gulfnews.com}).
+
+\subsection{Farsi (jalālī) calendar (farsical.sty)}
+Again this is taken almost verbatim from ¦Arabiftoday.sty¦ (in the \pkg{Arabi} package),
+itself a slight modification of the file ¦ftoday.sty¦ in Farsi\TeX.\footnote{ %
+ I intend to 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.
+
+
+%\section{Varia}
+
+
+\section{Acknowledgements}
+\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
+Boris Lavva and others for its Hebrew support), Alexej Kryukov (antomega), Will
+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), and other members of the xetex user
+community. And of course my gratitude also goes to Jonathan Kew, the formidable
+author of \XeTeX!
+
+\end{document}
+
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/test.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/test.pdf
new file mode 100644
index 00000000000..342b867cfd5
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/test.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/test.tex b/Master/texmf-dist/doc/xelatex/polyglossia/test.tex
new file mode 100644
index 00000000000..00b1ab43e08
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/test.tex
@@ -0,0 +1,158 @@
+\documentclass[a4paper]{article}
+\usepackage[no-math]{fontspec}
+% makes fontspec very quiet!
+%\makeatletter
+%\renewcommand\zf@PackageWarning[1]{\relax}
+%\renewcommand\zf@PackageInfo[1]{\relax}%
+%\makeatother
+\usepackage{xltxtra,url}
+\usepackage[quiet]{polyglossia}
+\setdefaultlanguage{french}
+\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}
+\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\sanskritfont[Script=Devanagari]{Sanskrit 2003}
+\newfontfamily\thaifont[ExternalLocation="/mnt/data/fonts/thai/",Script=Thai]{Norasi.ttf}%{Arial Unicode MS}
+\newfontfamily\thaanafont[Script=Thaana,WordSpace=2]{TITUS Cyberbit Basic}
+\parskip 1.33\baselineskip
+\newcommand\showhyphmin{\fbox{\the\lefthyphenmin\ \the\righthyphenmin}}
+\begin{document}
+\hyphenation{Bru-xel-les}
+\noindent
+\textbf{Le français}\footnote{ From \url{http://fr.wikipedia.org/wiki/Français}} est une langue romane parlée en France, dont elle est originaire (la «langue d'oïl»), ainsi qu'en Afrique francophone, au Canada (principalement au Québec, au Nouveau-Brunswick et en Ontario), en Belgique (en Région wallonne et à Bruxelles), en Suisse, au Liban, en Haïti et dans d'autres régions du monde, soit au total dans 51 pays du monde ayant pour la plupart fait partie des anciens empires coloniaux français et belge. \\
+(Aujourd'hui! \today)
+
+\begin{english}
+\textbf{English}\footnote{From \url{http://en.wikipedia.org/wiki/English_language}} is a West Germanic language originating in England, and the first language for most people in Australia, Canada, the Commonwealth Caribbean, Ireland, New Zealand, the United Kingdom and the United States of America (also commonly known as the Anglosphere). It is used extensively as a second language and as an official language throughout the world, especially in Commonwealth countries and in many international organisations. \\
+(\today)
+\end{english}
+
+\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)
+\end{german}
+
+\begin{russian}
+\textbf{Русский язык} — один из восточнославянских языков, один из крупнейших языков мира, в том числе самый распространённый из славянских языков и самый распространённый язык Европы, как географически, так и по числу носителей языка как родного (хотя значительная, и географически бо́льшая, часть русского языкового ареала находится в Азии). \\
+(\today)
+\end{russian}
+
+\begin{latin}
+\textbf{Lingua Latina} est lingua Indoeuropaea. Nomen ductum est de terra in paeninsula Italica quam Latine loquentes incolebant, Vetus Latium appellata sitaque inter flumen Tiberis, Volscam terram, mare Tyrrhenicum, montes Apenninos.
+Quamquam sermone nativo fungi desinit, cumque nostris diebus perpauci Latine loqui possint, lingua mortua appellari solet, multas tamen peperit linguas quae linguae romanicae vocantur, sicut Hispanicam, Francogallicam, Italicam, Lusitanam, Dacoromanicam, Gallaicam, ne omnes afferam. \\
+(\today)
+\end{latin}
+
+\begin{greek}
+\textbf{Η ελληνική γλώσσα} είναι μία από τις ινδοευρωπαϊκές γλώσσες, για την
+οποία έχουμε γραπτά κείμενα από τον 15ο αιώνα π.Χ. μέχρι σήμερα. Αποτελεί το
+μοναδικό μέλος ενός κλάδου της ινδοευρωπαϊκής οικογένειας γλωσσών. Ανήκει
+επίσης στον βαλκανικό γλωσσικό δεσμό.\\
+(\today)
+\end{greek}
+
+\begin{quote}
+\begin{greek}[variant=ancient]
+τὸν δ' ἠμείβετ' ἔπειτα θεά, γλαυκῶπις Ἀθήνη:
+“ὦ πάτερ ἡμέτερε Κρονίδη, ὕπατε κρειόντων,
+καὶ λίην κεῖνός γε ἐοικότι κεῖται ὀλέθρῳ:
+ὡς ἀπόλοιτο καὶ ἄλλος, ὅτις τοιαῦτά γε ῥέζοι:
+ἀλλά μοι ἀμφ' Ὀδυσῆι δαί̈φρονι δαίεται ἦτορ,
+δυσμόρῳ, ὃς δὴ δηθὰ φίλων ἄπο πήματα πάσχει
+νήσῳ ἐν ἀμφιρύτῃ, ὅθι τ' ὀμφαλός ἐστι θαλάσσης.
+νῆσος δενδρήεσσα, θεὰ δ' ἐν δώματα ναίει,
+Ἄτλαντος θυγάτηρ ὀλοόφρονος, ὅς τε θαλάσσης
+πάσης βένθεα οἶδεν, ἔχει δέ τε κίονας αὐτὸς
+μακράς, αἳ γαῖάν τε καὶ οὐρανὸν ἀμφὶς ἔχουσιν.
+τοῦ θυγάτηρ δύστηνον ὀδυρόμενον κατερύκει,
+αἰεὶ δὲ μαλακοῖσι καὶ αἱμυλίοισι λόγοισιν
+θέλγει, ὅπως Ἰθάκης ἐπιλήσεται: αὐτὰρ Ὀδυσσεύς,
+ἱέμενος καὶ καπνὸν ἀποθρῴσκοντα νοῆσαι
+ἧς γαίης, θανέειν ἱμείρεται. οὐδέ νυ σοί περ
+ἐντρέπεται φίλον ἦτορ, Ὀλύμπιε. οὔ νύ τ' Ὀδυσσεὺς
+Ἀργείων παρὰ νηυσὶ χαρίζετο ἱερὰ ῥέζων
+Τροίῃ ἐν εὐρείῃ; τί νύ οἱ τόσον ὠδύσαο, Ζεῦ;”
+\end{greek}
+\end{quote}
+
+\begin{hebrew}[numerals=hebrew]
+\textbf{עברית} היא שפה ממשפחת השפות השמיות, הידועה כשפתו של העם היהודי, ואשר ניב מודרני שלה משמש כשפה הרשמית והעיקרית של מדינת ישראל. \\
+(\today\ = \hebrewtoday)
+\end{hebrew}
+
+\begin{syriac}%\footnotesize
+ܠܫܢܐ ܐܪܡܝܐ ܐܘ ܐܪܡܝܬ ܗܘ ܠܫܢ̈ܐ ܥܡ ܬܫܥܝܬܐ ܕ\textrm{3000} ܫܢ̈ܝܐ܂ ܗܘܐ ܠܫܢܐ ܕܡܠܟܘ̈ܬܐ ܘܬܘܕ̈ܝܬܐ܂ ܥܡ ܠܫܢܐ ܥܒܪܝܐ܄ ܗܘܐ ܠܫܢܐ ܕܣܦܪ̈ܐ ܕܕܢܝܐܝܠ ܘܥܙܪܐ ܘܗܘ ܠܫܢܐ ܚܕܢܝܐ ܕܬܠܡܘܕ܂ ܐܪܡܝܐ ܗܘܐ ܠܫܢܐ ܕܝܫܘܥ܂ ܐܕܝܘܡ܄ ܐܪܡܝܐ ܗܘ ܠܫܢܐ ܕܟܠܕ̈ܝܐ܄ ܐܬܘܪ̈ܝܐ܄ ܡܪ̈ܘܢܝܐ܄ ܘܣܘܪ̈ܝܝܐ܀ \\
+(\today)
+\end{syriac}
+
+\begin{turkish}
+\textbf{Türkiye Türkçesi}, Ural-Altay Dilleri içerisinde Türk dil ailesinin Oğuz Grubu'na mensup lehçedir. Anadolu, Kıbrıs, Balkanlar ve Orta Avrupa'da geniş yayılım alanı bulmuş olup, Türkiye Cumhuriyeti, Kuzey Kıbrıs Türk Cumhuriyeti, Güney Kıbrıs Rum Kesimi, Makedonya ve Kosova'nın resmî dilidir. \\
+(Bugün: \today)
+\end{turkish}
+
+\begin{polish}
+\textbf{Język polski (polszczyzna)} należy wraz z językiem czeskim, słowackim, pomorskim (kaszubskim), dolnołużyckim, górnołużyckim oraz wymarłym połabskim do grupy języków zachodniosłowiańskich, stanowiących część rodziny języków indoeuropejskich. Ocenia się, że język polski jest językiem ojczystym około 44 milionów ludzi na świecie (w literaturze naukowej można spotkać szacunki od 40 do 48 milionów), mieszkańców Polski oraz Polaków zamieszkałych za granicą (Polonia).\\
+(\today)
+\end{polish}
+
+\begin{latvian}
+\textbf{Latviešu valoda} ir dzimtā valoda apmēram 1,5 miljoniem cilvēku, galvenokārt Latvijā, kurā tā ir vienīgā valsts valoda. Lielākās latviešu valodas pratēju kopienas ārzemēs ir Austrālijā, ASV, Zviedrijā, Lielbritānijā, Vācijā, Brazīlijā, Krievijā. Latviešu valoda pieder indoeiropiešu valodu saimes baltu valodu grupai.\\
+(\today)
+\end{latvian}
+
+\begin{ukrainian}
+\textbf{Українська мова} — східнослов'янська мова, входить до однієї підгрупи з білоруською та російською. Подібно до цих мов українську записують кирилицею. Історично білоруська та українська мови походять з давньоруської (давньоукраїнської) — розмовної мови Київської Русі.\\
+(\today)
+\end{ukrainian}
+
+\begin{sanskrit}
+{\Large ससकत} पृथिव्यां प्राचीना समृद्घा वैज्ञानिकी च भाषा मन्यते । विश्ववाङ्‌मयेषु संस्कृतं श्रेष्ठरत्नम् इति न केवलं भारते अपि तु समग्रविश्वे एतद्विषये निर्णयाधिकारिभि: जनै: स्वीकृतम् । महर्षि पाणिनिना विरचिता अष्टाध्यायी इति संस्कृतव्याकरणम्‌ अधुनापि भारते विदेशेषु च भाषाविज्ञानिनां प्रेरणास्‍थानं वर्तते . संस्कृतशब्दा: एव उत्तरं दक्षिणं च भारतं संयोजयन्ति ।
+\end{sanskrit}
+
+\begin{Arabic}[]
+%في فضل علم التاريخ وتحقيق مذاهبه والأملاع لما يعرض للمؤرخين من المغالط والأوهام وذكر شيء من أسبابها.
+«اعلم أنّ فنّ التاريخ فنّ عزيز المذهب، جمّ الفوائد، شريف الغاية؛ إذ هو يوقفنا على أحوال الماضين من الأمم في أخلاقهم، و الأنبياء في سيرهم، و الملوك في دولهم و سياستهم؛ حتّى تتمّ فائدة الإقتداء في ذلك لمن يرومه في أحوال الدين و الدنيا.» (ابن خلدون، المقدّمة)\\
+%فهو محتاج إلى مآخذ متعددة و معارف متنوعة و حسن نظر و تثبت يفضيان بصاحبهما إلى الحق و ينكبان به عن المزلات و المغالط لأن الأخبار إذا اعتمد فيها على مجرد النقل و لم تحكم أصول العادة و قواعد السياسة و طبيعة العمران و الأحوال في الاجتماع الإنساني و لا قيس الغائب منها بالشاهد و الحاضر بالذاهب فربما لم يؤمن فيها من العثور و مزلة القدم و الحيد عن جادة الصدق و كثيراً ما وقع للمؤرخين و المفسرين و أئمة النقل من المغالط في الحكايات و الوقائع لاعتمادهم فيها على مجرد النقل غثاً أو سميناً و لم يعرضوها على أصولها و لا قاسوها بأشباهها و لا سبروها بمعيار الحكمة و الوقوف على طبائع الكائنات و تحكيم النظر و البصيرة في الأخبار فضلوا عن الحق و تاهوا في بيداء الوهم و الغلط و لا سيما في إحصاء الأعداد من الأموال و العساكر إذا عرضت في الحكايات إذ هي مظنة الكذب و مطية الهذر و لا بد من ردها إلى الأصول و عرضها على القواعد.
+(\today\ = \Hijritoday[0])
+\end{Arabic}
+
+\begin{farsi}
+فارسی یا پارسی، (که دری، فارسی دری، و پارسی دری نیز نامیده می‌شود) زبانی است که
+در کشورهای ایران، افغانستان، تاجیکستان و ازبکستان به آن سخن می‌رانند. \\
+(\Jalalitoday)
+\end{farsi}
+
+\begin{thai}
+เป็น\wbr แผนงานเพื่อ\wbr สนับสนุน\wbr การ\wbr ร่วมกัน\wbr สร้าง, การ\wbr ร่วมกันใช้, และ\wbr การ%
+ร่วมกัน\wbr พัฒนา\wbr ทรัพยากร\wbr ทาง\wbr ภาษา\wbr ของ\wbr ภาษา\wbr ไทย, บน\wbr เครือข่าย World Wide Web. แผนงานนี้\wbr มี%
+จุด\wbr ประสงค์หลั\wbr กอยู่\wbr สอง\wbr ประการคือ เพื่อแก้ปัญหา\wbr กำ\wbr แพง\wbr ทาง\wbr ภาษา, และรักษา%
+ไว้เพื่อ\wbr ความค\wbr งอยู่\wbr ของ\wbr ภาษา\wbr และ\wbr วัฒนธรรม\wbr ไทย. \\
+(\today)
+\end{thai}
+
+\begin{divehi}\small\sloppy
+ދިވެހިބަހަކީ ދިވެހިރާއްޖޭގެ ރަސްމީ ބަހެވެ. މި ބަހުން ވާހަކަ ދައްކައި އުޅެނީ ދިވެހިރާއްޖޭގެ އަހުލުވެރިންގެ އިތުރުން ހިންދުސްތާނުގެ މަލިކު ގެ
+އަހުލުވެރިންނެވެ. އެބައިމީހުން މި ބަހަށް ކިޔަނީ މަހަލް ބަހެވެ. ބަހާބެހޭ މާހިރުން ދިވެހިބަސް ހިމަނުއްވައިފައިވަނީ އިންޑޯ އާރިޔަން ބަސްތަކުގެ
+ތެރޭގަ އެވެ.
+%ދިވެހި ބަހުގެ މަތިކޮޅުގައި އެންމެ ކުރީޒަމާނުގައި އޮތް މައި ބަސް " ޕުރޯޓޯ- އިންޑޯ- ޔޫރަޕިއަން" ބަހުން ވާހަކަދައްކާ އުލުނު
+%ބަޔަކު ދެބަޔަކަށް ބެހިގެން، އެއްބަޔަކު ހުޅަނގުގެ ރަށްރަށަށް އަނެއްބަޔަކު އިރުމަތީ ރަށްރަށަށް ގޮސް އެތަންތާނގައި ރަށްވެހިވީ އެވެ. މި މީހުން
+%ވާހަކަދައްކާ އުޅުނު ބަސް ބަދަލުވެ ތަރައްޤީވެ ވަކި ބަސް ބަހަށްވީ އެތައް ވޭލާއެއްގެ ނުވަތަ ޒަމާނެއްގެ ތެރޭގަ އެވެ. އިރުމައްޗަށް އައި މައިގަނޑު
+%ބަހަކީ އިންޑޯ- އިރޭނިއަން ބަހެވެ. މި ބަސް ކަފިވީ އިރޭނިއަން ބަހަށާއި، އިންޑޯ އާރިއަން (ސާންސްކިރިތު) ބަހަށެވެ. މިދެންނެވި ސާންސްކިރިތުގެ
+%ހުޅަނގާއި، ހުޅަނގު ދެކުނުގެ ބައިގައިވަނީ ގުޖަރާތީ މަރާޓީ ކޮންކަނީ، ދިވެހި، ސިންހަޅަ، މި ބަސްބަހެވެ، ވީމާ، މިބަސް ތަކުގައި ބޭނުންކުރާ
+%ލަފުޒުތަކާއި، ޤަވާއިދާއި އަދި ބަހުގެ އަދަބުތަކުގައި ތިމާގެކަންހުރެ އެވެ. ހުޅަނގަށް ގޮސްފައިވާ ގޮފީގެ ބަސްތަކާއި، އަލުގަނޑުމެންގެ އިންޑިކު
+%ނުވަތަ ސާންސްކިރިތުން އުފެދިފައިވާ ބަސްތަކާއި ވަރަށް ތަފާތެވެ. އިނގިރާސި ބަހަކީ މިދެންނެވި ހުޅަނގަށް ގޮސްފައިވާ ގޮފީގެ އަލްމާނީ ބަހެކެވެ.
+\end{divehi}
+
+%\fontspec[Script=Georgian]{DejaVu Serif}
+%ქართული ენა არის საქართველოს სახელმწიფო ენა (აფხაზეთის ავტონომიურ რესპ\-უბლიკაში მის პარალელურად სახელმწიფო ენად აღიარებულია აგრეთვე აფხაზური ენა). ქართულ ენაზე 7 მილიონზე მეტი ადამიანი ლაპარაკობს.
+%
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.pdf
new file mode 100644
index 00000000000..c61b90b883c
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.tex b/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.tex
new file mode 100644
index 00000000000..661be79dc9a
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.tex
@@ -0,0 +1,108 @@
+\documentclass[a4paper]{book}%
+\usepackage[no-math]{fontspec}
+\usepackage{xltxtra,url,amsmath}
+\usepackage[quiet]{polyglossia}
+\setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=syria]{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\arabicfonttt[Script=Arabic,Scale=.75]{DejaVu Sans Mono}
+\newfontfamily\farsifont[Script=Arabic,Scale=1.1,WordSpace=2]{IranNastaliq}
+\parindent 0pt
+\makeatletter
+\makeatother
+\title{امتحان تأييد اللغة العربية}
+\author{فرانسوا شاريت}
+\begin{document}
+\pagenumbering{alph}
+\maketitle
+\tableofcontents
+\chapter{امتحان}
+\pagenumbering{arabic}
+\section{لغات مختلفة}
+
+
+\textbf{العربية}\footnote{%
+من «\LR{\textenglish{\url{http://ar.wikipedia.org/wiki/}}\RL{\ttfamily لغة عربية}}»}
+أكبر لغات المجموعة السامية من حيث عدد المتحدثين، وإحدى أكثر اللغات انتشارا في
+العالم، يتحدثها أكثر من ٤٢٢ مليون نسمة،١ ويتوزع متحدثوها في المنطقة المعروفة
+باسم الوطن العربي، بالإضافة إلى العديد من المناطق الأخرى المجاورة كالأحواز وتركيا
+وتشاد ومالي والسنغال. وللغة العربية أهمية قصوى لدى أتباع الديانة الإسلامية، فهي
+لغة مصدري التشريع الأساسيين في الإسلام: القرآن، والأحاديث النبوية المروية عن النبي
+محمد، ولا تتم الصلاة في الإسلام (وعبادات أخرى) إلا بإتقان بعض من كلمات هذه اللغة.
+والعربية هي أيضاً لغة طقسية رئيسية لدى عدد من الكنائس المسيحية في العالم العربي،
+كما كتبت بها الكثير من أهم الأعمال الدينية والفكرية اليهودية في العصور الوسطى.
+وإثر انتشار الإسلام، وتأسيسه دولا، ارتفعت مكانة اللغة العربية، وأصبحت لغة السياسة
+والعلم والأدب لقرون طويلة في الأراضي التي حكمها المسلمون، وأثرت العربية، تأثيرا
+مباشرا أو غير مباشر على كثير من اللغات الأخرى في العالم الإسلامي، كالتركية
+والفارسية والأردية مثلا.
+
+\textfarsi{\bfseries فارسی}\footnote{%
+از «\LR{\textenglish{\url{http://fa.wikipedia.org/wiki/}}\RL{\ttfamily فارسي}}»}
+\begin{farsi}
+یا پارسی، (که دری، فارسی دری، و پارسی دری نیز نامیده می‌شود) زبانی است که
+در کشورهای ایران، افغانستان، تاجیکستان و ازبکستان به آن سخن می‌رانند.
+(برخی زبان فارسی در تاجیکستان و ازبکستان و چین را فارسی تاجیکی نام
+می‌گذارند).
+\end{farsi}
+
+\newpage
+\begin{english}
+\textbf{English}\footnote{%
+ From \url{http://en.wikipedia.org/wiki/English_language}}
+is a West Germanic language originating in England, and the first language for
+most people in Australia, Canada, the Commonwealth Caribbean, Ireland, New
+Zealand, the United Kingdom and the United States of America (also commonly
+known as the Anglosphere). It is used extensively as a second language and as
+an official language throughout the world, especially in Commonwealth countries
+and in many international organisations.
+
+\textarabic{١ ٢ ٣}
+
+\end{english}
+\clearpage
+
+\section{أعمال تأريخية \textenglish{(Calendar operations)}}
+
+
+\textenglish{\today} = \LR{\today} = \today\ = \Hijritoday\footnote{
+ محسوب بـ \textenglish{\textsf{hijrical.sty}}}
+
+%\newpage
+\subsection{فلان}
+\textenglish{This is English: a b c}\marginpar{انكليزي} %FIXME! cf farsitex?
+
+\subsubsection{فلان فلان}
+\begin{enumerate}
+ \item مثال
+ \item مثال
+ \begin{enumerate}
+ \item مثال
+ \item مثال
+ \end{enumerate}
+
+ \item مثال
+\end{enumerate}
+
+\begin{table}[h]
+ \centering
+ \begin{tabular}{cc}
+ ا & ب \\
+ ج & د
+ \end{tabular}
+ \caption{هذا المثال}
+\end{table}
+
+\[
+x^\text{مال مال}
+\]
+
+\begin{equation}
+ x^2 + y^2 = z^2
+ \label{test}
+\end{equation}
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.pdf
new file mode 100644
index 00000000000..0defc533692
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.tex b/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.tex
new file mode 100644
index 00000000000..3a9cb35c2dd
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.tex
@@ -0,0 +1,8 @@
+\documentclass{article}%
+\usepackage{polyglossia}
+\setmainfont{Junicode}
+\setmainlanguage{farsi}
+\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Scheherazade}
+\begin{document}
+\section{فصل}
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.pdf
new file mode 100644
index 00000000000..c1545839b46
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.tex b/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.tex
new file mode 100644
index 00000000000..f31cdd2edac
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.tex
@@ -0,0 +1,26 @@
+\documentclass[a4paper,12pt]{article}
+\usepackage{fontspec}
+\usepackage{polyglossia}
+\setdefaultlanguage{french}
+\setotherlanguage{sanskrit}
+\setmainfont{Charis SIL}
+\newfontfamily\sanskritfont[Script=Devanagari]{Arial Unicode MS}%{Mangal}
+
+\catcode"00A0=\active
+\def^^^^00a0{\char32\relax}
+
+\title{Mahābhārata 1.3.1-9}
+\author{}
+\date{}
+
+\begin{document}
+\maketitle
+
+Texte en français.
+
+\begin{sanskrit}
+जनमेजयः पारिक्षितः सह भ्रातृभिः कुरुक्षेत्रे दीर्घसत्रमुपास्ते । तस्य भ्रातरस्त्रयः श्रुतसेन उग्रसेनो भीमसेन इति । तेषु तत्सत्रमुपासीनेषु तत्र श्वाभ्यागच्छत्सारमेयः । स जनमेजयस्य भ्रातृभिरभिहतो रोरूयमाणो मातुः समीपमुपागच्छत् । तं माता रोरूयमाणमुवाच । किं रोदिषि । केनास्यभिहत इति । स एवमुक्तो मातरं प्रत्युवाच । जनमेजयस्य भ्रातृभिरभिहतोऽस्मीति । तं माता प्रत्युवाच । व्यक्तं त्वया तत्रापराद्धं येनास्यभिहत इति । स तां पुनरुवाच । नापराध्यामि किंचित् । नावेक्षे हवींषि नावलिह इति । तच्छ्रुत्वा तस्य माता सरमा पुत्रशोकार्ता तत्सत्रमुपागच्छद्यत्र स जनमेजयः सह भ्रातृभिर्दीर्घसत्रमुपास्ते । स तया क्रुद्धया तत्रोक्तः । अयं मे पुत्रो न किंचिदपराध्यति । किमर्थमभिहत इति । यस्माच्चायमभिहतोऽनपकारी तस्माददृष्टं त्वां भयमागमिष्यतीति । स जनमेजय एवमुक्तो देवशुन्या सरमया दृढं संभ्रान्तो विषण्णश्चासीत् ।
+\end{sanskrit}
+Texte en français.
+
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testthai.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/testthai.pdf
new file mode 100644
index 00000000000..84ab20af95c
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/testthai.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testthai.tex b/Master/texmf-dist/doc/xelatex/polyglossia/testthai.tex
new file mode 100644
index 00000000000..13995fd3d9c
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/testthai.tex
@@ -0,0 +1,60 @@
+\documentclass[a4paper]{article}
+\usepackage[no-math]{fontspec}
+\usepackage{xltxtra,url}
+\usepackage{polyglossia}
+\setdefaultlanguage[numerals=thai]{thai}
+\setotherlanguage{english}
+\setromanfont{Norasi}
+\defaultfontfeatures{Scale=MatchLowercase}
+\setmonofont{Inconsolata}
+\setsansfont{Lucida Sans Unicode}
+\begin{document}
+\begin{center}
+ \abstractname
+\end{center}
+\begin{english}
+Some English to begin with.\footnote{ %
+ Blabla}
+\end{english}
+%%% NOTE: The wordbreak (\wbr) commands were inserted by the preprocessor cttex
+%%% (available from http://linux.thai.net/pub/thailinux/cvs/software/cttex/
+%%% or from http://packages.debian.org/cttex)
+%%% using the command :
+%%% $ cttex-utf8 <infile.tex> <outfile.tex>
+%%% where cttex-utf8 is the following simple shell script:
+%%% #!/bin/bash
+%%% cat $1 | iconv -f UTF-8 -t TIS-620 | cttex -w | sed 's/<WBR>/\\wbr /g' | iconv -f TIS-620 -t UTF8 > $2
+%%% (this should also work on MacOSX; windows users need to tweak it into a batch file I guess)
+
+เป็น\wbr แผนงานเพื่อ\wbr สนับสนุน\wbr การ\wbr ร่วมกัน\wbr สร้าง, การ\wbr ร่วมกันใช้, และ\wbr การ%
+ร่วมกัน\wbr พัฒนา\wbr ทรัพยากร\wbr ทาง\wbr ภาษา\wbr ของ\wbr ภาษา\wbr ไทย, บน\wbr เครือข่าย World Wide Web. แผนงานนี้\wbr มี%
+จุด\wbr ประสงค์หลั\wbr กอยู่\wbr สอง\wbr ประการคือ เพื่อแก้ปัญหา\wbr กำ\wbr แพง\wbr ทาง\wbr ภาษา, และรักษา%
+ไว้เพื่อ\wbr ความค\wbr งอยู่\wbr ของ\wbr ภาษา\wbr และ\wbr วัฒนธรรม\wbr ไทย.
+
+เรา\wbr ตระหนัก\wbr ดีถึง\wbr ความ\wbr สำคัญ\wbr ของ\wbr ภาษา ซึ่ง\wbr นอกจาก\wbr จะ\wbr เป็นสื่อ\wbr ระหว่าง\wbr คนกับ\wbr คน\wbr แล้ว ยัง\wbr เป็น%
+รูปแทน\wbr ความคิด และ\wbr เป็น\wbr เครื่องมือ\wbr ใน\wbr การใช้\wbr ความคิด\wbr ด้วย. เครือข่าย\wbr คอมพิวเตอร์%
+ใน\wbr ปัจจุบัน\wbr ทำให้ข้อมูล\wbr ข่าวสาร\wbr แพร่หลาย\wbr ไป\wbr อย่าง\wbr รวดเร็ว. เครื่องมือที่ใช้\wbr ใน\wbr การแส\wbr ดง\wbr ผล%
+และ\wbr การเต\wbr รี\wbr ยมข้อมูล\wbr ข่าวสาร\wbr นั้น จึง\wbr เป็นสิ่ง\wbr จำ\wbr เป็น. ด้วย\wbr เทคโนโลยีที่\wbr ก้าวหน้า\wbr ไป%
+อย่าง\wbr รวดเร็ว, การที่\wbr เพียง\wbr จะ\wbr สามารถแส\wbr ดง\wbr ผลได้หรือ\wbr ป้อนข้อมูลได้\wbr เท่านั้น ไม่\wbr เป็นที่%
+เพียงพออีก\wbr แล้ว. การแส\wbr ดง\wbr ผลที่\wbr สวย\wbr งาม\wbr ถูก\wbr ต้อง\wbr ตาม\wbr แบบแผน หรือ\wbr การเต\wbr รี\wbr ยมข้อมูลได้\wbr อย่าง%
+ถูก\wbr ต้อง และ\wbr รวดเร็วจึง\wbr เป็นสิ่งที่\wbr จำ\wbr เป็นที่\wbr จะ\wbr ต้อง\wbr พัฒนาให้\wbr ทันตาม\wbr การ\wbr เปลี่ยนแปลง\wbr ของ%
+เทคโนโลยี.\footnote{ %
+ Second footnote}
+
+\today
+
+\begin{english}
+This is today: \today
+\end{english}
+
+\begin{enumerate}
+ \item A
+ \item B
+ \begin{enumerate}
+ \item a
+ \item b
+ \item c
+ \end{enumerate}
+ \item C
+\end{enumerate}
+\end{document}