From a0643c6a345f18679b1969acb268fa0bc330105c Mon Sep 17 00:00:00 2001 From: Yuki Date: Wed, 10 Dec 2025 17:42:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=A6=E5=8F=B7=E5=92=8C=E7=BC=A9=E7=95=A5?= =?UTF-8?q?=E8=AF=AD=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TeXmacs/packages/section/section-base.ts | 8 ++++++++ TeXmacs/plugins/lang/dic/en_US/zh_CN.scm | 1 + TeXmacs/progs/text/text-menu.scm | 1 + TeXmacs/tests/tmu/204_16.tmu | 19 +++++++++++++++++++ devel/204_16.md | 13 +++++++++++++ 5 files changed, 42 insertions(+) create mode 100644 TeXmacs/tests/tmu/204_16.tmu create mode 100644 devel/204_16.md diff --git a/TeXmacs/packages/section/section-base.ts b/TeXmacs/packages/section/section-base.ts index bd408a9b7..80ffce5cc 100644 --- a/TeXmacs/packages/section/section-base.ts +++ b/TeXmacs/packages/section/section-base.ts @@ -60,6 +60,8 @@ >> + >> + <\active*> <\src-comment> Some useful macros on which the rendering of section titles can be @@ -356,6 +358,12 @@ > + + >>> + + |||||||||||>|> + > + \; diff --git a/TeXmacs/plugins/lang/dic/en_US/zh_CN.scm b/TeXmacs/plugins/lang/dic/en_US/zh_CN.scm index 637713d4d..7146bccae 100644 --- a/TeXmacs/plugins/lang/dic/en_US/zh_CN.scm +++ b/TeXmacs/plugins/lang/dic/en_US/zh_CN.scm @@ -1238,6 +1238,7 @@ ("link to URL" "URL链接") ("link" "链接") ("linking tool" "链接菜单") +("list of abbreviations" "符号和缩略语说明") ("list of figures" "图形目录") ("list of tables" "表格目录") ("list" "") diff --git a/TeXmacs/progs/text/text-menu.scm b/TeXmacs/progs/text/text-menu.scm index 26d9f7d0d..d81a13068 100644 --- a/TeXmacs/progs/text/text-menu.scm +++ b/TeXmacs/progs/text/text-menu.scm @@ -114,6 +114,7 @@ ("Part" (make-section 'part))) ("Chapter" (make-section 'chapter)) ("Appendix" (make-section 'appendix)) + ("List of abbreviations" (make-unnamed-section 'list-of-abbreviations)) ("Prologue" (make-unnamed-section 'prologue)) ("Epilogue" (make-unnamed-section 'epilogue))) diff --git a/TeXmacs/tests/tmu/204_16.tmu b/TeXmacs/tests/tmu/204_16.tmu new file mode 100644 index 000000000..778a93de7 --- /dev/null +++ b/TeXmacs/tests/tmu/204_16.tmu @@ -0,0 +1,19 @@ +> + +> + +<\body> + <\hide-preamble> + \; + + + >>|>|>>|>||>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>|>>|>>>> + + +<\initial> + <\collection> + + + + + diff --git a/devel/204_16.md b/devel/204_16.md new file mode 100644 index 000000000..eb8de1c3a --- /dev/null +++ b/devel/204_16.md @@ -0,0 +1,13 @@ +# 204_14 list-of-abbreiaions(符号和缩略语说明)相关 + +## 如何测试 +- 清除缓存 + - Windows下是先在文件资源管理器里的地址输入框里输入 `%appdata%`,然后删除 `AppData/Roaming/MoganLab` 和 `AppData/Local/MoganLab`。 + - Linux下是删除 `.cache/MoganLab`。 + - macOS下是删除 `~/Library/Caches/MoganLab`。 +- 测试文档:Texmacs/tests/tmu/204_16.tmu +- 点击 `章 -> 符号和缩略语说明`,测试使用 + +## 2025/12/8 新增 list-of-abbreiaions(符号和缩略语说明) +### What +新增关于 list-of-abbreiaions 的宏,方便写论文 \ No newline at end of file -- Gitee