summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
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/polyglossia/polyglossia.sty
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/polyglossia/polyglossia.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty7
1 files changed, 5 insertions, 2 deletions
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}%