Skip to content

VisualTeX 1.3.1

Latest

Choose a tag to compare

@paulhe666 paulhe666 released this 25 Nov 13:15

VisualTeX 1.3.1

中文

感谢大家的支持。VisualTeX 已经迭代了很多个版本,也有了不少早期用户。在大家的建议下,VisualTeX 增加了很多功能,正在慢慢成为一个成熟的软件。1.3.1 可能是插件端和主程序耦合在一起的最后一个版本。为了今后更成熟的发展,我决定把插件端和主程序解耦:主程序(输入法、Markdown 文档、公式编辑主窗口等)会继续在 VisualTeX 中迭代;插件端则会针对现有产品的不足,结合 LaTeXSnipper 的优点重新构建,重构后的插件一定会更加舒适、方便。新插件的项目地址是 https://github.com/texbrains/TexType,感兴趣的朋友欢迎点个 Star。

相对 1.3.0 的主要变化。Windows 版从这一版起可以在 VisualTeX 里直接更新,卸载时也会清理干净。

更新与卸载(Windows)

  • 在 VisualTeX 里更新:检查到新版本后,在更新窗口中下载并安装,装完自动重新打开 VisualTeX。更新信息和安装包都带签名,VisualTeX 只安装签名正确的安装包;下载可以断点续传。
  • 1.3.0 及更早的版本需要手动安装一次 1.3.1,之后的版本就可以在软件里更新。
  • 更新中途被打断时,下次启动会提示“上次更新没有完成”,并重新提供这次更新。
  • 完整卸载:卸载时可以选择是否删除 OCR 环境、设置和公式文档(默认都保留);VisualTeX 留下的其他文件、缓存、启动项和 Office/WPS 记录都会删除。“文稿/VisualTeX”中的文档不会被删除。
  • 保留设置卸载后再安装,原来的设置自动恢复。
  • 不再需要 VSTO 运行库:Word/PowerPoint 加载项只需要 .NET Framework 4.7.2。
  • Office 加载项卸载失败时不再卡住;每个 Office 步骤和 WPS 都会说明失败原因。“设置 > Office > 高级诊断与维护”中新增“检查 WPS”和“复制报告”。

Word / WPS

  • 修复行间公式(Windows 和 macOS):改动缩进、行距、样式或清除格式后,把行间公式恢复到原来的居中位置和编号位置。
  • Windows Word:长文档中插入公式引用不到一秒,引用列表立即打开;在 MathType 公式的引用之后光标停在引用后面;用 LaTeX 重绘 200 个公式只需几秒;“跟随正文”按正文调整公式字号,调整或重绘后的行间公式仍在原来的制表位上;行间公式所在的行保持正文行距。
  • AI 助手(MCP)在中文用户名的电脑上也能连接。

文档模式

  • 从网页或聊天窗口复制的 $$…$$(包括含 \begin{…} 环境的公式)粘贴后是公式,不再是一行代码;粘贴到最后一行时,光标移到公式下面的新行。
  • 留空的公式不再消失:显示为虚线框,并保存在 Markdown 文件中,只有在公式里按退格才会删除。
  • 输入 $ $ 也会打开公式;正在输入的命令在离开公式时保留;列表和引用的缩进与 Markdown 一致;源码面板保留图片。
  • 按公式输入法的快捷键,会在文档光标处直接插入行内或行间公式。
  • 右键菜单可以复制 MathML(所选内容、当前行或全部公式),公式模式和文档中都可以。

公式编辑器

  • 在积分号、求和号的被积(求和)部分按 Tab,会离开整个运算符;多行对齐的公式中也显示光标下方的横线。
  • 自动转为正体的单词(如 ln)按退格后恢复为原来输入的字母,此后保持不变,不再被转换。
  • 离开公式时,最后转换的单词也能正常完成。

公式输入法(Windows / macOS)

  • 新设置“进入公式时切换到英文输入”(默认打开):用快捷键在文档中打开的公式改用英文输入,离开公式后恢复原来的输入法。

OCR

  • OCR 环境的位置记录丢失、或旧位置还留有文件时,VisualTeX 仍能找到原来的 OCR 环境。

English

