summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty28
1 files changed, 23 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty b/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
index 82479c61ab3..a690db0eb37 100644
--- a/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
+++ b/Master/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
@@ -14,11 +14,27 @@
%%
%%
\ProvidesPackage{fontspec-patches}
- [2014/06/01 v2.4 Font selection for XeLaTeX and LuaLaTeX]
+ [2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTeX]
-\RequirePackage{fixltx2e}[2006/03/24]
\ExplSyntaxOn
+\cs_set_protected:Npn \@fnsymbol #1
+ {
+ \int_case:nnF {#1}
+ {
+ {0} {}
+ {1} { \mode_if_math:TF *\textasteriskcentered }
+ {2} { \mode_if_math:TF \dagger\textdagger }
+ {3} { \mode_if_math:TF \ddagger\textdaggerdbl }
+ {4} { \mode_if_math:TF \mathsection\textsection }
+ {5} { \mode_if_math:TF \mathparagraph\textparagraph }
+ {6} { \mode_if_math:TF \|\textbardbl }
+ {7} { \mode_if_math:TF {**}{\textasteriskcentered\textasteriskcentered} }
+ {8} { \mode_if_math:TF {\dagger\dagger}{\textdagger\textdagger} }
+ {9} { \mode_if_math:TF {\ddagger\ddagger}{\textdaggerdbl\textdaggerdbl} }
+ }
+ { \@ctrerr }
+ }
\DeclareRobustCommand \em
{
\@nomath\em
@@ -138,14 +154,16 @@
%% version 1.3c or higher (your choice). The latest version of
%% this license is at: http://www.latex-project.org/lppl.txt
%%
-%% This work is "author-maintained" by Will Robertson.
+%% This work is "maintained" by Will Robertson.
%%
%% This work consists of this file fontspec.dtx
%% and the derived files fontspec.sty,
%% fontspec.lua,
%% fontspec.cfg,
-%% fontspec-xetex.tex,
-%% fontspec-luatex.tex,
+%% fontspec-xetex.sty,
+%% fontspec-luatex.sty,
+%% fontspec-patches.sty,
+%% fontspec-example.tex,
%% and fontspec.pdf.
%%
%%