`biblatex-nature`가 포함된 장 제목을 표시하기 위해 `intitle`을 사용할 때 오류가 발생했습니다.

`biblatex-nature`가 포함된 장 제목을 표시하기 위해 `intitle`을 사용할 때 오류가 발생했습니다.

나는 내 논문의 참고문헌 형식을 지정하는 데 사용하고 있으며 기본적으로는 수행되지 않는 참조 biblatex-nature용 장 제목을 표시하려는 것을 제외하고는 지금까지 모든 것이 잘 진행되고 있습니다 . biblatex 패키지 호출에 @incollection옵션을 추가하면 intitle이 작업을 수행할 수 있다는 제안을 다른 곳에서 찾았지만 이 작업을 시도하면 오류가 발생합니다 ! Package keyval Error: intitle undefined..

여기서 무엇이 잘못되었는지 또는 내 참고문헌에 장 제목을 포함하는 다른 방법을 제안할 수 있는 사람이 있습니까?

내 MWE 파일은 다음과 같습니다.

@collection{hsu2015pathogen,
  title={Pathogen-Host Interactions: Antigenic Variation V. Somatic Adaptations},
  author={Hsu, Ellen and Du Pasquier, Louis},
  volume={57},
  year={2015},
  publisher={Springer}
}

@incollection{jack2015evolution,
    series = {Results and {Problems} in {Cell} {Differentiation}},
    title = {Evolution of {Immunity} and {Pathogens}},
    indextitle = {Evolution of {Immunity} and {Pathogens}},
    url = {https://doi.org/10.1007/978-3-319-20819-0_1},
    urldate = {2019-02-27},
    booktitle = {Pathogen-{Host} {Interactions}: {Antigenic} {Variation} v. {Somatic} {Adaptations}},
    publisher = {Springer},
    author = {Jack, Robert S.},
    editor = {Hsu, Ellen and Du Pasquier, Louis},
    year = {2015},
    doi = {10.1007/978-3-319-20819-0_1},
    pages = {1--20}
}
\documentclass{article}

\RequirePackage[backend=biber, citestyle=numeric-comp, style=nature,
  sorting=none, natbib=true, maxnames=3, minnames=1, url=false,
  giveninits=true, sortcites=true, date=year,
  doi=false,isbn=false,intitle=false]{biblatex}

\bibliography{mwe}

\begin{document}
\parencite{jack2015evolution} is a chapter in \parencite{hsu2015pathogen}.

\printbibliography[heading=bibintoc, title={References}]
\end{document}

답변1

v1.2i/v1.3 (2016-10-23) 에 옵션이 intitle추가되었습니다 . biblatex-natureMWE는 biblatex3.12, Biber 2.12 및 biblatex-naturev1.3c로 완전히 업데이트된 시스템에서 제대로 작동합니다. 버전이 biblatex-nature너무 오래되었기 때문에 오류가 발생하는 경우. 가능하다면 전체 TeX 배포판을 업데이트하십시오.

권한이 제한된 업무용 컴퓨터나 Overleaf를 사용하고 있기 때문에 이것이 가능하지 않은 경우 가장 안전한 방법은 다음과 유사한 드라이버를 다시 작성하는 것입니다.https://github.com/josephwright/biblatex-nature/commit/0a58f60bb385e8f8c383d156434470649840dc99

\documentclass{article}

\RequirePackage[backend=biber, style=nature,
  maxnames=3, minnames=1, url=false,
  giveninits=true, sortcites=true, date=year,
  doi=false, isbn=false]{biblatex}

\providetoggle{bbx:intitle}
\toggletrue{bbx:intitle}

\DeclareBibliographyDriver{inbook}{%
  \usebibmacro{bibindex}%
  \usebibmacro{begentry}%
  \usebibmacro{author/translator+others}%
  \setunit{\labelnamepunct}\newblock
  \printlist{language}%
  \newunit\newblock
  \usebibmacro{byauthor}%
  \newunit\newblock
  \iftoggle{bbx:intitle}
    {%
      \usebibmacro{title}%
      \newblock
    }
    {}%
  \usebibmacro{in:}%
  \usebibmacro{bybookauthor}%
  \setunit*{\newunitpunct}\newblock
  \usebibmacro{maintitle+booktitle}%
  \newunit\newblock
  \usebibmacro{byeditor+others}%
  \newunit\newblock
  \printfield{edition}%
  \newunit
  \printfield{volumes}%
  \newunit\newblock
  \usebibmacro{series+number}%
  \newunit\newblock
  \printfield{note}%
  \newunit\newblock
  \usebibmacro{chapter+pages}%
  \newunit\newblock
  \usebibmacro{publisher+location+date}%
  \newunit\newblock
  \iftoggle{bbx:isbn}
    {\printfield{isbn}}
    {}%
  \newunit\newblock
  \usebibmacro{doi+eprint+url}%
  \newunit\newblock
  \usebibmacro{addendum+pubstate}%
  \setunit{\bibpagerefpunct}\newblock
  \usebibmacro{pageref}%
  \newunit\newblock
  \usebibmacro{related}%
  \usebibmacro{finentry}%
}

\DeclareBibliographyDriver{incollection}{%
  \usebibmacro{bibindex}%
  \usebibmacro{begentry}%
  \usebibmacro{author/translator+others}%
  \setunit{\labelnamepunct}\newblock
  \printlist{language}%
  \newunit\newblock
  \usebibmacro{byauthor}%
  \newunit\newblock
  \iftoggle{bbx:intitle}
    {%
      \usebibmacro{title}%
      \newblock
    }
    {}%
  \usebibmacro{in:}%
  \usebibmacro{maintitle+booktitle}%
  \newunit\newblock
  \usebibmacro{byeditor+others}%
  \newunit\newblock
  \printfield{edition}%
  \newunit
  \printfield{volumes}%
  \newunit\newblock
  \usebibmacro{series+number}%
  \newunit\newblock
  \printfield{note}%
  \newunit\newblock
  \usebibmacro{chapter+pages}%
  \newunit\newblock
  \usebibmacro{publisher+location+date}%
  \newunit\newblock
  \iftoggle{bbx:isbn}
    {\printfield{isbn}}
    {}%
  \newunit\newblock
  \usebibmacro{doi+eprint+url}%
  \newunit\newblock
  \usebibmacro{addendum+pubstate}%
  \setunit{\bibpagerefpunct}\newblock
  \usebibmacro{pageref}%
  \newunit\newblock
  \usebibmacro{related}%
  \usebibmacro{finentry}%
}


\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@collection{hsu2015pathogen,
  title={Pathogen-Host Interactions: Antigenic Variation V. Somatic Adaptations},
  author={Hsu, Ellen and Du Pasquier, Louis},
  volume={57},
  year={2015},
  publisher={Springer}
}

@incollection{jack2015evolution,
    series = {Results and {Problems} in {Cell} {Differentiation}},
    title = {Evolution of {Immunity} and {Pathogens}},
    indextitle = {Evolution of {Immunity} and {Pathogens}},
    url = {https://doi.org/10.1007/978-3-319-20819-0_1},
    urldate = {2019-02-27},
    booktitle = {Pathogen-{Host} {Interactions}: {Antigenic} {Variation} v. {Somatic} {Adaptations}},
    publisher = {Springer},
    author = {Jack, Robert S.},
    editor = {Hsu, Ellen and Du Pasquier, Louis},
    year = {2015},
    doi = {10.1007/978-3-319-20819-0_1},
    pages = {1--20}
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}
\parencite{jack2015evolution} is a chapter in \parencite{hsu2015pathogen}.

\printbibliography[heading=bibintoc]
\end{document}

또는 덜 안전할 수도 있지만 biblatex-natureCTAN에서 최신 버전을 얻을 수 있습니다(https://ctan.org/pkg/biblatex-nature) 및 nature.bbx파일 nature.cbx옆에 을 놓습니다 .tex. 이로 인해 버전 충돌이 발생할 수 있지만 biblatex-nature작동하는 경우 기본적으로 업데이트된 버전이 있다는 의미입니다 .

그런데: @collections는 일반적으로 작성자가 없고 @incollection에서 혜택을 받을 수 있으므로 crossref항목을 다음과 같이 보이도록 하겠습니다.

@collection{hsu2015pathogen,
  title     = {Pathogen-Host Interactions: Antigenic Variation v. Somatic Adaptations},
  editor    = {Hsu, Ellen and Du Pasquier, Louis},
  series    = {Results and Problems in Cell Differentiation},
  number    = {57},
  year      = {2015},
  publisher = {Springer},
}
@incollection{jack2015evolution,
  title      = {Evolution of Immunity and Pathogens},
  author     = {Jack, Robert S.},
  doi        = {10.1007/978-3-319-20819-0_1},
  pages      = {1--20},
  crossref   = {hsu2015pathogen},
}

불행하게도 출력은 내가 바라던 것과는 달랐지만, 그것이 자연이 원하는 것인지 아니면 스타일의 버그인지는 확실하지 않습니다. Nature 지침에 따라 출력을 다시 확인하고 이를 버그로 보고할 수 있다면https://github.com/josephwright/biblatex-nature옳지 않은 것 같으면 감사하겠습니다.

관련 정보