diff --git a/TeXmacs/misc/images/tutorial/stem-image.png b/TeXmacs/misc/images/tutorial/stem-image.png
new file mode 100644
index 0000000000..d7dbc7c0fe
Binary files /dev/null and b/TeXmacs/misc/images/tutorial/stem-image.png differ
diff --git a/TeXmacs/plugins/tutorial/data/first-launch-tutorial.json b/TeXmacs/plugins/tutorial/data/first-launch-tutorial.json
index 3ad2179485..e19eaf1dd7 100644
--- a/TeXmacs/plugins/tutorial/data/first-launch-tutorial.json
+++ b/TeXmacs/plugins/tutorial/data/first-launch-tutorial.json
@@ -10,7 +10,7 @@
"offset-x": 0,
"offset-y": 0,
"media-path": "",
- "bottom-text": "这是 Liii STEM 的主工作区。教程会依次介绍几个核心功能,帮助你快速上手。",
+ "bottom-text": "这是 Liii STEM 的主工作区。教程会依次介绍几个核心功能,帮助您快速上手。",
"target-id": "",
"placement": "bottom",
"highlight-padding": 0,
@@ -20,7 +20,7 @@
{
"id": "login",
"title": "登录账户",
- "top-text": "点击这里登录你的账户,解锁更多高级功能和扩展能力。",
+ "top-text": "点击这里登录您的账户,解锁更多高级功能和扩展能力。",
"bubble-size": "medium",
"offset-x": -20,
"offset-y": 0,
@@ -35,31 +35,33 @@
{
"id": "magic-paste",
"title": "魔法粘贴",
- "top-text": "在编辑区使用 Ctrl+V 粘贴内容时,粘贴板会根据内容类型自动选择合适的格式,让你的排版更加高效。",
+ "top-text": "魔法粘贴可以自动识别剪贴板中的内容类型,并尽可能保留网页内容的结构、标题层级、列表样式和公式表达,让外部内容进入文档后依然便于继续编辑与排版。",
"bubble-size": "large",
"offset-x": 500,
"offset-y": 0,
- "media-path": "../../../misc/images/tutorial/test.gif",
- "bottom-text": "",
+ "media-path": ":/tutorial/test.gif",
+ "bottom-text": "系统已经为您打开了一个新的空白文档,并将一段网页内容复制到了剪贴板。请在编辑区中使用 Ctrl+Shift+V(Windows / Linux)或 Command+Shift+V(macOS)进行粘贴,体验魔法粘贴对网页内容结构的自动识别与导入。完成本步操作后,才可以进入下一步。",
"target-id": "editorArea",
"placement": "top",
"highlight-padding": 12,
- "on-enter": "",
+ "require-action": "magic-paste",
+ "on-enter": "(tutorial-prepare-magic-paste-demo)",
"skip-if-missing": true
},
{
"id": "ocr",
"title": "OCR 文字识别",
- "top-text": "如果你的剪贴板中包含图片或PDF内容,编辑区会自动提示是否需要提取其中的文字,让你快速将扫描文档或截图转换为可编辑文本。",
+ "top-text": "如果您的剪贴板中包含图片内容,软件可以通过快捷键触发 OCR ,提取其中的文字,让您快速将截图转换为可编辑文本;您也可以在插入图片后,通过图片悬浮菜单上的 OCR 按钮发起识别。",
"bubble-size": "large",
"offset-x": 500,
"offset-y": 0,
- "media-path": "../../../misc/images/tutorial/test.gif",
- "bottom-text": "",
+ "media-path": ":/tutorial/test.gif",
+ "bottom-text": "系统已经为您打开了一个包含图片的文档,且将一张图片放入了您的剪贴板,您可以在编辑区中使用 Ctrl+Alt+V(Windows / Linux)或 Command+Option+V(macOS)触发 OCR 识别,也可以用鼠标点击悬浮菜单中的按钮触发 OCR 识别,图片中的文字将被快速提取为文档中的可编辑文本。完成本步操作后,才可以进入下一步。",
"target-id": "editorArea",
"placement": "top",
"highlight-padding": 12,
- "on-enter": "",
+ "require-action": "ocr-paste",
+ "on-enter": "(tutorial-prepare-ocr-demo)",
"skip-if-missing": true
}
]
diff --git a/TeXmacs/plugins/tutorial/data/ocr-demo.tmu b/TeXmacs/plugins/tutorial/data/ocr-demo.tmu
new file mode 100644
index 0000000000..c404e53039
--- /dev/null
+++ b/TeXmacs/plugins/tutorial/data/ocr-demo.tmu
@@ -0,0 +1,14 @@
+>
+
+