I am trying to shorten the page range of articles, as specified in the Chicago Manual of Style, pages 759-760. For the ones not familiar with it. I tried the solution given here in the list:
\DeclareFieldFormat{postnote}{\mkcomprange[{\mkpageprefix[pagination]}]{#1}}
\DeclareFieldFormat{pages}{\mkcomprange{#1}}
% Compress ranges where lower limit > 100
\setcounter{mincomprange}{100}
% Don't compress beyond the fourth digit
\setcounter{maxcomprange}{1000}
I put here the entire preamble for biblatex
:
\usepackage[style=verbose-ibid,firstinits=true,sorting=nty,sortcites=true,useprefix=false,maxnames=6,backend=biber]{biblatex} % originally the style was verbose-ibid
%\usepackage[style=footnote-dw,namefont=smallcaps,firstinits=true,idembib=true,idembibformat=dash,nopublisher=false,edbyidem=false,backend=biber]{biblatex}
\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}
\renewcommand*{\newunitpunct}{\addcomma\space}%put commas instead of periods after some elements of the title
%\usepackage{biblatex}%remove �in� in journal articles
\renewbibmacro{in:}{%
\ifentrytype{article}{}{%
\printtext{\bibstring{in}\intitlepunct}}}
\renewcommand*{\labelnamepunct}{\addcomma\space}
\renewcommand*{\nametitledelim}{\addcomma\space}
\renewcommand*{\bibfont}{\small}
\renewbibmacro*{publisher+location+date}{%
\printtext[parens]{% ADDED
\printlist{location}%
\iflistundef{publisher}
{\setunit*{\addcomma\space}}
{\setunit*{\addcolon\space}}%
\printlist{publisher}%
\setunit*{\addcomma\space}%
\usebibmacro{date}%
}\nopunct% ADDED
\newunit}
%for citing short forms
\renewbibmacro*{cite:short}{%
\printnames{labelname}%
\setunit*{\nametitledelim}%
% If article:
\ifentrytype{article}{%
\usebibmacro{journal}%
\setunit{\addspace}%
\printfield{volume}}{%
% If incollection:
\ifentrytype{incollection}{%
\usebibmacro{in:}%
\printtext[booktitle]{\printfield[titlecase]{booktitle}}}{%
% Else:
\printtext[bibhyperlink]{\printfield[citetitle]{labeltitle}}}}}
%for defining shorthands
\defbibcheck{noshorthand}{%
\iffieldundef{shorthand}{}{\skipentry}%
}
\makeatletter
\defbibheading{subshorthands}[\losname]{%
\section*{#1}%
\if@twoside\markright{\MakeUppercase{#1}}\fi}
\makeatother
\DeclareFieldFormat{postnote}{\mkcomprange[{\mkpageprefix[pagination]}]{#1}}
\DeclareFieldFormat{pages}{\mkcomprange{#1}}
I also insert one of my references:
@incollection{Kitchen.2009,
author = {Kitchen, K. A.},
title = {The Third Intermediate Period in Egypt: An Overview of Fact and Fiction},
pages = {161–202},
bookpaginationtype = {page},
publisher = {Nederlands Archaeologisch-Philologisch Istituut voor het Nabije Oosten and Peeters},
series = {Egyptologische Uitgaven},
editor = {Broekman, G. P. F. and Demarée, R. J. and Kaper, O. E.},
booktitle = {The Libyan Period in Egypt},
year = {2009},
usera = {Yes},
location = {Leiden and Leuven},
booksubtitle = {Historical and Cultural Studies into the 21st-24th Dynasties: Proceedings of a Conference at Leiden University, 25-27 October 2007},
number = {23}
}
As I said, I would like the page ranges in the article
s and incollection
should be shortened to something like from "pages 321-328" into something like " pages 321-28".
Any help appreciated.
article
andincollection
but is used for all other entry types?pages
field, "all dashes are normalized and replaced by the command\bibrangedash
" (biblatex
manual, p. 13).