LaTeX3 包的 MWE

LaTeX3 包的 MWE

如何编写 XeTeX 程序这个包它只打印该命令的结果

\use_i_ii:nnn { abc } { { def } } { ghi }

当被叫时作为一种功能 $\foo{ abc } { { def } } { ghi }$ 输出页面如下:

$abc{def}$

我需要的是一个包含以下内容的 MWE:

\documentclass{article}
\ExplSyntaxOn
\cs_new_protected:Npn

...我目前无法创建 MWE。特别是,我无法猜出这一行:

\cs_new_protected:Npn

有变化protected:Npn

升级 MIKTEX 后,您的评论出现此错误:

    Command Line:   D:\ProgramFiles\MikTexNEW\miktex\bin\x64\xelatex.exe --interaction=errorstopmode --synctex=-1 "ideje31.tex"
Startup Folder: C:\Users\hynek0\Desktop\TH0dipl

This is XeTeX, Version 3.14159265-2.6-0.999991 (MiKTeX 2.9.7050 64-bit)
entering extended mode
(ideje31.tex
LaTeX2e <2018-12-01>
(D:\ProgramFiles\MikTexNEW2\tex/latex\base\article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(D:\ProgramFiles\MikTexNEW2\tex/latex\base\size10.clo))
! Undefined control sequence.
<recently read> \ExplSyntaxOn 
                              
l.3 \ExplSyntaxOn
                   \cs_new_protected:Npn
? 

! Emergency stop.
<recently read> \ExplSyntaxOn 
                              
l.3 \ExplSyntaxOn
                   \cs_new_protected:Npn
No pages of output.

_____________________________________________________________________

 PDFLaTeX Compilation Report (Pages: 0)

 Errors: 2   Warnings: 0   Bad Boxes: 0
_____________________________________________________________________

相关内容