Comments (3)
\documentclass{ctexart}
\usepackage[backend=biber,style=gb7714-2015]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Ma2006Analyse, title={Analyse and Research of Makefile Base on Linux 2.6}, author={Ma, X}, journal={CONTROL AND AUTOMATION}, volume={166}, pages={232}, year={2006}, publisher={Weijisuanji Xinxi Zazhishe} }
@article{Ma2006Analyse2, title={Analyse and Research of Makefile Base on Linux 2.6}, author={Ma, X}, volume={166}, pages={232}, year={2006}, publisher={Weijisuanji Xinxi Zazhishe} }
@ARTICLE{常森2013--,
author = {常森},
title = {《五行》学说与《荀子》},
Journaltitle = {北京大学学报(哲学社会科学版)},
DATE = {2013},
VOLUME = {50},
number = {1},
pages = {75},
}
@ARTICLE{常森2013a--,
author = {常森},
title = {《五行》学说与《荀子》},
DATE = {2013},
VOLUME = {50},
number = {1},
pages = {75},
}
\end{filecontents}
\addbibresource[location=local]{\jobname.bib}
\defbibcheck{cnreference}{\iffieldequalstr{userd}{english}{}}
\defbibcheck{enreference}{\iffieldequalstr{userd}{chinese}{}}
\begin{document}%正文区开始:
\nocite{*}
%打印参考文献表
\printbibliography[heading=bibliography,check=cnreference,title=参考文献]
\printbibliography[heading=bibliography,check=enreference,title=Reference]
\end{document}
from biblatex-gb7714-2015.
非常感谢!!
还有个问题是中英文文献是同一篇,分开打印的时候编号要相同话又该怎么解决呢?
假设"常森2013a--" 和 "Ma2006Analyse"是同一篇论文,只是语言不同
显示后应该是
参考文献
[1] xxxx
...
[5] Ma2006Analyse
[6] xxxx
...
(英文是正常按顺序编号的)
附中文参考文献
[5] 常森2013a--
(这里只需显示对应的中文参考文献就行)
from biblatex-gb7714-2015.
可以这样手动处理:
(1)将下面这句加入:系统中gb7714-2015.bbx文件中
\DeclareDatamodelFields[type=field,datatype=integer]{refnumber}
(2) 在需要指定序号的文献中加入一个refnumber域
比如:
@ARTICLE{常森2013--,
author = {常森},
title = {《五行》学说与《荀子》},
Journaltitle = {北京大学学报(哲学社会科学版)},
DATE = {2013},
VOLUME = {50},
number = {1},
pages = {75},
refnumber={5}
}
(3) 在te文件按如下例子处理:
\documentclass{ctexart}
\usepackage[backend=biber,style=gb7714-2015]{biblatex}
%\DeclareDatamodelFields[type=field,datatype=integer]{refnumber}
\defbibenvironment{bibnumber}
{\list
{\printtext[labelnumberwidth]{%
\printfield{refnumber}}}
{\addtolength{\labelnumberwidth}{\biblabelextend}%
\setlength{\labelwidth}{\labelnumberwidth}%
\setlength{\labelsep}{\biblabelsep}%
\setlength{\bibhang}{\biblabelsep}%
\addtolength{\bibhang}{\labelnumberwidth}%
\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{\bibitemindent}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{\hss##1}}
{\endlist}
{\item}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Ma2006Analyse, title={Analyse and Research of Makefile Base on Linux 2.6}, author={Ma, X}, journal={CONTROL AND AUTOMATION}, volume={166}, pages={232}, year={2006}, publisher={Weijisuanji Xinxi Zazhishe} }
@article{Ma2006Analyse2, title={Analyse and Research of Makefile Base on Linux 2.6}, author={Ma, X}, volume={166}, pages={232}, year={2006}, publisher={Weijisuanji Xinxi Zazhishe} }
@ARTICLE{常森2013--,
author = {常森},
title = {《五行》学说与《荀子》},
Journaltitle = {北京大学学报(哲学社会科学版)},
DATE = {2013},
VOLUME = {50},
number = {1},
pages = {75},
refnumber={5}
}
@ARTICLE{常森2013a--,
author = {常森},
title = {《五行》学说与《荀子》},
DATE = {2013},
VOLUME = {50},
number = {1},
pages = {75},
refnumber={7}
}
\end{filecontents}
\addbibresource[location=local]{\jobname.bib}
\defbibcheck{cnreference}{\iffieldequalstr{userd}{english}{}}
\defbibcheck{enreference}{\iffieldequalstr{userd}{chinese}{}}
\begin{document}%正文区开始:
\nocite{*}
%打印参考文献表
\printbibliography[env=bibnumber,heading=bibliography,check=cnreference,title=参考文献]
\printbibliography[heading=bibliography,check=enreference,title=Reference]
\end{document}
from biblatex-gb7714-2015.
Related Issues (20)
- 用法:gbnamefmt=givenahead情况下拼音姓名中存在dash,hypen的处理
- 英文名字以van开头,文末参考文献将 HOT 20
- 让文档标题部分的日期,随发布日期或最新修改日期更新? HOT 3
- volume填入非数字的问题 HOT 2
- 关于 *leftparen/*rightparen 的疑问,以及增加 gbcitelabel 选项的建议 HOT 7
- 如何在会议论文集([C])的析出文献中加入主办学会信息? HOT 2
- 修改作者字体格式后,第一条参考文献前出现不期望的缩进 HOT 2
- 用法:能否取消中文文献样式“等”前的空格? HOT 3
- 引用格式怎么变成[1],[2]这种 HOT 2
- 在选用bibstyle = gb7714-2015ay格式排列文献条目时,如何输出图书所在丛书及其序号? HOT 7
- 文献类型为@mvbook,书名后未能输出[M]? HOT 3
- 知网 网址信息太长 HOT 2
- \setcounter{gbrefcompress}{3}命令报错No counter 'gbrefcompress' defined. HOT 2
- 专利显示多余的内容:参考文献中显示bib文件中的 type = {patent}, HOT 1
- 在学位论文上 url=false 命令失效 HOT 4
- 对“参考文献”进行章节编号 HOT 3
- 会议论文集格式
- 会议论文集格式 HOT 6
- 著者-出版制的日期格式 HOT 5
- 一种法学类文献样式--如何实现这种注释要求 HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biblatex-gb7714-2015.