Skip to content
Agentmart
Submit a tool

footnote-processor

脚注和尾注格式处理器,支持学术论文脚注/尾注标准化

Skill by Murchey

IndexedGPL-3.0★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/murchey-footnote-processor

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

脚注和尾注格式处理器,支持学术论文脚注/尾注标准化

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/footnote-processor

What's inside

Skill name
footnote-processor
Description
脚注和尾注格式处理器,支持学术论文脚注/尾注标准化
License
GPL-3.0
Instructions
97 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • footnote_processor.py · scripts/

SKILL.md (first lines)

# Footnote Processor

脚注和尾注格式处理器,用于学术论文脚注/尾注的标准化处理。

## 功能

- **脚注检测**:自动检测文档中的脚注(footnote)和尾注(endnote)
- **脚注格式化**:按照学术论文标准格式化脚注文本
- **编号标准化**:支持带圈数字(①, ②, ③...)、阿拉伯数字(1, 2, 3...)等编号格式
- **每页重新编号**:支持脚注编号每页自动重新开始
- **分隔线设置**:脚注与正文之间的分隔线样式
- **字体字号**:中文宋体(小五号)、英文 Times New Roman(比中文小半号)
- **行距控制**:单倍行距
- **顶格书写**:无首行缩进

## 使用方法

```python
import sys
sys.path.insert(0, 'SKILLS/footnote-processor/scripts')
from footnote_processor import FootnoteProcessor

processor = FootnoteProcessor('workspace/output/formatted.docx')
processor.run()
processor.save('workspace/output/formatted.docx')
```

## 参数

| 参数 | 类型 | 说明 |
|------|------|------|
| docx_path | str | DOCX 文件路径 |
| config_path | str | 配置文件路径(可选,默认使用内置配置) |

## 配置项

脚注配置位于模板文件的 `footnote` 部分:

```yaml
footnote:
  enabled: true
  font_size_cn: 10.5      # 中文字号(磅),通常为小五号(10.5pt)
  font_size_en: 9          # 英文字号(磅),通常比中文小半号
  line_spacing: single     # 脚注行距:single/1.5/double
  numbering: circled       # 编号格式:circled(带圈数字)/arabic(阿拉伯数字)/roman(罗马数字)
  restart_per_page: true   # 每页重新编号
  separator_length: 25     # 分隔线长度(毫米)
  font_name_cn: 宋体       # 中文字体
  font_name_en: Times New Roman  # 英文字体
  first_line_indent: 0     # 首行缩进(磅),0表示顶格书写
```

## 处理内容

### 脚注格式
- 中文字体:宋体(小五号,10.5pt)
- 英文字体:Times New Roman(9pt,比中文小半号)
- 行距:单倍行距
- 编号:带圈数字(①, ②, ③...)或阿拉伯数字(1, 2, 3...)
- 编号位置:每页重新编号
- 段落缩进:顶格书写,无首行缩进

### 尾注格式
- 位置:文档末尾或节末
- 字体字号:与脚注相同
- 编号:阿拉伯数字

### 分隔线
- 位置:页面底部,脚注上方
- 样式:细实线(0.5pt)
- 长度:页面宽度的 1/3

## 编号格式说明

| 格式 | 说明 | 示例 |
|------|------|------|
| circled | 带圈数字 | ①, ②, ③...⑳ |
| arabic | 阿拉伯数字 | 1, 2, 3... |
| roman | 罗马数字 | i, ii, iii... |

## 输出

处理后的 DOCX 文件,脚注/尾注格式符合学术论文规范。

## 依赖

- python-docx
- lxml

## 注意事项

- 脚注内容中的公式和图片会被保护
- 编号格式会自动与文档中现有格式保持一致
- 处理不会改变脚注的语义内容
- 带圈数字最多支持 20 个(①-⑳),超出后自动切换为阿拉伯数字

From Murchey/doc-form-master, GPL-3.0.

Signals

Stars
4
Forks
0
Open issues
0
Last commit (this folder)
Jun 2, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
GPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Murchey

Cite this page

footnote-processor skill. Agent Mart. https://agentmart.dev/skills/murchey-footnote-processor (last updated 2026-10-24)