summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-23 00:09:39 +0000
committerKarl Berry <karl@freefriends.org>2009-11-23 00:09:39 +0000
commit47a83019686478b45f6a6c95dc3734ed8c90b7fb (patch)
tree68b0c55357ddeab78e907ce5ca20b8c802f1e475 /Master/texmf-dist/tex/xelatex
parent2ad99864320c53576bcc36ed5f06c55a265d92fc (diff)
polyglossia 1.1.0 (22nov09)
git-svn-id: svn://tug.org/texlive/trunk@16132 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf4
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf4
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf14
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf4
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty7
5 files changed, 18 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf
index a689f961d6d..c3ad0b7542d 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-breton.ldf
@@ -10,8 +10,8 @@
\newXeTeXintercharclass\breton@punctthin % ! ? ;
\newXeTeXintercharclass\breton@punctthick % :
-\def\breton@punctthinspace{\unskip\thinspace}
-\def\breton@punctthickspace{\unskip\nobreakspace}
+\def\breton@punctthinspace{{\unskip\thinspace}}
+\def\breton@punctthickspace{{\unskip\nobreakspace}}
\def\breton@punctuation{%
\frenchspacing%
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf
index 9a03f06af7d..01ad63a783a 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf
@@ -11,8 +11,8 @@
\newXeTeXintercharclass\french@punctthick % :
\newXeTeXintercharclass\french@punctguill % « »
-\def\french@punctthinspace{\unskip\thinspace}
-\def\french@punctthickspace{\unskip\nobreakspace}
+\def\french@punctthinspace{{\unskip\thinspace}}
+\def\french@punctthickspace{{\unskip\nobreakspace}}
\def\french@punctuation{%
\frenchspacing
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf
index 0478bad9475..563066981c7 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-sanskrit.ldf
@@ -17,17 +17,17 @@
\setkeys{sanskrit}{Script}
\newXeTeXintercharclass\sanskrit@punctthin % ! ? ; : danda double_danda
-\def\sanskrit@punctthinspace{\unskip\thinspace}
+\def\sanskrit@punctthinspace{{\unskip\thinspace}}
\def\sanskrit@punctuation{%
\frenchspacing%
\XeTeXinterchartokenstate=1%
- \XeTeXcharclass `\! \sankskrit@punctthin
- \XeTeXcharclass `\? \sankskrit@punctthin
- \XeTeXcharclass `\; \sankskrit@punctthin
- \XeTeXcharclass `\: \sankskrit@punctthin
- \XeTeXcharclass `\। \sankskrit@punctthin
- \XeTeXcharclass `\॥ \sankskrit@punctthin
+ \XeTeXcharclass `\! \sanskrit@punctthin
+ \XeTeXcharclass `\? \sanskrit@punctthin
+ \XeTeXcharclass `\; \sanskrit@punctthin
+ \XeTeXcharclass `\: \sanskrit@punctthin
+ \XeTeXcharclass `\। \sanskrit@punctthin
+ \XeTeXcharclass `\॥ \sanskrit@punctthin
\XeTeXinterchartoks \z@ \sanskrit@punctthin = \sanskrit@punctthinspace
}
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf
index 7ba1fb37f1f..c03cd251a43 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-turkish.ldf
@@ -23,8 +23,8 @@
\newXeTeXintercharclass\turkish@punctthin % ! :
\newXeTeXintercharclass\turkish@punctthick % =
-\def\turkish@punctthinspace{\ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\fi}
-\def\turkish@punctthickspace{\unskip\nobreakspace}
+\def\turkish@punctthinspace{{\ifdim\lastskip>\z@\unskip\penalty\@M\thinspace\fi}}
+\def\turkish@punctthickspace{{\unskip\nobreakspace}}
\def\turkish@punctuation{%
\frenchspacing%
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty b/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
index 521ddd4a1f2..055e647a2ac 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
@@ -80,6 +80,9 @@
}
\setkeys{polyglossia}{localmarks=on}
+% to reset the intercharclass of a character to "normal"
+\newXeTeXintercharclass\xpg@normalclass
+
%% when no patterns are available, we use \l@nohyphenation, assigned to 255
%% (suggestion by Enrico Gregorio)
\@ifundefined{l@nohyphenation}{\chardef\l@nohyphenation=255 }{}
@@ -104,7 +107,7 @@
\expandafter\newcommand\csname text#2\endcsname[2][]{%
\ifcsdef{RL}%
{\ifcsundef{#2@RL}%
- {\@ensure@LR{\foreignlanguage[####1]{#2}{####2}}}%
+ {\@ensure@LTR{\foreignlanguage[####1]{#2}{####2}}}%
{\@ensure@RTL{\foreignlanguage[####1]{#2}{####2}}}}%
{\foreignlanguage[####1]{#2}{####2}}%
}%
@@ -184,7 +187,7 @@
\expandafter\newcommand\csname text#2\endcsname[2][]{%
\ifcsdef{RL}{%
\ifcsundef{#2@RL}%
- {\@ensure@LR{\foreignlanguage[####1]{#2}{####2}}}%
+ {\@ensure@LTR{\foreignlanguage[####1]{#2}{####2}}}%
{\@ensure@RTL{\foreignlanguage[####1]{#2}{####2}}}%
}{% else
\foreignlanguage[####1]{#2}{####2}%