https://github.com/IgKh/katvan

Available as an Appimage.

Needs typst installed in the same directory or PATH to allow rendering and export.

Typst is a new, simpler alternative to LaTeX, written in Rust. It did a big headstart, seems to be in a great state and has a lot of sponsors!

preview graphic

Currenlty there only is a VSCode / VSCodium Extension and a Webapp. A Kate extension would be great of course.

There also is a Language server for Typst which seems actively maintained.

Alternative

Typst has a watch mode, which automatically compiles the PDF.

You can then edit the source with any editor you want (best with LSP) and preview the PDF with Okular.

typst watch document.typ &
okular document.pdf &
kate document.typ
  • boredsquirrelOP
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 months ago

    Damn! True!

    Will update the post!

    So typst + LSP + Kate = perfect Editor !

    • boredsquirrelOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 months ago

      Now, if you would also have an idea how to spawn 2 processes from one shell script, that would be awesome!

      Use case: desktop entry to open .typ files.

      • process 1: open a terminal window with typst watch %f and detach process
      • process 2: open some-editor %f and detach process

      I would love to either just add those entries as “applications”, or create Dolphin context menus.