書籍/コレクションのページ合計を印刷しない

書籍/コレクションのページ合計を印刷しない

設定ファイルを設定しようとしていますが、書籍であってもbiblatex印刷されませんpagetotal。bib ファイルに情報を保持したいので、pagetotalそこから情報を削除するのではなく、印刷を抑制することは可能かどうか疑問に思っています。

pagetotal=falseここで見つかった「 」を使用しようとしました:ドキュメンタリー

しかし、コマンドが不明であるというエラーが表示されます:Package xkeyval Error: pagetotal undefined in families blx@opt@pre.

ムウェ


%----------------------------------------------------------------------------
%   LAYOUT
%----------------------------------------------------------------------------
\documentclass[
  12pt,
  a4paper,
  %parskip,
  headings=standardclasses,
  listof=totoc,
  numbers=noenddot
]{scrartcl}

\usepackage[hmargin=2.5cm, top=2.5cm, bottom=2cm, footskip=1cm]{geometry}
\usepackage[onehalfspacing]{setspace}
\usepackage[main=ngerman, english]{babel}
\usepackage[babel, german=quotes]{csquotes}
\usepackage[ngerman]{isodate}
\usepackage[ngerman]{datetime}
\usepackage{hyphenat}% create hypen without overfull box

%----------------------------------------------------------------------------
%   TOC
%----------------------------------------------------------------------------
\KOMAoptions{toc=sectionentrydotfill}
\KOMAoption{captions}{tableheading}% correct TOC count for tables
\renewcaptionname{ngerman}{\contentsname}{TOC}
\BeforeTOCHead[toc]{{\pdfbookmark[1]{\contentsname}{toc}}}% TOC in bookmarks
\AddtoDoHook{heading/preinit/part}{\clearpage\vspace*{\stretch{1}}}
\AddtoDoHook{heading/endgroup/part}{\vspace*{\stretch{2}}\clearpage}
\setkomafont{partprefix}{\usekomafont{part}}
%----------------------------------------------------------------------------
%   BIB
%----------------------------------------------------------------------------
\usepackage[
  backend=biber,
  style=ext-authoryear,
  sorting=nyvt,
  datamodel=customstyles,
  maxnames=25,
  innamebeforetitle=true,
  usetranslator=true,
  alldates=terse,
  labeldate=year,
  dashed=false,
  doi=false,
  isbn=false,
  url=false,
  pagetotal=false
]{biblatex}
\AtEveryBibitem{\clearlist{language}}
\addbibresource{library.bib}
\usepackage[hidelinks, pdfencoding=auto]{hyperref}
\usepackage{microtype}% avoid bib formatting issues



%----------------------------------------------------------------------------
%   MAIN
%----------------------------------------------------------------------------

\begin{document}

\nocite{*} 
\clearpage
\printbibliography

\end{document}

私の library.bib ファイル:

@book{Lakoff.1987-WomenFireDangerous,
  title = {Women, Fire, and Dangerous Things. What Categories Reveal about the Mind},
  author = {Lakoff, George},
  date = {1987},
  publisher = {The University of Chicago Press},
  location = {Chicago},
  isbn = {978-0-226-46804-4},
  pagetotal = {614},
}

答え1

リンクされたドキュメントはバンドルのスタイルに関するものですbiblatex-iso690biblatex-extおよび標準スタイルはオプションをサポートしていませんpagetotal

すでに使用している\AtEveryBibitem- \clearfield/ \clearlist/トリックを使用してフィールドを削除できます\clearnamelanguage

\AtEveryBibitem{%
  \clearlist{language}%
  \clearfield{pagetotal}%
}

または、ソースマップを使用して、ファイルから読み取られるときにデータを削除することもできます.bib。通常、これは私が好むオプションです。フィールドの内容はbiblatexBiber によって実質的にまったく表示されず、並べ替えなどの「目に見えないもの」にも影響しないためです。(ソースマップのもう 1 つの利点は、フィールドの「タイプ」[フィールド/リスト/名前] を気にする必要がなく、すべてのタイプに同じイディオムを使用できることです。)

ソースマップ付きMWE

\documentclass[12pt, a4paper,]{scrartcl}

\usepackage[main=ngerman, english]{babel}
\usepackage[babel, german=quotes]{csquotes}
\usepackage[
  backend=biber,
  style=ext-authoryear,
  sorting=nyvt,
  maxnames=25,
  innamebeforetitle=true,
  usetranslator=true,
  alldates=terse,
  labeldate=year,
  dashed=false,
  doi=false,
  isbn=false,
  url=false,
]{biblatex}

\DeclareSourcemap{
  \maps[datatype=bibtex, overwrite]{
    \map{
      \step[fieldset=language, null]
      \step[fieldset=pagetotal, null]
    }
  }
}

\usepackage[hidelinks, pdfencoding=auto]{hyperref}
\usepackage{microtype}

\begin{filecontents}{\jobname.bib}
@book{Lakoff.1987-WomenFireDangerous,
  title     = {Women, Fire, and Dangerous Things. What Categories Reveal about the Mind},
  author    = {Lakoff, George},
  date      = {1987},
  publisher = {The University of Chicago Press},
  location  = {Chicago},
  isbn      = {978-0-226-46804-4},
  pagetotal = {614},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\nocite{*} 
\printbibliography
\end{document}

レイコフ、ジョージ (1987)。『女性、火、そして危険なもの。カテゴリーが心について明らかにするもの』シカゴ:シカゴ大学出版局。

関連情報