have been wanting to change it for a while. It is not very useful to have
a bunch of years listed in the citations TOC (which you get if you have used
\citeyear very often. Better, it seems to me, to see the citation keys.
Of course, this can be switched again if need be, and I can figure out a
different way to handle my own problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30053
a592a061-630c-0410-9148-
cb99ea01b6c8
}
+int InsetBibtex::xhtml(odocstream &, OutputParams const &) const
+{
+ //Toc const & toc = buffer().tocBackend().toc("citation");
+ return 0;
+}
+
+
docstring InsetBibtex::contextMenu(BufferView const &, int, int) const
{
return from_ascii("context-bibtex");
///
void validate(LaTeXFeatures &) const;
///
+ int xhtml(odocstream &, OutputParams const &) const;
+ ///
static ParamInfo const & findInfo(std::string const &);
///
static std::string defaultCommand() { return "bibtex"; };
void InsetCitation::addToToc(DocIterator const & cpit)
{
Toc & toc = buffer().tocBackend().toc("citation");
- toc.push_back(TocItem(cpit, 0, cache.screen_label));
+ toc.push_back(TocItem(cpit, 0, getParam("key")));
}