Thank you all for your support. VisualTeX has gone through many versions and has gained quite a few early users. With suggestions from everyone, VisualTeX has gained many features and is slowly moving toward mature software. Version 1.3.1 may be the last version in which the plugin side and the main app are coupled. For more mature development in the future, I have decided to decouple the plugin side from the main app. The main app (input method, Markdown documents, the main formula editor window, etc.) will keep being iterated on in VisualTeX, while the plugin side will be rebuilt based on the current product's shortcomings and the strengths of LaTeXSnipper. The plugin after the rebuild will definitely be more comfortable and convenient. The project address for the new plugin is https://github.com/texbrains/TexType. Friends who are interested are welcome to give it a star.

Main changes since 1.3.0. From this version on, the Windows app updates itself from inside VisualTeX, and an uninstall leaves nothing behind.

Updates and uninstall (Windows)

  • Update from inside VisualTeX: when a new version is found, download and install it from the update window; VisualTeX opens again when it is done. The update notice and the installers are signed, and VisualTeX installs only an installer whose signature is right; downloads resume where they stopped.
  • 1.3.0 and earlier need 1.3.1 installed by hand once; later versions then update from inside the app.
  • An update that was interrupted is reported at the next start ("The last update did not finish") and offered again.
  • Complete uninstall: the uninstaller asks whether to delete the OCR environment and the settings with formula documents (both kept unless ticked); everything else VisualTeX left (files, caches, startup entries, Office and WPS records) goes. Documents in Documents/VisualTeX are never deleted.
  • Uninstall keeping the settings and install again: the settings come back by themselves.
  • No VSTO runtime needed: the Word/PowerPoint add-ins need only .NET Framework 4.7.2.
  • A failed uninstall of the Office add-ins is no longer a dead end; every Office step and WPS says why it failed. Settings > Office > Advanced diagnostics and maintenance has Check WPS and Copy report.

Word / WPS

  • Repair display formulas (Windows and macOS): after indents, line spacing, styles or cleared formatting change, display formulas go back to their centred place and their numbers to theirs.
  • Windows Word: an equation reference in a long document is inserted in under a second and its list opens at once; after a reference to a MathType equation the caret stays behind the reference; a LaTeX redraw of 200 formulas takes seconds; Follow Text resizes formulas to the body text, and resized or redrawn display formulas stay on their tab line; a display formula's line keeps the body text's spacing.
  • AI agents (MCP) connect on PCs with a Chinese user name too.

Document mode

  • $$…$$ copied from a web page or a chat (formulas with \begin{…} environments too) pastes as a formula instead of a line of code; pasted into the last line, it leaves the caret on a new line below.
  • An empty formula no longer disappears: it shows as a dashed box and is kept in the Markdown file; only Backspace in it removes it.
  • $ $ opens a formula as well; a command being typed is kept when the formula is left; lists and quotes indent the way Markdown draws them; the source panel keeps pictures.
  • The formula input method's shortcuts insert an inline or a display formula at the document's caret.
  • Copy MathML from the right-click menus (the selection, the line or all formulas), in formula mode and in documents.

Formula editor

  • Tab in the operand of an integral or a sum leaves the whole operator; aligned rows show the line under the caret too.
  • A word set upright automatically (such as ln) turns back into the letters you typed on Backspace and stays that way.
  • Leaving a formula finishes the last converted word properly.

Formula input method (Windows / macOS)

  • New setting "Switch to English input in formulas" (on by default): a formula the shortcut opens in a document is typed in English, and the previous input method comes back when you leave it.

OCR

  • VisualTeX finds the existing OCR environment again when the record of its place is lost or an old location still holds files.

Downloads / 下载

File SHA-256
VisualTeX_1.3.1_aarch64.dmg — macOS (Apple silicon), with offline OCR / 含离线 OCR 97b6fdce0c2e6ad60da4f9e44a406e83e7aa324d90c21b604fe2a2bb15f0945e
VisualTeX_1.3.1_aarch64-no-ocr.dmg — macOS, API OCR only / 仅 API OCR eda3af2c8849867233d87dd81d2757fb4a60125cb2ad92d4a4170a7550260a7a
VisualTeX_1.3.1_x64-setup.exe — Windows, with offline OCR / 含离线 OCR 0bf4bc1d178e00d012b1832d9dbcdded25c95bb1dc59a963450df825b966ffe8
VisualTeX_1.3.1_x64-no-ocr-setup.exe — Windows, API OCR only / 仅 API OCR 256124600f73bfc48b5ea67480630eb0aca76f780f040f69c225d4dc347158d6