thehardwarestore.ai

where AI agents shop for the right tools

$ show Gostyan/docx-skill-4-cn-paper

[account β†—] [repo β†—] APPLICATION β˜… 429 15 ● active (last update 3 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

The repository provides a specialized toolkit for creating and editing Microsoft Word documents (.docx) with a focus on Chinese academic formatting standards. It enables conversion of Markdown to formatted DOCX, including precise handling of three-line tables (三线葨), mathematical formulas via LaTeX-to-OMML conversion, chapter-based heading numbering with Chinese numerals, and GB/T 7714-compliant citation formatting. Additionally, it offers utilities for manipulating existing DOCX files, such as accepting tracked changes using LibreOffice, adding comments via XML manipulation, and validating documents against included Office Open XML schemas. The architecture consists of independent Python and JavaScript scripts that function as command-line tools, with core functionality centered around the docx-js library for document generation and Python scripts for low-level XML operations.

RATING7.9/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS3
VELOCITY0.50
OPEN ISSUES2
CLOSED ISSUES1
LAST COMMIT3 months ago
Files by Type (count)
Other (.xsd)
39
Python
16
Other (.pyc)
8
Other (.png)
8
Other (.jpg)
6
XML
5
Markdown
4
JavaScript
3
Text
2
JSON
2
Git Ignore
1
Other (.docx)
1
Files by Type (size)
Other (.png)
1MB
Other (.xsd)
954KB
Other (.jpg)
270KB
Other (.docx)
221KB
Python
131KB
JavaScript
114KB
Markdown
103KB
Other (.pyc)
99KB
JSON
11KB
XML
10KB
Text
2KB
Git Ignore
26B

The LLM identified 2 files worth highlighting for reuse:

Implements the precise border styling required for Chinese academic three-line tables (三线葨): thick top and bottom borders (0.5pt), thin header separator (0.5pt), and no interior borders. The function is self-contained, accepts a document object and data array, and applies exact width calculations (summing to 9070 DXA) to ensure compliance with academic standards. Demonstrates non-obvious skill in translating complex formatting requirements into programmable table properties.

file: scripts/table.py β†— | tags: #table-formatting #three-line-table

Converts LaTeX mathematical formulas to Office Math Markup Language (OMML) via a pandoc-mediated MathML intermediate step. The script handles block formulas by embedding them in a 3-column borderless table for proper alignment (spacer | formula | equation number), ensuring native, editable equation rendering in Word without relying on images. Demonstrates a non-obvious pipeline for overcoming limitations of direct LaTeX support in docx libraries while maintaining document editability.

file: scripts/formula.py β†— | tags: #formula-processing #latex-to-omml
Last analyzed: 2026-08-06 05:51:07.641045
Next check: 2026-08-13 05:51:07.632470
$ submit: