[Tex/LaTex] Displaying only the starting page of a page range in bibliographies

bibliographiesbibtexcustom-bib

I'm battling with this for couple of hours now…

My supervisor asked me to generate the bibliography in a certain style, for articles I need to do:

Author 1; Author 2, Journal name, volume, page, (year)

Where the volume, page and year are number (page is only the starting page of the article)

For chapters I need:

Author 1; Autoher 2, In Book name, page editors: Editor 1; Editor2; (publisher, city, year).

Again, year is a number and page is the staring page

Finally, books follow the same logic

Editor 1; Editor 2, Book name, (publisher, city, year).

I tried to do this through makebst but it insist on using page range. I tried to search for a bst files online but all I found was list without examples. Where can I find a list with examples or a generator for bst files?

I also considered switching to biblatex but couldn't find any clear notion wither or not biblatex provides control over citation style.

Best Answer

Here's a solution using biblatex. Note that \mkfirstpage uses \mkpageprefix as a post-processor instead of these commands simply being nested; see section 4.6.4 of the biblatex manual for details.

\documentclass{article}

\usepackage{biblatex}

\DeclareFieldFormat{pages}{\mkfirstpage[{\mkpageprefix[bookpagination]}]{#1}}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{Bli74,
  author = {Blinder, Alan S.},
  year = {1974},
  title = {The economics of brushing teeth},
  journaltitle = {Journal of Political Economy},
  volume = {82},
  number = {4},
  pages = {887--891},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

enter image description here

Related Question