From fcb7796bc1728a7aaf0be5c2a7650d31f2187ecc Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 27 Jan 2009 02:00:42 +0000
Subject: polyglossia update (26jan09)

git-svn-id: svn://tug.org/texlive/trunk@11991 c570f23f-e606-0410-a88d-b1316a301751
---
 .../doc/xelatex/polyglossia/polyglossia.tex        | 57 +++++++++++++++++++---
 1 file changed, 50 insertions(+), 7 deletions(-)

(limited to 'Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex')

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}
 
-- 
cgit v1.2.3

