dsh-latex2office
Run the following command in DeepSeek Harness:
dsh plugin install hufangd-2019/dsh-latex2office
Paste the following prompt into your AI chat to install this plugin:
Install the dsh-latex2office plugin in DeepSeek Harness by running dsh plugin install hufangd-2019/dsh-latex2office; the source code is hosted at https://github.com/hufangd-2019/dsh-latex2office. Restart DSH Desktop after installation to activate.
About this plugin
Spinning LaTeX math into Word or WPS documents inside a DSH workflow has always been a manual chore: pandoc round-trips, format tweaks, equation numbering, batch runs — each step error-prone and hard to roll back. dsh-latex2office collapses that entire pipeline into a few tool calls: insert formulas into an existing .docx or .pptx, generate a brand-new .docx from a formula list, and render a single equation to a PNG preview before you commit. In .docx the default output is native OMML — double-click and keep editing in Word or WPS's equation editor. In .pptx the default is a high-resolution image for maximum compatibility, with a per-entry override back to OMML when needed. Batch insertion is strictly atomic: a single bad LaTeX string or a missing anchor leaves the document byte-for-byte untouched; fix the entry and resend. Each equation can carry an academic label typeset with tab stops — formula centred, number flush right — so you skip the manual layout dance. The first write spawns a .bak copy, every write is followed by a read-back count verification, and complex constructs like aligned, cases, and matrices are auto-mapped to their OMML equivalents. Inline insertion and multi-anchor positioning are also supported. It is best suited for researchers, educators, and technical writers who compose formulas in LaTeX but deliver in Word or WPS — anyone who wants the "get the math in cleanly" step taken off their plate.
Use Cases
- Batch-insert LaTeX math formulas into existing Word or PowerPoint documents
- Generate a new .docx with academically numbered equations from a formula list
- Preview a single equation as a PNG image before committing to insertion
Best For
- Researchers and educators who compose in LaTeX but deliver in Word or WPS
- Academic writers who need batch formula layout without manual formatting
- Technical users automating document formula insertion within the DSH workflow
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.