You have to use latexdiff
directly on the bbl files. So just execute
latexdiff old.bbl new.bbl > diff.bbl
and then execute (pdf)latex diff.tex
. This generally works well with (author,year) style of citations, but I have not tried it with numbered styles.
For the bibnote
command you probably have to use --append-textcmd
option
latexdiff --append-textcmd=bibnote ...
I would say this depends on your bibliographic style and personal taste.
Using biblatex
and the default style, you can get (code below):
On the other hand, if I use @unpublished rather than @phdthesis, the
output does not show anything about this work being a phd thesis. any
ideas?
There is something else : the school is not printed, so you have to tweak to add it (as a note, or something else).
Personally, I would definitely choose the @phdthesis
for
- This is what this document is,
- It will be easier to update your
bib
file, as you will just have to comment the unpublished
.
- It reflects the fact that this document is "scholar".
Code :
\documentclass{article}
\usepackage[backend=bibtex]{biblatex}
\RequirePackage{filecontents}
\begin{filecontents*}{bib.bib}
@phdthesis{mephd2014,
author={Myself, Roberto},
title={A great memoir},
school={UCXDX},
year={2014},
note={unpublished thesis}
}
@phdthesis{mepdh2014bis,
author={Myself, Roberto},
title={A great memoir},
school={UCXDX},
year={2014},
addendum={unpublished thesis}
}
@unpublished{meunpub2014,
author={Myself, Roberto},
title={A great memoir},
school={UCXDX},
year={2014},
note={unpublished thesis}
}
@unpublished{meunpub2014bis,
author={Myself, Roberto},
title={A great memoir},
school={UCXDX},
year={2014},
addendum={unpublished thesis}
}
\end{filecontents*}
\addbibresource{bib.bib}
\begin{document}
\noindent
\verb|@phdthesis| with note: \cite{mephd2014}\\
\verb|@phdthesis| with addendum: \cite{mepdh2014bis}\\
\verb|@unpublished| with note: \cite{meunpub2014}\\
\verb|@unpublished| with addendum: \cite{meunpub2014bis}
\printbibliography
\end{document}
Best Answer
You can modify the bibliography style (
.bst
) to achieve your goal. However, is a laborious task, and may be error prune.So, lets say you have the
plain.bst
style. Then you just need to find theFUNCTION {article}
,FUNCTION {book}
, and so on. In general, you need to modify eachFUNCTION {<entry>}
that you want to use in your bibliography, and remove the undesired fields from there.Like this example
the commented parts are the ones that will get removed from the final part. And you can save the modified style, let's say
myplain.bst
and use it like:Minimal (using
myplain.bst
):Full (using
plain.bst
):