从 texsudio 调用 mathtype

从 texsudio 调用 mathtype

你知道如何使用宏 (javascript) 从 texstudio 自动调用 Mathtype 并自动将公式放回 texstudio 吗?这可以手动完成,但我想知道是否可以像从 word 调用 mathtype 那样以自动方式完成。

答案1

我不知道 Mathtype,但如果它可以导出到剪贴板,您可以使用以下宏(我只是使用 notepad.exe 作为示例外部应用程序):

%SCRIPT
proc = system("c:/windows/notepad.exe")
proc.waitForFinished()
// as a user you can now work in the external application
// when you're done, copy the required content to the clipboard
// and close the external application
editor.paste()

相关内容