summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/xelatex')
-rw-r--r--Master/texmf-dist/source/xelatex/polyglossia/polyglossia.dtx43
1 files changed, 25 insertions, 18 deletions
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)