I have to use a quite unique citation style for my dissertation and have therefore strated to customize a biblatex.cfg file. I use verbose style as a base and came quite far already with other items, however, articles still pose a problem. Articles have to be cited in the following format:
author, title, journalshort year, firstpage (pageref).
In consequent citations the title is dropped. If journalshort is not available, then I have to use journaltitle
For now I have the following biblatex.cfg:
% -- comma between bibliography units
\renewcommand*{\newunitpunct}{\addcomma\space}
% -- No prefix for pages
\DeclareFieldFormat{pages}{#1}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
% -- No italic titles
\DeclareFieldFormat{title}{#1}
\DeclareFieldFormat{booktitle}{#1}
\DeclareFieldFormat{citetitle}{#1}
\DeclareFieldFormat{journaltitle}{#1}
% -- No "'" for title
\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{citetitle}{#1}
\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{#1}
% -- Authors and editors in italic and only show surname
\DeclareNameFormat{family}{\mkbibemph{%
\usebibmacro{name:family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}}%
\usebibmacro{name:andothers}}
\DeclareNameAlias{default}{family}
\DeclareNameAlias{sortname}{default}
\DeclareNameAlias{labelname}{default}
% -- "/" between names but "," and "and" in textcite
\DeclareDelimFormat{multinamedelim}{\slash}
\DeclareDelimAlias{finalnamedelim}{multinamedelim}
\DeclareDelimFormat[textcite]{multinamedelim}{\addcomma\space}
\DeclareDelimFormat[textcite]{finalnamedelim}{\addnbspace\bibstring{and}\space}
\DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\setunit{\printdelim{nametitledelim}}\newblock
\usebibmacro{maintitle+title}%
\setunit{\addcomma\addspace}\newblock
\iffieldundef{shortjournal}{\iffieldundef{journaltitle}{}{\printtext[journaltitle]{\printfield{journaltitle}}}}{\printtext[journaltitle]{\printfield[titlecase]{shortjournal}}}%
\setunit{\addspace}\newblock
\printfield{year}%
\mkfirstpage{\printfield{pages}}%
\setunit{\addspace}\newblock
\parentext{\usebibmacro{pageref}}%
\newunit\newblock
\iftoggle{bbx:related}{\usebibmacro{related:init}%
\usebibmacro{related}}{}%
\usebibmacro{finentry}}
Using this example:
\documentclass{article}
\usepackage[backend=biber, style=verbose]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{citation,
title = {Short title: Long title},
shorttitle = {Short title},
author = {Doe, John},
date = {1995},
journaltitle = {Journal Title},
shortjournal = {JT},
pages = {120--130}
}
\end{filecontents}
\begin{document}
\cite[125]{citation}
\cite[127]{citation}
\printbibliography
\end{document}
I get:
Doe, Short title: Long title, JT 1995(), 125
Doe, Short title, 127
References
Doe, Short title: Long title, JT 1995120–130().
But I would need:
Doe, Short title: Long title, JT 1995, 120 (125).
Doe, JT 1995, 120 (128).
References
Doe, Short title: Long title, JT 1995, 120.
- How can I show the first page of the article appears on? I cannot seem to show \mkfirstpage{\printfield{pages}}.
- How can I put pageref in parenthesis?
- How can I drop the title in subsequent citations?
