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
893 B
893 B
LaTeX(latex)
详细用法以 mytoolkit 项目 README.md 为准(可用
mytoolkit info paths辅助定位)。
mytoolkit latex compile paper.tex
mytoolkit latex compile paper.tex -e xelatex
mytoolkit latex count paper.tex
论文脚手架 / 投稿模板
mytoolkit init paper <dir> # 新建论文项目(elsarticle 脚手架,xelatex,可移植;精确配置见生成的 main.tex 头部注释,设计约束见仓库 CLAUDE.md §3)
mytoolkit init journal # 列出投稿套件
mytoolkit init journal elsevier # Elsevier / ieee / springer 套件 → ./submit-<name>/
投稿套件自带文档类与 bst,make(pdflatex+bibtex)直接编译;自动复用当前目录 references.bib。Springer 切样式只改 \documentclass[...,sn-xxx]{sn-jnl} 选项,勿写 \bibliographystyle。详见 CLAUDE.md §3。