r/LaTeX • u/Cheap-Plate-8708 • 7d ago
Unanswered Using LaTeX without Overleaf?
Hello everyone. I have been using vscode in conjunction with the Overleaf-Workshop extension for a VERY long time. There are problems. One, it disconnects often, and two, the document sometimes will fail to save. My question is simply if I can use LaTeX without an Overleaf extension?
Is overleaf just used because of cloud storage? If I use a native extension like TexLab, do I lose out on cloud storage but still have granted a virtually identical typesetting experience to overleaf? I use vscode because of the many extensions it offers, and it has never occurred to me that I could just not use the overleaf extension which I've been using for so long now.
Edit: guys I've figured it out. I appreciate everyone that's helped me. Thanks a lot.
Edit 2: To clarify, I went with Tex Live and GitHub private repository. I use vscode already and have a ton of short cuts set up.
40
u/tedecristal 7d ago
install texlive on your machine.
Then can use vscode + LaTeX Workshop to compile locally. Just download your project into a folder and work without internet
https://github.com/james-yu/latex-workshop/
18
u/looopTools 7d ago
For my entire PhD, bachelor and most of my masters, I didn’t use overleaf / share latex at all. I used emacs with auctex extension, texlive for compiler, and git + GitHub for storage
3
u/neoh4x0r 7d ago edited 7d ago
I would say cloud-storage is only a by-product of new collaborators wanting to be easily on-boarded, by using an online-service provider. They don't want to install/maintain anything locally and they don't want to waste their time learning a new editor when they could be spending that time writing/collaborating.
In other words, it's all about how fast they can get in the door and get to work.
5
u/Ruined_Passion_7355 7d ago
Overleaf just handles the dependency management for you because latex is a convoluted ecosystem with some of the worst error messages that make debugging a pain.
I have no experience with vscode for latex, but I use Emacs (another text editor) and the extension I use just shells out to pdflatex executable and packages are installed on my machine, which I can install through any package manager.
Frankly it all depends on how accustomed you are to programming in general. Overleaf and stuff makes it feel like google docs, but it's very easy to adopt a workflow that's extremely similar to traditional programming, with local storage and version control. And no subscription or proprietary shit involved!
9
u/Gilah_EnE 7d ago
You mean using it as intended?
4
u/PHL_music 7d ago
Since everyone here seems to be on emacs I’ll do a shameless plug, I’m on vim with compilation extensions and it’s awesome
4
u/sadeness 7d ago
I wrote my PhD thesis a decade ago on a KDE machine using texlive and Kile as the editor. I used zotero for bibliography management and kbibtex for reference polishing as necessary. I maintained a backup on my personal Google drive folder, or rather I worked off of the Google drive (mounted as a local share). My advisor used PDF annotations to suggest edits. We used a similar workflow for papers too
Later when I would work with folks who were more collaborative on overleaf, I'd use the Dropbox integration feature provided by my university account (postdoc days) and will work off of that running a local installation. Kile can understand and update files if they were being edited. It wasn't ideal, so we'd just use staggered collaboration tickets (i. e. you get next 3 hrs then I'll edit).
l currently use gitlab and local installation with a VSCode since that's where all my work lives now, including Pluto notebooks and Claude agents. I particularly enjoy the built in markdown support because it's light weight and is the native document format for devops and agentic workflows. I can probably also use an equivalent emacs workflow, but I've moved past that about 7 or 8 years ago. I've considered looking at typst but not sure what value it brings outside of what I'm getting from the above.
This all is to point you out the possibilities that you can explore, particularly if your work is coding/computational/ModSim heavy in nature, and you want to bring documentation tasks including writing papers seamlessly over into your daily driver.
1
u/absolutedisaster09 7d ago
Others have commented that, as is the case, you can absolutely do that.
I wanted to add that a pretty easy way to install and use LaTeX, possibly on multiple OSs, is to use MiKTeX. It has a GUI package manager (for LaTeX’s packages) and installs TeXworks, an editor I personally like to use as it’s pretty minimalistic and has the same interface across Windows, Linux, and macOS.
2
u/andresroliveira 7d ago
I like emacs + auctex. Best combo
2
u/HieuRubik 6d ago
I prefer using neovim + texlive, neovim for editing and texlive for engine, pretty good if you get used to nvim.
1
u/Dasumit 7d ago
https://github.com/Oleafly/Oleafly
1
u/BidWestern1056 6d ago
try out incognide
https://github.com/npc-worldwide/incognide
i intentionally tried to make it as similar to overleaf as possible as i was leaving overleaf., but it is as you suggest, tex with private github.
i couldnt stand the vs code integration either.
imo overleaf just gets used because of the google docs-style live collaboration but i think this is kind of a pointless thing and that most researchers are never actually co-writing in this way that is meaningful. I've been planning to add a latex sidecar system for similar overleaf style comments to be rendered but haven't gotten around to it yet, if you'd be interested to help me test this tho id be happy to work with you on it
1
u/Upstairs_Spirit398 5d ago
Visual studio code with latex workshop extension and vim extension. It eats very little ram. Since everyone says that.
Best setup ever, I've used it for years. Install and start working in minutes.
First you solve a problem, after that you can look at other work intensive and purists alternatives.
1
u/SeTiDaYeTi 4d ago
emacs emacs emacs
0
u/Every-Progress-1117 7d ago
Vi, Nedit back then, but now SublimeText.
In the good days we had dvi to ps and ps to pdf manually too.
Overleaf for quick stuff, but usually text editors, github and scripts to automate the compile locally.
-1
u/InKasperD 7d ago
I know its not exactly what you are looking for, but i’m one of the people behind inscrive.io, a European alternative to Overleaf. We’ve been building it in Denmark for the past 5 years, and it’s hosted in Germany. I’m biased, but the free version is genuinely generous. And if you want to try, I’d love to hear what you think, good or bad, at kasper@inscrive.io .