Paper Formatting: a Tokeny case study
Auto-format paper content according to specific standards (APA, MLA, national standards). Follow the recorded task, execution screenshots, actual files and verification notes.
By the Tokeny team · Windows · Tokeny 1.7.8 · gpt-6-sol
Prepare the inputs
Create a separate workspace in Tokeny, download and unpack the sample inputs, then select a model that supports tools. The sample uses synthetic data or the public sources named in the article.
- paper.md
Send the task to Tokeny
The original task was executed in Chinese. Copying these instructions reproduces the same task; the results below include an English report.
将演示论文整理成 APA 风格 Word 草稿,包含标题、摘要、层级标题和参考文献;只用提供的信息,不创建 DOI 或不存在的文献。 交付文件:paper-formatted.docx、format-notes.md。 验收要点: - 保留教学样例与局限 - 不伪造文献元数据 - 注明需按投稿方要求复核格式 这是使用合成演示输入或指定公开资料的真实操作案例。请先读取工作空间输入,再实际生成文件并自检。所有写入、脚本与临时服务限于当前工作空间;临时服务只监听 127.0.0.1,执行后关闭;不触达外部收件人、不发布、不付款、不更改系统设置,不调用子智能体。需要公开资料时可读取给定 URL。只启用完成任务必需的工具。另写 report.md(中文)和 report.en.md(英文),简洁、完整,包含输入、处理步骤、真实结果、检查方式和局限;失败或未验证部分如实记录,不能宣称成功。最终回复用中文列出产物、关键结果与待核实项。 排版检查:Word 主标题仅出现一次,标题为黑色且与后续正文或表格保持同页;Excel 表头和长文字不能被窄列截断,合理设置列宽、换行、行高;HTML 在 390px 视口不能整页横向溢出。报告没有固定字数要求,不要为字数反复改写。
The recorded run used an isolated demonstration workspace. Review the commands and file paths before approving operations in your own workspace.
What actually ran
The task was submitted through the Tokeny input box. An online model read the inputs and executed tools. This run covers the local sample task and its actual files. Results and checks are recorded below.
Results and verification
Input
The workspace input files paper.md and ENVIRONMENT.md were read. paper.md contains a Chinese demonstration paper with the title “睡眠与学习习惯观察(教学样例),” the author label “示例研究组,” an abstract, methods, discussion, and one supplied reference: OpenStax (2023). The input explicitly states that the exercise uses 8 synthetic records and cannot support medical conclusions. The discussion states that the sample is small and not randomly sampled.
Processing Steps
- Preserved the supplied title, author label, abstract, methods, discussion, and reference.
- Added a hierarchy heading for the teaching-example limitations, retaining the synthetic-data, sample-size, and non-generalizability limits without inventing new findings.
- Created
paper-formatted.docxas an APA-style draft using Letter size, 1-inch margins, Times New Roman 12-point text, double spacing, page numbers, hierarchical headings, and a hanging-indent reference entry. - Created
format-notes.mddocumenting the formatting decisions, missing metadata, and items requiring review against the target submission requirements. - Created this English report and
report.md.
Actual Results
Generated files:
paper-formatted.docxformat-notes.mdreport.mdreport.en.md
The main title appears once, is black, and is kept on the same page as the abstract. The reference list contains only the OpenStax item supplied in the input; no DOI or nonexistent bibliographic metadata was created.
Checks Performed
- Used
python-docxto inspect document structure, paragraph styles, heading paragraphs, page margins, font size, line spacing, title count, and reference text. - Used Pandoc to extract text from the DOCX and confirm that the title, abstract, methods, discussion, limitations, and references are present.
- Inspected the DOCX ZIP/XML package for integrity, confirmed that the main title occurs once, and confirmed that no DOI string was inserted.
- Confirmed that the generation script and temporary files are contained in the workspace directory
.tmp/tokeny/paper-format/.
Limitations and Items to Verify
LibreOffice is not available in the current environment, so no PDF conversion or page-by-page visual rendering was performed; visual formatting must not be treated as fully verified. Review the title page, abstract format, page numbering, font, citation rules, and reference-list details in Word or the target submission template. The input did not provide publisher, edition, expanded author information, or DOI metadata, so none was added.
Download and inspect the outputs
The archive contains the files created during this run. Use these checks when adapting the example to your own data.
- Reconcile the reported results against the downloadable sample inputs.
- Open the generated files and check the contents relevant to your task.
- Review the limitations and any unverified steps in the report.

