是否可以将MS Visual Studio用作LaTeX用户的IDE? [英] Is it possible to use MS Visual Studio as an IDE for LaTeX users?

查看:243
本文介绍了是否可以将MS Visual Studio用作LaTeX用户的IDE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Microsoft Visual Studio的忠实拥护者.我喜欢代码折叠,自动完成,自动格式化等等.

I am a big fan of Microsoft Visual Studio. I like the code folding, auto-completion, auto-formatting, and many more.

我认为,如果我可以将MS Visual Studio用作LaTeX用户的IDE,那将是一件好事.简而言之,有可能吗?对于第一步,我认为让我有可能在Visual Studio中调用LaTeX编译器和PDF阅读器,这绰绰有余.但是,您可以允许我使用自动完成等功能,以进一步进行操作.

I am thinking that it will be good if I can abuse MS Visual Studio as an IDE for LaTeX users. Shortly speaking, is it possible? For the first step, I think making me possible to invoke LaTeX compiler and invoke PDF viewer from within Visual Studio is more than enough. But you can step further by allowing me to use auto-completion, etc.

有什么主意吗?

LaTeX编辑器通常具有如下设置来调用LaTeX编译器和PDF查看器.这可能对您有用.

LaTeX editors usually have setting to invoke LaTeX compilers and PDF viewers as follows. It might be useful for you.

推荐答案

对于Visual Studio 代码(VSC),请使用扩展名:"LaTeX Workshop".

For Visual Studio Code (VSC) use extension: "LaTeX Workshop".

在Windows上:安装MiKTeX,然后通过MiKTeX Console安装软件包"latexmk".最后安装Perl http://strawberryperl.com/

On Windows: Install MiKTeX, then over MiKTeX Console install package "latexmk". Finally install Perl http://strawberryperl.com/

使用VSC保存.tex文件时,PDF会自动重建.

PDF gets rebuilt automatically on saving the .tex file with VSC.

要在Windows中查看更改的.pdf文件,"TeXworks"在尝试多次查看的用户中效果最佳,因为它不会锁定.pdf文件以防止更改,并且可以快速刷新更改pdf输出的视图.

For viewing the changing .pdf file in Windows "TeXworks" did work best from multiple viewers tried, because it does not lock the .pdf file against changes and quickly refreshes the view on changing pdf output.

这篇关于是否可以将MS Visual Studio用作LaTeX用户的IDE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