A reference to @characters[Appendix] produces “Appendix A.” (including the full stop). I’d like it to produce “Appendix A” (without the full stop). Is there a straightforward way to do this?
// This code for heading numbering taken from https://forum.typst.app/t/how-can-i-prevent-level-1-headings-from-being-numbered/5884
#show heading.where(level: 1): set heading(numbering: none)
#set heading(numbering: (first, ..nums) => numbering("A.", ..nums))
= Appendix
== Characters <characters>
it’s intended that it strips prefixes and suffixes from numbering pattern strings, so that when you have e.g. numbering "1." for headings, it doesn’t show “Section 1.” but only “Section 1”. This can’t be automatically done for custom numbering functions as we can’t know what happens inside them
In this specific instance, I only have two such references in the document, and both by coincidence happen to be at the ends of sentences, so it’s fine and I’ll leave it untouched. It’s just good to know that this is a genuine problem and I’m not missing something obvious.