Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

After switching to the classicthesis template for a compilation of class notes I took last term, I'm now seeing warnings like:

Warning--entry type for "wiki:curvature" isn't style-file defined
--line 638 of file myrefs.bib

Here's the bib entry for the warning above:

@webpage{ wiki:curvature,
   author = "Wikipedia",
   title = "Curvature --- Wikipedia{,} The Free Encyclopedia",
   year = "2012",
   url = "http://en.wikipedia.org/w/index.php?title=Curvature&oldid=488021394",
   note = "[Online; accessed 25-April-2012]"
 }

the classicthesis bib section looks like so:

\bibliographystyle{plainnat}
\label{app:bibliography}
\bibliography{myrefs}

First question is what does this style defined warning mean? Second question, presuming this is worth fixing, is how would it be fixed (one way to do so would be to revert to the unsrturl.bst instead of plainnat as used by classicthesis).

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

It means that @webpage is not a recognized type by the BibTeX style plainnat. So your entry is probably not formatted or only formatted in a very simple way (I have to check).

Update

I found a copy of the bibTeX source on some old disk ... and there it says:

The |built_in| function {.{call.type\$}} executes the function specified in |type_list| for this entry unless it's |undefined|, in which case it executes the default function .{default.type} defined in the .{.bst} file, or unless it's |empty|, in which case it does nothing.

So now looking into plainnat.bst we find

FUNCTION {default.type} { misc }

which its what we saw. So basically, if you are fine with @misc as a type, then you don't need to do anything really (and it is probably the only type that fits a webpage being referenced). If you want to get rid of the warning you could change to @misc (or some other standard type).

share|improve this answer
    
I don't recall why I'd used @webpage in my main .bib file, but have done what you suggested, adding a makefile rule for this project: myrefs.bib : ../myrefs.bib sed 's/@webpage/@manual/g' < $< > $@ –  Peeter Joot May 23 '12 at 3:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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