Connect the native Beta to the project Web workspace

This commit is contained in:
gloamxun committed 2026-11-29 13:36:48 +08:00
1 parent 29193c03bc
commit 8b6dab8d52
5 files changed
+155 -20

No files matched your search

+14
View File
@@ -36,6 +36,20 @@ python3 target/local-beta/native-beta.py compile /path/to/main.tex /path/to/outp
编辑器在试用目录中创建工作副本。命令行按项目实际读写作业文件。
需要 BibTeX 的项目可在辅助文件生成后运行 BibTeX,再继续 LaTeX 编译到引用收敛。
## 使用项目的 Web 界面
将 texrra-web 放在引擎仓库旁边。启动或重开时指定 Web 目录。
~~~sh
python3 target/local-beta/native-beta.py open --web-dir ../texrra-web
python3 target/local-beta/native-beta.py resume /path/to/saved-project --web-dir ../texrra-web
~~~
该入口显示 Web 工作台的文件栏、编辑区和预览区。编辑、局部预览、
源码保存及下载 PDF 都使用原生 Beta 会话。每次启动打开一个由命令行
指定的项目。现有 Web 的项目列表和 ZIP 导入仍在原 serve 入口。
启动指令中的其他参数和保存目录格式与上文相同。
## 保存和重新打开
点击「保存源文件」将当前编辑与已声明的项目资源一起写入一个新目录。