I need to use lncs format for my bibliography for a document class of book
When using
\documentclass[12pt,a4paper,oneside]{book}
\usepackage[
doi=false
,isbn=false
,url=false
,backend=biber
,style=lncs
]{biblatex}
\renewcommand*{\postnotedelim}{}
\DeclareFieldFormat{postnote}{\mkbibparens{\mkpageprefix[pagination] [\mknormrange]{#1}}}
\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}%
\bibopenbracket}
{\usebibmacro{citeindex}%
\ifnumgreater{\value{citecount}}{1}
{\bibopenbracket}
{}%
\usebibmacro{cite}}
{\bibclosebracket\multicitedelim}
{\bibclosebracket
\usebibmacro{postnote}}
\addbibresource{./msc_cs.bib}
\begin{document}
\nocite{Steyn2017,Paar2011,Jensen1980,Jonesb}
\printbibliography
\end{document}
The output is given by
The indentation of the second line does not match the indentation of the authors surname. There is also an extra .
before item 3, and if Jonesb
is not referenced the extra .
is not here any more.
@Article{Jonesb,
author = {Jones, Cliff B.},
title = {SYSTEMATIC SOFTWARE DEVELOPMENT USING VDM SECOND EDITION},
}
@Article{Jensen1980,
author = {Kurt Jensen},
title = {{Coloured Petri Nets}},
year = {1980},
pages = {248--299},
doi = {10.1007/978-3-540-47919-2_10},
booktitle = {Petri Nets: Central Models and Their Properties},
publisher = {Springer Berlin Heidelberg},
}
@InProceedings{Steyn2017,
author = {Theunis J. Steyn and Stefan Gruner},
title = {A new optional parallelism operator in {CSP} for wireless sensor networks},
booktitle = {Proceedings of the South African Institute of Computer Scientists and Information Technologists on - {SAICSIT} {\textquotesingle}17},
year = {2017},
publisher = {{ACM} Press},
doi = {10.1145/3129416.3129431},
}
@InProceedings{Paar2011,
author = {Alexander Paar and Stefan Gruner},
title = {Static typing with value space-based subtyping},
booktitle = {Proceedings of the South African Institute of Computer Scientists and Information Technologists Conference on Knowledge, Innovation and Leadership in a Diverse, Multidisciplinary Environment - {SAICSIT} {\textquotesingle}11},
year = {2011},
publisher = {{ACM} Press},
doi = {10.1145/2072221.2072242},
}
biblatex-lncs
doesn't cope particularly well with missing information. The symptom is quite weird, I don't have time to investigate it properly, butJonesb
is definitely missing required fields and it probably should not SHOUT. Re the weird indentation: At the moment my guess is that the indentation is correct and that some part of the code introduces an unwanted spurious space. If we can find it, the first line will start just a tad farther to the left and things should align.