Code Monkey home page Code Monkey logo

gbt7714-2005-bibtex-style's Introduction

GBT7714-2005-BibTeX-Style

A GB/T 7714-2005 national standard compliant BibTeX style.

符合国家标准《GB/T 7714-2005: 文后参考文献著录规则》的BibTeX样式文件。具体的排版效果请参见测试文档

特色

支持的文献类型

  • 书籍:book
  • 汇编:collection
  • 会议录:proceedingsconference
  • 学位论文:phdthesismasterthesisbachelorthesis
  • 科技报告:techreport
  • 技术标准:standard
  • 参考工具:reference
  • 手册:manual
  • 未发表文献:unpublishedmanuscript
  • 期刊:periodical
  • 报纸:newspaper
  • 专利:patent
  • 网页:online
  • 计算机程序:program
  • 数据库:database
  • 书籍中的析出文献:inbook
  • 汇编中的析出文献:incollection
  • 会议录中的析出文献(会议论文):inproceedings
  • 期刊中的析出文献(期刊论文):article
  • 新闻报道:news

下载

安装

  1. 下载BST文件
  2. 将其复制到$(TEXMFLOCAL)/bibtex/bst/,其中$(TEXMFLOCAL)是你的机器上的本地的texmf目录,您可以通过执行kpsewhich --show-path=ls-R获得该目录路径;
  3. 通过执行texhash刷新texmf目录索引,注意执行该命令可能需要系统管理员权限;
  4. 如果您使用Linux或Mac OS X操作系统,您也可以通过项目所提供的Makefile脚本进行安装,只需在项目所在目录下运行以下命令:sudo make,注意需要通过sudo切换root权限。

使用

您只需在您的LaTeX源码中使用gbt7714-2005参考文献样式即可:

\bibliographystyle{gbt7714-2005}

更加具体的使用说明可参见用户手册

TODO

  • 完成BibTeX样式文件
  • 完成测试文档
  • 撰写用户手册

相关项目

gbt7714-2005-bibtex-style's People

Contributors

haixing-hu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gbt7714-2005-bibtex-style's Issues

若author项中有声调,则编译出错

@book{lamport1994latex,
author={Leslie \v{L}amport}, %此处使用\v,则编译报错
title={\LaTeX{} A Document Preparation System: User's Guide and Reference Manual},
year={1994},
edition={2},
address={Reading, Massachusetts},
publisher={Addison-Wesley},
}

报错信息:
Undefined control sequence. \bibauthor{\V{L}AMPORT L}

其他声调,如'等似乎没有问题

URL 前面换行吗?

嗨,我看到 GBT7714-2005 标准里给的示例,URL 之前都没有换行的。为什么 bst 里都加了 \newline

Cannot use "@misc"

I want to cite a url in my paper by using @misc,but GBT7714-2005-BibTeX-Style does not seem to support @misc.I know GBT7714-2005 does support citing url,so how do I achieve it? I previously use @misc with thubib.bst and it works well.

Best regards

Xiao

编码不对,不能正常运行

非常感谢作者的贡献。我的环境是wins10,下载下来用winedt打开后汉字是乱码,且运行test文件夹下的test.tex时不能正常运行,烦请指教。

和bibentry一起用会报错Undefined control sequence

我把bibentry和这个bst一起用,就报了形如如下的错,换成其他自带的bst(例如acm)就没有问题。有许多,我取了其中一个作为例子:

./chapter/Introduction.tex:3: Undefined control sequence.
<argument> \bibauthor 
                      {KEYAUTHOR}\@. \bibtitle {keyTitle}\bibmark {[J]}\@. \...
l.3     \bibentry{key}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

我这里面参考文献的token叫「key」,作者叫「keyAuthor」,标题叫「keyTitle」。

online无法使用

@Haixing-Hu 胡老师,你好!首先感谢你的模块文件。

问题描述:
我在 *.bib文件中插入了你示例中的online,如下所示:
@online{pacs1989, title={PACS-L: the public-access computer systems forum}, address={Houston, Tex}, publisher={University of Houston Libraries}, year={1989}, url={http://info.lib.uh.edu/pacsl.html}, citedate={1995-05-17}, }

使用 xelatex-bibtex-xelatex-xelatex 编译出错,错误提示如下:
main.bbl:303: Undefined control sequence. l.303 \newline\url {http://info.lib.uh.edu/pacsl.html}\@.

想请教一下该如何解决?谢谢

无法使用\bibentry命令

使用gbt7714-2005.bst,正文里用\bibentry会出错.
附件图片改名为bib就是测试的bib文件.
ref bib

\documentclass[UTF8,hyperref]{ctexbook}
\usepackage[super,sort&compress,square]{natbib}
\usepackage{bibentry}
\begin{document}
\bibliographystyle{plainnat} %用gbt7714-2005.bst就出错
\bibliography{Ref}
\section{论文}
\nobibliography*
\begin{enumerate}
\item \bibentry{faraon2010resonant} 
\item \bibentry{fu2008coupling}
\end{enumerate}
\end{document}

多个作者的格式问题

image

如图所示,当一个文献出现3个以上的作者时,出现et.al 而不是中文的“,等”
编译的时候我用的是下面的命令:
xelatex foo.tex
bibtex foo.aux
xelatex foo.tex
xelatex foo.tex
这个过程并没有出现错误信息,为什么会这样呢?

\bibmark

版本: Texlive2015
编辑:Emacs+AucTeX

编译示例test.tex时报错,错误指向到test.bbl:

\bibitem{patashnik1988bibdoc}
\bibauthor{PATASHNIK O}\@. \bibtitle{\BibTeX{}ing}\bibmark{[R]}\@.
  \bibyear{1988}\@.

光标定位在\bitmark,错误信息如下:

ERROR: Undefined control sequence.

--- TeX said ---
<argument> \BibTeX 
                   {}ing
l.636 ...r{PATASHNIK O}\@. \bibtitle{\BibTeX{}ing}
                                                  \bibmark{[R]}\@.

在test.bbl删除同类含bibmark字段的文献信息(patashnik1988bibdoc和patashnik1988bibhack)后,正常编译通过,并生成正确的编译结果。

在test.bib中查找这两项文献,发现具有共同特性——含latex指令。将指令删除后保存bib文件。再次编译后成功。

看来问题出在对题目中出现指令的情况。请看看问题出在哪里。感谢!

Possible to relicense under LPPL?

Is it possible to relicense the work under LPPL, which is commonly used in latex packages and classes? GPL is incompatible with LPPL, so that it is not practical for existing LPPL-licenced projects to reuse your work...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.