Converting the NoteExpress (.net) file exported by CNKI (中国知网) to BibTeX (.bib) file.
将中国知网导出的 NoteExpress 文献记录转换成 BibTeX 文献记录。中文 README
pip install cnki2bib
Make sure it's in your PATH
.
cnki2bib [OPTIONS] [INPUTFILE]
Arguments:
INPUTFILE
:
Options:
-c, --copy / -nc, --no-copy
True
-od, --outputDefault / -nod, --no-outputDefault
True
-o, --outputfile FILENAME
-f, --id-format [title|nameyear]
title
~/.cnki2bib.cfg
. It is unnecessary to type this choice since then.--help
Start using BibTeX to manage the literature references.
You can find cnki2bib.exe
in your Python/Scripts and set it as the default program to open the .net file.
Then when you double-click a .net file, the corresponding BibTeX Entries will be copied to your clipboard, and a .bib file would be created on the same directory.
Use the console to check for Exception if it does not work as expected, and issue is welcomed.
You have to enable Flash to see the "Copy to clipboard" button.
Then just run cnki2bib
in the terminal. The corresponding BibTeX Entries will be copied to your clipboard, and an 'out.bib' file is created at the current directory.