diff options
author | Karl Berry <karl@freefriends.org> | 2008-07-17 23:09:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-07-17 23:09:59 +0000 |
commit | 1479b7379fbf61f282f9c000d5b676913fb2555e (patch) | |
tree | 603ec1b13790d471faf6dd3ab90ad67544a4278c /Master/texmf-dist/doc/xelatex/polyglossia | |
parent | 3458209effc92485ac1e25e38c0bfefdf0efe62a (diff) |
polyglossia update (17jul08)
git-svn-id: svn://tug.org/texlive/trunk@9647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/polyglossia')
13 files changed, 1 insertions, 161 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README.txt b/Master/texmf-dist/doc/xelatex/polyglossia/README index a9e6f0f2302..a9e6f0f2302 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/README.txt +++ b/Master/texmf-dist/doc/xelatex/polyglossia/README diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/TODO.txt b/Master/texmf-dist/doc/xelatex/polyglossia/TODO.txt deleted file mode 100644 index 4fb1894ba5c..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/TODO.txt +++ /dev/null @@ -1,111 +0,0 @@ -=== 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/testarabic.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf Binary files differindex c61b90b883c..c61b90b883c 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.tex b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex index 661be79dc9a..661be79dc9a 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/testarabic.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-arabic.tex diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testthai.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf Binary files differindex 84ab20af95c..84ab20af95c 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/testthai.pdf +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testthai.tex b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.tex index 13995fd3d9c..13995fd3d9c 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/testthai.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/example-thai.tex diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf Binary files differnew file mode 100644 index 00000000000..345d0426fb2 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/test.tex b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex index 00b1ab43e08..dca35f8da87 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/test.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.tex @@ -60,29 +60,6 @@ Quamquam sermone nativo fungi desinit, cumque nostris diebus perpauci Latine loq (\today) \end{greek} -\begin{quote} -\begin{greek}[variant=ancient] -τὸν δ' ἠμείβετ' ἔπειτα θεά, γλαυκῶπις Ἀθήνη: -“ὦ πάτερ ἡμέτερε Κρονίδη, ὕπατε κρειόντων, -καὶ λίην κεῖνός γε ἐοικότι κεῖται ὀλέθρῳ: -ὡς ἀπόλοιτο καὶ ἄλλος, ὅτις τοιαῦτά γε ῥέζοι: -ἀλλά μοι ἀμφ' Ὀδυσῆι δαί̈φρονι δαίεται ἦτορ, -δυσμόρῳ, ὃς δὴ δηθὰ φίλων ἄπο πήματα πάσχει -νήσῳ ἐν ἀμφιρύτῃ, ὅθι τ' ὀμφαλός ἐστι θαλάσσης. -νῆσος δενδρήεσσα, θεὰ δ' ἐν δώματα ναίει, -Ἄτλαντος θυγάτηρ ὀλοόφρονος, ὅς τε θαλάσσης -πάσης βένθεα οἶδεν, ἔχει δέ τε κίονας αὐτὸς -μακράς, αἳ γαῖάν τε καὶ οὐρανὸν ἀμφὶς ἔχουσιν. -τοῦ θυγάτηρ δύστηνον ὀδυρόμενον κατερύκει, -αἰεὶ δὲ μαλακοῖσι καὶ αἱμυλίοισι λόγοισιν -θέλγει, ὅπως Ἰθάκης ἐπιλήσεται: αὐτὰρ Ὀδυσσεύς, -ἱέμενος καὶ καπνὸν ἀποθρῴσκοντα νοῆσαι -ἧς γαίης, θανέειν ἱμείρεται. οὐδέ νυ σοί περ -ἐντρέπεται φίλον ἦτορ, Ὀλύμπιε. οὔ νύ τ' Ὀδυσσεὺς -Ἀργείων παρὰ νηυσὶ χαρίζετο ἱερὰ ῥέζων -Τροίῃ ἐν εὐρείῃ; τί νύ οἱ τόσον ὠδύσαο, Ζεῦ;” -\end{greek} -\end{quote} \begin{hebrew}[numerals=hebrew] \textbf{עברית} היא שפה ממשפחת השפות השמיות, הידועה כשפתו של העם היהודי, ואשר ניב מודרני שלה משמש כשפה הרשמית והעיקרית של מדינת ישראל. \\ diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.pdf Binary files differindex 29ff9db52c4..078817148c7 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 0cad6e07acc..0d7b7666648 100644 --- a/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex +++ b/Master/texmf-dist/doc/xelatex/polyglossia/polyglossia.tex @@ -91,7 +91,7 @@ \title{\textcolor{lightblue}{\huge \fontspec[ExternalLocation="/mnt/data/fonts/greek/"]{GFSAmbrosia.otf} -Π$\;\,$ο$\;\,$λ$\;\,$υ$\;\,$γ$\;\,$λ$\;\,$ο$\;\,$σ$\;\,$σ$\;\,$ι$\;\,$α}\\[16pt] +Π$\;\,$ο$\;\,$λ$\;\,$υ$\;\,$γ$\;\,$λ$\;\,$ω$\;\,$σ$\;\,$σ$\;\,$ι$\;\,$α}\\[16pt] \color{myblue}Polyglossia: A Babel Replacement for \XeLaTeX} \author{\scshape\color{myblue}François Charette} \date{\filedate \qquad \fileversion\\ diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/test.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/test.pdf Binary files differdeleted file mode 100644 index 342b867cfd5..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/test.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.pdf Binary files differdeleted file mode 100644 index c1545839b46..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.tex b/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.tex deleted file mode 100644 index f31cdd2edac..00000000000 --- a/Master/texmf-dist/doc/xelatex/polyglossia/testsanskrit.tex +++ /dev/null @@ -1,26 +0,0 @@ -\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} |