only show used acronyms (#51)
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 28s
Details
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 28s
Details
This commit is contained in:
parent
410c753339
commit
0438d73ab5
|
@ -170,7 +170,13 @@ SOFTWARE.*/
|
||||||
numbering: none,
|
numbering: none,
|
||||||
caption: {
|
caption: {
|
||||||
context {
|
context {
|
||||||
let term_references = __query_labels_with_key(here(), entry.key)
|
let key = if entry.key.ends-with("__glossary_entry") {
|
||||||
|
entry.key.replace("__glossary_entry", "")
|
||||||
|
} else {
|
||||||
|
entry.key
|
||||||
|
}
|
||||||
|
|
||||||
|
let term_references = __query_labels_with_key(here(), key)
|
||||||
if term_references.len() != 0 or show-all [
|
if term_references.len() != 0 or show-all [
|
||||||
#let desc = entry.at("desc", default: "")
|
#let desc = entry.at("desc", default: "")
|
||||||
#let long = entry.at("long", default: "")
|
#let long = entry.at("long", default: "")
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
|
|
||||||
#if "glossary" in config.thesis and config.thesis.glossary != none {
|
#if "glossary" in config.thesis and config.thesis.glossary != none {
|
||||||
print-glossary(
|
print-glossary(
|
||||||
show-all: true,
|
show-all: false,
|
||||||
disable-back-references: true,
|
disable-back-references: true,
|
||||||
enable-group-pagebreak: true,
|
enable-group-pagebreak: true,
|
||||||
glossary(config.thesis.glossary, config),
|
glossary(config.thesis.glossary, config),
|
||||||
|
|
Loading…
Reference in New Issue