# 移除域代码

### 注意事项

* 如果同事使用相同版本的 Word，可以直接分享格式化文件，此时文件的[漫游数据库](/cwyw/sharing/traveling-library.md)包含引文的所需信息
* 如果同事使用的 Word 版本不一样，分享时可能需要移除[域代码](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/cwyw/sharing/Field_Codes.htm)。但是移除域代码后引文和参考文献都不能再重新格式化
* 移除域代码意味着把引文和参考文献转换成了文本，并且移除的是 CWYW 的域代码，而不是 Word 的其他域代码
* 域代码移除后，图片引文不能与图片列表连接，文中的图片引文也成了纯文本
* 域代码移除后就不能再格式化引文，因此会把移除域代码的文件保存为一个备份，原始文件还在

**注：**&#x5982;果文件是主文件，并且有子文件，移除域代码时会提示原来的子文件也会移除域代码。因此首先要手动备份子文件

### 移除域代码的方法

1. 打开文件，**如果是主文件，先作好子文件备份**
2. 在 EndNote 的工具栏，依次选择 Convert Citations and Bibliography  >> Convert to Plain Text。此时会把移除域代码的文件另存为一个新文件
3. 保存

**注：**&#x5982;果想添加或者删除引文，或者重新格式化，需要在原文件上修改

### 移除 Word 所有域代码

如果发现移除域代码后生成的文件不是希望的格式，可以移除 Word 的所有域代码

1. 首先要备份一下文件，因为这个操作不可恢复
2. Ctrl+A 选择所有
3. Ctrl +6 会移除 Word 的所有域代码


---

# 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/sharing/removing-field-codes.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.
