mirror of
https://github.com/szdytom/LADRSolutions.git
synced 2025-10-20 00:40: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)
|
return text("Error: 未找到习题", fill: color.red)
|
||||||
}
|
}
|
||||||
let e = el.first()
|
let e = el.first()
|
||||||
numbering("1A", counter("chapter_N").at(e.location()).at(0), counter("section_N").at(e.location()).at(0))
|
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))
|
||||||
ref(l)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user