Skip to main content

Add pinyin keys to Chinese bib entries

Project description

说明

安装

pip install add_pinyin_key
python setup.py install

使用示例

add_pinyin_key demo.bib demo_mod.bib
% demo.bib
@article{_ct_2007,
 author = {严汉民 and 黄岗},
 date = {2007},
 journaltitle = {医疗设备信息},
 number = {12},
 pages = {1-5},
 title = {{{降低CT剂量的技术和方法探讨}}},
 urldate = {2018-04-18},
 volume = {22}
}
%demo_mod.bib
@article{_ct_2007,
 author = {严汉民 and 黄岗},
 date = {2007},
 journaltitle = {医疗设备信息},
 key = {yan2han4min2 and huang2gang3},
 number = {12},
 pages = {1-5},
 title = {{{降低CT剂量的技术和方法探讨}}},
 urldate = {2018-04-18},
 volume = {22}
}

注意如果输入的bib文件有类似于 month = jan 的字符串,你需要使用 --common-strings 选项。

add_pinyin_key --common-strings demo.bib demo_mod.bib

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

add-pinyin-key-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file add-pinyin-key-0.0.2.tar.gz.

File metadata

File hashes

Hashes for add-pinyin-key-0.0.2.tar.gz
Algorithm Hash digest
SHA256 90c79980e2e767735d4dbbabc09b8f0cf78534896033fab3385f4d65ffb0bc21
MD5 639ffae9215d3ea14014cbf1e67c0841
BLAKE2b-256 ea0034a85f8f9b212a940aa3e46efb94dd617469999519e4d749878e5b89e1b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page