# RTF格式化基本步骤

下面介绍不借助 Microsoft® Word 或 OpenOffice.org Writer 的 Cite While You Write™ 功能格式化文章的方法

引文是从 EndNote 中复制文献并在文件中粘贴的一个过程，当撰写文章时，可以让 EndNote 在后台运行，因此容易在文字处理软件和 EndNote 之间想到切换。虽然可以在文中输入临时引文，但是多数作者发现在撰写的时候直接格式化文献方便的多

**注：**&#x683C;式化(Format Paper) 命令主要针对 [RTF ](/rtf.md)文件

可以查看相关例子：[EndNote 在 WPS 中的使用方法](http://www.howsci.com/endnote-used-with-wps.html)，[EndNote 在 Open Office 等开源 Office 软件中的使用方法](http://www.howsci.com/endnote-open-officelibreoffice-star-office-crossover-office.html)， [EndNote 在 Google Docs 中插入文献方法](http://www.howsci.com/endnote-used-with-google-docs.html)

### 文中插入文献

1. 打开 RTF 或者 ODT 文件，或者新建一个文件
2. 光标放置在引文的地方
3. 打开 EndNote，[并打开相应的数据库](/lib.md)
4. 选择文献
5. 「Ctrl+C」复制文献，在文件中「Ctrl+V」粘贴文献。或者可以直接把文献拖到文件中\
   文献会以临时引文的形式出现在文件，如：{Howsci, 2015 #125}\
   如果是多个文献，如下形式：{Howsci, 2015 #90; Brainu, 2015 #38}\
   \
   继续第2-5步，直到把全部引文都插完毕
6. 保存为 RTF 或者 ODT 文件
7. 关闭文件

### 格式化文献

1. 回到 EndNote
2. 依次打开菜单 Tools >> Format Paper >> Format Paper，找到刚才保存的文件并「打开」
3. 在打开[新窗口](/cwyw/citations.md)中确保 EndNote 可以找到所有引文相匹配的文献\
   \
   扫描过程中，EndNote 会定位引文，并在数据库中查找相应的文献。当扫描完成后，EndNote 显示相匹配的文献。格式化窗口会列举所找到文中所有引文相匹配的文献\
   \
   如果一个文献在文中引用多次，在格式化窗口中也会显示多次\
   \
   「Matches」列中显示的「1」意味着在数据库找到了相应的文献，如果是「0」或者不是「1」代表没有找到相匹配的文献，需要解决未匹配的引文
4. 「Output Styles」：选择一个输出格式；「Start Bibligography numbering with」：选择参考文献目录起始编号顺序\
   \
   「Output Styles」列表中显示的常用输出格式，可以选择「Select Another Style」选择其他格式，或者参阅[添加常用输出格式](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/10Word/Adding_Styles_tothe_OSLst.htm)把常用输出格式添加到菜单中
5. 选择「 Format 」
6. 另存为一个文件\
   \
   **重要！**&#x4E0D;要覆盖原始文件，另存为一个新文件
7. 打开新保存的文件就是格式化后版本了
8. 格式化的文件的引文和参考文献目录都已经根据输出格式格式化好了

### 修改文章

如果想修改文章，需要编辑原始未格式化的文件，然后再利用上面的方法格式化。详见[重格式化文件](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/rtf/Reformatting_a_Paper.htm)


---

# 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/rtf/basic-instructions.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.
