1

I have a Windows desktop PC at home and a MacBook for working everywhere else. I use LaTeX every single day, so it is important to me that "it just works".

Up to now I've been using TeXStudio because this editor is always mentioned as one of the top editors both on Windows and on MacOS. However, lately I've been having more encoding (latin1 vs. utf8 - I write in German so I need umlauts) issues out of nowhere and that can become rather cumbersome. Moreover, for very long files (thesis, books), it seems to me that TeXStudio is rather slow both on Windows and MacOS (while editing and compiling).

So I'm looking for an editor that is as lightweight and fast as possible and can also compile .tex files very quickly. Ideally, that editor is available on both Windows and MacOS and is "idiot-proof" regarding encoding.

For this, I thought about just using editors more popular with coders, like Vim, Sublime Text 2 or VS Code. I hardly need any of the features provided by the GUI of TeXStudio (actually seems unnecessarily bloated to me), so a simple editor would maybe be better for me. However, I don't want to run into issues while compiling or using e.g. bibLaTeX.

I also looked at TeXPad which looks gorgeous and very clean, but unfortunately is not available on Windows. So I'm again a bit hesitant because of possible encoding issues every now and then.

What would be the best pick for frequent switches of platforms and fast compiling?

2
  • 1
    This looks like a dupe of the 'big list of IDEs' question: really, there is no 'one true choice'
    – Joseph Wright
    Aug 14, 2019 at 21:46
  • 5
    Did you saw question tex.stackexchange.com/questions/339/latex-editors-ides ? Do you know TeXWorks seem to be available on all OS. The time a compile run needs is mainly depending on the used TeX distribution, the editor is only an IDE making compiling and writing easier to control ...
    – Mensch
    Aug 14, 2019 at 21:51

2 Answers 2

3

Well, just use Emacs. Steep learning curve, but worth the time and effort. And it comes with org-mode. Good thing to get things organised. I never learned lisp, by the way.

To write and compile *.tex files, there is AUCTeX mode of Emacs.

1
  • Emacs is a great development environment. It includes Calc which allows you to enter matrices in the usual row format and insert them in LaTeX format for example. Many others very useful features. The Elisp language allows you to customize at will and add features that might be missing.
    – gigiair
    Jul 24, 2021 at 6:09
0

For this, I thought about just using editors more popular with coders, like Vim, Sublime Text 2 or VS Code. I hardly need any of the features provided by the GUI of TeXStudio (actually seems unnecessarily bloated to me), so a simple editor would maybe be better for me. However, I don't want to run into issues while compiling or using e.g. bibLaTeX.

You can use editors like Sublime text, without running into problems (at least in Linux). following is how to do it in Linux

Just edit the Tex code just like any other code in Sublime Text. Save it. Then (assuming your main file is main.tex)

  • pdflatex main
  • bibtex main
  • pdflatex main
  • pdflatex main

[video demonstration of compiling latex via terminal][1]

For doing the same things in windows You could probably use the same commands

PS: in Linux for opening pdf files use xdg-open  for eg xdg-open main-rep.pdf & or evince main-rep.pdf [1]: https://youtu.be/zEduPPP3xqk

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .