Skip to content

VisualTeX 1.2.4

Choose a tag to compare

@paulhe666 paulhe666 released this 02 Aug 02:04
· 221 commits to main since this release

VisualTeX 1.2.4

中文

主要新增功能

  • Word LaTeX / Markdown 批量导入:新增独立导入界面、实时预览和 .tex / .md / .markdown 文件读取;支持正文与行内公式混排、行间公式、标题、粗体/斜体、链接、引用、嵌套列表、代码块、表格、任务列表及常见 LaTeX 文档结构。
  • 更完整的公式环境解析:支持 $...$\(...\)$$...$$\[...\]equationaligngathermultlineflalignalignateqnarraysplit、矩阵和 cases,并保留公式编号标签;外部 \input / \include、图片和参考文献会降级为可见提示而不是静默丢失。
  • Word LaTeX 重绘:可对当前选区或整个文档执行重绘,将已有 LaTeX 代码原位批量转换为 Word 原生 OMML 或可双击编辑的 VisualTeX OLE。
  • Office 公式工作流升级:Word 支持 OMML/OLE 新建、编辑、相互转换、编号、交叉引用、OLE 导出图片和双击编辑;PowerPoint 改进 OLE 新建、编辑、转换、尺寸和位置恢复。
  • Office 编辑器操作增强:支持 Ctrl+S 应用公式;新增选区粗体、斜体/正体、字体颜色和背景颜色;Office 窗口可同步主题、OCR 模型和字号设置。
  • 完整的公式快捷键系统:可右键公式工具、常用磁贴或自定义磁贴绑定快捷键,并在设置中统一修改或删除;常用栏保持 45 个磁贴并加入 \times\div
  • 编辑器输入与排版增强:新增更细的光标自动跳出和命令候选设置、最高 10×10 矩阵选择器、17 种 LaTeX 输出格式、改进的文档级撤销/重做、历史记录和选区结构插入。
  • 数学符号与兼容性扩展:改进 \oiint\oiiint\bm\boldsymbol、数学字体、重音、复杂积分及原生命令预览;新增 \ip / \innerproduct 兼容宏。
  • 规范字体状态切换:粗体按钮现在生成标准 \mathbf{...},可再次点击取消;数学斜体与 \mathrm{...} 正体可双向切换,并正确处理粗体与斜体组合。
  • 自动正体规则增强:微分元 d、自然常数 e、虚数单位 i/j 和常见算子按上下文自动规范为正体,并与“常用输入自动转义”开关解耦。
  • Windows 本地 OCR 全面重做:使用安装包内置的私有 Python 3.12.10 x64 和固定 68-wheel 离线依赖,不访问 PyPI、系统 Python 或用户 site-packages。
  • OCR 模型管理:支持 PP-FormulaNet plus-S / M / L 的校验下载、断点续传、取消、删除和 .vtxocrmodel 离线导入;模型与运行时分开管理。
  • macOS Office 源码更新:加入 Word LaTeX/Markdown 导入、公式尺寸与 SVG 基线改进、复杂符号兼容、导入公式重新编辑、上下文颜色、双击路由及 Office bridge 稳定性修复。

主要修复与优化

  • 修复 Word 行内 OMML 吞入后续正文、空上下标槽、公式转换后隐藏换行、重复编辑和保存重开后的定位问题。
  • 修复行内/行间公式错误继承 LaTeX 源码字号;现在优先继承周围正文,并避免行间公式后额外产生空白段落。
  • 修复 OLE 基线整体偏下、旧对象尺寸压缩新内容、批量导入后双击编辑字号变化,以及 OMML/OLE 反复转换造成的版式漂移。
  • 改进大型文档性能:复用预热转换器、缓存重复公式、从后向前原位替换,并减少 Word COM 跨进程调用;补充 100 公式和 500+500 公式场景验收。
  • 修复 Word Unicode/emoji 导致的字符位置偏移;替换前会预定位全部 Range,并在附近安全重定位,避免文档只转换一半。
  • 修复 \bm、闭合积分、罕见积分符号、重音和字体命令在 OMML、OLE、预览或导出中显示为原始命令或错误占位符。
  • 修复粗体/斜体只能单向应用、MathLive 字体嵌套、选区颜色泄漏到后续输入,以及结构占位框被意外包装或丢失。
  • 修复 OCR 安装卡在依赖安装或 Paddle 导入阶段:提前检查 AVX,内置并预加载 Microsoft vcomp140.dll,重试时复用已安装依赖,并为每次安装生成独立日志。
  • 加固 Windows 应用生命周期、后台 companion、Office Session、启动/重启、安装维护、x64/x86 VSTO 注册和 NSIS 发布校验,减少白屏、重复进程、旧资源残留和安装后无法启动。
  • 更新 Windows 应用图标、作者信息和 README 下载入口。

