Fix context in abbreviations example
This commit is contained in:
parent
5ac111ee54
commit
c91bb54399
@ -94,10 +94,10 @@
|
|||||||
// Accepts a callback that accepts the state of the `used-abbreviations`
|
// Accepts a callback that accepts the state of the `used-abbreviations`
|
||||||
// dictionary at the end of the document. Also an additional debug parameter
|
// dictionary at the end of the document. Also an additional debug parameter
|
||||||
#let with-used-abbreviations(callback) = {
|
#let with-used-abbreviations(callback) = {
|
||||||
locate(loc => {
|
context {
|
||||||
let final_used-abbreviations = used-abbreviations.final(loc)
|
let final_used-abbreviations = used-abbreviations.final()
|
||||||
callback(final_used-abbreviations)
|
callback(final_used-abbreviations)
|
||||||
})
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#let render-abbreviation(symbol) = smallcaps(lower(symbol))
|
#let render-abbreviation(symbol) = smallcaps(lower(symbol))
|
||||||
|
Loading…
Reference in New Issue
Block a user