It catches the a as a counting symbol and changes it to Pbge, Pcge, … . This is obviously not my intended behavior.
On the one hand I want to ask: What is the correct way to do that in typst?
And as the solution will probably not be that simple (?): I think there should be a simple way to either escape characters. Or a syntax like f"Page {num} of {total}" in Python.
My current Workaround is using a cyrillic а instead of a latin one. Looks close enough for me.
#set page(numbering: "Pаge 1 of 1")
Anyways, thanks so much for creating such a great LaTeX alternative! I really enjoy working with typst!
The second number is the total number of pages. In a numbering pattern, the second number can be omitted. If a function is passed, it will receive one argument in the context of links or references, and two arguments when producing the visible page numbers.
Your input is relevant as this is not likely to be easy to find for everyone looking at the current documentation. Some relevant posts about Typst documentation suggestions, where you are welcome to participate and share your opinion: