[英]Installing TeX: MacOS terminal launch with -bash: /Applications/MiKTeX: No such file or directory
[英]How to open a tex file in Texmaker from terminal in MacOS?
在Ubuntu中,我可以直接从终端运行:
texmaker file.tex
这在Texmaker中打开了我的tex文件。 在MacOS中,即使我安装了Texmaker ,也找不到texmaker
命令。
如何在MacOS中实现这一目标? 有等效的命令吗?
如果您的意思是这样,则可以使用以下命令与homebrew一起安装:
brew cask install texmaker
安装Texmaker后,您可以添加:
alias texmaker="open -a texmaker"
到您的.profile
。 从现在开始,应该可以从命令行简单运行:
texmaker file.tex
在file.tex
所在的位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.