mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix problem with bibliography indentation reported on user list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39149 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f69348f48a
commit
51149d8490
@ -4000,10 +4000,12 @@ void Buffer::Impl::setLabel(ParIterator & it, UpdateType utype) const
|
|||||||
// Compute the item depth of the paragraph
|
// Compute the item depth of the paragraph
|
||||||
par.itemdepth = getItemDepth(it);
|
par.itemdepth = getItemDepth(it);
|
||||||
|
|
||||||
if (layout.margintype == MARGIN_MANUAL
|
if (layout.margintype == MARGIN_MANUAL) {
|
||||||
|| layout.latextype == LATEX_BIB_ENVIRONMENT) {
|
|
||||||
if (par.params().labelWidthString().empty())
|
if (par.params().labelWidthString().empty())
|
||||||
par.params().labelWidthString(par.expandLabel(layout, bp));
|
par.params().labelWidthString(par.expandLabel(layout, bp));
|
||||||
|
} else if (layout.latextype == LATEX_BIB_ENVIRONMENT) {
|
||||||
|
// we do not need to do anything here, since the empty case is
|
||||||
|
// handled during export.
|
||||||
} else {
|
} else {
|
||||||
par.params().labelWidthString(docstring());
|
par.params().labelWidthString(docstring());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user