下载

  • 本 Release 提供 Windows x64 安装包。
  • 应用与 OCR 模型也可从 VisualTeX 官网 下载。
  • Windows 安装包 SHA-256:c030b7d9a7e7b52c8a93c5f3b34943dd75b51423cf948087bf3535c3b485103b

English

Major new features

  • Word LaTeX / Markdown bulk import: added a dedicated import workspace, live preview, and .tex / .md / .markdown file loading, with mixed prose and formulas, display math, headings, emphasis, links, quotations, nested lists, code blocks, tables, task lists, and common LaTeX document structures.
  • Broader formula-environment parsing: supports $...$, \(...\), $$...$$, \[...\], equation, align, gather, multline, flalign, alignat, eqnarray, split, matrices, cases, and equation tags. External inputs, images, and bibliography resources degrade to visible placeholders instead of disappearing silently.
  • Word LaTeX redraw: redraw the current selection or the full document, replacing existing LaTeX in place with native Word OMML or double-click-editable VisualTeX OLE.
  • Expanded Office workflows: Word now covers OMML/OLE creation, editing, direct conversion, numbering, cross-references, OLE-to-picture export, and double-click editing; PowerPoint OLE creation, editing, conversion, sizing, and position restoration were improved.
  • Office editor controls: apply formulas with Ctrl+S; format selections with bold, italic/upright, text colour, and background colour; synchronize theme, OCR model, and font-size settings.
  • Formula hotkeys: bind shortcuts from formula tools, common tiles, or custom tiles and manage them centrally. The 45-item Common toolbar now includes \times and \div.
  • Editor input and layout upgrades: finer caret auto-exit and suggestion controls, a matrix picker up to 10×10, 17 LaTeX output formats, improved document-level undo/redo, history, and selection-aware structure insertion.
  • Math compatibility expansion: improved \oiint, \oiiint, \bm, \boldsymbol, math alphabets, accents, extended integrals, and native command previews; added \ip / \innerproduct compatibility macros.
  • Correct style toggles: bold now produces standard \mathbf{...} and toggles off cleanly; default math italic and \mathrm{...} upright can be toggled in both directions, including bold-italic combinations.
  • Automatic upright notation: contextual upright handling for differential d, constants e, imaginary units i/j, and common operators, independent of the plain-text shortcut setting.
  • Rebuilt local OCR runtime on Windows: bundled private Python 3.12.10 x64 with an exact 68-wheel offline dependency set, without using PyPI, system Python, or user site-packages.
  • Managed OCR models: verified download, resume, cancellation, removal, and offline .vtxocrmodel import for PP-FormulaNet plus-S / M / L, with models managed separately from the runtime.
  • macOS Office source updates: Word LaTeX/Markdown import, sizing and SVG-baseline work, uncommon-symbol compatibility, imported-formula editing, context colours, double-click routing, and Office bridge reliability.

Major fixes and improvements

  • Fixed Word inline OMML consuming following prose, empty script slots, hidden line breaks after conversion, repeated editing, and save/reopen range recovery.
  • Fixed inline and display formulas inheriting the smaller LaTeX source font instead of surrounding body text, and removed extra blank paragraphs after display formulas.
  • Corrected OLE baseline placement, stale object extents compressing updated formulas, font-size changes after editing imported formulas, and layout drift across repeated OMML/OLE conversion.
  • Improved large-document performance with a warmed converter, duplicate-formula caching, reverse-order replacement, and fewer Word COM calls; added 100-formula and 500-inline + 500-display acceptance coverage.
  • Fixed Word character-range mismatches caused by emoji and supplementary Unicode characters by resolving every target before modifying the document and safely relocating nearby text when required.
  • Fixed raw \bm, contour-integral, rare-integral, accent, and font commands leaking into OMML, OLE, previews, or exports.
  • Fixed one-way bold/italic formatting, nested MathLive font wrappers, selection colours leaking into later input, and structural placeholders being wrapped or lost.
  • Hardened OCR installation failures and stalls with early AVX checks, an app-local Microsoft vcomp140.dll, reuse of valid installed dependencies, and per-session install logs.
  • Hardened Windows lifecycle, the background companion, Office Sessions, startup/restart behaviour, installer maintenance, x64/x86 VSTO registration, and NSIS release validation to reduce white screens, duplicate processes, stale assets, and broken installed launches.
  • Updated Windows icons, author metadata, README badges, and download links.

Download

  • This Release includes the Windows x64 installer.
  • The application and OCR models are also available from the VisualTeX website.
  • Windows installer SHA-256: c030b7d9a7e7b52c8a93c5f3b34943dd75b51423cf948087bf3535c3b485103b