Changed global reference style.
Made it not display the supplement.
This commit is contained in:
parent
9f53c7a857
commit
12612636fa
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue