Skip to content

Commit 24b2ced

Browse files
feat: 替换进阶参考概念为专题 (#36)
1 parent 3aedeb8 commit 24b2ced

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+90
-110
lines changed

src/basic/mod.typ

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/basic/writing-math.typ

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/book.typ

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -14,46 +14,46 @@
1414
summary: [
1515
#prefix-chapter("introduction.typ")[导引]
1616
// 计划修改
17-
= 基础教程 — 排版Ⅰ
18-
- #chapter("basic/writing-markup.typ")[标记模式]
19-
- #chapter("basic/writing-scripting.typ")[脚本模式]
20-
// - #chapter("basic/writing-math.typ")[数学模式]
21-
= 基础教程 — 脚本Ⅰ
22-
- #chapter("basic/scripting-literal.typ")[基本类型]
23-
- #chapter("basic/scripting-variable.typ")[变量与函数]
24-
- #chapter("basic/scripting-composite.typ")[复合类型]
25-
= 基础教程 — 排版Ⅱ
26-
- #chapter("basic/scripting-main.typ")[编译流程]
27-
- #chapter("basic/scripting-layout.typ")[长度与布局]
28-
- #chapter("basic/scripting-content.typ")[文档树]
29-
- #chapter("basic/scripting-color.typ")[颜色类型]
30-
- #chapter("basic/scripting-style.typ")[选择器与样式]
31-
= 基础教程 — 脚本Ⅱ
32-
- #chapter("basic/scripting-block-and-expression.typ")[表达式]
33-
- #chapter("basic/scripting-control-flow.typ")[控制流]
34-
- #chapter("intermediate/doc-modulize.typ")[模块化(多文件)]
35-
- #chapter("intermediate/doc-stateful.typ")[状态化]
36-
= 基础教程 — 排版Ⅲ
37-
- #chapter("basic/scripting-shape.typ")[图表]
38-
- #chapter("intermediate/writing-chinese.typ")[中文排版]
39-
- #chapter("intermediate/writing-math.typ")[数学排版]
40-
= 基础教程 — 附录Ⅰ
41-
- #chapter("basic/reference-grammar.typ")[语法示例检索表]
42-
- #chapter("basic/reference-utils.typ")[常用函数表]
43-
- #chapter("basic/reference-math-symbols.typ")[常用数学符号]
17+
= 教程 — 排版Ⅰ
18+
- #chapter("tutorial/writing-markup.typ")[标记模式]
19+
- #chapter("tutorial/writing-scripting.typ")[脚本模式]
20+
// - #chapter("tutorial/writing-math.typ")[数学模式]
21+
= 教程 — 脚本Ⅰ
22+
- #chapter("tutorial/scripting-literal.typ")[基本类型]
23+
- #chapter("tutorial/scripting-variable.typ")[变量与函数]
24+
- #chapter("tutorial/scripting-composite.typ")[复合类型]
25+
= 教程 — 排版Ⅱ
26+
- #chapter("tutorial/scripting-main.typ")[编译流程]
27+
- #chapter("tutorial/scripting-layout.typ")[长度与布局]
28+
- #chapter("tutorial/scripting-content.typ")[文档树]
29+
- #chapter("tutorial/scripting-color.typ")[颜色类型]
30+
- #chapter("tutorial/scripting-style.typ")[选择器与样式]
31+
= 教程 — 脚本Ⅱ
32+
- #chapter("tutorial/doc-modulize.typ")[模块化(多文件)]
33+
- #chapter("tutorial/scripting-block-and-expression.typ")[表达式]
34+
- #chapter("tutorial/scripting-control-flow.typ")[控制流]
35+
- #chapter("tutorial/doc-stateful.typ")[状态化]
36+
= 教程 — 排版Ⅲ
37+
- #chapter("tutorial/scripting-shape.typ")[图表]
38+
- #chapter("tutorial/writing-chinese.typ")[中文排版]
39+
- #chapter("tutorial/writing-math.typ")[数学排版]
40+
= 教程 — 附录Ⅰ
41+
// - #chapter("tutorial/reference-grammar.typ")[语法示例检索表]
42+
- #chapter("tutorial/reference-utils.typ")[常用函数表]
43+
- #chapter("tutorial/reference-math-symbols.typ")[常用数学符号]
4444
- #chapter(none)[特殊Unicode字符]
45-
= 基础参考
46-
- #chapter("basic/reference-typebase.typ")[基本类型]
47-
- #chapter("basic/reference-type-builtin.typ")[内置类型]
48-
- #chapter("basic/reference-date.typ")[时间类型]
49-
// - #chapter("basic/reference-visualization.typ")[图形与几何元素]
50-
// - #chapter("basic/reference-color.typ")[颜色、色彩渐变与模式]
51-
- #chapter("basic/reference-data-process.typ")[数据读写]
52-
- #chapter("basic/reference-data-process.typ")[数据处理]
53-
- #chapter("basic/reference-calculation.typ")[数值计算]
54-
- #chapter("basic/reference-math-mode.typ")[数学模式]
55-
- #chapter("basic/reference-bibliography.typ")[参考文献]
56-
- #chapter("basic/reference-wasm-plugin.typ")[WASM插件]
45+
= 参考
46+
- #chapter("tutorial/reference-typebase.typ")[基本类型]
47+
- #chapter("tutorial/reference-type-builtin.typ")[内置类型]
48+
- #chapter("tutorial/reference-date.typ")[时间类型]
49+
// - #chapter("tutorial/reference-visualization.typ")[图形与几何元素]
50+
// - #chapter("tutorial/reference-color.typ")[颜色、色彩渐变与模式]
51+
- #chapter("tutorial/reference-data-process.typ")[数据读写]
52+
- #chapter("tutorial/reference-data-process.typ")[数据处理]
53+
- #chapter("tutorial/reference-calculation.typ")[数值计算]
54+
- #chapter("tutorial/reference-math-mode.typ")[数学模式]
55+
- #chapter("tutorial/reference-bibliography.typ")[参考文献]
56+
- #chapter("tutorial/reference-wasm-plugin.typ")[WASM插件]
5757
// = 进阶教程 — 排版Ⅳ
5858
// 6. 脚本Ⅱ
5959
// - IO与数据处理
@@ -83,7 +83,7 @@
8383
// - 长度单位
8484
// 12. 参考Ⅱ
8585
// - 图形
86-
= 进阶教程 — 专题
86+
= 专题
8787
- #chapter("topics/writing-math.typ")[编写一篇数学文档]
8888
// https://github.com/PgBiel/typst-oxifmt/blob/main/oxifmt.typ
8989
// - #chapter("topics/format-lib.typ")[制作一个格式化库]
@@ -97,34 +97,34 @@
9797
- #chapter("topics/template-cv.typ")[制作一个CV模板]
9898
// official template
9999
- #chapter("topics/template-paper.typ")[制作一个IEEE模板]
100-
= 进阶教程 — 公式和定理
100+
= 专题 — 公式和定理
101101
- #chapter("science/chemical.typ")[化学方程式]
102102
- #chapter("science/algorithm.typ")[伪算法]
103103
- #chapter("science/theorem.typ")[定理环境]
104-
= 进阶教程 — 杂项
104+
= 专题 — 杂项
105105
- #chapter("misc/font-setting.typ")[字体设置]
106106
// - #chapter("misc/font-style.typ")[伪粗体、伪斜体]
107107
- #chapter("misc/code-syntax.typ")[自定义代码高亮规则]
108108
- #chapter("misc/code-theme.typ")[自定义代码主题]
109109
- #chapter("misc/text-processing.typ")[读取外部文件和文本处理]
110-
= 进阶教程 — 绘制图表
110+
= 专题 — 绘制图表
111111
- #chapter("graph/table.typ")[制表]
112112
- #chapter("graph/solid-geometry.typ")[立体几何]
113113
- #chapter("graph/digraph.typ")[拓扑图]
114114
- #chapter("graph/statistics.typ")[统计图]
115115
- #chapter("graph/state-machine.typ")[状态机]
116116
- #chapter("graph/electronics.typ")[电路图]
117-
= 进阶教程 — 附录Ⅱ
118-
- #chapter("intermediate/reference-grammar.typ")[语法示例检索表Ⅱ]
117+
= 专题 — 附录Ⅱ
118+
- #chapter("tutorial/reference-grammar.typ")[语法示例检索表Ⅱ]
119119
- #chapter("template/slides.typ")[演示文稿(PPT)]
120120
- #chapter("template/paper.typ")[论文模板]
121121
- #chapter("template/book.typ")[书籍模板]
122-
= 进阶参考
123-
- #chapter("intermediate/reference-counter-state.typ")[计数器和状态]
124-
- #chapter("intermediate/reference-length.typ")[长度单位]
125-
- #chapter("intermediate/reference-layout.typ")[布局函数]
126-
- #chapter("intermediate/reference-table.typ")[表格]
127-
- #chapter("intermediate/reference-outline.typ")[文档大纲]
122+
= 专题参考
123+
- #chapter("tutorial/reference-counter-state.typ")[计数器和状态]
124+
- #chapter("tutorial/reference-length.typ")[长度单位]
125+
- #chapter("tutorial/reference-layout.typ")[布局函数]
126+
- #chapter("tutorial/reference-table.typ")[表格]
127+
- #chapter("tutorial/reference-outline.typ")[文档大纲]
128128
],
129129
)
130130

src/intermediate/other-file.typ

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/intermediate/reference-grammar.typ

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
// The following figure shows how a state is arranged. First, Typst executes the document with scripting from S1 to S4, as #text(fill: red, "red lines") shown. Then, you can locate some content in the document (at the _start position_ of #text(fill: blue, "blue arcs")) and query the past state or future state (at the _end position_ of #text(fill: blue, "blue arcs")).
2525

26-
#import "./figure-time-travel.typ": figure-time-travel
26+
#import "../tutorial/figure-time-travel.typ": figure-time-travel
2727
#align(center + horizon, figure-time-travel())
2828

2929
// This section mainly talks about `selector` and `state` step by step, to teach how to locate content, create and manipulate states.

0 commit comments

Comments
 (0)