summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx')
-rw-r--r--macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx5
1 files changed, 2 insertions, 3 deletions
diff --git a/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx b/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx
index aaba25c293..706ea23854 100644
--- a/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx
+++ b/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx
@@ -44,12 +44,11 @@
\keys_define:nn {fontspec-opentype}
{
Ligatures / TeX .code:n = { \tl_set:Nn \l_@@_mapping_tl {tex-text} },
- Ligatures / TeX .groups:n = {opentype},
+ Ligatures / TeXOff .code:n = { \tl_clear:N \l_@@_mapping_tl },
Ligatures / TeXReset .code:n = { \tl_clear:N \l_@@_mapping_tl },
- Ligatures / TeXReset .groups:n = {opentype},
}
%</XE>
-%<LU>\@@_define_opentype_onreset:nnnnn {Ligatures} {TeX} {} { +tlig } {}
+%<LU>\@@_define_opentype_onoffreset:nnnnn {Ligatures} {TeX} {} {tlig} {}
% \end{macrocode}
%
% \subsection{Letters}