biblatex:citepages suppress 添加空间

biblatex:citepages suppress 添加空间

在一个图书项目中,我对期刊文章有一个特定的格式定义:标题卷(年份)、期号、页码(如果存在,则作为命令选项cite)。

我想在文本中省略期刊文章引文的页码范围,但不要在参考书目中省略。我想这就是这个biblatex选项citepages=suppress的用途。但不知何故,biblatex 在发行号后插入了一个不必要的空格。参考书目是正确的!此外,如果我使用citepages=separate引文格式是正确的,但当然我不想要页码范围。请参阅 MWE。

我尝试调整格式定义,但这有点超出我的 biblatex 微调技能。如果能提示我如何调整我的 MWE,我将不胜感激。

梅威瑟:

\documentclass[10pt]{book}
\usepackage[paperheight=22.2cm,paperwidth=14cm,bottom=2.11cm,top=1.6cm,right=1.6cm,textwidth=10.8cm,textheight=18.49cm,includeheadfoot,headsep=5mm]{geometry}%footskip=1.51cm
\setlength{\parindent}{3.5mm}
\usepackage{ebgaramond}
\usepackage[nobottomtitles]{titlesec}
\usepackage[german=guillemets]{csquotes}
\usepackage{longtable}
\usepackage[force]{filehook}%muss vor standalone stehen
\usepackage{standalone}
\usepackage{etoolbox}
\usepackage{relsize}
\newcommand{\abk}{\textscale{0.9}}%Definition für Akronyme nur 90% groß
\clubpenalty=10000
\widowpenalty=10000
\usepackage{filecontents}

\begin{filecontents}{jobname.bib}
@Article{Article2009,
  author     = {Author, An},
  title      = {Articletitle},
  journal    = {Journal},
  pages      = {1-14},
  volume     = {3},
  year       = {2009},
  number     = {5},
}
\end{filecontents}
\usepackage[backend=biber,style=verbose-inote,sorting=nyt,bibencoding=utf8,citereset=chapter,citepages=suppress,refsection=none,autocite=footnote,isbn=false,doi=false,url=false,eprint=false,date=short]{biblatex}
\addbibresource{jobname.bib}
%\addbibresource{testbib.bib}    

  %Zeitschriftenformat: Titel Vol. (date), Nr., Seiten
  \renewbibmacro*{journal+issuetitle}{%
  \usebibmacro{journal}%
  \setunit*{\addspace}%
  \iffieldundef{series}
    {}
    {\newunit
     \printfield{series}%
     \setunit{\addspace}}%
  \printfield{volume}%
  \setunit{\addspace}%
  \usebibmacro{issue+date}%
  \setunit{\addcomma\space}%
  \printfield{number}%
  \setunit{\addcolon\space}%
  \usebibmacro{issue}%
  \setunit{\addcomma\space}%
  \printfield{eid}
  \newunit}

\renewcommand*{\bibfont}{\fontsize{9pt}{11}\selectfont}

\begin{document}
Text.\footcite[4]{Article2009} 

\appendix
\printbibliography


\end{document}

答案1

%这仅仅是重新定义中被遗忘的一个例子journal+issuetitle,具体来说是与 一致\printfield{eid}

事情看起来符合预期,定义如下

\documentclass{article}
\usepackage[german=guillemets]{csquotes}

\usepackage[backend=biber,
  style=verbose-inote, sorting=nyt,
  citepages=suppress,
  isbn=false,doi=false,url=false,eprint=false,
  date=short]{biblatex}

%Zeitschriftenformat: Titel Vol. (date), Nr., Seiten
\renewbibmacro*{journal+issuetitle}{%
  \usebibmacro{journal}%
  \setunit*{\addspace}%
  \iffieldundef{series}
    {}
    {\newunit
     \printfield{series}%
     \setunit{\addspace}}%
  \printfield{volume}%
  \setunit{\addspace}%
  \usebibmacro{issue+date}%
  \setunit{\addcomma\space}%
  \printfield{number}%
  \setunit{\addcolon\space}%
  \usebibmacro{issue}%
  \setunit{\addcomma\space}%
  \printfield{eid}%
  \newunit}


\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{Article2009,
  author     = {Author, An},
  title      = {Articletitle},
  journal    = {Journal},
  pages      = {1-14},
  volume     = {3},
  year       = {2009},
  number     = {5},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
Text.\footcite[4]{Article2009} 

\printbibliography
\end{document}

作者。“文章标题”。刊于:期刊 3(2009),5,第 4 页。

相关内容