this post was submitted on 30 Apr 2024
39 points (95.3% liked)

Open Source

31028 readers
621 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I'm currently writing a report in using Overleaf. As I'm getting the premium version for free through my Uni, I've had no problems so far. Now I'm working in a place with unstable internet and using Overleaf has become very annoying.

Are there some good FOSS alternatives out there, preferably where I can just upload my Project.zip and continue working offline? I have no need to collaborate with anyone or anything like that.

Currently I'm looking at LyX, but I'd be happy to hear about your experiences with that or other programs.

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 6 months ago (3 children)

I'm writing a thesis using https://typst.app

I was hesitant to use it at the beginning but in the end, it's one of the best choice I made so far.

[–] [email protected] 15 points 6 months ago (1 children)

"Select where you heard about typst"
-> Fediverse

Finally somewhere that actually has Fediverse as an option, this must be a good app.

[–] [email protected] 2 points 6 months ago

You'll thank me later...

[–] [email protected] 5 points 6 months ago

This, I also used to create a CV in typist, after a really frustrating experience with LaTeX and the difference is night and day.

And the best part is that errors are actually understandable, so you can actually fix them

[–] [email protected] 2 points 6 months ago (2 children)

Out of curiosity, what program are you using to write? I think I saw they have a web editor, but I there’s a neovim plugin (and maybe an LSP) as well I think.

[–] [email protected] 3 points 6 months ago

Vscode with typst-preview plugin. A wonderful combo.

[–] [email protected] 1 points 6 months ago

I use VScodium with some plugins. But writing in any editor and running the typst executable with the "watch" argument is also an option. That way as soon as you overwrite the source file a new PDF is generated. In that case I use Okular which auto refreshes when the open document changes.

[–] [email protected] 12 points 6 months ago (1 children)

Texmaker is my go-to offline LaTeX editor. In addition, use JabRef for bibliography management and you'll live happily ever after.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago) (1 children)

Combine with git and you now have a good way of keeping track of changes as well of you have to collaborate with others.

[–] [email protected] 2 points 6 months ago

Geez you really can use git for everything

[–] [email protected] 11 points 6 months ago* (last edited 6 months ago) (1 children)

This is probably not the solution for most, but if you care, overleaf can be selfhosted.

More info here: https://github.com/overleaf/overleaf

Edit: note->not

[–] [email protected] 1 points 6 months ago

I've tried, but it was not easy at all and I sadly finally gave up because it uses Redis and that Redis needs some specific instructions that are not available for old/low end CPUs like the one I have in my homelab. The best self-hosted alternative I found at the time was FidusWriter. Probably not the best solution for OP, but still an OK self-hosted alternative to Overleaf.

[–] [email protected] 9 points 6 months ago

Before overleaf, most people installed Latex locally (see e.g. texlive on Linux, miktex on Windows, etc), and then used their editor of choice (dozen of options here, ranging from dedicated Latex IDE like textudio, texmaker, etc. to more general editors like emacs, etc). LyX is nice too, essentially it's just a particular IDE (i.e. a nice way to edit a latex file without looking directly at the source file). To collaborate (or just backup), they used a cloud provider (e.g. Dropbox is pretty popular in academia); these days, some ppl use private github repo to work collectively on a paper (but you can do that even if you are the only one editing the file, of course).

Would one of these options that work for you? or do you specifically need something that does not rely on a local installation?

[–] [email protected] 7 points 6 months ago (1 children)

You can always self host overleaf yourself

[–] [email protected] 5 points 6 months ago (1 children)

What?!?

I looked it up and you can. I'll have that fired up with their docker image in no time. Thank you for the pointer.

[–] [email protected] 3 points 6 months ago

No problem. Figured you might appreciate something that's exactly the same

[–] [email protected] 5 points 6 months ago

You can use overleaf for sharing only, and write your document locally. I am currently writing my thesis using the git integration, using neovim/vimtex/jabref, and then doing git add/commit/push to sync to Overleaf.

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago)

Is using a TeX distribution locally not an option? Then just use VS code

https://www.latex-project.org/get/#tex-distributions

[–] [email protected] 3 points 6 months ago

Something to consider but not for anyone: if youre thinking of using latex, why don't just learn how to use raw latex packages. Download the packages and use your own editor and PDF viewer. It you're using Linux, maybe something like [(neo)vim+vimtex]+zathura. Anyway you can still use LyX to easily create math formula by copy pasting. And for backup, you can use github (plus Dropbox) etc.

[–] [email protected] 1 points 6 months ago

I use Lyx with a local Texlive install, and it works great (openSUSE tumbleweed)

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

Before I switched to Overleaf for the collaboration features, I used tectonic-typesetting (non gui) with VSCode