I use an alphabetic citestyle with biblatex. Sometimes I have entries where no author or editor or year is given. For example there is often no editor for a proceeding. At the moment I leave the entry for editor
empty, but I would like to change this behavior so that biblatex automatically prints ‘s.ed.’ (lat. sine editore) in the bibliography if the field is empty.
When I just write this into the editor
field I get s.ed. (Ed.)
. So I need to prevent the output of (Ed.)
, but I have no idea where to implement this.
In the same way the following entries should be printed (see link in german) when the field is usually required for the type of entry:
- ‘s.a.’ (lat. sine auctore "without author")
- ‘s.ed.’ (lat. sine editore "without editor")
- ‘s.a.’ (lat. sine anno "without year")
- ‘s.t.’ (lat. sine titulo "without title")
- ‘s.l.’ (lat. sine loco "without location")
- ‘s.ed.’ (lat. sine editore "without publisher")
At the moment I have no idea how to handle a missing author or year for the citations within the text, because sth. like [ABCs.a.]
doesn't look good. Therefore, suggestions are welcome ;)
MWE:
The MWE illustrates the different cases of missing entries. I always wrote the abbreviation into the field (except for the second entry) by hand to illustrate what the output should look like. The output is correct except for the case where no editor is given, because the output is s.ed., ed.
but it should be s.ed.
. That is the first point where I need help to fix it.
If I want to change the abbreviation from latin to english later it would be a complicated task. So this is the second point where I need help with a solution for the following problem:
What I would like to achieve is to tell biblatex that I don't have a value for a specific field and I want to print the appropriate abbreviation to state to the reader that no information is available for that field (maybe a command like \noauthor
). If I just leave the field empty it should be interpreted as ignoring the field like biblatex already do for the second entry noAuthor2
WARN - The field 'author' in entry 'noAuthor2' cannot be null, deleting it
.
\documentclass{article}
\usepackage[backend=biber,style=alphabetic, autocite=footnote]{biblatex}
\begin{filecontents*}{bibliography.bib}
% Example for no author
@BOOK{noAuthor,
author = {s.a.},
title = {Rocket Propulsion and Spaceflight Dynamics},
year = {1979},
location = {New York},
publisher = {Pitman},
}
% Example for no author and field left empty
@BOOK{noAuthor2,
author = {},
title = {Rocket Propulsion and Spaceflight Dynamics},
year = {1979},
location = {New York},
publisher = {Pitman},
}
% Example for no editor
@Collection{noEditor,
editor = {s.ed.},
title = {Book of light},
year = {1985},
publisher = {Springer Science+Business Media, LLC},
location = {New York}
}
% Example for no year
@BOOK{noYear,
author = {Cornelisse, J. W. and Schoeyer, H. Ferry R. and Wakker, Karel F.},
title = {Rocket Propulsion and Spaceflight Dynamics},
year = {s.a.},
location = {New York},
publisher = {Pitman},
}
% Example for no title
@BOOK{noTitle,
author = {Cornelisse, J. W. and Schoeyer, H. Ferry R. and Wakker, Karel F.},
title = {s.t.},
year = {1979},
location = {New York},
publisher = {Pitman},
}
% Example for no location
@BOOK{noLocation,
author = {Cornelisse, J. W. and Schoeyer, H. Ferry R. and Wakker, Karel F.},
title = {Rocket Propulsion and Spaceflight Dynamics},
year = {1979},
location = {s.l.},
publisher = {Pitman},
}
% Example for no publisher
@BOOK{noPublisher,
author = {Cornelisse, J. W. and Schoeyer, H. Ferry R. and Wakker, Karel F.},
title = {Rocket Propulsion and Spaceflight Dynamics},
year = {1979},
location = {New York},
publisher = {s.ed.},
}
\end{filecontents*}
\addbibresource{bibliography.bib}
\nocite{*}
\begin{document}
\null
\vfill
\printbibliography
\end{document}
Aucun commentaire:
Enregistrer un commentaire