Zhengshou Lai
9174708d10
feat(init): add LaTeX manual scaffold and 'init manual' command
...
- scaffolds/manual/: ctexart+xelatex manual template (cover, TOC, colored
headings, four callout boxes, listings code, booktabs three-line tables),
visually aligned with Typst md-to-pdf/manual template
- commands/init.py: extract _init_scaffold() shared by paper/manual
- sync README/AGENTS/skill references; document templates-vs-scaffolds-vs-journals taxonomy
2026-07-18 09:44:17 +08:00
Zhengshou Lai
958a9f2f01
chore: 移除 resolve_key() 等 skill 端函数,更新 CLAUDE.md 配置描述
2026-07-06 21:18:04 +08:00
Zhengshou Lai
321dc57e30
refactor(config): 统一配置存储为 ~/.mytoolkit/config.json (keys.*)
...
- Config 类改用 config.json + keys.* 格式,废弃 env.json (自动迁移)
- 新增 resolve_key() / write_key_to_mytoolkit() 共享工具函数
- env CLI 文本更新 (vars → keys)
- 更新 CLAUDE.md / README.md 配置描述
2026-07-06 21:11:23 +08:00
Zhengshou Lai
1ee5a31ccf
feat(completion): 自动安装 shell 补全,迁移旧配置并清理手动补全
2026-07-04 19:24:58 +08:00
Zhengshou Lai
b755e0b2ce
fix(scaffold/paper): black hyperlinks, add mathtools, and unify bold vector style
2026-06-29 08:40:06 +08:00
Zhengshou Lai
f45b46073a
feat(scaffold): redesign paper scaffold + clarify doc responsibilities
...
Scaffold (mytoolkit init paper):
- default to portable Elsevier elsarticle [review,3p,11pt] (was ctexart/Fandol)
- TeX Live Libertinus fonts (serif+math+mono), no system-font dependency
- xelatex one-engine via latexmk; figure/abstract/keyword frontmatter
- PDF bookmarks expand to two levels (bookmarksopenlevel=2)
- fix diffpreamble.dtx: define \DIFadd/\DIFdel (latexdiff highlighted now compiles)
Docs responsibility split:
- CLAUDE.md owns design decisions/constraints; exact scaffold specs live only
in the generated main.tex header (self-documenting, no drift)
- README/SKILL point to those; README command table gains `voice`
- reconcile source-of-truth wording across CLAUDE.md / README / SKILL
2026-06-29 00:47:48 +08:00
Zhengshou Lai
587eac8837
feat: add journal submission kits + paper scaffold; restructure package
...
- init journal <elsevier|ieee|springer>: self-contained, make-buildable kits
(Springer sn-jnl.cls + bst bundled; reuses project references.bib)
- init paper scaffold: ctexart + Fandol fonts, bib at root, latexdiff highlighted
- move templates/ under mytoolkit/, add info/references, relocate protocols
- migrate mytoolkit skill into submodule; update README/CLAUDE docs
2026-06-28 23:38:47 +08:00
Zhengshou Lai
75bb7dec32
feat(convert): template-driven docx postprocess + pdf table left align
...
- Move docx post-processing from convert.py to template-specific postprocess.py hooks
- Resolve relative markdown image paths before pandoc for docx and pdf
- Auto-generate centered figure captions (图 1, 图 2...) in docx
- Center tables and apply three-line table borders in docx
- Left-align tables in PDF via template.typ show rule
2026-06-28 11:27:14 +08:00
Zhengshou Lai
3ea86867e3
chore(server): remove cloudcli service entry
2026-06-28 00:17:45 +08:00
Zhengshou Lai
c8081889b9
feat(server): add cloudcli service and per-service prebuild flag
...
Add a CloudCLI (claude-code-ui) service on port 3020, and a prebuild
flag so services backed by a global npm binary skip the Docusaurus-style
`npm run build` step before serve.
2026-06-27 21:44:11 +08:00
Zhengshou Lai
fe4c280f7c
refactor: rename bin/ package to mytoolkit/
2026-06-26 22:57:55 +08:00
Zhengshou Lai
c1df4098b3
refactor: rename package from mytoolkit to bin
...
- Move all source files from mytoolkit/ to bin/
- Update entry point and build config in pyproject.toml
- Add pillow and pypdf dependencies
- Update README and .gitignore paths
- Remove unused subprocess import in pdf.py
- Clean up duplicate imports in pdf merge command
2026-04-26 09:56:29 +08:00
Zhengshou Lai
3aeaf7cb64
init
2026-04-14 18:39:09 +08:00