Coder Social home page Coder Social logo

Comments (6)

hushidong avatar hushidong commented on May 20, 2024

from biblatex-gb7714-2015.

huangyxi avatar huangyxi commented on May 20, 2024

from biblatex-gb7714-2015.

hushidong avatar hushidong commented on May 20, 2024

这是一个思路。因为可以进行中英文语言的自动判断,所以这种一引导更多的可能是在单独指定某些文献的格式时用。

目前的问题难点是怎么在一个文献表中,使用两种样式。对于中文使用gb7714,样式,英文使用标准样式,是可以实现的,大体的思路是把所有中文的定制局部化,而全局用标准样式,当遇到中文文献使用局部的gb7714格式。

这段时间事情比较多,先考虑着,等有空了再来实现。

from biblatex-gb7714-2015.

hushidong avatar hushidong commented on May 20, 2024

v1.0m版本增加了gb7714-2015ms样式文件,主要是为了在一个文档中使用多种样式,比如中文文献使用GB/T 7714-2015规定的著录格式,而其它语言文献使用biblatex提供的标准样式。这种方式尽管不会很常用,但既然有需求提出,那么就做了实现。

主要的实现原理是把所有的GB/T 7714-2015规定产生的格式修改局部化到每一条文献打印时处理,此时先判断gbstyle选项及文献的语言,当满足要求则使用这些局部化格式修改,否则使用默认的标准样式。这种实现为一篇文档内实现两种样式提供了思路,尽管目前其它语言文献的著录格式是标准样式,但只要对其做格式修改就可以形成符合某种格式规范的样式,比如像ieee,nature等样式都是可以实现的,因此存在中文使用GB/T 7714-2015著录格式,而英文文献使用ieee等著录格式的可能性。测试文档见:
https://github.com/hushidong/biblatex-gb7714-2015/blob/master/example/testmultistyle.tex

当然,为简单考虑,这个样式文件gb7714-2015ms,不再支持老版本的biblatex,需要biblatex3.10以上版本。

此外因为作者的格式选项当前已经有更好的方案,有5种选择,能够涵盖其它样式,所以仍然以
gbnamefmt选项控制。

from biblatex-gb7714-2015.

hushidong avatar hushidong commented on May 20, 2024

中文用国标,英文用标准样式,姓名使用大小写不变姓在前格式,的测试见:

default

中文用国标,英文用标准样式,姓名使用国标要求,的测试见:

default

from biblatex-gb7714-2015.

huangyxi avatar huangyxi commented on May 20, 2024

感谢开发者!

from biblatex-gb7714-2015.

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.