fix(glossy): fixes page numbering thanks to Fevol

Bug fix thanks to [@Fevol](https://github.com/Fevol).

See PR: https://github.com/swaits/typst-collection/pull/9
This commit is contained in:
swaits committed 2024-12-07 22:50:08 +00:00
1 parent 68d1085719
commit 6d596852ff
27 files changed
+1360

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.
@@ -0,0 +1,51 @@
#import "/lib.typ": *
#let myGlossary = (
html: (
short: "HTML",
long: "Hypertext Markup Language",
description: "A standard language for creating web pages",
),
iphone: (
short: "iPhone",
),
css: (
short: "CSS",
long: "Cascading Style Sheets",
description: "A language used for describing the presentation of a document",
),
atom: (
short: "atom",
),
tps: (
short: "TPS",
long: "test procedure specification",
description: "A document on how to run all the test procedures"
),
)
#show: init-glossary.with(myGlossary)
#set page(numbering: "i")
@html, @iphone, @css
#pagebreak()
#set page(numbering: "1")
@html, @iphone, @css, @atom
#pagebreak()
#counter(page).update(1)
#set page(numbering: "A")
@html, @iphone, @css, @tps
#pagebreak()
#set page(numbering: "I")
@css, @iphone, @tps
#glossary(theme: theme-chicago-index, ignore-case: true)