summaryrefslogtreecommitdiff
path: root/Master
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
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')
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/README4
-rw-r--r--Master/texmf-dist/doc/xelatex/polyglossia/examples.pdfbin161877 -> 161886 bytes
-rw-r--r--Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx43
-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
8 files changed, 46 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/README b/Master/texmf-dist/doc/xelatex/polyglossia/README
index 844e3467cde..999da001ff8 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.1.0 ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.1.0a ¦
¦ ¦
¦ Modern multilingual typesetting with XeLaTeX ¦
¦ ¦
@@ -44,6 +44,8 @@ and follow the instructions displayed.
CHANGES
+1.1.0a
+ * Bugfix for interchar tokens
1.1.0
* Use \newXeTeXintercharclass (thanks to Enrico Gregorio)
* Fixed implementation of shorthands for German (Babel code in file babelsh.def)
diff --git a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
index 6725fb891dc..21b7d8d8b62 100644
--- a/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
+++ b/Master/texmf-dist/doc/xelatex/polyglossia/examples.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx b/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx
index af729ebc418..34123f248ef 100644
--- a/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx
+++ b/Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx
@@ -2,7 +2,7 @@
% polyglossia.dtx generated using mkpolyglossiadtx.pl
% (derived from makedtx.pl version 0.94b (c) Nicola Talbot)
%
-% Created on 2009/11/20 10:17
+% Created on 2009/11/22 16:07
%<*internal>
\iffalse
%</internal>
@@ -10,7 +10,7 @@
¦----------------------------------------------¦
¦ ¦
- ¦ THE POLYGLOSSIA PACKAGE v1.1.0 ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.1.0a ¦
¦ ¦
¦ Modern multilingual typesetting with XeLaTeX ¦
¦ ¦
@@ -53,6 +53,8 @@ and follow the instructions displayed.
CHANGES
+1.1.0a
+ * Bugfix for interchar tokens
1.1.0
* Use \newXeTeXintercharclass (thanks to Enrico Gregorio)
* Fixed implementation of shorthands for German (Babel code in file babelsh.def)
@@ -933,6 +935,9 @@ CHANGES
}
\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 }{}
@@ -957,7 +962,7 @@ CHANGES
\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}}%
}%
@@ -1037,7 +1042,7 @@ CHANGES
\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}%
@@ -3094,8 +3099,8 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\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%
@@ -4298,8 +4303,8 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\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
@@ -6735,17 +6740,17 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\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
}
@@ -7626,8 +7631,8 @@ Shawwāl\or Dhū ’l-Qaʿda\or Dhū ’l-Ḥijja\fi}
\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%
@@ -8096,7 +8101,7 @@ U+0039 <> U+0E59 ;
¦----------------------------------------------¦
¦ ¦
- ¦ THE POLYGLOSSIA PACKAGE v1.1.0 ¦
+ ¦ THE POLYGLOSSIA PACKAGE v1.1.0a ¦
¦ ¦
¦ Modern multilingual typesetting with XeLaTeX ¦
¦ ¦
@@ -8139,6 +8144,8 @@ and follow the instructions displayed.
CHANGES
+1.1.0a
+ * Bugfix for interchar tokens
1.1.0
* Use \newXeTeXintercharclass (thanks to Enrico Gregorio)
* Fixed implementation of shorthands for German (Babel code in file babelsh.def)
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}%