Changed global reference style.

Made it not display the supplement.
This commit is contained in:
orca 2024-01-30 02:11:19 +01:00
parent 9f53c7a857
commit 12612636fa
Signed by: orca
GPG Key ID: 6923B8DFED96A68A
1 changed files with 3 additions and 6 deletions

View File

@ -36,17 +36,14 @@
/* Show references to equations without leading text. */
show ref: it => {
let eq = math.equation
let el = it.element
if el != none and el.func() == eq {
if el != none {
numbering(
el.numbering,
..counter(eq).at(el.location())
..counter(el.func()).at(el.location())
)
} else {
it
}
} else { it }
}
/* Show headings like in asmart. */