# 从多个文件生成参考文献

有时候可能需要把多个子文件重新合并成一个主文件，此时虽然可以一个个的复制每个文章的内容成一个文献。但是如果文章过多的话，这种方法就很麻烦了。另外复制粘贴的方法得到的主文件也是不分章节的。EndNote 提供了一个更简单的方法处理这种情况。但是还是建议撰写文章就分成章节，这样可能更简单些，可以参阅或[一个文章内生成多个参考文献列表](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/cwyw/bibliographies/Creating_MultBibs_inaSingleDoc.htm)

**合并多个子文件为一个主文件时生成参考文献列表方法**

1. 首先在每个子文章中插入引文
2. 在 EndNote 工具栏选择「Convert to Unformatted Citations」转换为未格式化形式
3. 关闭所有文件
4. 新建一个主 Word 文件，选择大纲视图
5. 依次选择「显示文档」 >> 「插入」，选中上面的那些未格式化引文的文章。一个个的选择插入

   **注：**&#x5982;果在大纲视图中选择了「折叠子文档」，需要选中「展开子文档」，这样才能显示子文件的内容。另外所有文件的属性都应该是可读写，不能是只读状态
6. 在新文件中的 EndNote 工具栏，选择合适的输出格式，并格式化文献即可

EndNote 会在主文件的文末创建参考文献列表，但是可以在主文件中把参考文献放置任意位置，而且不受重新格式化输出格式的影响

**注：**&#x5982;果在主文件中选择的是「插入」 >> 「对象」 >> 「文件中的文字」也可以把子文件的内容插入到主文件中，并且也可以格式化，但是此时不会格式化子文件的引文

参阅[章节设置](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/cwyw/15Styles/Sections.htm)和[一个文件中创建多个参考文献列表](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/cwyw/bibliographies/Creating_MultBibs_inaSingleDoc.htm)，以及科研动力的[EndNote 同一文章的插入不同编号参考文献的方法](http://www.howsci.com/how-to-insert-citation-with-different-number.html)了解如何对参考文献进行分成多个列表或者合并


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.howsci.com/cwyw/bibliographies/creating-a-bibliography-from-multiple-documents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
