13

I've got the following .bib file (Material.bib):

@manual{GHCUserGuide,
  author = {The GHC Team},
  title = {The Glorious Glasgow Haskell Compilation System User's Guide},
  number = {7.6.3},
  institution={University Court of the University of Glasgow},
  year = {2013},
  month = {April}
}

@techreport{Haskell_1_3,
  author = {John Peterson and others},
  title = {Report on the Programming Language Haskell},
  institution = {Various institutions},
  year = {1996},
  month = {May}
}

and the following tex file:

\documentclass{scrreprt}

\begin{document}

\nocite{Haskell_1_3}
\nocite{GHCUserGuide}

\bibliographystyle{alphadin}
\bibliography{Material}


\end{document}

When running BibTeX, I get the following warnings:

This is BibTeX, Version 0.99d (MiKTeX 2.9)
The top-level auxiliary file: BibTeX.aux
The style file: alphadin.bst
Database file #1: Material.bib
Warning--empty number in Haskell_1_3
Warning--empty note in Haskell_1_3
Warning--empty edition in GHCUserGuide
Warning--empty address in GHCUserGuide
(There were 4 warnings)

That's strange because all the mentioned fields in the output are optional and not required for the given entry types. What's the reason for this behaviour and is there any way to get rid of the warning messages without having to add the fields to the .bib-file?

  • My test turns out correct. No warnings. My system is Vista, MiKTeX2.9 and TeXworks editor. – Jesse Aug 30 '13 at 2:56
  • That's really strange. I've also got MiKTeX2.9, but Windows 8. I'm using the editor WinEdt 7.1, but that shouldn't matter. Do you invoke BibTeX from the command line or from the editor? I invoke BibTeX on the command line without extra parameters. – M.B. Aug 30 '13 at 15:32
  • 4
    @M.B. the fields you've mentioned are optional for standard alpha style, but probably they are required for alphadin – karlkoeller Aug 30 '13 at 16:01
  • 2
    @Jesse -- 'pass' is misleading: a 'warning' is a warning, not an error, so the file will be created. @M.B. should read the comments in alphadin.bst and confirm that he is constructing entries correctly. On a Unix-ish system, you can do this (e.g.) by typing less $(kpsewhich alphadin.bst) (or substitute for your favourite editor). – jon Aug 30 '13 at 16:20
  • 1
    How do you know they are not required? It is the given .bst that defines what is required. An option may be truely options in one style, but required in another. Though, I've never seen a reuired note before. – daleif Aug 30 '13 at 16:57
5

The alphadin.bst file is present in TeX Live

/usr/local/texlive/2013/texmf-dist/bibtex/bst/din1505/alphadin.bst

and it uses slightly different rules for the fields. The classification of fields into mandatory and optional for a particular entry type depends on the bibliography style. It happens that alphadin.bst requires those fields for those entry types, so BibTeX warns when it doesn't find them.

The documentation about the din1505 styles can be found at

http://mirror.ctan.org/biblio/bibtex/contrib/german/din1505/normpatsoft.pdf

and its title is

Bibtex–Beispiele für Normen, Patente und Software nach Abschnitt 6.4, 6.5 und 6.8 der Norm DIN 1505 Teil 2

so they seem very specialized bibliography styles, for which it's clear that particular rules are applied.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.