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
  • barbara
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    2 months ago

    You can use any text editor, e.g. kate, open a terminal and use typst watch document.typ or simply typst w document.typ and have any pdf viewer at the side. It’ll auto update the new output in real time.

    Your screenshot actually shows the webeditor of typst.

    This is the app you shared:

    The web app is not open source. If you want multi user collaboration, use another text editor.

      • boredsquirrel@slrpnk.netOP
        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.