mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #8603: We want unabbreviated TOC entries here.
This commit is contained in:
parent
1c0100d3b1
commit
d2e947d585
@ -4286,7 +4286,7 @@ void Buffer::updateBuffer(UpdateScope scope, UpdateType utype) const
|
||||
|
||||
d->bibinfo_cache_valid_ = true;
|
||||
d->cite_labels_valid_ = true;
|
||||
cbuf.tocBackend().update(true);
|
||||
cbuf.tocBackend().update(utype == OutputUpdate);
|
||||
if (scope == UpdateMaster)
|
||||
cbuf.structureChanged();
|
||||
}
|
||||
|
@ -107,7 +107,8 @@ void InsetCaption::addToToc(DocIterator const & cpit, bool output_active) const
|
||||
|
||||
Toc & toc = buffer().tocBackend().toc(floattype_);
|
||||
docstring str = full_label_;
|
||||
text().forToc(str, TOC_ENTRY_LENGTH);
|
||||
int length = output_active ? INT_MAX : TOC_ENTRY_LENGTH;
|
||||
text().forToc(str, length);
|
||||
toc.push_back(TocItem(pit, 0, str, output_active));
|
||||
|
||||
// Proceed with the rest of the inset.
|
||||
|
@ -79,7 +79,8 @@ private:
|
||||
docstring xhtml(XHTMLStream & os, OutputParams const & runparams) const;
|
||||
///
|
||||
void setCustomLabel(docstring const & label);
|
||||
///
|
||||
/// \param output_active : is the toc being generated for use by the
|
||||
/// output routines?
|
||||
void addToToc(DocIterator const & di, bool output_active) const;
|
||||
///
|
||||
virtual bool forcePlainLayout(idx_type = 0) const { return true; }
|
||||
|
Loading…
Reference in New Issue
Block a user