feat(mytoolkit): add voice command and improve docx post-processing

- Add voice/TTS CLI command via Volcengine WebSocket API
- Inject suppressAutoHyphens into all docx paragraphs in post-process
- Apply post-process fixes to all templates (not just default)
- Update review template: Cambria+SimSun fonts, 11pt for headings
- Sync default/review docx template formatting
This commit is contained in:
Zhengshou Lai
2026-05-27 16:17:47 +08:00
parent 7600b558cd
commit ac605c2c17
14 changed files with 1135 additions and 6 deletions
+2 -1
View File
@@ -4,7 +4,7 @@ from pathlib import Path
import click
from bin.commands import pdf, image, latex, video, bib
from bin.commands import pdf, image, latex, video, bib, voice
from bin.commands.convert import convert_cmd
from bin.commands.env import env_cmd
from bin.commands.templates import templates_cmd
@@ -28,6 +28,7 @@ def cli():
cli.add_command(convert_cmd)
cli.add_command(pdf.pdf)
cli.add_command(image.image)
cli.add_command(voice.voice)
cli.add_command(latex.latex)
cli.add_command(video.video)
cli.add_command(bib.bib)