重构 china-national-standard-gb-t-7714-2015-numeric.csl #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
现版本的
china-national-standard-gb-t-7714-2015-*.csl
与国标的格式有许多差异。我在另一个仓库整理了国标的大部分示例 gbt7714-numeric.txt,以及结构化的 CSL-JSON 输入数据 gbt7714-numeric-data.json(可导入 Zotero,先前版本导入失败是因为用了 CSL v1.0.2 新增的文献类型)。 现版本 CSL 输出的参考文献与国标的格式对比:https://github.com/zepinglee/china-national-standard-gb-t-7714-2015/compare/standard...original,其中未使用 CSL-M 的多语言功能。重构后的 CSL 生成的参考文献与国标的对比:zepinglee/china-national-standard-gb-t-7714-2015@standard...main,其中还有一些差异,但据我了解在目前 CSL v1.0.1 的版本下应该无法实现。
以下是主要修改的记录(用英文写的,应该不需要翻译)。
page-range-delimiter
to hyphen as specified in the standard, which is similar to Vancouver style.report
type.et-al
term in Chinese, which is required by the standard.