使用自定义构建命令 texniccenter

使用自定义构建命令 texniccenter

我确实有一个相当不常见的设置。在 Windows 机器上运行 texniccenter 但无法安装任何 LaTeX 引擎,我选择使用 WSL(适用于 Linux 的 Windows 子系统)来运行 texlive。以下内容从 cmd.exe 运行

powershell -Command "wsl cd ``wslpath -u C:\Users\<user_name>\Documents\Tex\`` `&`& lualatex test.tex"

一切按预期工作后,我想我可以创建一个新的配置文件,其中 LaTeX 编译器

C:\Windows\System32\cmd.exe

powershell -Command "wsl cd ``wslpath -u %DM`` `&`& lualatex %nm"

传递了参数,应该可以解决问题。不幸的是,它没有):对此有什么想法吗?

干杯。克里斯蒂安

相关内容