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)
- 如何给 参考文献中的会议年份数字加粗? HOT 2
- 如何保留原始杂志名字? HOT 8
- 一处手册笔误 HOT 3
- 用法:特殊字符映射问题--\textquotesingle 似乎被转为了别的字符 HOT 5
- 关于 `CCNUthesis.bbx` 的后续格式调整 HOT 19
- 每篇参考文献不用标点做结束符 HOT 3
- 连续出版物条目在缺失 journal 字段时,没有省略其后的标点。 HOT 1
- 关于gb7714-NWAFU.bbx中gbnamefmt调整的问题 HOT 4
- 老的ctex套装使用biblatex-gb7714-2015 报错问题 HOT 7
- 引用多篇参考文献取消压缩的问题 HOT 1
- 用法:中英文参考文献分开显示,且手动设置文献序号 HOT 3
- 用法:修改斜杠字符的字体族和调整括号的垂直位置 HOT 10
- 会议论文这种格式:“篇名[A]. // 论文集名称[C]”怎么实现? HOT 3
- 请求拆分 `gbfootbib` 选项 HOT 5
- 如何在一个cite中同时加入顺序编码和著者年份 HOT 3
- 如何去除参考文献后的"."如xxx.[J]. xxx HOT 3
- 用法:中英文混排时标注标签根据文献语言显示显示“等”与“et al.”和中英文标点 HOT 23
- 用法:移除\citeauthor*等引用命令引用中文文献时的标注标签中的作者姓名和等之间的空隙 HOT 5
- \citet 数字与右括号有多余空白 HOT 2
- 用法:双语对照文献-计算机学报 HOT 12
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.