latex-conference-template-organizer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLaTeX Conference Template Organizer
LaTeX会议模板整理工具
Overview
概述
Transform messy conference LaTeX template .zip files into clean, Overleaf-ready submission templates. Official conference templates often contain excessive example content, instructional comments, and disorganized file structures. This skill converts them into templates ready for writing.
将杂乱的会议LaTeX模板.zip文件转换为整洁的、可直接导入Overleaf使用的投稿模板。官方会议模板通常包含大量示例内容、说明注释以及混乱的文件结构,本工具可将其转换为可直接开始写作的模板。
Working Mode
工作模式
Analyze-then-confirm mode: First analyze issues and present them to the user, then execute cleanup after confirmation.
先分析再确认模式:首先分析存在的问题并展示给用户,获得确认后再执行清理操作。
Complete Workflow
完整工作流程
Receive .zip file
↓
1. Extract and analyze file structure
↓
2. Identify main file and dependencies
↓
3. Diagnose issues (present to user)
↓
4. Ask for conference info (link/name)
↓
5. Wait for user confirmation of cleanup plan
↓
6. Execute cleanup, create output directory
↓
7. Generate README (with official website info)
↓
8. Output completeReceive .zip file
↓
1. 解压并分析文件结构
↓
2. 识别主文件和依赖项
↓
3. 诊断问题(展示给用户)
↓
4. 询问会议信息(链接/名称)
↓
5. 等待用户确认清理方案
↓
6. 执行清理,创建输出目录
↓
7. 生成README(包含官网信息)
↓
8. 输出完成Step 1: Extract and Analyze
步骤1:解压与分析
Extract Files
解压文件
Extract .zip to a temporary directory:
bash
unzip -q template.zip -d /tmp/latex-template-temp
cd /tmp/latex-template-temp
find . -type f -name "*.tex" -o -name "*.sty" -o -name "*.cls" -o -name "*.bib"将.zip文件解压到临时目录:
bash
unzip -q template.zip -d /tmp/latex-template-temp
cd /tmp/latex-template-temp
find . -type f -name "*.tex" -o -name "*.sty" -o -name "*.cls" -o -name "*.bib"Identify File Types
识别文件类型
| File Type | Purpose |
|---|---|
| LaTeX source files |
| Style files |
| Bibliography database |
| Image files |
| 文件类型 | 用途 |
|---|---|
| LaTeX源文件 |
| 样式文件 |
| 参考文献数据库 |
| 图片文件 |
Identify Main File
识别主文件
Common main file names:
main.texpaper.texdocument.texsample-sigconf.textemplate.tex
Identification methods:
- Check if filename matches common patterns
- Search for files containing
\documentclass - If multiple candidates exist, ask user to confirm
bash
undefined常见主文件名:
main.texpaper.texdocument.texsample-sigconf.textemplate.tex
识别方法:
- 检查文件名是否匹配常见模式
- 搜索包含的文件
\documentclass - 若存在多个候选文件,询问用户确认
bash
undefinedFind files containing \documentclass
查找包含\documentclass的文件
grep -l "\documentclass" *.tex
undefinedgrep -l "\documentclass" *.tex
undefinedStep 2: Diagnose Issues
步骤2:诊断问题
Present discovered issues to the user:
将发现的问题展示给用户:
Disorganized File Structure
文件结构混乱
- Multi-level directory nesting
- .tex files scattered across directories
- Unclear which file is the main file
- 多级目录嵌套
- .tex文件分散在多个目录中
- 不清楚哪个是主文件
Redundant Content
冗余内容
Detect the following patterns and flag for cleanup:
- Filenames containing: ,
sample,example,demotest - Comments containing: ,
sample,example,templatedelete this
检测以下模式并标记待清理:
- 文件名包含:、
sample、example、demotest - 注释包含:、
sample、example、templatedelete this
Dependency Issues
依赖问题
- Referenced /
.styfiles missing.cls - Image/table reference paths incorrect
- 引用的/
.sty文件缺失.cls - 图片/表格引用路径错误
Step 3: Ask for Conference Information
步骤3:询问会议信息
Ask the user for the following information:
markdown
Please provide the following information (optional):
1. **Conference submission link** (recommended): Used to extract official submission requirements
2. **Conference name**: If no link available
3. **Other special requirements**: Such as page limits, anonymity requirements, etc.向用户询问以下信息:
markdown
请提供以下信息(可选):
1. **会议投稿链接**(推荐):用于提取官方投稿要求
2. **会议名称**:若无链接可提供名称
3. **其他特殊要求**:如页数限制、匿名要求等Step 4: Present Cleanup Plan
步骤4:展示清理方案
Present the cleanup plan to the user and wait for confirmation:
markdown
undefined向用户展示清理方案并等待确认:
markdown
undefinedCleanup Plan
清理方案
Issues Found
发现的问题
- [List diagnosed issues]
- [列出诊断出的问题]
Cleanup Approach
清理方式
- Main file: main.tex (clean example content)
- Section separation: text/ directory
- Resource directories: figures/, tables/, styles/
- 主文件:main.tex(清理示例内容)
- 章节分离:text/ 目录
- 资源目录:figures/, tables/, styles/
Output Structure
输出结构
[Show output directory structure]
Confirm execution? [Y/n]
undefined[展示输出目录结构]
确认执行? [Y/n]
undefinedStep 5: Execute Cleanup
步骤5:执行清理
Create Output Directory Structure
创建输出目录结构
bash
mkdir -p output/{text,figures,tables,styles}bash
mkdir -p output/{text,figures,tables,styles}Clean Up Main File (main.tex)
清理主文件(main.tex)
Keep:
- declaration
\documentclass - Required package imports
- Core configuration (e.g., anonymous mode)
Remove:
- Example section content
- Verbose instructional comments
- Example author/title information
Add:
- Import sections with
\input{text/XX-section}
Example main.tex structure (ACM template standard format):
latex
\documentclass[...]{...} % Keep original template document class
% Required packages (keep original template package declarations)
%% ============================================================================
%% Preamble: Before \begin{document}
%% ============================================================================
%% Title and author information
\title{Your Paper Title}
\author{Author Name}
\affiliation{...}
%% Abstract (in preamble, before \maketitle)
\begin{abstract}
% TODO: Write abstract content
\end{abstract}
%% CCS Concepts and Keywords (in preamble)
\begin{CCSXML}
<ccs2012>
<concept>
<concept_id>10010405.10010444.10010447</concept_id>
<concept_desc>Applied computing~...</concept_desc>
<concept_significance>500</concept_significance>
</concept>
</ccs2012>
\end{CCSXML}
\ccsdesc[500]{Applied computing~...}
\keywords{keyword1, keyword2, keyword3}
%% ============================================================================
%% Document Body
%% ============================================================================
\begin{document}
\maketitle
%% Section content (imported from text/)
\input{text/01-introduction}
\input{text/02-related-work}
\input{text/03-method}
\input{text/04-experiments}
\input{text/05-conclusion}
\bibliographystyle{...}
\bibliography{references}
\end{document}保留:
- 声明
\documentclass - 必要的包导入
- 核心配置(如匿名模式)
移除:
- 示例章节内容
- 冗长的说明注释
- 示例作者/标题信息
添加:
- 使用导入章节
\input{text/XX-section}
main.tex结构示例(ACM模板标准格式):
latex
\documentclass[...]{...} % 保留原模板的文档类声明
% 必要的包(保留原模板的包声明)
%% ============================================================================
%% 前言:位于\begin{document}之前
%% ============================================================================
%% 标题和作者信息
\title{你的论文标题}
\author{作者姓名}
\affiliation{...}
%% 摘要(位于前言中,\maketitle之前)
\begin{abstract}
% TODO:撰写摘要内容
\end{abstract}
%% CCS概念和关键词(位于前言中)
\begin{CCSXML}
<ccs2012>
<concept>
<concept_id>10010405.10010444.10010447</concept_id>
<concept_desc>Applied computing~...</concept_desc>
<concept_significance>500</concept_significance>
</concept>
</ccs2012>
\end{CCSXML}
\ccsdesc[500]{Applied computing~...}
\keywords{关键词1, 关键词2, 关键词3}
%% ============================================================================
%% 文档正文
%% ============================================================================
\begin{document}
\maketitle
%% 章节内容(从text/目录导入)
\input{text/01-introduction}
\input{text/02-related-work}
\input{text/03-method}
\input{text/04-experiments}
\input{text/05-conclusion}
\bibliographystyle{...}
\bibliography{references}
\end{document}KDD 2026 Anonymous Submission Special Configuration
KDD 2026匿名投稿特殊配置
For KDD 2026 (using ACM acmart template), add the option to the document class to remove footnotes:
nonacmlatex
%% ============================================================================
%% Document Class - KDD 2026 Anonymous Submission Configuration
%% Submission version: \documentclass[sigconf,anonymous,review,nonacm]{acmart}
%% Camera-ready: \documentclass[sigconf]{acmart}
%% ============================================================================
\documentclass[sigconf,anonymous,review,nonacm]{acmart}
%% ============================================================================
%% Disable ACM metadata (submission version only)
%% ============================================================================
\settopmatter{printacmref=false} % Disable ACM Reference Format
\setcopyright{none} % Disable copyright notice
\acmConference[]{}{}{} % Clear conference info (removes footnote)
\acmYear{} % Clear year
\acmISBN{} % Clear ISBN
\acmDOI{} % Clear DOI
%% Content to restore for camera-ready version:
%% \acmConference[KDD '26]{Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining}{August 09--13, 2026}{Jeju, Korea}
%% \acmISBN{978-1-4503-XXXX-X/26/08}
%% \acmDOI{10.1145/nnnnnnn.nnnnnnn}针对KDD 2026(使用ACM acmart模板),需在文档类中添加参数以移除脚注:
nonacmlatex
%% ============================================================================
%% 文档类 - KDD 2026匿名投稿配置
%% 投稿版本:\documentclass[sigconf,anonymous,review,nonacm]{acmart}
%% 终稿版本:\documentclass[sigconf]{acmart}
%% ============================================================================
\documentclass[sigconf,anonymous,review,nonacm]{acmart}
%% ============================================================================
%% 禁用ACM元数据(仅投稿版本)
%% ============================================================================
\settopmatter{printacmref=false} % 禁用ACM引用格式
\setcopyright{none} % 禁用版权声明
\acmConference[]{}{}{} % 清空会议信息(移除脚注)
\acmYear{} % 清空年份
\acmISBN{} % 清空ISBN
\acmDOI{} % 清空DOI
%% 终稿版本需要恢复的内容:
%% \acmConference[KDD '26]{Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining}{August 09--13, 2026}{Jeju, Korea}
%% \acmISBN{978-1-4503-XXXX-X/26/08}
%% \acmDOI{10.1145/nnnnnnn.nnnnnnn}Create Section Files (text/)
创建章节文件(text/)
Create independent .tex files for each section, containing only section content without etc.:
\begin{document}text/01-introduction.tex:
latex
\section{Introduction}
% TODO: Write introduction contenttext/02-related-work.tex:
latex
\section{Related Work}
% TODO: Write related work contenttext/03-method.tex:
latex
\section{Method}
% TODO: Write method contenttext/04-experiments.tex:
latex
\section{Experiments}
% TODO: Write experiments contenttext/05-conclusion.tex:
latex
\section{Conclusion}
% TODO: Write conclusion contentImportant notes:
- Abstract should be placed in main.tex preamble (before ), after
\begin{document}\maketitle - Files in text/ contain only sections, starting with
\section{...} - Do not include or other wrappers in text/ files
\begin{document}
为每个章节创建独立的.tex文件,仅包含章节内容,无需等外层结构:
\begin{document}text/01-introduction.tex:
latex
\section{引言}
% TODO:撰写引言内容text/02-related-work.tex:
latex
\section{相关工作}
% TODO:撰写相关工作内容text/03-method.tex:
latex
\section{研究方法}
% TODO:撰写研究方法内容text/04-experiments.tex:
latex
\section{实验}
% TODO:撰写实验内容text/05-conclusion.tex:
latex
\section{结论}
% TODO:撰写结论内容重要注意事项:
- 摘要应放在main.tex的前言部分(之前),
\begin{document}之后\maketitle - text/目录下的文件仅包含章节内容,以开头
\section{...} - 不要在text/目录的文件中包含或其他外层结构
\begin{document}
Copy Style Files (styles/)
复制样式文件(styles/)
Copy all and files from the original template to :
.sty.clsstyles/bash
find /tmp/latex-template-temp -type f \( -name "*.sty" -o -name "*.cls" \) -exec cp {} output/styles/ \;Note: Maintain the original template's directory structure (e.g., ), only move to .
acmart/styles/将原模板中所有和文件复制到目录:
.sty.clsstyles/bash
find /tmp/latex-template-temp -type f \( -name "*.sty" -o -name "*.cls" \) -exec cp {} output/styles/ \;注意: 保留原模板的目录结构(如),仅移动到目录下。
acmart/styles/Handle Images and Tables
处理图片和表格
bash
undefinedbash
undefinedCopy image files
复制图片文件
find /tmp/latex-template-temp -type f ( -name ".png" -o -name ".jpg" -o -name ".jpeg" -o -name ".pdf" ) -exec cp {} output/figures/ ;
find /tmp/latex-template-temp -type f ( -name ".png" -o -name ".jpg" -o -name ".jpeg" -o -name ".pdf" ) -exec cp {} output/figures/ ;
Copy table files (if any)
复制表格文件(如果存在)
find /tmp/latex-template-temp -type f -name "*.tex" | grep -i table | while read f; do cp "$f" output/tables/; done
undefinedfind /tmp/latex-template-temp -type f -name "*.tex" | grep -i table | while read f; do cp "$f" output/tables/; done
undefinedCreate Example Table File
创建示例表格文件
Important: Overleaf automatically deletes empty directories. To prevent the directory from being deleted, create an example table file:
tables/bash
undefined重要: Overleaf会自动删除空目录,为避免目录被删除,创建一个示例表格文件:
tables/bash
undefinedCreate example table file
创建示例表格文件
cat > output/tables/example-table.tex << 'EOF'
% Example table file
% Can be deleted or replaced with your own tables
\begin{table}[h]
\centering
\caption{Example Table}
\label{tab:example}
\begin{tabular}{lccc}
\toprule
Method & Metric 1 & Metric 2 & Metric 3 \
\midrule
Baseline & 85.3 & 12.4 & 0.92 \
Method A & 87.1 & 11.8 & 0.95 \
\textbf{Ours} & \textbf{89.4} & \textbf{10.2} & \textbf{0.97} \
\bottomrule
\end{tabular}
\end{table}
EOF
**Notes:**
- If the original template already has table files, this step can be skipped
- The example table is only to prevent directory deletion; it can be deleted or replaced
- Reference tables in the paper using `\input{tables/example-table.tex}` or copy table content directly into section filescat > output/tables/example-table.tex << 'EOF'
% 示例表格文件
% 可删除或替换为你自己的表格
\begin{table}[h]
\centering
\caption{示例表格}
\label{tab:example}
\begin{tabular}{lccc}
\toprule
方法 & 指标1 & 指标2 & 指标3 \
\midrule
基线方法 & 85.3 & 12.4 & 0.92 \
方法A & 87.1 & 11.8 & 0.95 \
\textbf{本文方法} & \textbf{89.4} & \textbf{10.2} & \textbf{0.97} \
\bottomrule
\end{tabular}
\end{table}
EOF
**注意:**
- 若原模板已有表格文件,可跳过此步骤
- 示例表格仅用于防止目录被删除,可随时删除或替换
- 在论文中引用表格可使用`\input{tables/example-table.tex}`,或直接将表格内容复制到章节文件中Copy Bibliography
复制参考文献
bash
undefinedbash
undefinedCopy .bib files
复制.bib文件
find /tmp/latex-template-temp -type f -name "*.bib" -exec cp {} output/ ;
undefinedfind /tmp/latex-template-temp -type f -name "*.bib" -exec cp {} output/ ;
undefinedStep 6: Generate README
步骤6:生成README
Information Source Priority
信息来源优先级
- Conference link provided by user → Extract using WebFetch
- Template file comments → Extract from .tex files
- Default inference → Infer from
\documentclass
- 用户提供的会议链接 → 使用WebFetch提取
- 模板文件注释 → 从.tex文件中提取
- 默认推断 → 从推断
\documentclass
README Template
README模板
markdown
undefinedmarkdown
undefined[Conference Name] Submission Template
[会议名称] 投稿模板
Template Information
模板信息
- Conference: [Conference name]
- Website: [Conference link]
- Template version: [From template or website]
- Document class: [Extracted documentclass]
- 会议:[会议名称]
- 官网:[会议链接]
- 模板版本:[来自模板或官网]
- 文档类:[提取的documentclass]
Submission Requirements
投稿要求
Page and Format
页面与格式
- Page limit: [From website or template]
- Two-column/Single-column: [Detect layout]
- Font size: [10pt/11pt etc.]
- 页数限制:[来自官网或模板]
- 双栏/单栏:[检测到的布局]
- 字体大小:[10pt/11pt等]
Anonymity Requirements
匿名要求
- Blind review required: [Detect template mode]
- Author information handling: [Instructions]
- 是否需要盲审:[检测到的模板模式]
- 作者信息处理方式:[说明]
Compilation Requirements
编译要求
- Recommended compiler: [XeLaTeX/pdfLaTeX/LuaLaTeX]
- Special package requirements: [If any]
- 推荐编译器:[XeLaTeX/pdfLaTeX/LuaLaTeX]
- 特殊包要求:[如果有]
Overleaf Usage
Overleaf使用说明
Upload Steps
上传步骤
- Create a new project on Overleaf
- Upload the entire directory
output/ - Set compiler to [specified compiler]
- Click Recompile to test
- 在Overleaf上创建新项目
- 上传整个目录
output/ - 将编译器设置为[指定编译器]
- 点击重新编译测试
File Description
文件说明
- - Main file, start here
main.tex - - Section content, edit as needed
text/ - - Place images here
figures/ - - Place tables here
tables/ - - Style files, no modification needed
styles/ - - Bibliography database
references.bib
- - 主文件,从这里开始编辑
main.tex - - 章节内容,按需编辑
text/ - - 放置图片的目录
figures/ - - 放置表格的目录
tables/ - - 样式文件,无需修改
styles/ - - 参考文献数据库
references.bib
Common Operations
常用操作
Adding Images
添加图片
latex
\begin{figure}[h]
\centering
\includegraphics[width=0.8\linewidth]{figures/your-image.pdf}
\caption{Image caption}
\label{fig:your-label}
\end{figure}latex
\begin{figure}[h]
\centering
\includegraphics[width=0.8\linewidth]{figures/your-image.pdf}
\caption{图片说明}
\label{fig:your-label}
\end{figure}Adding Tables
添加表格
latex
\begin{table}[h]
\centering
\begin{tabular}{|c|c|}
\hline
Column 1 & Column 2 \\
\hline
Content 1 & Content 2 \\
\hline
\end{tabular}
\caption{Table caption}
\label{tab:your-label}
\end{table}latex
\begin{table}[h]
\centering
\begin{tabular}{|c|c|}
\hline
列1 & 列2 \\
\hline
内容1 & 内容2 \\
\hline
\end{tabular}
\caption{表格说明}
\label{tab:your-label}
\end{table}Adding References
添加参考文献
Add entries to and cite in text using .
references.bib\cite{key}在中添加条目,在正文中使用引用。
references.bib\cite{key}Notes
注意事项
- [Warnings extracted from template comments]
- [Important notes extracted from website]
undefined- [从模板注释中提取的警告]
- [从官网提取的重要说明]
undefinedExtract Information from Website (if user provided a link)
从网站提取信息(如果用户提供了链接)
Use WebFetch to get conference submission page content and extract:
- Page limits
- Anonymity requirements
- Format requirements
- Submission deadlines
使用WebFetch获取会议投稿页面内容,提取以下信息:
- 页数限制
- 匿名要求
- 格式要求
- 投稿截止日期
Step 7: Cleanup and Output
步骤7:清理并输出
bash
undefinedbash
undefinedClean up temporary files
清理临时文件
rm -rf /tmp/latex-template-temp
rm -rf /tmp/latex-template-temp
Output completion message
输出完成提示
echo "Template cleanup complete! Output directory: output/"
echo "Please upload the output/ directory to Overleaf to test compilation."
undefinedecho "模板清理完成!输出目录:output/"
echo "请将output/目录上传到Overleaf测试编译。"
undefinedError Handling
错误处理
| Error Scenario | Handling Approach |
|---|---|
| Main file not found | List all .tex files, let user choose |
| Dependency file missing | Warn user, attempt to locate from template directory |
| Cannot extract conference info | Use default info from template, mark as [To be confirmed] |
| Website inaccessible | Fall back to template comments, prompt user to fill in manually |
| Extraction failed | Prompt user to check .zip file integrity |
| 错误场景 | 处理方案 |
|---|---|
| 未找到主文件 | 列出所有.tex文件,让用户选择 |
| 依赖文件缺失 | 警告用户,尝试从模板目录中定位 |
| 无法提取会议信息 | 使用模板中的默认信息,标记为[待确认] |
| 网站无法访问 | 回退到模板注释中的信息,提示用户手动填写 |
| 解压失败 | 提示用户检查.zip文件完整性 |
Common Conference Template Types
常见会议模板类型
| Conference | Document Class | Notes |
|---|---|---|
| KDD (ACM SIGKDD) | | Anonymous submission requires |
| ACM Conferences | | Requires anonymous mode |
| CVPR/ICCV | | Two-column, strict page limits |
| NeurIPS | | Anonymous review, no page limit |
| ICLR | | Two-column, requires session info |
| AAAI | | Two-column, 8 pages + references |
| 会议 | 文档类 | 注意事项 |
|---|---|---|
| KDD (ACM SIGKDD) | | 匿名投稿需要添加 |
| ACM系列会议 | | 需要开启匿名模式 |
| CVPR/ICCV | | 双栏布局,严格页数限制 |
| NeurIPS | | 匿名评审,无页数限制 |
| ICLR | | 双栏布局,需要填写场次信息 |
| AAAI | | 双栏布局,8页正文+参考文献 |
KDD Anonymous Submission Configuration Notes
KDD匿名投稿配置注意事项
KDD 2026 uses the ACM acmart template and requires special configuration for anonymous submission:
Submission version (remove all ACM metadata footnotes):
latex
\documentclass[sigconf,anonymous,review,nonacm]{acmart}
\settopmatter{printacmref=false}
\setcopyright{none}
\acmConference[]{}{}{}
\acmYear{}
\acmISBN{}
\acmDOI{}Camera-ready version (restore ACM metadata):
latex
\documentclass[sigconf]{acmart}
\settopmatter{printacmref=true}
\setcopyright{acmcopyright}
\acmConference[KDD '26]{...}{...}{...}
\acmYear{2026}
\acmISBN{978-1-4503-XXXX-X/26/08}
\acmDOI{10.1145/nnnnnnn.nnnnnnn}KDD 2026使用ACM acmart模板,匿名投稿需要特殊配置:
投稿版本(移除所有ACM元数据脚注):
latex
\documentclass[sigconf,anonymous,review,nonacm]{acmart}
\settopmatter{printacmref=false}
\setcopyright{none}
\acmConference[]{}{}{}
\acmYear{}
\acmISBN{}
\acmDOI{}终稿版本(恢复ACM元数据):
latex
\documentclass[sigconf]{acmart}
\settopmatter{printacmref=true}
\setcopyright{acmcopyright}
\acmConference[KDD '26]{...}{...}{...}
\acmYear{2026}
\acmISBN{978-1-4503-XXXX-X/26/08}
\acmDOI{10.1145/nnnnnnn.nnnnnnn}Quick Reference
快速参考
Detect Document Type
检测文档类型
bash
undefinedbash
undefinedDetect document class
检测文档类
grep "\documentclass" main.tex
grep "\documentclass" main.tex
Detect anonymous mode
检测匿名模式
grep -i "anonymous|review|blind" main.tex
grep -i "anonymous|review|blind" main.tex
Detect page settings
检测页面设置
grep "pagelimit|pageLimit|page_limit" main.tex
undefinedgrep "pagelimit|pageLimit|page_limit" main.tex
undefinedCommon Cleanup Patterns
常用清理规则
bash
undefinedbash
undefinedRemove example files
删除示例文件
rm -f sample-* example-* demo-* test-*
rm -f sample-* example-* demo-* test-*
Remove temporary files
删除临时文件
rm -f *.aux *.log *.out *.bbl *.blg
undefinedrm -f *.aux *.log *.out *.bbl *.blg
undefined