Scripting with page counter
#4342
Closed
DannySeidel
started this conversation in
General
Replies: 2 comments 6 replies
-
This is working as expected. |
Beta Was this translation helpful? Give feedback.
5 replies
-
As general feedback for your documentation, I think for creating standard documents and doing some basic formatting it is excellent. Still, I would sometimes like more examples when it comes to more complex scripting and templates. That would really help me in cases like this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hi typst team,
I'm currently trying to set up separate numbering for the bibliography/appendix section and the preceding main section of my typst template
supercharged-dhbw
.The goal is to use alphabetical numbering in the bibliography/appendix section of the template. When I now do
my numbering gets correctly set to
"a"
but the previous part having the numbering style"1 of 1"
now shows the page count of the section with the"a"
numbering becausecounter(page).final()
starts to count from0
again.To make it clear for you, here's an example:
Currently, the numberings for 5 pages with the style
"1 of 1"
and 2 pages following with the style"a"
look like this:1 of 2
2 of 2
3 of 2
4 of 2
5 of 2
a
b
What I want:
1 of 5
2 of 5
3 of 5
4 of 5
5 of 5
a
b
I'm not entirely sure if this behavior is expected, but if it is, how do I achieve the preceding section to show the number of pages it contains (in my case "... of 5")? If the behavior is expected, it would be great if it were possible to define multiple independent page counters.
Reproduction URL
No response
Operating system
macOS
Typst version
Beta Was this translation helpful? Give feedback.
All reactions