zepinglee / gbt7714-bibtex-style

GB/T 7714-2015 BibTeX Style
LaTeX Project Public License v1.3c
1.18k stars 198 forks source link

gbt7714-2005-author-year 调整为英文在前,中文在后 #111

Closed henie5 closed 1 year ago

henie5 commented 1 year ago

编译环境

宏包版本:gbt7714 v2.1.5 标注样式:authoryear

描述问题

gbt7714-2005-author-year模板得到的是中文在前、英文在后的参考文献。如何按照英文在前、中文在后调整参考文献? P.S. gbt7714-author-year(2015版本)参考文献格式不符合要求,所以希望尽可能在gbt7714-2005-author-year的基础上修改。

bib 数据库代码:

@article{Zhu2017,
author = {Zhu, Bangzhu and Han, Dong and Wang, Ping and Wu, Zhanchi and Zhang, Tao and Wei, Yi Ming},
issn = {03062619},
journal = {Applied Energy},
pages = {521--530},
publisher = {Elsevier Ltd},
title = {{Forecasting carbon price using empirical mode decomposition and evolutionary least squares support vector regression}},
volume = {191},
year = {2017}
}
@article{paolella2008econometric,
author = {Paolella, Marc S. and Taschini, Luca},
issn = {03784266},
journal = {Journal of Bank Finance},
number = {10},
pages = {2022--2032},
publisher = {Elsevier},
title = {{An econometric analysis of emission allowance prices}},
volume = {32},
year = {2008}
}
@article{mhm2016,
   key={Ma Hui Min},
   author = {马慧敏 and 赵静秋},
   title = {碳排放权交易价格影响因素实证分析——基于北京市碳排放交易所数据},
   journal = {财会月刊},
   number = {29},
   pages = {22-26},
   ISSN = {1004-0994},
   year = {2016},
   language = {Chinese}
}
@MastersThesis{dwj2019,
    key={Dao Wen Jing},
   author = {道文静},
   title = {基于VAR模型的中国碳金融交易价格影响因素分析},
   address    = {河南},
   school = {河南大学},
   type = {硕士},
   year = {2019},
   language    = {Chinese}
}
@article{ljy2019,
   key={Lv Jing Ye},
   author = {吕靖烨 and 杨华 and 郭泽},
   title = {基于GA-RS的中国碳排放权价格影响因素的分解研究},
   journal = {生态经济},
   volume = {35},
   number = {11},
   pages = {42-47},
   year = {2019},
   language    = {Chinese}
}

正文代码:

    \documentclass{ctexart}
    \usepackage{gbt7714}
    \begin{document}
     英文参考文献  \cite{Zhu2017,paolella2008econometric}

    中文参考文献 \cite{dwj2019,ljy2019,mhm2016}
    \setcitestyle{numbers}
    \bibliographystyle{gbt7714-2005-author-year}
      \bibliography{mybib}
    \end{document}

得到的截图(中文在前,英文在后): image 预期得到的截图(中文在后,英文在前): image

谢谢大佬!

zepinglee commented 1 year ago

gbt7714-2005-author-year模板得到的是中文在前、英文在后的参考文献。如何按照英文在前、中文在后调整参考文献?

这里定义了各个语言的顺序。

https://github.com/zepinglee/gbt7714-bibtex-style/blob/7ab18f49f77a34a9f993160b4273dfff6c22f149/gbt7714-2005-author-year.bst#L98-L102

gbt7714-author-year(2015版本)参考文献格式不符合要求

怎么“不符合要求”?

henie5 commented 1 year ago

谢谢大佬,我发现了哈哈。我们学校的参考文献要求的是2005版本的,年份在后面。2015版本的不符合我们学校的要求。