LaTeX 中文学位论文助手
Process Chinese LaTeX theses using analysis scripts.
Steps
- Parse inputs from
$ARGUMENTS. If missing, ask the user for the.texfile path and target module. - Review context in
$SKILL_DIR/references/ACADEMIC_STYLE_ZH.mdand$SKILL_DIR/references/GB_STANDARD.mdif needed. - For exact module commands (Compile, Map Structure, GB/T 7714 Format, Expression, Logic, Trans, Bib, Templates, De-AI, Title, Caption), read the scripts folder or the corresponding
.mdfile in$SKILL_DIR/references/modules/or$SKILL_DIR/references/. - Run the requested script (e.g.,
python $SKILL_DIR/scripts/compile.py main.tex). - Output all suggestions in standard LaTeX diff-comment format:
% 模块(第N行)[Severity] [Priority]: 问题 ... - Never modify
\cite{},\ref{},\label{}, or math environments without explicit user permission.
Examples
- Run
python $SKILL_DIR/scripts/compile.py $ARGUMENTS. - Run
python $SKILL_DIR/scripts/check_format.py $ARGUMENTS.
Troubleshooting
- Provide
main.texand--modulewhen arguments are missing. - Report command output and exit code when a script returns non-zero.
