forked from EduCraft/curriculum-project-hub
9927d38c18
ADR-0029 — nested outline manifest, supersedes ADR-0008's flat [[parts]]:
- cph-model: recursive loader over manifest.toml containers / element.toml
leaves; Lesson.parts (pure elements, DFS order) + Lesson.outline (elements
interleaved with section headings at their DFS-open position); rejects
ambiguous/incomplete folders and root-vs-container table misplacement
- cph-diag: new DiagCode::ManifestMalformed for carrier-document structure
errors (discharges an existing TODO)
- cph-typst: augmented manifest now serializes the outline (element/section
entries) instead of a flat parts array
- render/lib.typ: render-lesson renders section headings at their depth
- examples/TH-141 migrated to 5 nested section containers + 3 root segments,
byte-identical element order; smoke-verified via cph check/build + pdftotext
ADR-0030 — batch & combined export, extends ADR-0009/0011:
- cph build with no --target batches every declared target (repeatable
--target for an explicit subset); any target failure => non-zero exit,
per-target ledger, independent per-target execution
- cph-model: bundle.toml loader (directory + [info]/[targets.*]/ordered
lessons with per-lesson target overrides)
- cph-typst: augmented bundle manifest (path-prefixed member outlines),
Engine::{compile_check_bundle,build_bundle_pdf}
- render/lib.typ: render-bundle assembles member lessons under per-lesson
headings, depth-shifts their own section headings, resets example/lemma
counters at each lesson boundary by default
- cph-cli: `cph bundle <path> --target <name>` subcommand, same batching
contract as `cph build`
- new bundle fixtures/tests (cph-model unit + cph-typst through-template PDF
compile), smoke-verified via a real 2-lesson merged PDF
Verification: cargo fmt/clippy/test clean across the workspace (68 tests);
real cph check/build/bundle runs against TH-141 and a bundle fixture, PDF
content inspected via pdftotext.
18 lines
891 B
Typst
18 lines
891 B
Typst
设体相分子的最近邻数为 $Z$、每根键的能量为 $epsilon$。每根键被两个分子共享,一摩尔液体的独立键数为 $N_A Z \/ 2$,把它们全部断开所需的能量即摩尔汽化热
|
|
|
|
$ L_m = N_A Z epsilon / 2 , quad arrow.r.double quad epsilon = (2 L_m) / (N_A Z) . $ <缺键-单键>
|
|
|
|
表面分子的近邻数为 $zeta Z$,相比体相少 $(1 - zeta) Z$ 个近邻。按共享原则,每个缺键的能量代价为 $epsilon \/ 2$,于是每个表面分子的亏损能为
|
|
|
|
$ Delta U = (1 - zeta) Z dot epsilon / 2 = ((1 - zeta) L_m) / N_A . $ <缺键-亏损能>
|
|
|
|
设每个分子占体积 $d^3 = mu \/ (rho N_A)$,则单位面积分子数
|
|
|
|
$ n_s = d^(-2) = (rho N_A / mu)^(2\/3) . $ <缺键-面密度>
|
|
|
|
代入 @骨架公式 即得
|
|
|
|
$ sigma_(L G) = Delta U dot n_s = (1 - zeta) thin L_m thin rho^(2\/3) / (mu^(2\/3) thin N_A^(1\/3)) , $
|
|
|
|
即 @缺键一般式。
|