`\DeclareSourcemap`으로 "작성자" 필드를 제거하면 불필요한 마침표와 공백이 삽입됩니다.

`\DeclareSourcemap`으로 "작성자" 필드를 제거하면 불필요한 마침표와 공백이 삽입됩니다.

참조를 최대한 간결하게 만들기 위해 프레젠테이션 author에서 필드를 제거하려고 합니다 . beamer사용하여"참고문헌에서 저자 필드 제거"라는 질문에 대한 PLK의 답변, 즉:

\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map{
      \pertype{misc}
      \step[fieldset=author, null]
   }
 }
}

작성자 필드를 제거하는 중이지만 이를 사용할 때 항목 앞에 마침표와 공백이 표시됩니다 journal.

여기에 이미지 설명을 입력하세요

여기에 질문하기 전에 GitHub 저장소 를 살펴봤지만 biblatex어디에 있는지 알 수 없었습니다.author 필드에 마침표와 공백이그만큼\newbibmacro*{author/...}, 그래서 제거하는 방법을 잘 모르겠습니다. %각 줄 뒤에 '를 추가했지만 \DeclareSourcemap효과가 없었습니다.

마침표와 공백을 제거하는 방법을 아는 사람이 있습니까?

MWE(관련된 경우 실제 문서와 어느 정도 일치하도록 몇 가지 스타일을 포함했습니다.):

% arara: pdflatex: {options: [-halt-on-error]}
% arara: biber
% arara: pdflatex: {options: [-halt-on-error]}

\begin{filecontents}[overwrite]{ref.bib}
@Article{Mehandia2020,
  author                 = {Mehandia, Seema and Sharma, S. C. and Arya, Shailendra Kumar},
  journal                = {Biotechnol. Rep. (Amst)},
  title                  = {Isolation and characterization of an alkali and thermostable laccase from a novel Alcaligenes faecalis and its application in decolorization of synthetic dyes.},
  year                   = {2020},
  pages                  = {e00413},
  volume                 = {25},
  doi                    = {10.1016/j.btre.2019.e00413},
}
@Article{Murugesan2009,
  author                 = {Murugesan, Kumarasamy and Kim, Young-Mo and Jeon, Jong-Rok and Chang, Yoon-Seok},
  journal                = {J Hazard Mater.},
  title                  = {Effect of metal ions on reactive dye decolorization by laccase from Ganoderma lucidum.},
  year                   = {2009},
  pages                  = {523-9},
  volume                 = {168},
  doi                    = {10.1016/j.jhazmat.2009.02.075},
}
\end{filecontents}

\documentclass{beamer}

\usepackage[backend=biber, style=numeric]{biblatex}

%% --- These are just commands to match my current bib style
\renewcommand*{\bibfont}{\normalfont}
\DeclareFieldFormat{journaltitle}{\mkbibemph{#1},}
\DeclareFieldFormat[article]{title}{}
\DeclareFieldFormat[article]{volume}{\textbf{#1}}
\DeclareFieldFormat[article]{pages}{#1}
\DeclareFieldFormat{doi}{#1}
\renewbibmacro{in:}{}
\renewbibmacro*{issue+date}{}
\renewbibmacro*{volume+number+eid}{%
  \setunit*{\addcomma\space}
  \usebibmacro{date}%
  \setunit{\addcomma\space}
  \printfield{volume}%
  \setunit*{\addcomma\space}
  }
%% ---- End

% https://tex.stackexchange.com/a/656907/273733
\DeclareSourcemap{%
  \maps[datatype=bibtex]{%
    \map{%
     \step[fieldset=author, null]%
   }%
 }%
}

\addbibresource{ref.bib}

\begin{document}

\begin{frame}
    \frametitle{First slide Title}
    Text \cite{Mehandia2020}\cite{Murugesan2009}
\end{frame}

\begin{frame}
\frametitle{References}
\printbibliography
\end{frame}

\end{document}

답변1

형식을 변경하는 것뿐만 아니라 소스 맵에서도 제목을 지웁니다.

\DeclareSourcemap{%
  \maps[datatype=bibtex]{%
    \map{%
     \step[fieldset=author, null]%
   }%
   \map{\pertype{article}\step[fieldset=title, null]}
 }%
}

관련 정보