diff options
author | Karl Berry <karl@freefriends.org> | 2008-07-13 17:56:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-07-13 17:56:13 +0000 |
commit | 6bff296ca43bdcd3cdf8bda020bac086b4f072ec (patch) | |
tree | e63c29b9358cf1faa6f2d3af5caabd288124debf /Master/texmf-dist/doc/xelatex/polyglossia | |
parent | 747e80c5ab90fb75b2ce45b185139f5649b05513 (diff) |
polyglossia update (13jul08)
git-svn-id: svn://tug.org/texlive/trunk@9519 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/polyglossia')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/minimal.pdf | bin | 4874 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/minimal.tex | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/polyglossia-doc.txt | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf | bin | 149579 -> 164819 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex | 54 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.pdf | bin | 9434 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.tex | 8 |
7 files changed, 37 insertions, 39 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/minimal.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/minimal.pdf Binary files differdeleted file mode 100644 index ce5f9746a09..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/minimal.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/minimal.tex b/Master/texmf-dist/doc/xelatex/polyglossia/minimal.tex deleted file mode 100644 index 71f4c37b171..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/minimal.tex +++ /dev/null @@ -1,7 +0,0 @@ -\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 deleted file mode 100644 index 62fc2893995..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia-doc.txt +++ /dev/null @@ -1,7 +0,0 @@ -\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 Binary files differindex de811cc7b07..29ff9db52c4 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 98d121422d2..0cad6e07acc 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex @@ -232,23 +232,43 @@ Longer passages are better put between the environment ¦⟨lang⟩¦ For instance the following allows us to quote the beginning of Homer’s \textit{Iliad}: -\begin{verbatim} +\begin{Verbatim}[formatcom=\color{myblue}] \begin{greek}[variant=ancient] -τὸν δ' ἠμείβετ' ἔπειτα θεά, γλαυκῶπις Ἀθήνη: “ὦ πάτερ ἡμέτερε Κρονίδη, ὕπατε -κρειόντων, καὶ λίην κεῖνός γε ἐοικότι κεῖται ὀλέθρῳ: ὡς ἀπόλοιτο καὶ ἄλλος, -ὅτις τοιαῦτά γε ῥέζοι: ἀλλά μοι ἀμφ' Ὀδυσῆι δαί̈φρονι δαίεται ἦτορ, δυσμόρῳ, ὃς -δὴ δηθὰ φίλων ἄπο πήματα πάσχει νήσῳ ἐν ἀμφιρύτῃ, ὅθι τ' ὀμφαλός ἐστι θαλάσσης …” +μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος οὐλομένην, ἣ μυρί' Ἀχαιοῖς ἄλγε' +ἔθηκε, πολλὰς δ' ἰφθίμους ψυχὰς Ἄϊδι προί̈αψεν ἡρώων, αὐτοὺς δὲ ἑλώρια +τεῦχε κύνεσσιν οἰωνοῖσί τε πᾶσι, Διὸς δ' ἐτελείετο βουλή, ἐξ οὗ δὴ τὰ +πρῶτα διαστήτην ἐρίσαντε Ἀτρεί̈δης τε ἄναξ ἀνδρῶν καὶ δῖος Ἀχιλλεύς. \end{greek} -\end{verbatim} +\end{Verbatim} \begin{greek}[variant=ancient] -τὸν δ' ἠμείβετ' ἔπειτα θεά, γλαυκῶπις Ἀθήνη: “ὦ πάτερ ἡμέτερε Κρονίδη, ὕπατε -κρειόντων, καὶ λίην κεῖνός γε ἐοικότι κεῖται ὀλέθρῳ: ὡς ἀπόλοιτο καὶ ἄλλος, -ὅτις τοιαῦτά γε ῥέζοι: ἀλλά μοι ἀμφ' Ὀδυσῆι δαί̈φρονι δαίεται ἦτορ, δυσμόρῳ, ὃς -δὴ δηθὰ φίλων ἄπο πήματα πάσχει νήσῳ ἐν ἀμφιρύτῃ, ὅθι τ' ὀμφαλός ἐστι θαλάσσης …” +μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος οὐλομένην, ἣ μυρί' Ἀχαιοῖς ἄλγε' ἔθηκε, +πολλὰς δ' ἰφθίμους ψυχὰς Ἄϊδι προί̈αψεν ἡρώων, αὐτοὺς δὲ ἑλώρια τεῦχε κύνεσσιν +οἰωνοῖσί τε πᾶσι, Διὸς δ' ἐτελείετο βουλή, ἐξ οὗ δὴ τὰ πρῶτα διαστήτην ἐρίσαντε +Ἀτρεί̈δης τε ἄναξ ἀνδρῶν καὶ δῖος Ἀχιλλεύς. \end{greek} +\bigskip + +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}: + +\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 ought to be mentioned here. @@ -466,10 +486,10 @@ It also accepts an optional argument to add or subtract a correction 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}). +For instance if ¦\Hijritoday¦ yields the date “7 Rajab 1429” (which is the date that was +displayed on the front page of \href{http://www.aljazeera.net}{aljazeera.net} on +11th July 2008), ¦\Hijritoday[1]¦ would rather print “8 Rajab 1429” (the date +indicated the same day 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), @@ -488,11 +508,11 @@ Here we have renamed the command \cmd\ftoday\ to 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 +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}). 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 +(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! diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.pdf Binary files differdeleted file mode 100644 index 0defc533692..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.tex b/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.tex deleted file mode 100644 index 3a9cb35c2dd..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/testfarsi.tex +++ /dev/null @@ -1,8 +0,0 @@ -\documentclass{article}% -\usepackage{polyglossia} -\setmainfont{Junicode} -\setmainlanguage{farsi} -\newfontfamily\arabicfont[Script=Arabic,Scale=1.3]{Scheherazade} -\begin{document} -\section{فصل} -\end{document} |