mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
It is convenient for me to change this for use in XHTML output, but I also
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
This commit is contained in:
parent
2b118ae71e
commit
21121f3fb5
@ -900,6 +900,13 @@ void InsetBibtex::validate(LaTeXFeatures & features) const
|
||||
}
|
||||
|
||||
|
||||
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");
|
||||
|
@ -52,6 +52,8 @@ public:
|
||||
///
|
||||
void validate(LaTeXFeatures &) const;
|
||||
///
|
||||
int xhtml(odocstream &, OutputParams const &) const;
|
||||
///
|
||||
static ParamInfo const & findInfo(std::string const &);
|
||||
///
|
||||
static std::string defaultCommand() { return "bibtex"; };
|
||||
|
@ -466,7 +466,7 @@ void InsetCitation::updateLabels(ParIterator const &)
|
||||
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")));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user