BibTeX, biblatex and biberTroubles with natdin style

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Troubles with natdin style

Post by naclador »

Hello out there!

I am writing down my PhD thesis and I have trouble using BibTex and the Natdin style (hope someone here is familiar with that).

The problem I face is that the dutch noble "van" before the last name, like in Jean Claude van Damme, is correctly set in names with only one first name, but is left out in names with more than one first name. I give you a minimal example:

Code: Select all

\documentclass[11pt,a4paper]{article}

\usepackage[square,super,sort&compress]{natbib}
\bibliographystyle{natdin}


\begin{document}

This is some senseless text I have stolen from someone else, so I will cite him and all will be fine.\cite{Hell1865} And here is another stupid sentence without any real meaning, a citation from some other author.\cite{Als2001}


\bibliography{minimalPubs}

\end{document}
And bib file (to be saved as minimalPubs.bib):

Code: Select all

@ARTICLE{Als2001,
  author = {van Als, J. P.},
  title = {Cheese},
  journal = {Illustrated Journal of Milk Products},
  year = {2001},
  volume = {5},
  pages = {123},
  owner = {Florian},
  timestamp = {2010.07.27}
}

@ARTICLE{Hell1865,
  author = {van Hellsing, G.},
  title = {A guideline for vampire hunters},
  journal = {Journal of the Holy Inquisition},
  year = {1865},
  volume = {5},
  pages = {4581},
  owner = {Florian},
  timestamp = {2010.07.27}
}
Last edited by naclador on Wed Jul 28, 2010 11:34 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Troubles with natdin style

Post by localghost »

It works for me when grouping the multiple surnames.

Code: Select all

\begin{filecontents*}{\jobname.bib}
@ARTICLE{Als2001,
  author = {{J. P.} van Als},
  title = {Cheese},
  journal = {Illustrated Journal of Milk Products},
  year = {2001},
  volume = {5},
  pages = {123},
  owner = {Florian},
  timestamp = {2010.07.27}
}

@ARTICLE{Hell1865,
  author = {G. van Hellsing},
  title = {A guideline for vampire hunters},
  journal = {Journal of the Holy Inquisition},
  year = {1865},
  volume = {5},
  pages = {4581},
  owner = {Florian},
  timestamp = {2010.07.27}
}
\end{filecontents*}
\documentclass[11pt,a4paper]{article}
\usepackage[square,super,sort&compress]{natbib}
\bibliographystyle{natdin}

\begin{document}
  This is some senseless text I have stolen from someone else, so I will cite him and all will be fine.\cite{Hell1865} And here is another stupid sentence without any real meaning, a citation from some other author.\cite{Als2001}
  \bibliography{\jobname}
\end{document}
As soon as the problem is solved, please act according to Section 3 of the Board Rules (last two paragraphs).


Best regards and welcome to the board
Thorsten
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Re: Troubles with natdin style

Post by naclador »

Hello Thorsten,

this works perfectly, thanks a lot. Does even work from within JabRef without any trouble.

Thanks for your welcome!

Best,

Nalcador
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Re: Troubles with natdin style

Post by naclador »

Hello Thorsten,

how do I mark this topic as solved? Can't find anything to click.

Best,

Naclador
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Troubles with natdin style

Post by localghost »

naclador wrote:[...] how do I mark this topic as solved? Can't find anything to click. [...]
Edit your initial post and choose the green checkmark from the icon list.
User avatar
naclador
Posts: 11
Joined: Thu Nov 26, 2009 11:40 am

Re: Troubles with natdin style

Post by naclador »

Ah, yes,

a little different from other forums I used in the past.

Thanks again,

Naclador
Post Reply