Hey people! I want to learn typst, a modern alternative to LaTeX written in Rust.
Typst can incrementally compile the files to PDF.
Ironically, there is no incrementally refreshing PDF viewer afaik. So for direct visual output of my progress, I would like the fastest, smoothest PDF viewer.
- Firefox loads too slow
- Okular fast (thanks for the tips guys), just flickering scrollbar and background icon
It can be as small and minimal for that task as possible.
Priorities:
- No flicker (no text re-alignment, no disappearing scroll bars, no changing UI)
- Fast refresh
- Smooth text refresh (maybe with a fade in)
- Generally solid
To test:
- evince / GNOME Document viewer
- atril
- mupdf
- zathura
- gv
Barebones:
Somehow monitor for changes
- pipdf (GTK4, but unmaintained)
- pdf_render (very minimal, maintained)
- pdf2pwg (needs
cargo add
andcargo build
, only A4 pages which seems totally sufficient) - pdf_renderer (security focused, pure Rust, may crash, incomplete)
Are you relaunching Firefox every time? You could just reload the file by refreshing.
But I don’t think any viewer is going to support keeping your place in the document when it changes.
No of course I was just refreshing. The problem is, the UI should stay completely still, just the render should refresh.
Okular does that just fine. Tested with multiple pages.