After fighting with typst *all day* because of it's lack of any cross-file introspection, I have finally made myself a workaround that works and doesn't make me horribly anxious.
Just set a bunch of show rules so that your include doesn't render anything in the final document! If you do that, your labels and state variables all import just fine! This totally won't break!
I hate it, devs please let me query another file, please.
Hieroglyphic allows you to search through over 1000 different symbols by sketching.
https://flathub.org/en/apps/io.github.finefindus.Hieroglyphic
Thanks to the exciting work done by @bnyro, Hieroglyphic can now also recognize #Typst symbols, in addition to LaTeX.
@hetare11 @thibaultamartin @haeckerfelix
I'd like to have a #typst language checker, too, but I don't think it exists yet. Edit: #typesetter does English in 0.12 .
I'm working on single typst sources with output in two languages, NL/EN, using this function as a single typst source file:
#let ennl = (en, nl) => { [#nl] }
//#let ennl = (en, nl) => { [#en] }
#Typesetter can find the arguments in its preview, and a language checker would need to cooperate with this somehow.
@thibaultamartin @haeckerfelix
Yes, I also use #typst with #HelixEditor. But I am still missing a spell/grammar checker solution that works for Typst and that ideally not only covers English, but other languages as well.
Do you know any such Language Servers?
I already loved Helix (best editor in the world), but yesterday @haeckerfelix showed me that Language Servers can go much further than I thought.
TIL that Helix and Typst are a match made in heaven, thanks to the Language Server tinymist.
A new #Hieroglyphic release is out now. Thanks to the exciting work done by @bnyro,
Hieroglyphic can now also recognize @typst symbols (a modern alternative to
LaTeX). Hardware-acceleration will now be preferred over using the CPU, when
available, reducing power-consumption.
Head over to @flathub to download the latest version: https://flathub.org/en/apps/io.github.finefindus.Hieroglyphic