Repository navigation
VisualTeX 1.3.2
中文
相对 1.3.1 的主要变化。本地 OCR 全部重写:不再需要 Python 环境,识别更快、更准,安装包也小了很多。
OCR
- 新的本地 OCR:基于 ONNX Runtime 和 MathCraft 模型(int8,约 64 MB),不再使用 Python/Paddle 环境。第一次使用时在 OCR 窗口中下载模型,也可以从文件安装模型。Windows 可以用 GPU(DirectML)识别。
- 一次识别同时得到正文、行内公式和行间公式,公式模式和文档模式的识别方式相同;公式中的中文写成
\text{};文本中左右不同宽的括号统一为同一种。 - 新开关“保留编号”:行间公式的编号写成
\tag{…}。 - 深色背景框中的浅色文字也能识别;整页正文和公式的识别更快。
- 旧的 Python/Paddle OCR 环境在第一次启动 1.3.2 时自动删除,释放磁盘空间。
- 只有一个安装包:Windows 约 90 MB,macOS 约 35 MB(模型单独下载)。1.3.1 的“仅 API OCR”版本也会更新到这个安装包。
截图(Windows)
- VisualTeX 使用自己的区域截图,不再调用系统截图工具或 PixPin。
界面
- 标题栏、公式区和文档工具栏按功能分组;文档模式的工具栏放在标题栏同一行,窗口变窄时也保持一行。
- 公式模式新增四个格式按钮:粗体、斜体、格式刷、字体颜色。
- 点击设置中的开关时,设置窗口不再跳动。
公式编辑器
- 点击落在字形实际显示的位置;退格每次删除一项。
- Tab 只移动光标;Enter 在所有表格环境中添加新行。
- 支持 amsmath 的大写重音命令(
\Vec、\Hat、\Tilde等)。
公式输入法
- 输入法快捷键可以删除;没有安装输入法时不占用快捷键(#43)。
- 候选框使用 VisualTeX 的界面配色;浮动卡片仍跟随输入框的浅色或深色。
更新
- 更新窗口中可以“跳过此版本”,启动时不再提醒这个版本;新增“官网下载”和“GitHub 下载”链接,可以手动下载安装包。
- 1.3.1 可以直接在 VisualTeX 里更新到 1.3.2;1.3.0 及更早的版本需要手动安装一次。
English
Main changes since 1.3.1. Local OCR is rewritten: no Python environment any more, faster and more accurate recognition, and much smaller installers.
OCR
- New local OCR: ONNX Runtime with the MathCraft models (int8, about 64 MB) instead of the Python/Paddle environment. On first use, download the models in the OCR window, or install them from a file. On Windows the GPU (DirectML) can be used.
- One reading gives the body text, inline formulas and display formulas together, the same in formula mode and in document mode; Chinese inside formulas is written as
\text{}; a bracket pair read in two widths in the text gets one width. - New switch "Keep equation numbers": display formulas keep their numbers as
\tag{…}. - Light text in a dark box is read too; pages of text and formulas are read faster.
- The old Python/Paddle OCR environment is deleted at the first start of 1.3.2, freeing the disk space.
- One installer: about 90 MB on Windows and 35 MB on macOS (the models are a separate download). The 1.3.1 "API OCR only" installs update to it too.
Screenshot (Windows)
- VisualTeX takes region screenshots itself instead of starting Snipping Tool or PixPin.
Interface
- The header, the formula dock and the document toolbar are grouped by purpose; in document mode the toolbar sits in the header row and stays one row at every width.
- Four formatting buttons in formula mode: bold, italic, format brush, font colour.
- Clicking a switch in Settings no longer makes the dialog jump.
Formula editor
- Clicks land where the glyph is drawn; Backspace deletes one item at a time.
- Tab only moves the caret; Enter adds a row in every table environment.
- amsmath's capital accents (
\Vec,\Hat,\Tilde, ...).
Formula input method
- The input method's shortcut can be removed, and it is not taken when the input method is not installed (#43).
- The candidate list takes VisualTeX's colour theme; the floating card keeps the light or dark look of the text box.
Updates
- The update window can skip a version (no reminder of it at start-up) and has Website download and GitHub download links for installing by hand.
- 1.3.1 updates to 1.3.2 from inside VisualTeX; 1.3.0 and earlier need 1.3.2 installed by hand once.
Downloads / 下载
| File | SHA-256 |
|---|---|
VisualTeX_1.3.2_x64-setup.exe — Windows |
25cd91f7777b067427fbb865d1826a3627592768415076feec45d4651a0a5929 |
VisualTeX_1.3.2_aarch64.dmg — macOS (Apple silicon) |
9a8eba9bf76310ca0fcc6f4c7295b2af6dd90854bf5b70afeae4d445d73e9f96 |
VisualTeX-OCR-MathCraft-int8-v1.zip — OCR models, for installing from a file / OCR 模型(从文件安装) |
ee5c7ef3dbb38fb624189dac6a7d6a60cd9b282cdc16919215b06da105d116c3 |
OCR models / OCR 模型: https://download.visualtex.pauljianliao.com/ocr-models/mathcraft-int8/VisualTeX-OCR-MathCraft-int8-v1.zip