Skip to content

Commit c048b67

Browse files
committed
fixed use of context in line numbers
1 parent 19b1b62 commit c048b67

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

codelst.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
#let lineref( label, supplement:"line" ) = locate(loc => {
320320
let lines = query(selector(label), loc)
321321
assert.ne(lines, (), message: "Label <" + str(label) + "> does not exists.")
322-
[#supplement #numbering("1", ..context codelst-counter.at(lines.first().location()))]
322+
[#supplement #{context numbering("1", ..codelst-counter.at(lines.first().location()))}]
323323
})
324324

325325
#let codelst-styles( body ) = {

example.pdf

2.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)