mirror of
https://github.com/szdytom/LADRSolutions.git
synced 2025-10-19 16:30:16 +00:00
Better cross section exercise referencing
Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
parent
efc3f90e5e
commit
0cd1eff5dd
@ -273,9 +273,9 @@
|
||||
return text("Error: 未找到习题", fill: color.red)
|
||||
}
|
||||
let e = el.first()
|
||||
numbering("1A", counter("chapter_N").at(e.location()).at(0), counter("section_N").at(e.location()).at(0))
|
||||
"节"
|
||||
ref(l)
|
||||
link(e.location(),
|
||||
numbering("1A节习题1(见第1页)", counter("chapter_N").at(e.location()).at(0), counter("section_N").at(e.location()).at(0), counter(figure.where(kind: "exercise-problem")).at(e.location()).at(0), counter(page).at(e.location()).at(0))
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user