summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-19 20:45:29 +0000
committerKarl Berry <karl@freefriends.org>2015-09-19 20:45:29 +0000
commit1323aebc4e196f543ee2fa83f28b1aaa6f1b4d2b (patch)
tree1ab020db7d4fa63bd50d7c75c8d85e9987854191 /Master/texmf-dist/tex/latex
parentbe9467b2d5a4aa70891c03ed63922abe06edc5dd (diff)
biblatex-philosophy (19sep15)
git-svn-id: svn://tug.org/texlive/trunk@38407 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx43
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx273
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx2
10 files changed, 307 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx
index 6d563c3763d..609145d8d33 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{english-philosophy.lbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx
index 5756ef35122..a9da2300793 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{italian-philosophy.lbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
index e3023932330..9ace7e36108 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-classic.bbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
index fb179e5e75f..f335b3789e0 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-classic.cbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
index 7a545ba8ff8..8f5a6d473af 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-modern.bbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx
index bbbff417261..79512f71417 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-modern.cbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
index 43b5d067f50..91128b6f55b 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-standard.bbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
@@ -227,8 +227,13 @@
{\textsc{\Rn{#1}}~\bibstring{edition}}%
{\ifdefstring{\bbx@editionformat}{roman}%
{\Rn{#1}~\bibstring{edition}}
- {\optionerror{editionformat}}}}}}
- {#1}}%\isdot??
+ {\ifdefstring{\bbx@editionformat}{superscript}%
+ {\ClassError{biblatex-philosophy}
+ {\MessageBreak**** Option 'editionformat=superscript'
+ available only for philosophy-verbose style}
+ {\MessageBreak**** Option 'editionformat=superscript'
+ available only for philosophy-verbose style}
+}{}}}}}}{#1}}%\isdot??
\DeclareFieldFormat{related}{%
\ifdefstring{\bbx@relatedformat}{parens}%
{\mkpureparens{#1}}%
@@ -651,11 +656,19 @@
\togglefalse{bbx:annotation}%
\iffieldundef{relatedstring}%
{\bibstring{translationas}\space}%
- {\setunit{\bibstring{translationas}\space}}%
- \renewcommand*{\mkpureparens}{\unspace\addsemicolon\space}%horrible trick
- \renewcommand*{\mkbibbrackets}{\unspace\addsemicolon\space}%horrible trick
+ {\printtext{\addspace}}%
+ \ifentrytype{article}{}{%horrible trick
+ \renewcommand*{\mkpureparens}{\unspace\addsemicolon\space}%
+ \renewcommand*{\mkbibbrackets}{\unspace\addsemicolon\space}}%
\relatedcite{\thefield{related}}}
\DeclareBibliographyDriver{article}{%
+\renewbibmacro*{related:default}[1]{%
+ \togglefalse{cbx:scauthorscite}%
+ \togglefalse{bbx:annotation}%
+\iffieldundef{relatedstring}%
+ {\bibstring{translationas}\space}%
+ {\setunit{\bibstring{translationas}\space}}%
+ \relatedcite{\thefield{related}}}
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
@@ -1442,10 +1455,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate:article-inbook-incoll}%
- \setunit{\bibpagerefpunct}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -1464,10 +1480,13 @@
{}%
\newunit\newblock
\usebibmacro{doi+eprint+url}%
- \setunit{\bibpagerefpunct}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx
index d2ca918c756..ddd32ddc133 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-verbose.bbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
@@ -21,6 +21,21 @@
\RequireBibliographyStyle{authortitle}
\RequireBibliographyStyle{philosophy-standard}
+
+\DeclareFieldFormat{edition}{%
+ \ifinteger{#1}{%
+ \ifdefstring{\bbx@editionformat}{arabic}
+ {\mkbibordedition{#1}~\bibstring{edition}}
+ {\ifdefstring{\bbx@editionformat}{Roman}%
+ {\RN{#1}~\bibstring{edition}}%
+ {\ifdefstring{\bbx@editionformat}{romansc}%
+ {\textsc{\Rn{#1}}~\bibstring{edition}}%
+ {\ifdefstring{\bbx@editionformat}{roman}%
+ {\Rn{#1}~\bibstring{edition}}
+ {\ifdefstring{\bbx@editionformat}{superscript}%
+ {\mkbibsuperscript{#1}}%
+ {\optionerror{editionformat}}}}}}}{#1}}%\isdot??
+
\AtBeginShorthands{%
\togglefalse{bbx:annotation}%
\DeclareCiteCommand{\bbx@crossref@inbook}%
@@ -116,6 +131,252 @@
{\usebibmacro{nodash:editor+others}}
{\usebibmacro{translator+others}}}}
+\newbibmacro*{relateddate}{%
+ \setunit*{\addspace}%
+ \printdate\ifdefstring{\bbx@editionformat}{superscript}{\printfield{edition}}{}}
+\newbibmacro*{commarelateddate}{%
+ \setunit*{\addcomma\space}%
+ \printdate\ifdefstring{\bbx@editionformat}{superscript}{\printfield{edition}}{}}
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \ifdefstring{\bbx@editionformat}{superscript}{}%
+ {\printfield{edition}%
+ \newunit}%
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \newblock
+ \iftoggle{bbx:related}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{editor+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \ifdefstring{\bbx@editionformat}{superscript}{}%
+ {\printfield{edition}%
+ \newunit}%
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \newblock
+ \iftoggle{bbx:related}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\newbibmacro*{inbook:full}{%
+ \usebibmacro{bybookauthor}%
+ \newunit\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \ifdefstring{\bbx@editionformat}{superscript}{}%
+ {\printfield{edition}%
+ \newunit}%
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \newblock
+ \iftoggle{bbx:related}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+ \newbibmacro*{incollection:full}{%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \ifdefstring{\bbx@editionformat}{superscript}{}%
+ {\printfield{edition}%
+ \newunit}%
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \newblock
+ \iftoggle{bbx:related}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \ifdefstring{\bbx@editionformat}{superscript}{}%
+ {\printfield{edition}%
+ \newunit\newblock}%
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \newblock
+ \iftoggle{bbx:related}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
\newbibmacro*{usedriver:book}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
@@ -129,8 +390,9 @@
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
- \printfield{edition}%
- \newunit
+ \ifdefstring{\bbx@editionformat}{superscript}{}%
+ {\printfield{edition}%
+ \newunit}%
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
@@ -177,8 +439,9 @@
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
- \printfield{edition}%
- \newunit
+ \ifdefstring{\bbx@editionformat}{superscript}{}%
+ {\printfield{edition}%
+ \newunit}%
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx
index 6a9a87028d2..6fc286c6827 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-verbose.cbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx
index c0df3112e47..fd96590a0ed 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{spanish-philosophy.lbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: