Giter Club home page Giter Club logo

Comments (10)

Sonwi avatar Sonwi commented on August 17, 2024 1

亲测单独运行一下 biber thesis 再xelatex编译可以解决上面的问题

from nudtpaper.

hushidong avatar hushidong commented on August 17, 2024

使用resumebib选项。

然后在resume.tex文件中,将:

	\begin{refsection}[ref/resume.bib]
	\settoggle{bbx:gbtype}{false}%局部设置不输出文献类型和载体标识符
	\settoggle{bbx:gbannote}{true}%局部设置输出注释信息
	\setcounter{gbnamefmtcase}{1}%局部设置作者的格式为familyahead格式   
	\nocite{ref-1-1-Yang,ref-2-1-杨轶,ref-3-1-杨轶,ref-4-1-Yang,ref-5-1-Wu,ref-6-1-贾泽,ref-7-1-伍晓明}
	
	\setlength{\biblabelsep}{12pt}
	\printbibliography[env=resumebib,heading=subbibliography,title={发表的学术论文}] % 发表的和录用的合在一起

	\end{refsection}


	\begin{refsection}[ref/resume.bib]
	\settoggle{bbx:gbtype}{false}%局部设置不输出文献类型和载体标识符
	\settoggle{bbx:gbannote}{true}%局部设置输出注释信息
	\setcounter{gbnamefmtcase}{1}%局部设置作者的格式为familyahead格式
	\nocite{ref-8-1-任天令,ref-9-1-Ren}
	
	\setlength{\biblabelsep}{12pt}
	\printbibliography[env=resumebib,heading=subbibliography,title={研究成果}]

	\end{refsection}

修改为:

	\begin{refsection}[ref/resume.bib]
	\nocite{ref-1-1-Yang,ref-2-1-杨轶,ref-3-1-杨轶,ref-4-1-Yang,ref-5-1-Wu,ref-6-1-贾泽,ref-7-1-伍晓明}
	\printbibliography[heading=subbibliography,title={发表的学术论文}] % 发表的和录用的合在一起
	\end{refsection}


	\begin{refsection}[ref/resume.bib]
	\nocite{ref-8-1-任天令,ref-9-1-Ren}
	\printbibliography[heading=subbibliography,title={研究成果}]
	\end{refsection}

因为与正文的参考文献一致,所以是更简单了,直接利用{refsection}环境生成文献表即可。

from nudtpaper.

TomLuck1 avatar TomLuck1 commented on August 17, 2024

感谢深夜及时回复,谢谢!

from nudtpaper.

liubenyuan avatar liubenyuan commented on August 17, 2024

@hushidong 谢谢!

from nudtpaper.

Sun-lili avatar Sun-lili commented on August 17, 2024

这样修改后,学术成果变为空白了,不显示内容了,请问怎么处理呢

from nudtpaper.

hushidong avatar hushidong commented on August 17, 2024

你把关键的信息贴一下:

文档类的选项怎么设的?
resume.TEX有没有include进主文件?
resume.tex怎么写的?
resume.bib是否存在等?

不然是没有办法解决问题的。

from nudtpaper.

Sun-lili avatar Sun-lili commented on August 17, 2024

前面加了参数resumebib
\documentclass[master,twoside,biber,resumebib,prof]{nudtpaper}
后面input进主文件

\input{data/resume}
\input{data/reviewinfo} %公开评阅信息

resume.text改为了

\begin{resume}
	\ifreview
	
	\ifismaster
	该论文作者在学期间取得的阶段性成果(学术论文等)已满足我校硕士学位评阅相关要求。为避免阶段性成果信息对专家评价学位论文本身造成干扰,特将论文作者的阶段性成果信息隐去。
	\else
	该论文作者在学期间取得的阶段性成果(学术论文等)已满足我校博士学位评阅相关要求。为避免阶段性成果信息对专家评价学位论文本身造成干扰,特将论文作者的阶段性成果信息隐去。
	\fi
	
	\else
	
	\ifisresumebib
	
	\begin{refsection}[ref/resume.bib]
	\nocite{ref-1-1-Yang,ref-2-1-杨轶,ref-3-1-杨轶,ref-4-1-Yang,ref-5-1-Wu,ref-6-1-贾泽,ref-7-1-伍晓明}
	\printbibliography[heading=subbibliography,title={发表的学术论文}] % 发表的和录用的合在一起
    \end{refsection}


    \begin{refsection}[ref/resume.bib]
	\nocite{ref-8-1-任天令,ref-9-1-Ren}
	\printbibliography[heading=subbibliography,title={研究成果}]
    \end{refsection}
	
	\else

ref/resume.bib有内容

编译后结果为
只显示一个“作者在学期间取得的学术成果”题目,其他内容不显示

from nudtpaper.

hushidong avatar hushidong commented on August 17, 2024

biber 命令没有运行吧?你是不用的bibtex命令?
这两者是不同的。
如果用的texstudio,那么需要设置默认的参考文献工具为biber,而不是bibtex。

或者你直接用命令运行:
biber thesis

然后加上一次xelatex编译。

from nudtpaper.

Sun-lili avatar Sun-lili commented on August 17, 2024

我在主文件的最开始加这两句了

%!TEX program = xelatex
%!BIB program = biber

from nudtpaper.

hushidong avatar hushidong commented on August 17, 2024

你用的工具能对这个进行判断么?你确认一下

from nudtpaper.

Related Issues (20)

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.