Oh, wait, it's because `calc.max` is a variadic function. As far as I can tell, #typst's scripting language lacks `apply` so there's no way to pass an array to it?
Oh, wait, it's because `calc.max` is a variadic function. As far as I can tell, #typst's scripting language lacks `apply` so there's no way to pass an array to it?
As an aside, `calc.max(array)` doesn't seem to work. It just returns the whole array. That's why I'm doing `array.sorted().last()`. Any actual #typst users want to tell me what I'm doing wrong?
@typst Thats quite nice! I really enjoy using #typst
However, it's a little sad, that typst is primarily hosted on #github which is a platform to generate training data for Copilot and is not #foss in any way.
It would be quite nice if Typst would consider changing to a code forge that aligns a little more with their values. As a #berlin based organization there is a very friendly Berlin based association called #codeberg that offers code hosting on codeberg.org
@jameshowell Thanks for the link to the texdev post (https://www.texdev.net/2024/11/05/engine-news-from-the-latex-project): it greatly motivates me to finally get rid of #TeXLaTeX and switch to #Typst for producing PDF documents, at least for teaching materials.
Has anybody figured out how to use tree-sitter grammars for syntax highlighting of code blocks in Typst documents? Bonus points for being able to use a custom tree-sitter grammar.
@Phantastopia
Neben #scribus und #LaTeX solltest du vielleicht auch mal einen Blick auf #typst werfen. Ist ähnlich zu LaTeX aber ein neuerer Ansatz.
This break's personal project seems to have coalesced. I've found myself writing some #Rust that glues together my existing voice-triggered #HomeAssistant -based shopping list into #Cooklang 's infrastructure for recipe and shopping list management.
My existing workflow is a python script that automatically downloads my shopping list, converts it into a PDF using #Typst, and uploads it to my #Supernote.
The new and improved version does, or soon will:
- Use Cooklang's aisle management feature to group ingredients on my shopping list by physical location at the store
- Use Typst's Rust implementation to generate PDFs internally, without the need for external binaries
- Interactively add ingredients (as needed) for a recipe to the shopping list
- Automatically keep my Recipe collection (in cooklang) synced to my Supernote (as PDFs)
I'm also looking at using Cooklang's pantry management system, but I'm not sure I will keep all of its state sufficiently up-to-date to be useful
The Weekly Challenge 353: Max Validation #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2025/12/The_Weekly_Challenge_353__Max_Validation.html
Oh I'm stupid I can thunk in #Typst using lambdas (the performance is trash though): https://unnamed.website/posts/haskelling-my-typst/
Taking some Xmas afternoon time to share something I’ve been crafting over the holiday. I’ve added a #Typst renderer to Punct, so you can write stuff in #Markdown + #Racket code and easily dual-publish to HTML and PDF from the same sources. https://joeldueck.com/what-about/punct/Rendering_Strategies.html#(part._.Rendering_to_.Typst) 🧵
Je découvre #typst et #quarto et j’essaie très fort de ne pas tomber dans ce terrier, des conseils pour y résister @fabi1cazenave 😅
@julian_b @paul_roman12 genau, das ist bei mir auch letztens so gewesen. Wenn du Quellen hast, lass dir die genauen Verspätungsgründe geben und dann sieht man schon, ob die Verspätung wirklich darauf zurückzuführen ist. Die DB weiß das intern ganz genau weshalb wie viel Minuten Verspätung entstanden sind.
Kann dir eine #typst Vorlage geben 😉
Scheint irgendwie System zu haben…
Mais, bien sûr, c’est se heurter aux difficultés d’écriture diverses de personne neuroatypiques (troubles dys…), ainsi qu’à l’addiction, qui empêche de coucher ses idées sur papier. En sus, le tooling dans le web se réduit à de la simple publication (Ghost, Write.As, Prose, SourceHut…), et pour utiliser des systèmes de références académiques, pour proposer, donc, des solutions du monde réel à des problèmes du monde réel, il faut utiliser des outils hors-ligne, de vrais logiciels libres, comme Emacs, LaTeX, Haunt, Typst, ou Lem (cf. Guix).
#Emacs #LaTeX #Guix #Typst #Haunt
12/16
🌘 GitHub - rendercv/rendercv: 以 Typst 為基礎的學術和工程領域履歷生成器
➤ 告別履歷排版煩惱,專注於內容本身
✤ https://github.com/rendercv/rendercv
這個 GitHub 專案 Rendercv 提供了一個以 Typst 排版為基礎的履歷 (CV) 或簡歷生成器,主要針對學術和工程領域的專業人士。使用者可以撰寫 YAML 格式的履歷檔案,然後利用 Rendercv 將其轉換為具有精美排版和一致格式的 PDF 文件。它強調易用性、版本控制、內容為王,以及高度可定製的設計選項,並提供嚴格的驗證機制以確保輸出品質。
+ 終於找到一個能讓我用文字編輯器管理履歷的工具了!再也不用擔心 Word 的排版跑掉。
+ Typst 的排版真的太棒了,生成的 PDF 簡歷看起來非常專業。
#履歷生成器 #Typst #開源專案 #YAML
The Weekly Challenge 352: Prefix the Matches in Strings of Binary #Perl #RakuLang #RustLang #Postscript #CrystalLang #Typst #PerlWeeklyChallenge #BlogFiredrakeOrg https://blog.firedrake.org/archive/2025/12/The_Weekly_Challenge_352__Prefix_the_Matches_in_Strings_of_Binary.html
@honze_net Ich habe heute tatsächlich ein bisschen was gemacht und Katvan als #typst-Editor ausprobiert.
Markdown + Typst sources: https://codeberg.org/hrbrmstr/children-of-the-magentai
It uses the {cmarker} Typst plugin so the core doc is in Markdown (which means it can be easily pasted into gDocs or used with Quarto or other tools that support markdown).
The #Typst source has a fun idiom I use to be able to get a generated (clickable) ToC despite the source not being in Typst-proper. It's such a cool tool.