Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[wiki] 缺少 biblatex-gb7714-2015 包导致参考文献编译失败 #191

Closed
shaheming opened this issue May 12, 2017 · 3 comments
Closed

Comments

@shaheming
Copy link

我用 mac 运行你这个程序 系统是 mac serria 安装了最新的 maclatex 在运行如下命令时出现如下结果

Latexmk: Failure to make the files correctly 但是最后能够得到 pdf 版本。

 make pvc

latexmk -xelatex -gg -silent -pvc thesis

Viewing pdf

Latexmk: Run number 1 of rule 'pdflatex'

This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016) (preloaded format=xelatex)

 restricted \write18 enabled.

entering extended mode

Latexmk: Summary of warnings:

  Latex failed to resolve 30 reference(s)

Latexmk: Failure to make the files correctly

    ==> You will need to change a source file before I do another run <==

Collected error summary (may duplicate other messages):

  pdflatex: Command for 'pdflatex' gave return code 256

我用你说的办法去一步步编译出现以下结果

! Package biblatex Error: Style 'gb7714-2015' not found.

我尝试了 google 以下但是实在没搞明白改怎么解决这个问题,希望得到你们的帮助。

具体代码如下

xelatex -no-pdf thesis

This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016) (preloaded format=xelatex)

 restricted \write18 enabled.

entering extended mode

(./thesis.tex

LaTeX2e <2016/03/31>

Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.

(./sjtuthesis.cls

Document Class: sjtuthesis 2016/04/06 v0.9 Shanghai Jiao Tong University Templa

te

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/ctexbook.cls

(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code.tex)

(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def))

Document Class: ctexbook 2016/05/16 v2.4.2 Chinese adapter for class book (CTEX

)

(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/ctexhook.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/ctexpatch.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/base/fix-cm.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ts1enc.def))

(/usr/local/texlive/2016/texmf-dist/tex/latex/ms/everysel.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/config/ctexopts.cfg)

(/usr/local/texlive/2016/texmf-dist/tex/latex/base/book.cls

Document Class: book 2014/09/29 v1.4h Standard LaTeX document class

(/usr/local/texlive/2016/texmf-dist/tex/latex/base/bk10.clo))

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def

(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xecjk/xeCJK.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.st

y) (/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/euenc/eu1enc.def)

(/usr/local/texlive/2016/texmf-dist/tex/latex/euenc/eu1lmr.fd))

(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xunicode/xunicode.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/tipa/t3enc.def

(/usr/local/texlive/2016/texmf-dist/tex/latex/euenc/eu1lmss.fd))

(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)

(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xetex-def/xetex.def

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))))

(/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec.cfg)))

(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty)

(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xunicode/xunicode.sty

* Reloading Xunicode for encoding 'EU1' *

) (/usr/local/texlive/2016/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def)

(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg))

(/usr/local/texlive/2016/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty

(/usr/local/texlive/2016/texmf-dist/tex/generic/ulem/ulem.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/environ/environ.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/trimspaces/trimspaces.sty))

(/usr/local/texlive/2016/texmf-dist/tex/latex/cjk/texinput/CJKfntef.sty)))

(/usr/local/texlive/2016/texmf-dist/tex/latex/zhnumber/zhnumber.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/zhnumber/zhnumber-utf8.cfg))

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-b

ook.def

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/config/ctex-name-utf8.cfg))

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/ctex-c5size.clo)

(/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-adobe.d

ef)) (/usr/local/texlive/2016/texmf-dist/tex/latex/ctex/config/ctex.cfg)

(/usr/local/texlive/2016/texmf-dist/tex/latex/geometry/geometry.sty

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty)

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifvtex.sty)

(/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty))

(/usr/local/texlive/2016/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/lastpage/lastpage.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/metalogo/metalogo.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/base/doc.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/multicol.sty))

(/usr/local/texlive/2016/texmf-dist/tex/latex/threeparttable/threeparttable.sty

) (/usr/local/texlive/2016/texmf-dist/tex/latex/tools/dcolumn.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/array.sty))

(/usr/local/texlive/2016/texmf-dist/tex/latex/multirow/multirow.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/booktabs/booktabs.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/mathtools/mathtools.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/calc.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/mathtools/mhsetup.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsmath.sty

For additional information on amsmath, use the `?' option.

(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amstext.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsgen.sty))

(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsbsy.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsopn.sty)))

(/usr/local/texlive/2016/texmf-dist/tex/latex/amscls/amsthm.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/amsfonts/amsfonts.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/amsfonts/amssymb.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/bm.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/jknapltx/mathrsfs.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/was/upgreek.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/subfigure/subfigure.sty

---

- Local config file subfigure.cfg used *

---

(/usr/local/texlive/2016/texmf-dist/tex/latex/subfigure/subfigure.cfg))

(/usr/local/texlive/2016/texmf-dist/tex/latex/ccaption/ccaption.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/biblatex/biblatex.sty

(/usr/local/texlive/2016/texmf-dist/tex/generic/iftex/iftex.sty)

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty))

(/usr/local/texlive/2016/texmf-dist/tex/latex/etoolbox/etoolbox.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty

(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))

(/usr/local/texlive/2016/texmf-dist/tex/latex/logreq/logreq.sty

(/usr/local/texlive/2016/texmf-dist/tex/latex/logreq/logreq.def))

(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty)

(/usr/local/texlive/2016/texmf-dist/tex/latex/url/url.sty)

(/usr/local/texlive/2016/texmf-dist/tex/generic/xstring/xstring.sty

(/usr/local/texlive/2016/texmf-dist/tex/generic/xstring/xstring.tex))

(/usr/local/texlive/2016/texmf-dist/tex/latex/biblatex/blx-dm.def)

(/usr/local/texlive/2016/texmf-dist/tex/latex/biblatex/blx-compat.def)

(/usr/local/texlive/2016/texmf-dist/tex/latex/biblatex/biblatex.def)

! Package biblatex Error: Style 'gb7714-2015' not found.

See the biblatex package documentation for explanation.

Type  H <return>  for immediate help.

 ...

l.11955 \RequireBibliographyStyle{\blx@bbxfile}
@shaheming
Copy link
Author

问题解决了
安装TeX Live Utility
然后安装 biblatex-gb7714-2015 包将问题解决了。
https://www.ctan.org/pkg/biblatex-gb7714-2015?lang=en

@weijianwen
Copy link
Collaborator

好的,我把这个issue标记为[wiki],会把这些内容加入到wiki中,issue将关闭。如果问题依旧,请重开issue。

@weijianwen weijianwen changed the title 问题求助 [wiki] 缺少 biblatex-gb7714-2015 包导致参考文献编译失败 May 16, 2017
@jinningli
Copy link

jinningli commented May 24, 2019

如果遇到TeX Live Utility安装软件包时,提示云端版本是Tex Live 2019本地版本是Tex Live 2016这种问题,可以改用Terminal来安装biblatex-gb7714-2015:

tlmgr update --self
tlmgr install biblatex-gb7714-2015

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants