]> git.lyx.org Git - features.git/commit
Move label generation from InsetBibtex to BiblioInfo.
authorJulien Rioux <jrioux@lyx.org>
Fri, 1 Feb 2013 15:18:37 +0000 (16:18 +0100)
committerJulien Rioux <jrioux@lyx.org>
Wed, 6 Feb 2013 16:37:58 +0000 (17:37 +0100)
commit6456c2262e348f6bc81c4e59c68e35c045dfa2cb
tree64170452168af35fb01ce8d955c25842d4f10b1f
parentf51636b547b87b710f6a22e067e94f96d41c740f
Move label generation from InsetBibtex to BiblioInfo.

This only move the code, but does not change the displayed labels.
Thus for numerical citation, the label is set to the cite number;
for author-year citation, the abbreviated list of authors is used
i.e. "Smith et al. 2001".

Eventually, we might want to make the label customizable, or get
it from BibTeX.
src/BiblioInfo.cpp
src/insets/InsetBibtex.cpp