
@thesis
입력 필드 의 출력을 변경하고 싶습니다 . 현재는 biblatex
스타일을 사용하고 있습니다 chem-acs
.
항목 사용:
@thesis{ABC2019,
author = {LastName, A.},
school = {University of example},
title = {Title of fancy science stuff},
type = {PhD thesis},
year = {2019}
}
나는 얻다:
성, A. 멋진 과학 자료의 제목., 예시 대학, 박사 논문, 2019.
하지만 제목 뒤의 쉼표 구분 기호를 제거해야 하는 일부 저널 인용 규칙을 따르고 싶습니다. 그래서 제가 목표로 하는 것은 다음과 같습니다.
성, A. 고급 과학 관련 제목. 예시대학교 박사학위 논문, 2019.
이것을 달성하는 방법에 대한 아이디어가 있습니까?
답변1
실제로 원하는 출력에 관계없이 현재 얻는 출력은 제대로 보이지 않습니다.
Geer, I. de Earl, Saint, Bishop, Skald – and Music, The Orkney Earldom of the 12th Century. 음악학 연구, Ph.D. 논문, 웁살라: 웁살라 대학, 1985.
이중 구두점 ".,"은 대부분의 사람들에게 실수로 간주됩니다. 나는 이것을 다음과 같이보고했습니다.https://github.com/josephwright/biblatex-chem/issues/16.
제목 뒤에 쉼표를 추가하려면 다음과 같이 수정하는 것이 쉽습니다.
\DeclareFieldFormat*{title}{#1}
하지만 기간을 원하므로 추가 작업이 필요합니다.
이 문제를 해결하는 방법에는 여러 가지가 있으며 모두 장점과 단점이 있습니다.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=chem-acs, backend=biber]{biblatex}
\renewbibmacro*{title}{%
\ifboolexpr{
test {\iffieldundef{title}}
and
test {\iffieldundef{subtitle}}
}
{}
{\printtext[title]{%
\printfield[titlecase]{title}%
\setunit{\subtitlepunct}%
\printfield[titlecase]{subtitle}}%
\newunit}%
\printfield{titleaddon}%
\printunit{\addperiod\space}}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{geer}
\printbibliography
\end{document}
Geer, I. de Earl, Saint, Bishop, Skald – and Music, The Orkney Earldom of the 12th Century. 음악학 연구. 박사. 논문, 웁살라: 웁살라 대학교, 1985.