问题标签 [texnic-center]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
208 浏览

pdf - 在 TexnicCenter 中使用 pdflatex 构建后打开输出 pdf

我在 TeXnicCenter 中使用 pdflatex 编译器,我希望能够更改输出文件名,而不更改 .tex 文件名,所以我在文件开头使用了这一行:

这种方法效果很好,但是编译器不再自动打开 pdf,我可以在 Viewer 中使用任何命令而不是默认的 DDE 命令来完成这项工作吗?这是当前命令:

0 投票
0 回答
44 浏览

linux - 从 Mingw64 启动 TexnicCenter 而不启动多个实例?

我在 Windows 10 下使用带有 Mingw64 的 Git,但我是 Git/Linux/bash 的新手。

我想texniccenter在 Mingw64 解释器中定义一个命令,这样如果我输入

my_file.tex 将在 TexnicCenter 的正在运行的实例中打开,如果有一个,或者如果没有实例正在运行,则在一个新的实例中打开。基于对Command to open file with git的回答,我创建了一个名为 texniccenter 的文件,其内容如下

我已将其保存到"C:\Program Files\Git\usr\bin". 这工作正常,但每次都会启动一个新的 TexnicCenter 实例。我读过我必须使用命令行选项/ddecmd来阻止 TexnicCenter 启动一个新实例,但我不确定将它放在上述命令中的哪个位置。我尝试了许多引号和斜杠/反斜杠的组合来转义 中的斜杠/ddecmd,但到目前为止没有任何效果。

如果这很重要,我问这个问题是因为我想将 Git 配置为使用 TexnicCenter 来显示来自指定提交的文件的内容。根据对https://superuser.com/questions/772269/how-can-i-pipe-console-output-directly-to-notepad的回答,我想输入

但我必须先定义texniccenter