grelin_templates/feasibility/data/glossary.typ
MORRO b8eed931ac Add Markdown-driven feasibility report with Typst styling pipeline.
Introduce cmarker/codly-based MD workflow, brutalist cover layout, and shared brand tokens so colleagues can author reports in report.md while the template handles PDF output.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 19:29:48 +08:00

44 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#import "@preview/glossarium:0.5.10": make-glossary, register-glossary, print-glossary, gls-long, gls-short
#import "theme.typ": *
#let glossary-entries = (
(
key: "hsi",
short: "HSI",
long: "高光谱成像",
description: "Hyperspectral Imaging获取矿石连续波段光谱信息。",
),
(
key: "onnx",
short: "ONNX",
long: "开放神经网络交换格式",
description: "Open Neural Network Exchange用于跨平台模型推理部署。",
),
(
key: "as-ratio",
short: "A/S",
long: "铝硅比",
description: "精矿品质评价的关键指标之一。",
),
)
#let init-glossary(doc) = {
show: make-glossary
doc
}
#let register-report-glossary() = {
register-glossary(glossary-entries)
}
#let print-glossary-block() = {
pagebreak(weak: true)
block(width: 100%, above: space-chapter)[
#box(width: 100%, fill: color-neon, inset: (x: 10pt, y: 6pt))[
#text(font: heading-font, size: size-h1, weight: "black", fill: color-ink)[术语与缩写]
]
#v(space-block)
#print-glossary(glossary-entries, show-all: true)
]
}