Code Monkey home page Code Monkey logo

buptthesis-ctex's Issues

参考文献列表不显示

同学,我遇到了这样的问题,\cite{item}命令显示的是[item]而不是序号,而且文章末尾不显示文献列表;pub.tex中的\nocite{*}也不显示发表论文列表。

自动缩略语

我尝试着基于glossaries-extra实现了自动缩略语功能。具体实现可参见abbreviation分支。
虽然基本功能有了但缩略语前后的空格却不受ctex的控制。具体输出效果可abbreviation分支中bare_thesis.pdf的第二章开头。
研究了一下文档实在不知道哪里出问题了,还请有兴趣的小伙伴一起研究一下。

请求开设Overleaf分支

Hi,我最近为项目增加了Overleaf在线编译的适配。为了Overleaf的适配,我增加修改了两部分,一部分是增加了字体文件,宋体、楷体、黑体和仿宋体四个字体大小有40MB左右;另一部分是Overleaf使用的texlive 2017下biblatex-gb7714-2015存在问题,故将biblatex-gb7714-2015的宏包放在了项目文件下。因为Overleaf是为了适配增加东西,因此觉着放在master不太好,故请求开设Overleaf分支,用以维护项目在Overleaf上的版本。
目前我的Overleaf分支在放在 https://github.com/VivianSnow/BUPTthesis-ctex/tree/overleaf,开了后可以PR过来。

算法 Algorithm在不同section使用出现连续编号的错误

  1. 例如,在第一章使用 Algo1和Algo2,在第二章使用Algo3。正确的编号应该是 算法1-1算法1-2算法2-1。目前出现的编号是算法1-1算法1-2算法2-3
  2. 此外,算法的编号点击以后的跳转也会出现问题。

图例的字体大小的问题

学长您好,用了你分享的latex模板,感觉挺好的。但是有一些细节的问题,我也自己花了一天时间改了一下,但是有个问题,我没找到办法,还请指教下。

  • 研究生院要求的,“若图名采用中英文对照,其英文字体为五号,中文字体为五号楷体。”这点模板里边好像没有支持。

我按照要求,自己进行了修改,在figure的caption里边,手动加上了\kaishu \zihao{5}命令,这样的话,caption里边是对的了。但是有个问题,“图”这个字,好像不会随着变化大小。所以,我看了下,这个字的定义,好像在BUPTthesis.cfg里边,我在里边手动加上大小的限制,但没有效果。想问下,应该在哪里解决这个问题?

编译时报错,“Package fontspec Error”,该怎么解决?

image
编译时很多字体找不到,但是C:\Windows\Fonts里有这些字体,查看文件名字好像对不上。SimSun在字体文件夹里是simsun,ipaexm不知道是什么字体。有同学遇到相同的问题吗,可以讨论一下。

我的系统是win11,使用的软件是texlive + texstudio。

会议的参考文献格式需要修正

北邮研究生学位论文格式要求中对于会议论文的参考文献格式要求和gb7714-2015的国家标准是不一致的,格式要求如下:
【会议论文格式】 [序号]作者. 篇名[A]. // 论文集名称[C], 出版地: 出版者, 出版年份: 起始页码.
【示例】
[3] Karagiannis, T., Broido, A., Faloutsos,M., et al. Transport Layer Identification of P2P Traffic [A]. // Proc of the 4th ACM SIGCOMM Conf on Internet Measurement [C], New York: ACM Press, 2004: 121-134.
所以需要在BUPTthesis.cls文件中增加如下代码:

\DeclareStyleSourcemap{
\maps[datatype=bibtex]{
\map[overwrite]{
\pertype{inproceedings}
\step[fieldset=usera,fieldvalue={A}]
}
}
}

\renewbibmacro*{booktitle}{%
\ifboolexpr{
test {\iffieldundef{booktitle}}
and
test {\iffieldundef{booksubtitle}}
}
{}
{\printtext[booktitle]{%
\printfield[titlecase]{booktitle}%
}%
}%
\ifentrytype{inproceedings}{\printtext{[C]}\newunit}
}

\renewbibmacro*{in:}{%
\iftoggle{bbx:gbpunctin}{
\ifentrytype{inproceedings}{\unspace\printtext{\allowbreak{\SlashFont\adddot//}\allowbreak}}
{\printtext{\allowbreak{\SlashFont//}\allowbreak}}
}%\addthinspace
{\setunit{\adddot\addspace}%
\iffieldequalstr{userd}{chinese}%
{\printtext{\bibstring{incn}}}%
{\printtext{\bibstring{in}}}%
}}%\newunit\newblock\intitlepunct

效果和示例参见:hushidong/biblatex-gb7714-2015#145

但是要把gb7714-2015.bbx 和 gb7714-2015.cbx更新到最新版。
下载地址:https://github.com/hushidong/biblatex-gb7714-2015

希望作者能更新一下BUPTthesis.cls文件的版本@qcts33

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.