diff options
author | Karl Berry <karl@freefriends.org> | 2009-11-23 00:09:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-11-23 00:09:39 +0000 |
commit | 47a83019686478b45f6a6c95dc3734ed8c90b7fb (patch) | |
tree | 68b0c55357ddeab78e907ce5ca20b8c802f1e475 /Master/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty | |
parent | 2ad99864320c53576bcc36ed5f06c55a265d92fc (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.sty | 7 |
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}% |