703
submitted 5 months ago* (last edited 5 months ago) by renzev@lemmy.world to c/linuxmemes@lemmy.world

Context: LaTeX is a typesetting system. When compiling a document, a lot of really in-depth debugging information is printed, which can be borderline incomprehensible to anyone but LaTeX experts. It can also be a visual hindrance when looking for important information like errors.

you are viewing a single comment's thread
view the rest of the comments
[-] Andrew15_5@mander.xyz 14 points 5 months ago

Have you heard of our lord and savior Typst?

[-] Takios@discuss.tchncs.de 10 points 5 months ago

Which apparently needs an account just to use it and a subscription to use it well. Don't think something like that can be a lord and saviour over LaTeX.

[-] paholg@lemm.ee 9 points 5 months ago

That's just to use the online editor. It's open source, and there's a CLI you can run locally.

https://github.com/typst/typst

[-] renzev@lemmy.world 8 points 5 months ago

This is what I though as well when I first looked at their website. But nope, the compiler and LSP are available as fully offline programs under the apache license. But I understand how you'd get confused, their website is strikingly polished for an open-source non-commercial project!

The only thing you're missing out on if you use the offline version is having the rendered preview update in real time as you type, but you can sort of emulate that feature using their neovim plugin and a really fast PDF viewer like zathura.

[-] Andrew15_5@mander.xyz 2 points 5 months ago

The last point: I use MuPDF + entr as zarhura crush as a mf, not usable at all. Some others use typst-preview which can be used in the browser and as a VS Code extension. But I use Neovim btw and the web version lack a few key features. Anyway, I use mupdf+entr+nvim for many months now and it's more than enough for me.

The web version, for me, is just to share my local project with someone, that's it.

[-] Leate_Wonceslace@lemmy.dbzer0.com 9 points 5 months ago
[-] Andrew15_5@mander.xyz 8 points 5 months ago

Well, overleaf.com is for LaTeX, but typst.app is for Typst, a superior alternative witch is in beta. So for some people it won't be enough (yet), but for me it's awesome.

[-] Leate_Wonceslace@lemmy.dbzer0.com 7 points 5 months ago

How is Typst "superior" to Latex?

[-] renzev@lemmy.world 10 points 5 months ago

Whether or not typst is "superior" is largely debatable, but here are some reasons why I personally prefer Typst to LaTeX:

  • leaner syntax
  • less boilerplate
  • (arguably) more intuitive syntax for math and formatting
  • real-time preview thanks to incremental compilation
  • automatic package management
  • Ability to perform calculations/data processing inline inside your document (I know you can do this in LaTeX as well, but typst makes it easier)

However, as Andrew said, it is very much still in beta, so I don't think it can be a complete replacement for LaTeX. Basically, think of it as something in between LaTeX and Markdown. Less features, but easier to write.

[-] Leate_Wonceslace@lemmy.dbzer0.com 2 points 5 months ago

Thank you! That was very helpful.

[-] Andrew15_5@mander.xyz 1 points 5 months ago

Since for me it has all the needed features, for me — it's by far superior (even compared to LuaLaTeX which is the last thing I used). But some people, mainly from academia, are still can't switch due to some features missing. A few people were able to create thesis in Typst (including myself). In the long run it will be 100% superior. In the mean time, there are a few hacks to enable some features that are otherwise not implemented yet.

this post was submitted on 11 Jul 2024
703 points (98.8% liked)

linuxmemes

21281 readers
205 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS