Commit Graph
6 Commits
Author SHA1 Message Date
Zhengshou Lai 52c96c50fe style(template): set Title/Heading1-5 fonts to Cambria+SimSun, no indent 2026-05-19 22:50:07 +08:00
Zhengshou Lai 516bff335d style(template): set all margins to 2.54cm 2026-05-19 22:36:04 +08:00
Zhengshou Lai e6742d4e9e style(template): rewrite default docx template from scratch
- Create clean template with python-docx + lxml
- Normal: Cambria+SimSun, 12pt, firstLine=480, justify
- Title: centered
- Heading 1-5: left-aligned
- docDefaults: sz=24, kinsoku=1
2026-05-19 22:28:09 +08:00
Zhengshou Lai f9066d5bd8 style(template): change font size to 12pt and fix namespace prefix
- Normal style: sz 22→24 (11pt→12pt)
- docDefaults: sz/szCs 22→24
- Fix namespace prefix consistency (ns0→w) in styles.xml
2026-05-19 22:05:23 +08:00
Zhengshou Lai 4fd4477a27 style(template): update default docx with kinsoku, three-line tables and spacing
- Enable kinsoku for Chinese punctuation wrap control
- Set first-line indent to 2 characters (304800 EMU)
- Configure three-line table borders (1.5pt top/bottom, 0.75pt header)
- Add 6pt spacing after tables
- Use Cambria + SimSun font pairing
2026-05-19 21:52:20 +08:00
Zhengshou Lai 2791a785ff feat: add document conversion templates
Add md-to-pdf and md-to-docx templates for mytoolkit convert command.
Migrated from workspace/templates.
2026-05-06 00:11:37 +08:00