Fix reference paths for main-repo references layout
This commit is contained in:
@@ -182,7 +182,7 @@ For producing PDFs from bilingual Chinese-English articles:
|
|||||||
|
|
||||||
- Template: `translate-files/lib/mpi-bilingual-template.typ`
|
- Template: `translate-files/lib/mpi-bilingual-template.typ`
|
||||||
- Example host: `translate-files/从物品整理到心灵整理/mindful-organizing.typ`
|
- Example host: `translate-files/从物品整理到心灵整理/mindful-organizing.typ`
|
||||||
- Design notes: `toolkit/references/typst-template-design.md`
|
- Design notes: `references/typst-template-design.md`
|
||||||
- Produce rendered PDF files in: /tmp/
|
- Produce rendered PDF files in: /tmp/
|
||||||
|
|
||||||
## Scripts
|
## Scripts
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ duckdb path/to/termlib.duckdb
|
|||||||
|
|
||||||
## Step 4: Create unified views
|
## Step 4: Create unified views
|
||||||
|
|
||||||
See `toolkit/references/unified-view.sql` for the pattern. Key patterns:
|
See `references/unified-view.sql` for the pattern. Key patterns:
|
||||||
- `UNION ALL` across all source tables
|
- `UNION ALL` across all source tables
|
||||||
- Normalize column names to `zh`, `en`, `loc` (出处), `source`
|
- Normalize column names to `zh`, `en`, `loc` (出处), `source`
|
||||||
- For paired-column sheets (e.g., `中文/英文` + `补充内容/英文_1`), emit two UNION branches
|
- For paired-column sheets (e.g., `中文/英文` + `补充内容/英文_1`), emit two UNION branches
|
||||||
|
|||||||
Reference in New Issue
Block a user