ebgaramond 给出 LaTeX3 错误:命令 '\swshape' 已定义

ebgaramond 给出 LaTeX3 错误:命令 '\swshape' 已定义

考虑:

\documentclass{memoir}
\usepackage{ebgaramond}
\begin{document}
Test
\end{document}

给我:

$ lualatex test.tex
This is LuaTeX, Version 1.10.0 (TeX Live 2019) 
 restricted system commands enabled.
(./test.tex
LaTeX2e <2020-02-02> patch level 3
 L3 programming layer <2020-02-21>
(/usr/local/texlive/2019/texmf-dist/tex/latex/memoir/memoir.cls
Document Class: memoir 2019/11/21 v3.7j configurable book, report, article docu
ment class
(/usr/local/texlive/2019/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/memoir/mem10.clo)
(/usr/local/texlive/2019/texmf-dist/tex/latex/tools/array.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/tools/dcolumn.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/tools/delarray.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/tools/tabularx.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/textcase/textcase.sty))
(/usr/local/texlive/2019/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/iftex/ifxetex.sty)
(/usr/local/texlive/2019/texmf-dist/tex/generic/iftex/ifluatex.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/textcomp.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def))
) (/usr/local/texlive/2019/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/fontspec/fontspec.cfg)))

! LaTeX3 Error: Command '\swshape' already defined!

For immediate help type H <return>.
 ...                                              

l.140   \newfontfamily
                    \ebgaramondOsF
?

这是怎么回事?

相关内容