如何使用上下文进行编译而不必在提示中重新输入文件名?

如何使用上下文进行编译而不必在提示中重新输入文件名?

我想用 ConTeXt 排版文件以简化文档制作流程,但该context脚本无法像“不那么简短的上下文简介”中宣传的那样工作。它让我停留在提示符 ( **) 处,我必须再次输入输入文件。

$ context rain

resolvers       | formats | executing runner 'run luatex format': /opt/local/libexec/texlive/binaries/luatex --jobname="./rain.tex" --fmt=/Users/aljosha/.texlive2023/texmf-var/luatex-cache/context/88aacfe88c3cbee9a12d5f4bec4da90b/formats/luatex/cont-en.fmt --lua=/Users/aljosha/.texlive2023/texmf-var/luatex-cache/context/88aacfe88c3cbee9a12d5f4bec4da90b/formats/luatex/cont-en.lui  --c:currentrun=1 --c:fulljobname="./rain.tex" --c:input="./rain.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/opt/local/libexec/texlive/binaries"
This is LuaTeX, Version 1.16.0 (TeX Live 2023/MacPorts 2023.66589_5)
 system commands enabled.
**

rain.tex每当我在提示符中重新输入文件名**并回车时,编译都会顺利进行。如果我想将 conTeXt 构建集成到 vim 中,目前的情况并不令人满意。

context rain.tex并且context --luatex rain.tex效果相同

我怎样才能让它按照手册中说明的那样工作?

我运行了 context --make,没有任何错误。

运行--versionon context 得到以下结果:

$ context --version
mtx-context     | ConTeXt Process Management 1.04
mtx-context     |
mtx-context     | main context file: /opt/local/share/texmf-texlive/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2023.03.10 12:15
mtx-context     | main context file: /opt/local/share/texmf-texlive/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2023.03.10 12:15

还:

$ luatex --version
This is LuaTeX, Version 1.16.0 (TeX Live 2023/MacPorts 2023.66589_5)
Development id: 7567

Execute  'luatex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2 or (at your option)
any later version. For more information about these matters, see the file
named COPYING and the LuaTeX source.

LuaTeX is Copyright 2022 Taco Hoekwater and the LuaTeX Team.

还:

$ luametatex --version
This is LuaMetaTeX, Version 2.10.08

Execute 'luametatex --credits' for credits and version details.

There is NO warranty. Redistribution of this software is covered by the terms
of the GNU General Public License, version 2 or (at your option) any later
version. For more information about these matters, see the file named COPYING
and the LuaMetaTeX source.

Functionality : level 20230426
Support       : [email protected]
Copyright     : The Lua(Meta)TeX Team(s) (2005-2023+)

The LuaMetaTeX project is related to ConTeXt development. This macro package
tightly integrates TeX and MetaPost in close cooperation with Lua. Updates will
happen in sync with ConTeXt and when needed. Don't be fooled by unchanged dates:
long term stability is the objective.

所有二进制文件均使用 从 TeXlive 获取port install

相关内容