Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added short title reference
  • Loading branch information
cyocum committed Nov 8, 2011
1 parent 1665ee6 commit fa79fcc
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions mhra.cbx
Expand Up @@ -26,6 +26,15 @@
\printnames[first-last]{author}
}

\newbibmacro*{cite:short}{%
\printnames{labelname}%
\setunit*{\nametitledelim}%
\printtext[bibhyperlink]{%
\printfield[citetitle]{labeltitle}}
\newunit\newblock
\printfield{postnote}
}

\newbibmacro*{publisher-details}{%
\unspace
\printtext{
Expand Down Expand Up @@ -99,9 +108,13 @@
}

\DeclareCiteCommand{\cite}{}{%
\usedriver
{{\DeclareNameAlias{sortname}{default}}}
{\thefield{entrytype}}%
\ifciteseen {
\usebibmacro{cite:short}
}{
\usedriver
{{\DeclareNameAlias{sortname}{default}}}
{\thefield{entrytype}}%
}
}{\multicitedelim}{}

\endinput

0 comments on commit fa79fcc

Please sign in to comment.