Repository navigation
VisualTeX 1.2.9
中文
相对 1.2.8 的主要变化:
排版与导出
- TeX 精确排版引擎(Windows / macOS):公式改由 VisualTeX 自带的排版引擎排版,两个平台共用同一个编辑内核和引擎,提供 Computer Modern 与 Times(newtx)两种字体方案。
- 导出 SVG / PNG、复制为图片以及 Office 图片公式都由该引擎按公式保存的字体绘制(MathML 与 MathType OLE 仍使用 MathJax)。
- 新增公式间距调整:按字体分别设置,滑块旁实时显示样例。
- 编辑器接受的命令现在都能转换为 OMML、MathType 和 SVG,例如
\R、\dag、\tg、\euro、\llbracket、\overarc、\pdiff等约 150 个,之前这些公式能显示但转换失败。 \sumint、\intclockwise等 18 个少见积分符号不再显示为空白。
Word
- 批量编号(Windows / macOS):新菜单为所选内容或全文中所有未编号的行间公式编号。VisualTeX、OMML(Windows 还包括 MathType)各自编号,已有编号保留,交叉引用随之更新,一次撤销。
- 转换字号(macOS):“公式字号”组新增“行内转换”和“行间转换”。选择字号后,当前文档中所有行内(或行间)公式立即改为该字号,包括图片公式和 Word 公式,带编号的公式算作行间公式,一次撤销。之后的 LaTeX 重绘、批量导入和格式转换也使用这个字号;选“跟随正文”则不改动现有公式。
- 格式转换(Windows):个别公式无法转换时不再整体放弃,其余公式照常转换,并列出跳过的公式及原因。
- 双击(Windows):在第二台显示器上,或页面上方有提示框等透明窗口时,前面有正文的行内公式也能双击打开(之前会被误判为点在页面外)。
- LaTeX 重绘和批量导入按 Markdown(Pandoc)规则识别
$:$5 and $10这样的价格不再被当成公式,一个落单的$不再影响后面的内容,空段落结束$$...$$和\[...\]。 - 更快:Windows 的重绘、格式转换和批量导入大幅提速(例如批量导入 200 个 VisualTeX 公式由 176 秒降到 30 秒,并且只需一次撤销);macOS 的编号、批量导入和 OMML 重绘不再随文档变长而变慢(406 个公式的 OMML 重绘由 1368 秒降到 23 秒)。
- macOS 编号:图片公式的章号规则与 OMML 相同;全文 OMML 与图片公式互转时保留章节编号,并替换整个编号段落;没有 VisualTeX 标识的编号公式也能转为图片;图片公式的编号跟随公式的字号和字母字体。
- Windows 编号:删除编号后,后面的编号自动更新;编号跟随公式的字号和字母字体,手动设置的格式在刷新编号后保留;调整行间公式大小后仍与编号对齐;MathType 转 VisualTeX 时保留对已转换编号公式的引用。
- Windows PDF:Word“另存为 PDF”不再把 Latin Modern Math 公式栅格化、丢掉编号括号。加载项安装 TrueType 版 “VisualTeX Latin Modern Math”,“更新公式格式”会把文档换到这个字体。
- Windows:MathType 转 OMML 后不再留下空行;Word 最小化时进度窗口保持可见;VisualTeX 转 OMML 不再因 “center tab moved” 中止;OMML 读回 LaTeX 时
\ker、\dim、\arcsin等写为命名运算符。 - 每种转换和重绘失败都给出具体原因(超时、转换器失败、逐个公式的原因、幻灯片编号),进度窗口和提示跟随界面语言。
MathType(Windows)
- 更多编辑器命令可以写成 MathType 并往返一致:
\check、\overparen、\phantom、\liminf、\limsup等。 - 不再写出会让 MathType 渲染器崩溃的结构(只有上限的求和、单侧取整、部分区间端点、顺时针围道积分)。
- LaTeX 转 MathType:逐个公式报告原因;长公式不再失败;超宽公式按 MathType 能容纳的比例重绘;等待 MathType 启动的时间延长到 30 秒。
macOS Office 加载项
- VisualTeX 自动安装和更新 Word / PowerPoint 加载项(两者都关闭时,或两者退出后立即进行);PowerPoint 加载项自动注册并设为启动时加载。安装和修复在后台进程中运行,不再因等待 macOS 授权而卡住整个应用。
- 无法访问 Office 数据时会说明是 macOS 拒绝了访问,并给出当前系统版本的“完全磁盘访问权限”设置步骤(macOS 27 为“文件与文件夹”),附“打开设置”按钮。
- 发布版使用 VisualTeX 固定的签名身份,更新后不再丢失已授予的访问权限。
编辑器
- 确认转义键:快捷转义改为只在按确认转义键(默认空格)时进行,并且只转换光标前的命令名:
alpha+ 空格 → α,thetaalpha+ 空格 → theta α。sin等函数名不转义,Tab、运算符、方向键也不会触发转义;紧接着按 Backspace 可恢复为原来的字母。可在“快捷键”设置的“输入”一节修改或关闭,Office 编辑器使用同一个按键。 - 公式行快捷键可自定义:新建行内行(Ctrl+Enter)、新建行间行(Windows Alt+Enter / macOS Option+Enter),并新增在行内与行间之间切换当前行(Windows Ctrl+Shift+Enter / macOS Command+Shift+Enter)。
- 按钮快捷键可自定义(默认不设);Office 编辑器窗口中可直接截图识别。
\text{}中的拉丁字母和数字使用公式字母字体,中文使用中文字体。- 输入
[、L、^、2时,自动补全的右括号不再只显示上半截、像是跑到了上标位置。 - 使用中文输入法时显示完整的拼音,而不是只显示第一个字母。
- 在很长的公式行中输入时,光标始终保持可见。
- macOS:点击公式右侧空白处,光标移到公式末尾;从公式右侧开始拖动可以选择;第一行右端不再被磁贴按钮挡住;按住字母键可以连续输入。
- 静默 OCR 支持行内 / 行间混合的复制格式。
English
Main changes since 1.2.8:
Layout and export
- TeX-exact layout engine (Windows / macOS): formulas are laid out by VisualTeX's own engine; both platforms share one editing kernel and engine, with Computer Modern and Times (newtx) profiles.
- SVG / PNG export, copy as image and Office image formulas are drawn by the engine in each formula's saved font (MathML and MathType OLE still use MathJax).
- New formula spacing studio: per-font spacing with a live specimen beside the sliders.
- Every command the editor accepts now converts to OMML, MathType and SVG, e.g.
\R,\dag,\tg,\euro,\llbracket,\overarc,\pdiffand about 150 more; such formulas used to display but fail to convert. - 18 rare integrals such as
\sumintand\intclockwiseare no longer drawn as blanks.
Word
- Batch numbering (Windows / macOS): a new menu numbers every unnumbered display formula in the selection or the whole document. VisualTeX, OMML (and on Windows MathType) keep their own numbering; existing numbers stay, cross-references are updated, one Undo.
- Conversion font sizes (macOS): the Formula Size group gains Inline conversion and Display conversion. Picking a size immediately resizes every inline (or display) formula in the document, image formulas and Word equations alike, numbered ones counting as display, in one Undo step. Later LaTeX redraw, batch import and format conversion use the size too; "Follow body text" leaves existing formulas alone.
- Format conversion (Windows): one formula that cannot be converted no longer cancels the whole run; the rest are converted and a message lists each skipped formula with its reason.
- Double-click (Windows): inline formulas preceded by text open on a second monitor and under tooltips or other transparent windows (they used to be judged as clicks off the page).
- LaTeX redraw and batch import find
$by the Markdown (Pandoc) rule: prices like$5 and $10are no longer formulas, a stray$no longer shifts the rest of the document, and a blank paragraph ends$$...$$and\[...\]. - Faster: Windows redraw, format conversion and batch import (e.g. a batch import of 200 VisualTeX formulas 176 s → 30 s, now one Undo step); on macOS numbering, batch import and OMML redraw no longer slow down as the document grows (OMML redraw of 406 formulas 1368 s → 23 s).
- macOS numbering: image formula numbers take the chapter by the OMML rule; whole-document OMML ↔ image conversion keeps chapter numbering and replaces the whole number paragraph; numbered equations without a VisualTeX id convert to images; image formula numbers follow the formula's size and letter font.
- Windows numbering: removing a number renumbers the following ones; numbers follow the formula's size and letter font and keep a format set by hand; resized display formulas stay aligned with their number; MathType → VisualTeX keeps references to converted numbered equations.
- Windows PDF: Word's Save as PDF no longer rasterizes Latin Modern Math equations and drops the parentheses of their numbers. The add-in installs a TrueType "VisualTeX Latin Modern Math", and Update Equation Format moves documents to it.
- Windows: no blank line after MathType → OMML; the progress window stays visible while Word is minimized; VisualTeX → OMML no longer stops with "center tab moved"; OMML read back as LaTeX writes
\ker,\dim,\arcsinand the like as named operators. - Every conversion and redraw failure has its own message (time-outs, converter failures, per-formula reasons, slide numbers); progress windows and messages follow the app language.
MathType (Windows)
- More editor commands are written as MathType and survive a round trip:
\check,\overparen,\phantom,\liminf,\limsupand others. - Structures that crashed MathType's renderer are no longer written (sums with only an upper limit, one-sided floor/ceiling, some interval endpoints, clockwise contour integrals).
- LaTeX → MathType reports a reason per formula, long formulas no longer fail, very wide formulas are redrawn at a scale MathType can hold, and MathType gets 30 s to start.
macOS Office add-ins
- VisualTeX installs and updates its Word and PowerPoint add-ins by itself (when both are closed, or as soon as both quit) and registers the PowerPoint add-in to load at startup. Install and repair run in a background process, so waiting for a macOS permission no longer freezes the app.
- When access to Office's data is refused, VisualTeX says macOS denied it and shows the Full Disk Access steps for the running macOS release (macOS 27: Files & Folders) with an Open Settings button.
- Releases are signed with VisualTeX's own stable identity, so the access grant survives updates.
Editor
- Confirm-escape key: quick escapes now happen only on the confirm-escape key (Space by default) and only for the name right before the caret:
alpha+ Space → α,thetaalpha+ Space → theta α. Function names such assinare not escaped, and Tab, operators and arrows never escape; Backspace right after restores the letters. Change or turn it off under Keyboard shortcuts > Input; the Office editor uses the same key. - Formula row shortcuts can be recorded: new inline row (Ctrl+Enter), new display row (Windows Alt+Enter / macOS Option+Enter), and a new shortcut to switch the current row between inline and display (Windows Ctrl+Shift+Enter / macOS Command+Shift+Enter).
- Button shortcuts can be recorded (none by default); quick screenshot OCR in the Office editor window.
\text{}draws Latin letters and digits in the formula letter font and Chinese in the Chinese font.- Typing
[,L,^,2no longer shows only the top of the auto-closed bracket, as if it had moved up to the superscript. - With a Chinese input method the whole pinyin shows while composing, not just its first letter.
- The caret stays in view while typing in a long formula row.
- macOS: a click beside a formula puts the caret at its end; a drag that starts beside a formula selects; the end of the first row is no longer under the tiles button; holding a letter key repeats it.
- Silent OCR accepts the mixed inline / display copy format.
Downloads / 下载
| File | SHA-256 |
|---|---|
VisualTeX_1.2.9_aarch64.dmg — macOS (Apple silicon), with offline OCR / 含离线 OCR |
1bbe5a04c36b6a5c2880b7f64e420434823d32e1398a034127d223d43190cd18 |
VisualTeX_1.2.9_aarch64-no-ocr.dmg — macOS, API OCR only / 仅 API OCR |
ad2d15e9bf268c4a719a1ffc5c42c203d383ec27d718b9a191d65ed69992edf2 |
VisualTeX_1.2.9_x64-setup.exe — Windows, with offline OCR / 含离线 OCR |
ffa43b50fc2b68ad2ce502326fcf1c1a8b06d26a94c2813f68484dbc5253ca35 |
VisualTeX_1.2.9_x64-no-ocr-setup.exe — Windows, API OCR only / 仅 API OCR |
8c45c4aa5af90a1ace428cc1717335346336881d61cad6cc0b27da9a24da3575 |
Windows Office support: Microsoft Office 2021 or later. / Windows 端支持 Microsoft Office 2021 及以上。