diff options
author | Karl Berry <karl@freefriends.org> | 2009-01-27 02:00:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-01-27 02:00:42 +0000 |
commit | fcb7796bc1728a7aaf0be5c2a7650d31f2187ecc (patch) | |
tree | 72538b38486ee40a283979d32baf47624b29da98 /Master/texmf-dist/doc/xelatex/polyglossia | |
parent | 990207a7872817b3d9945d710a389a0d76fe0260 (diff) |
polyglossia update (26jan09)
git-svn-id: svn://tug.org/texlive/trunk@11991 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/polyglossia')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/README | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf | bin | 77577 -> 80335 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf | bin | 147321 -> 150053 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/examples.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf | bin | 176539 -> 187435 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex | 57 |
7 files changed, 62 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README b/Master/texmf-dist/doc/xelatex/polyglossia/README index 31c2bddbadd..d0f10a94ffe 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/README +++ b/Master/texmf-dist/doc/xelatex/polyglossia/README @@ -1,7 +1,7 @@ ¦----------------------------------------------¦ ¦ ¦ - ¦ THE POLYGLOSSIA PACKAGE v1.0.1 ¦ + ¦ THE POLYGLOSSIA PACKAGE v1.0.2 ¦ ¦ ¦ ¦ Modern multilingual typesetting with XeLaTeX ¦ ¦ ¦ @@ -43,6 +43,14 @@ and follow the instructions displayed. CHANGES +1.0.2 + This is mostly a bug fixes release. + * Captions corrected in Hebrew, Russian and Spanish + * Removed all \text<lang> wrappers within caption definitions + * Improved compatibility with Babel + * New option "babelshorthands" for German + * New option "Script" for Sanskrit + 1.0.1 * Improved documentation (added sections on font setup and numeration mappings) * Improvements and bugfixes for English and German @@ -55,6 +63,6 @@ CHANGES ------------------------------ - François Charette, July 2008 + François Charette, Jan 2009 <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 Binary files differindex c61b90b883c..5ef5b08af0c 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex index 661be79dc9a..4db566c5aa4 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex @@ -2,7 +2,7 @@ \usepackage[no-math]{fontspec} \usepackage{xltxtra,url,amsmath} \usepackage[quiet]{polyglossia} -\setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=syria]{arabic} +\setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=mashriq]{arabic} \setotherlanguage[variant=british]{english} \setotherlanguage{farsi} \setromanfont{Junicode} diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf Binary files differindex 1a7e6a1ad6d..eb44be65145 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex index 129f05bd1e9..2274b7ee652 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex @@ -6,7 +6,7 @@ \setotherlanguage[variant=british,ordinalmonthday=false]{english} \setotherlanguage[variant=poly]{greek} \setotherlanguage[numerals=thai]{thai} -\setotherlanguages{german,latin,russian,turkish,polish,latvian,sanskrit,ukrainian,arabic,farsi,syriac,divehi,hebrew,amharic,tigriya} +\setotherlanguages{german,latin,russian,turkish,polish,latvian,sanskrit,ukrainian,arabic,farsi,syriac,divehi,hebrew,amharic} \setromanfont{Linux Libertine} \defaultfontfeatures{Scale=MatchLowercase,RawFeature={+locl}} \setmonofont{Inconsolata} diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf Binary files differindex be87abfa8a4..0a92d4f8869 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex index b541c11b4eb..9f6052e36ef 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex @@ -290,7 +290,7 @@ ought to be mentioned here. 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 +\item 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}. @@ -310,7 +310,7 @@ defined there are also accessible.\footnote{ % 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 -\cmd\⟨script⟩font\ or \cmd\⟨language⟩font. +¦\⟨script⟩font¦\ or ¦\⟨language⟩font¦. 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⟩\}}. } @@ -385,6 +385,30 @@ The default value of each option is given in italic. the latest (experimental) hyphenation patterns ‘(n)german-x-latest’ will be loaded instead of ‘german’ or ‘ngerman’. NB: This is based on the file \texttt{language.dat} that comes with \TeX Live 2008. + \item\TB{babelshorthands} = \textit{false} or true: \new{1.0.2} + if this is turned on, all shorthands defined in the Babel + language for fine-tuning the hyphenation of German words are + activated. NB: This feature has not been much tested and should be + considered experimental. + \begin{itemize} + \item ¦"ck¦ for ¦ck¦ to be hyphenated as ¦k-k¦ + \item ¦"ff¦ for ¦ff¦ to be hyphenated as ¦ff-f¦; this is also available for the letters l, m, n, p, r and t + \item ¦"|¦ disables the ligature at this position + \item ¦"-¦ for an explicit hyphen sign, allowing hyphenation in the rest of the word + \item ¦""¦ is like ¦"-¦, but produces no hyphen sign + (for compound words with an hyphen, e.g., ¦foo-""bar¦) + \item ¦"~¦ for a compound word mark without a breakpoint + \item ¦"=¦ for a compound word mark with a breakpoint, + allowing hyphenation in the composing words. + \end{itemize} + + There are also four shorthands for quotation signs: + \begin{itemize} + \item ¦"`¦ for German left double quotes („) + \item ¦"'¦ for German right double quotes (“) + \item ¦"<¦ for French left double quotes («) + \item ¦">¦ for French right double quotes (»). + \end{itemize} \end{itemize} \subsection{greek} @@ -436,6 +460,15 @@ The default value of each option is given in italic. \item \TB{spelling} = \textit{modern} or old (for captions and date only, not for hyphenation) \end{itemize} +\subsection{sanskrit} +\textbf{Options}: + \begin{itemize} + \item \TB{Script} (default = Devanagari). \new{1.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. + \end{itemize} + \subsection{serbian} \textbf{Options}: \begin{itemize} @@ -447,7 +480,7 @@ The default value of each option is given in italic. \begin{itemize} \item \TB{numerals} = \textit{western} (i.e., 1234567890), eastern (for which the Oriental Arabic numerals are used: \textarabic{١٢٣٤٥٦٧٨٩٠}), - or abjad (new in version 1.0.1). + or abjad\new{1.0.1}. \end{itemize} \textbf{Commands}: \begin{itemize} @@ -464,6 +497,17 @@ 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{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 +with the same effect. For instance, to change the ¦\chaptername¦ for language ¦lingua¦, +you can do this: +\begin{verbatim} +\gappto\linguacaptions{\renewcommand{\chaptername}{Caput}} +\end{verbatim} + + \section{Alphabetic numeration in Greek, Arabic, Hebrew, Syriac and Farsi}\label{abjad} In certain languages, numbers can be represented @@ -555,9 +599,8 @@ Boris Lavva and others for its Hebrew support), Alexej Kryukov (\pkg{antomega}), 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! - +(Sanskrit), Zdenek Wagner (Hindi), Mikhal Oren (Hebrew), Sergey Astanin (Russian), +and several other members of the \XeTeX\ user community. +And of course my gratitude also goes to Jonathan Kew, the formidable author of \XeTeX! \end{document} |