• filister@lemmy.world
    link
    fedilink
    arrow-up
    9
    arrow-down
    11
    ·
    edit-2
    7 months ago

    You guys should also check out Typst https://typst.app/. It is a lot easier than LaTeX even though not as powerful. It has meaningful error messages making the debugging a lot more user friendly.

    • nice@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      11
      ·
      7 months ago

      I had been using LaTeX at work and decided to give Typst a try:

      I installed the compiler and vscode extensions to run Typst natively.

      Setting up my orgs template in Typst was significantly easier then LaTeX and took about 20% less lines of code.

      I like the more modern, practical syntax for writing docs.

      It’s still a relatively young project though, so I found a few rough edges:

      • Paragraph indentation rules for my language weren’t available: managed to find a workaround though
      • Only allows use of relative paths for images, imports etc: apparently for security reasons, forces me to have template logo in almost every folder
      • Localized dates: Typst can’t do it
      • No \graphicspath like command: LaTeX will search for an image by filename in each specified folder, in order. Typst has no equivalent command (yet)

      Overall I was positively impressed, but went back to LaTeX mostly because of the last two points. Curious to see how Typst will be in a few years!

    • Retiring@lemmy.ml
      link
      fedilink
      arrow-up
      6
      arrow-down
      5
      ·
      7 months ago

      Under every single LaTeX themed post there is someone suggesting typst. Why use something open, if you can use something proprietary? /s

        • Retiring@lemmy.ml
          link
          fedilink
          arrow-up
          1
          arrow-down
          2
          ·
          edit-2
          7 months ago

          What are you using it for? Did you publish anything written in typst? Edit: this is a genuine question.

      • moritz@l.deltaa.xyz
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        The Typst compiler is available under the Apache License 2.0.

        The web app at https://typst.app is proprietary but also completely optional. You can use Typst with only a text editor supporting the LSP (VSCodium, Kate, Atom, …), typst-lsp (Apache-2.0 OR MIT) and the Typst compiler.