Coder Social home page Coder Social logo

Comments (3)

hushidong avatar hushidong commented on June 12, 2024

感谢,最近更新可能没有比较标准文件,不知道哪次更新把老问题又引入了,最近修改一下。

from biblatex-gb7714-2015.

hushidong avatar hushidong commented on June 12, 2024

这个问题因为涉及mergedate选项和期刊名卷期和年份,所以还比较复杂。

%--
%测试author-year样式在没有期刊名,没有volume时,与mergedate选项的标点处理
%

\documentclass{article}
\usepackage{ctex}
\usepackage[margin=1cm]{geometry}
\usepackage[backend=biber,style=gb7714-2015ay,gbnoauthor,nohashothers=true,gbpub=true,
sorting=none
%mergedate=true
%,sortlocale=zh__stroke,nosortothers=true
]{biblatex}%sorting=nyt

%\ExecuteBibliographyOptions{mergedate=none} 只能用于导言区,但可以设置全局和pertype选项。

\begin{filecontents}[force]{\jobname.bib}

@Article{刘彻东1998A,
  Title                    = {**的青年刊物},
  Author                   = {刘彻东},
  Date                     = {1998},
  Journaltitle             = {**出版},
  volume={13},
  Number                   = {5},
  Pages                    = {38-39},
  Titleaddon               = {个性特色为本}
}

@Article{刘彻东1998B,
  Title                    = {**的青年刊物},
  Author                   = {刘彻东},
  Date                     = {1998},
  volume={13},
  Number                   = {5},
  Pages                    = {38-39},
  Titleaddon               = {个性特色为本}
}


@Article{刘彻东1998C,
  Title                    = {**的青年刊物},
  Author                   = {刘彻东},
  Date                     = {1998},
  Journaltitle             = {**出版},
  Number                   = {5},
  Pages                    = {38-39},
  Titleaddon               = {个性特色为本}
}

@Article{刘彻东1998D,
  Title                    = {**的青年刊物},
  Author                   = {刘彻东},
  YEAR                     = {1998},
  Journaltitle             = {**出版},
  volume={13},
  Number                   = {5},
  Pages                    = {38-39},
  Titleaddon               = {个性特色为本}
}

@Article{刘彻东1998E,
  Title                    = {**的青年刊物},
  Author                   = {刘彻东},
  YEAR                     = {1998},
  volume={13},
  Number                   = {5},
  Pages                    = {38-39},
  Titleaddon               = {个性特色为本}
}


@Article{刘彻东1998F,
  Title                    = {**的青年刊物},
  Author                   = {刘彻东},
  YEAR                     = {1998},
  Journaltitle             = {**出版},
  Number                   = {5},
  Pages                    = {38-39},
  Titleaddon               = {个性特色为本}
}

\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}


\begin{refsection}
\nocite{*}
\printbibliography[heading=subbibliography,title="no mergedate"]
\end{refsection}


\begin{refsection}

\makeatletter
\bbx@opt@mergedate@none
\makeatother
\nocite{*}
\printbibliography[heading=subbibliography,title="mergedate: none"]
\end{refsection}


\begin{refsection}

\makeatletter
\bbx@opt@mergedate@false
\makeatother
\nocite{*}
\printbibliography[heading=subbibliography,title="mergedate: false"]
\end{refsection}


\begin{refsection}

\makeatletter
\bbx@opt@mergedate@true
\makeatother
\nocite{*}
\printbibliography[heading=subbibliography,title="mergedate: true"]
\end{refsection}


\end{document} 

最后结果是:

图片

from biblatex-gb7714-2015.

TomBener avatar TomBener commented on June 12, 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.