dcpurton / biblatex-sbl

Society of Biblical Literature (SBL) style files for biblatex
25 stars 6 forks source link

No page numbers for first citation of incollections #8

Closed baem2 closed 8 years ago

baem2 commented 8 years ago

If you're quoting specific pages of a INCOLLECTION entry in the first quote (where you have the full quote), the given pages just disappear: It only shows the pages where you can find the whole essay in the book, but not the pages you're actually quoting.

The same happens with ARTICLEs.

MWE:

\listfiles
\documentclass{article}
\usepackage[english]{babel}

\usepackage[utf8]{inputenc}

\begin{filecontents}{test.bib}
@incollection{attridge:1986,
    author = {Attridge, Harold W.},
    title = {Jewish Historiography},
    pages = {311-343},
    booktitle = {Early Judaism and Its Modern Interpreters},
    editor = {Kraft, Robert A. and Nickelsburg, George W. E.},
    publisher = {Philadelphia: Fortress; Atlanta: Scholars Press},
    date = {1986}
}
\end{filecontents}

\usepackage[style=sbl]{biblatex}
\bibliography{test.bib}

\begin{document}
A short test: \cite[312--314]{attridge:1986}
And now it works: \cite[313--315]{attridge:1986}
\end{document} 
baem2 commented 8 years ago

And after some more tests: This probably happens for everything that uses a 'pages' entry. I can confirm it for INCOLLECTION, INBOOK, and ARTICLE.

Nhapsie commented 8 years ago

Hi Phillip

What David and I designed is for first quote of chapter to output total pagination automatically. If you need to cite pages in addition to that use prenote, and your specific pages will be output in parenthesis. If you need a mwe let me know and I will send one that David produced.

Carlos

On Jan 15, 2016, at 9:38 AM, Philipp notifications@github.com wrote:

If you're quoting specific pages of a INCOLLECTION entry in the first quote (where you have the full quote), the given pages just disappear: It only shows the pages where you can find the whole essay in the book, but not the pages you're actually quoting

The same happens with ARTICLEs

MWE:

\listfiles \documentclass{article} \usepackage[english]{babel}

\usepackage[utf8]{inputenc}

\begin{filecontents}{testbib} @incollection{attridge:1986, author = {Attridge, Harold W}, title = {Jewish Historiography}, pages = {311-343}, booktitle = {Early Judaism and Its Modern Interpreters}, editor = {Kraft, Robert A and Nickelsburg, George W E}, publisher = {Philadelphia: Fortress; Atlanta: Scholars Press}, date = {1986} } \end{filecontents}

\usepackage[style=sbl]{biblatex} \bibliography{testbib}

\begin{document} A short test: \cite[312--314]{attridge:1986} And now it works: \cite[313--315]{attridge:1986} \end{document} — Reply to this email directly or view it on GitHub https://github.com/dcpurton/biblatex-sbl/issues/8.

baem2 commented 8 years ago

Well, my point is that the specific pages are not there for me. Just check my MWE, I am using the prenote there.

Nhapsie commented 8 years ago

Can't compile your MWE. Try this

\usepackage{fontspec}
\usepackage[citepages=permit,style=sbl,backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@suppbook{boers:1996,
  author = {Boers, Hendrikus},
  type = {introduction},
  booktitle = {How to Read the New Testament: An Introduction to Linguistic and Historical-Critical Methodology},
  bookauthor = {Egger, Wilhelm},
  translator = {Heinegg, Peter},
  location = {Peabody, MA},
  publisher = {Hendrickson},
  date = {1996},
  pages = {i-xii}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}

\autocite{boers:1996}
\citereset
\autocite[ii]{boers:1996}
\citereset
\autocite[a note]{boers:1996}
\autocite{boers:1996}
\autocite[iii]{boers:1996}
\autocite[iii]{boers:1996}
\autocite[a note]{boers:1996}

\printbibliography

\end{document}
baem2 commented 8 years ago

Ah, okay, citepages=permit does the trick! Thanks! That solves the problem!

(The biblatex-dw package I am using usually does this automatically, it seems ...)

baem2 commented 8 years ago

Am 15.01.2016 um 20:17 schrieb Nhapsie:

how do you enclose coding to appear in gray here?

For a full block three times before and after the block, for some words two times.

Nhapsie commented 8 years ago

Oh, thank you!

dcpurton commented 8 years ago

Further to comments by Carlos:

In line with the standard styles, there are a number of options possible for citepages.

The standard styles also support citepages=suppress, but I have just removed this option because it gave ambiguous results when the postnote format was volume:pages.

baem2 commented 8 years ago

Ooh, good to know, thanks. citepages=separate is what exactly fits my needs!