mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Missing backports in the context of #9158
This fixes the remaining regressions in stable with citation
This commit is contained in:
parent
481633eab4
commit
67495a71d1
@ -4808,6 +4808,11 @@ void Buffer::updateBuffer(UpdateScope scope, UpdateType utype) const
|
||||
if (master == this && !d->ignore_parent) {
|
||||
textclass.counters().reset(from_ascii("bibitem"));
|
||||
reloadBibInfoCache();
|
||||
// we will re-read this cache as we go through, but we need
|
||||
// to know whether it's changed to know whether we need to
|
||||
// update the bibinfo cache.
|
||||
old_bibfiles = d->bibfiles_cache_;
|
||||
d->bibfiles_cache_.clear();
|
||||
}
|
||||
|
||||
// keep the buffers to be children in this set. If the call from the
|
||||
|
@ -879,6 +879,13 @@ void InsetBibtex::validate(LaTeXFeatures & features) const
|
||||
}
|
||||
|
||||
|
||||
void InsetBibtex::updateBuffer(ParIterator const &, UpdateType)
|
||||
{
|
||||
buffer().registerBibfiles(getBibFiles());
|
||||
}
|
||||
|
||||
|
||||
|
||||
docstring InsetBibtex::getRefLabel() const
|
||||
{
|
||||
if (buffer().masterParams().documentClass().hasLaTeXLayout("chapter"))
|
||||
|
@ -57,6 +57,8 @@ public:
|
||||
int plaintext(odocstringstream & ods, OutputParams const & op,
|
||||
size_t max_length = INT_MAX) const;
|
||||
///
|
||||
void updateBuffer(ParIterator const &, UpdateType);
|
||||
///
|
||||
void addToToc(DocIterator const & di, bool output_active,
|
||||
UpdateType utype, TocBackend & backend) const;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user