I have the following MWE with my custom bibliography, but I find myself with many talks with the same title (and author) that I want to group together... I guess I would need to use \iffieldundef and/or \iffieldsequal... this is my best attempt (commenting repeated title and author fields in my bib file):
\documentclass{article}
%%%%%%%%%%%%%%%%
% Bibliography %
%%%%%%%%%%%%%%%%
\RequirePackage[style=verbose, maxnames=99, sorting=ydnt, backend=biber]{biblatex}
\DeclareFieldFormat[article]{title}{#1\par}
\DeclareFieldFormat[misc]{title}{#1\par}
\DeclareFieldFormat[thesis]{title}{#1\par}
\DeclareBibliographyDriver{article}{%
\printfield{title}%
\newblock%
\printnames{author}%
\par%
\newblock%
{%
\usebibmacro{journal+issuetitle}%
\setunit{\space}%
\printfield{pages}%
\newunit%
\printlist{publisher}%
%\setunit*{\addcomma\space}%
%\printfield{year}%included in issuetitle
\newunit%
}
\par\vspace{0.3\baselineskip}
}
\DeclareBibliographyDriver{misc}{%
\printfield{title}%
\newblock%
\printnames{author}%
\par%
\newblock%
{%
\printfield{type} (\printfield{month} \printfield{year})
\setunit{\addperiod\space}%
\printfield{note}%
\setunit*{\addcomma\space}%
\printlist{location}%
\newunit%
}
\par\vspace{0.3\baselineskip}
}
\DeclareBibliographyDriver{thesis}{%
\printfield{title}%
\newblock%
\printnames{author}%
\par%
\newblock%
{%
\printfield{type}
\setunit{\addperiod\space}%
\usebibmacro{institution+location+date}%includes year
\setunit{\addperiod\space}%
\printfield{url}%
\newunit%
}
\par\vspace{0.3\baselineskip}
}
\DeclareNameFormat{author}{%
\ifblank{#3}{}{#3\space}#1%
\ifthenelse{\value{listcount}<\value{liststop}}
{\addcomma\space}
{}%
}
\newcommand{\printbibsection}[1]{
\begin{refsection}
\nocite{*}
\printbibliography[sorting=chronological, type={#1}, heading=none]
\end{refsection}
}
\DeclareSortingScheme{chronological}{
\sort[direction=descending]{\field{year}}
\sort[direction=descending]{\field{month}}
\sort[direction=descending]{\field{day}} %I include the day in entries in the same month and year
}
\begin{filecontents}{\jobname.bib}
@misc{Doe2013b,
location = {This University},
note = {Poster Symposium},
author = {Doe, John},
title = {{Investigating tissue-specificity}},
type = {POSTER},
month = {Sep},
year = {2013}
}
@misc{Doe2014c,
location = {This Other Center},
author = {Doe, John},
title = {{Variability in gene expression}},
type = {TALK},
month = {Sep},
year = {2014}
}
@misc{Doe2014b,
location = {This School},
%author = {Doe, John},
%title = {{Variability in gene expression}},
type = {TALK},
day = 30, %I include the day in entries in the same month and year
month = {Jul},
year = {2014}
}
@misc{Doe2014a,
location = {This Center},
%author = {Doe, John},
%title = {{Variability in gene expression}},
type = {TALK},
day = 23, %I include the day in entries in the same month and year
month = {Jul},
year = {2014}
}
@misc{Doe2014,
location = {This College},
note = {Annual International Symposium},
%author = {Doe, John},
%title = {{Variability in gene expression}},
type = {POSTER},
month = {May},
year = {2014}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\printbibsection{misc}
\end{document}
Which produces the following:

I would like to remove the \newblocks between TALKS/POSTERS, including a hyphen before them... Anybody? Thanks!
EDIT
commenting repeated titles and using \iffieldundef I produced the following MWE:
\documentclass{article}
\usepackage{fontawesome}
\newfontfamily{\FA}{FontAwesome}
%%%%%%%%%%%%%%%%
% Bibliography %
%%%%%%%%%%%%%%%%
\RequirePackage[style=verbose, maxnames=99, sorting=ydnt, backend=biber]{biblatex}
\DeclareFieldFormat[misc]{title}{#1\par}
\newbibmacro*{newtitle}{%
\iffieldundef{title}
{}
{\printfield{title}%
\newblock
\printnames{author}%
\par
\newblock
}
}
\DeclareBibliographyDriver{misc}{%
\usebibmacro{newtitle}%
{%
\faCaretRight \hspace{1px}%
\printfield{type} (\printfield{month} \printfield{year})%
\setunit{\addperiod\space}%
\printfield{note}%
\setunit*{\addcomma\space}%
\printlist{location}%
\newunit%
}
\par\vspace{0.3\baselineskip}
}
\DeclareNameFormat{author}{%
\ifblank{#3}{}{#3\space}#1%
\ifthenelse{\value{listcount}<\value{liststop}}
{\addcomma\space}
{}%
}
\newcommand{\printbibsection}[1]{
\begin{refsection}
\nocite{*}
\printbibliography[sorting=chronological, type={#1}, heading=none]
\end{refsection}
}
\DeclareSortingScheme{chronological}{
\sort[direction=descending]{\field{year}}
\sort[direction=descending]{\field{month}}
\sort[direction=descending]{\field{day}} %I include the day in entries in the same month and year
}
\begin{filecontents}{\jobname.bib}
@misc{Doe2013b,
location = {This University},
note = {Poster Symposium},
author = {Doe, John},
title = {{Investigating tissue-specificity}},
type = {POSTER},
month = {Sep},
year = {2013}
}
@misc{Doe2014c,
location = {This Other Center},
author = {Doe, John},
title = {{Variability in gene expression}},
type = {TALK},
month = {Sep},
year = {2014}
}
@misc{Doe2014b,
location = {This School},
author = {Doe, John},
%title = {{Variability in gene expression}},
type = {TALK},
day = 30, %I include the day in entries in the same month and year
month = {Jul},
year = {2014}
}
@misc{Doe2014a,
location = {This Center},
author = {Doe, John},
%title = {{Variability in gene expression}},
type = {TALK},
day = 23, %I include the day in entries in the same month and year
month = {Jul},
year = {2014}
}
@misc{Doe2014,
location = {This College},
note = {Annual International Symposium},
author = {Doe, John},
%title = {{Variability in gene expression}},
type = {POSTER},
month = {May},
year = {2014}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\printbibsection{misc}
\end{document}
Which produces this:

Which is more or less what I want, but now I face the problem of INDENTATIONS!! How can I get the new TALK/POSTER lines to have the same indentation as the first one?? One weird thing I noticed is that if I remove the % after
\newbibmacro*{newtitle}{
or
\DeclareBibliographyDriver{misc}{
the indentation changes... WHY IS THAT?? However, I never get to have the same indentation with the new lines as with the first line... Besides, the space between TALKS/POSTERS should also be the same as the space between the author and the first TALK...
Thanks again!




%see What is the use of percent signs (%) at the end of lines?, in short: you should have a%at the end of a line inbiblatex, if it does not end in a macro call without arguments. Taking that into account you're missing quite a lot of those: after\usebibmacro{newtitle},\hspace{1px},(\printfield{month} \printfield{year})etc. pp. While the ones after\parand\newblockaren't needed. – moewe Sep 16 '14 at 16:21