Comments (6)
我理解一下你的问题,文献表要顺序编码,但文献又有分文种排序的需要。
要实现顺序编码,那么需要使用顺序编码制。又要实现排序,那么可以通过排序选项来实现。之前由于没有需求,所以一些排序选项没有在顺序编码制中定义,但作者年制中都是有的,但由于时间有限,我下面给出一个简单的实现,先解决问题。下一步再增加这些选项,那样就不用在导言定义了。尽管这种需求比较少见。
比如:
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{toolbox}
\usepackage{hyperref}
\usepackage{lipsum}
\usepackage[top=10pt,bottom=10pt,left=1cm,right=1cm,showframe,showcrop]{geometry}
\usepackage[backend=biber,style=gb7714-2015,sorting=gb7714-2015,gblanorder=chineseahead,sortlocale=zh__pinyin]{biblatex}
\makeatletter
\DeclareSortingTemplate{gb7714-2015}{
\sort{
\field{presort}
}
\sort[final]{
\field{sortkey}
}
\sort{
\field{language}%language
}
\sort{%[direction=descending]
\field{sortname}
\field{author}
\field{editor}
\field{translator}
}
\sort{
\field{sortyear}
\field{year}
}
\sort{
\field{sorttitle}
\field{title}
}
\sort{
\field{volume}
\literal{0}
}
}
\makeatother
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@patent{IEEEexample:jppat,
author = "U. Hideki",
title = "Quadrature Modulation Circuit",
type = "patentjp",
number = "152932/92",
year = "1992-05-20"
}
@patent{IEEEexample:frenchpatreq,
author = "F. Kowalik and M. Isard",
title = "Estimateur d'un D{\'e}faut de Fonctionnement
d'un Modulateur en Quadrature et {\'E}tage de Modulation
l'Utilisant",
language = "french",
type = "French Patent Request",
number = "9500261",
year = "1995-01-11"
}
@patent{IEEEexample:uspat,
author = "Ronald E. Sorace and Victor S. Reinhardt and
Steven A. Vaughn",
holder = "Hughes Aircraft Company",
location = "Los Angeles, CA",
title = "High-Speed Digital-to-{RF} Converter",
type = "patentus",
number = "5668842",
yearfiled = "1995-02-28",
year = "1997-09-16",
}
@inbook{IEEEexample:repeatedauthorone,
author = "W. Dai and H. V. Pham and O. Milenkovic",
title = "Distortion-rate functions for quantized compressive sensing",
booktitle =
"IEEE Information Theory Workshop on Networking and Information Theory",
year = "2009"
}
@inbook{IEEEexample:repeatedauthortwo,
author = "W. Dai and H. V. Pham and O. Milenkovic",
title = "comparative study of quantized compressive sensing schemes",
booktitle =
"IEEE Information Theory Workshop on Networking and Information Theory",
year = "2009"
}
@thesis{IEEEexample:masterstype,
author = "A. Karnik",
title = "Performance of {TCP} Congestion Control with Rate
Feedback: {TCP/ABR} and Rate Adaptive {TCP/IP}",
institution = "Indian Institute of Science",
type = "M. Eng. thesis",
location = "Bangalore, India",
year = "1999-01"
}
@ARTICLE{方军雄2007,
AUTHOR = {方军雄},
DATE = {2007},
JOURNALTITLE = {经济研究},
PAGES = {82--92},
TITLE = {所有制, 制度环境与信贷资金配置},
VOLUME = {12},
}
@ARTICLE{李晓西1994,
AUTHOR = {李晓西},
DATE = {1994},
JOURNALTITLE = {经济研究},
KEYWORDS = {李晓西1994转轨过程中的结构性通货膨胀},
NUMBER = {10},
PAGES = {28--32},
TITLE = {转轨过程中的结构性通货膨胀},
}
@ARTICLE{刘凤良2017,
AUTHOR = {刘凤良 and 章潇萌 and 于泽},
DATE = {2017},
JOURNALTITLE = {金融研究},
KEYWORDS = {刘凤良2017},
NUMBER = {2},
PAGES = {54--69},
TITLE = {高投资、结构失衡与价格指数二元分化},
}
@ARTICLE{楼继伟2016,
AUTHOR = {楼继伟},
DATE = {2016},
JOURNALTITLE = {求是},
KEYWORDS = {楼继伟2016改革},
NUMBER = {1},
PAGES = {24--26},
TITLE = {**经济最大潜力在于改革},
}
@ARTICLE{吕捷2015cpi,
AUTHOR = {吕捷 and 王高望},
DATE = {2015},
JOURNALTITLE = {经济研究},
KEYWORDS = {吕捷2015cpi},
PAGES = {011},
TITLE = {CPI 与 PPI “背离” 的结构性解释},
VOLUME = {4},
}
\end{filecontents}
\addbibresource{\jobname.bib}
%
\begin{document}
\section{顺序编码加分文中排序}
%\csuse{mkdaterangegb7714-2015}{abc}
created with biblatex v\versionofbiblatex, last revised at \today;\\ \hspace*{1.5em} Style Files (gb7714-2015*.*) have version number: \versionofgbtstyle.
文献\cite{楼继伟2016,吕捷2015cpi}
文献\cite{IEEEexample:jppat,IEEEexample:frenchpatreq}
文献\cite{IEEEexample:uspat,
IEEEexample:repeatedauthorone}
文献\cite{IEEEexample:repeatedauthortwo,
IEEEexample:masterstype}
文献\cite{方军雄2007,李晓西1994}
\printbibliography
\end{document}
结果为:
from biblatex-gb7714-2015.
如果文献表中不加入,编码,那么更简单:
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{toolbox}
\usepackage{hyperref}
\usepackage{lipsum}
\usepackage[top=10pt,bottom=10pt,left=1cm,right=1cm,showframe,showcrop]{geometry}
\usepackage[backend=biber,bibstyle=gb7714-2015ay,citestyle=gb7714-2015]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@patent{IEEEexample:jppat,
author = "U. Hideki",
title = "Quadrature Modulation Circuit",
type = "patentjp",
number = "152932/92",
year = "1992-05-20"
}
@patent{IEEEexample:frenchpatreq,
author = "F. Kowalik and M. Isard",
title = "Estimateur d'un D{\'e}faut de Fonctionnement
d'un Modulateur en Quadrature et {\'E}tage de Modulation
l'Utilisant",
language = "french",
type = "French Patent Request",
number = "9500261",
year = "1995-01-11"
}
@patent{IEEEexample:uspat,
author = "Ronald E. Sorace and Victor S. Reinhardt and
Steven A. Vaughn",
holder = "Hughes Aircraft Company",
location = "Los Angeles, CA",
title = "High-Speed Digital-to-{RF} Converter",
type = "patentus",
number = "5668842",
yearfiled = "1995-02-28",
year = "1997-09-16",
}
@inbook{IEEEexample:repeatedauthorone,
author = "W. Dai and H. V. Pham and O. Milenkovic",
title = "Distortion-rate functions for quantized compressive sensing",
booktitle =
"IEEE Information Theory Workshop on Networking and Information Theory",
year = "2009"
}
@inbook{IEEEexample:repeatedauthortwo,
author = "W. Dai and H. V. Pham and O. Milenkovic",
title = "comparative study of quantized compressive sensing schemes",
booktitle =
"IEEE Information Theory Workshop on Networking and Information Theory",
year = "2009"
}
@thesis{IEEEexample:masterstype,
author = "A. Karnik",
title = "Performance of {TCP} Congestion Control with Rate
Feedback: {TCP/ABR} and Rate Adaptive {TCP/IP}",
institution = "Indian Institute of Science",
type = "M. Eng. thesis",
location = "Bangalore, India",
year = "1999-01"
}
@ARTICLE{方军雄2007,
AUTHOR = {方军雄},
DATE = {2007},
JOURNALTITLE = {经济研究},
PAGES = {82--92},
TITLE = {所有制, 制度环境与信贷资金配置},
VOLUME = {12},
}
@ARTICLE{李晓西1994,
AUTHOR = {李晓西},
DATE = {1994},
JOURNALTITLE = {经济研究},
KEYWORDS = {李晓西1994转轨过程中的结构性通货膨胀},
NUMBER = {10},
PAGES = {28--32},
TITLE = {转轨过程中的结构性通货膨胀},
}
@ARTICLE{刘凤良2017,
AUTHOR = {刘凤良 and 章潇萌 and 于泽},
DATE = {2017},
JOURNALTITLE = {金融研究},
KEYWORDS = {刘凤良2017},
NUMBER = {2},
PAGES = {54--69},
TITLE = {高投资、结构失衡与价格指数二元分化},
}
@ARTICLE{楼继伟2016,
AUTHOR = {楼继伟},
DATE = {2016},
JOURNALTITLE = {求是},
KEYWORDS = {楼继伟2016改革},
NUMBER = {1},
PAGES = {24--26},
TITLE = {**经济最大潜力在于改革},
}
@ARTICLE{吕捷2015cpi,
AUTHOR = {吕捷 and 王高望},
DATE = {2015},
JOURNALTITLE = {经济研究},
KEYWORDS = {吕捷2015cpi},
PAGES = {011},
TITLE = {CPI 与 PPI “背离” 的结构性解释},
VOLUME = {4},
}
\end{filecontents}
\addbibresource{\jobname.bib}
%
\begin{document}
\section{顺序编码加分文中排序}
%\csuse{mkdaterangegb7714-2015}{abc}
created with biblatex v\versionofbiblatex, last revised at \today;\\ \hspace*{1.5em} Style Files (gb7714-2015*.*) have version number: \versionofgbtstyle.
文献\cite{楼继伟2016,吕捷2015cpi}
文献\cite{IEEEexample:jppat,IEEEexample:frenchpatreq}
文献\cite{IEEEexample:uspat,
IEEEexample:repeatedauthorone}
文献\cite{IEEEexample:repeatedauthortwo,
IEEEexample:masterstype}
文献\cite{方军雄2007,李晓西1994}
\printbibliography
\end{document}
结果为:
from biblatex-gb7714-2015.
两种选择你自己选
from biblatex-gb7714-2015.
注意文献表最后一条问文献为法语文献,所以排在后面。
from biblatex-gb7714-2015.
很高兴能够怎么看收到您的回复,已按照您的方法实现想要的效果,非常感谢各位大佬在这项工作上的付出,祝好
from biblatex-gb7714-2015.
1.0t 版本以后,顺序编码制,也可直接使用sorting选项即:
sorting=gb7714-2015
来实现需要的按文种和拼音排序
from biblatex-gb7714-2015.
Related Issues (20)
- 专利显示多余的内容:参考文献中显示bib文件中的 type = {patent}, HOT 1
- 在学位论文上 url=false 命令失效 HOT 4
- 对“参考文献”进行章节编号 HOT 3
- 会议论文集格式
- 会议论文集格式 HOT 6
- 著者-出版制的日期格式 HOT 5
- 一种法学类文献样式--如何实现这种注释要求 HOT 26
- 中英文文献中 unicode 引号的处理 HOT 7
- 在通过 Pandoc 转换的 LaTeX 文档中使用 biblatex-gb7714-2015 时,\autocites 多重引用产生了多余的括号 HOT 14
- 使用了gbcitelabel = quanjiao设定引用处的标点符号之后,括号前后的间距不一样。 HOT 3
- 南开大学硕/博模板中如何将[J]前的.去除 HOT 1
- [样式请求] 顺序编码制 + `\parencite` 输出的页码是非上标 HOT 2
- 英文译者 `Trans. by` 后没有空格 HOT 2
- 警告:`byeditor+others` 已定义 HOT 2
- 关于增加 `file` 域来链接本地文件的问题 HOT 18
- `parencite` 失去超链接 HOT 4
- `\parencite[]{}` 的 `[]` 输入页码时的空格问题 HOT 2
- 著者-出版年制期刊名与期中间不应有逗号 HOT 3
- 西文作者名包含短横线 hyphen 的缩写问题 HOT 12
- `incollection` 中作者和编者相同时编者未显示 HOT 1
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.