%EB%A5%BC%20%EC%A0%9C%EA%B1%B0%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
(n.d)
인용문에 나타나는 을(를) 제거하려고 합니다 .
아래는 내 MWP입니다.
\documentclass[sigconf]{acmart}
\usepackage{filecontents}
\begin{filecontents}{ref.bib}
@misc{google,
title={Google},
howpublished={\url{https://google.com}},
author={Google}
}
\end{filecontents}
\begin{document}
Something to cite~\cite{google}.
\bibliographystyle{ACM-Reference-Format}
\bibliography{ref.bib}
\end{document}
예를 들어 다음 코드를 포함하려고했습니다.이것바로 직전에 대답하세요 \begin{document}
. 그러나 나는 얻는다정의되지 않은 제어 순서\DeclareLabeldate
및 에 대한 오류입니다 \field
.
\DeclareLabeldate[online]{%
\field{date}
\field{year}
\field{eventdate}
\field{origdate}
\field{urldate}
}
이것논의뭔가 더 조정해야 할 수도 있다는 힌트가 있나요?
답변1
가장 쉬운 해결책은 biblatex를 사용하는 것입니다. 파일ACM-Reference-Format.bbx
다음 매크로를 정의합니다.
\newbibmacro*{year}{%
\iffieldundef{year}%
{\printtext{[n.\ d.]}}%
{\printfield{year}}%
}
다행히도 renewbibmacro
다음과 같은 방법을 사용하여 이 매크로를 재정의할 수 있습니다.
\renewbibmacro*{year}{%
\iffieldundef{year}%
{}% We omitted the default value "[n. d.]" of ACM here!
{\printfield{year}}%
}
결과적으로 다음과 같은 biblatex 기록이 생성되었습니다.
@online{speedtest1,
title = {{SQLite}, speedtest1},
url = {https://sqlite.org/cpu.html}
}
날짜 없이 렌더링: