mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
Fix problem with bibliography indentation reported on user list.
Porting to branch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39150 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f2e2119b3f
commit
0de72fc38c
@ -3966,10 +3966,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());
|
||||||
}
|
}
|
||||||
|
@ -83,6 +83,8 @@ What's new
|
|||||||
|
|
||||||
- Fix output of decimally aligned columns in unviewed (on screen) tables.
|
- Fix output of decimally aligned columns in unviewed (on screen) tables.
|
||||||
|
|
||||||
|
- Fix problem with indentation of bibliography items.
|
||||||
|
|
||||||
- Inform user of unknown layouts caused by class change (bug 7571).
|
- Inform user of unknown layouts caused by class change (bug 7571).
|
||||||
|
|
||||||
- Avoid LaTeX errors if font changing commands are used in the wrong mode
|
- Avoid LaTeX errors if font changing commands are used in the wrong mode
|
||||||
@ -109,7 +111,7 @@ What's new
|
|||||||
- Fix dvi forward search on Windows when compiling with MSVC.
|
- Fix dvi forward search on Windows when compiling with MSVC.
|
||||||
|
|
||||||
- Calculate relative pathnames to master documents when master is in a
|
- Calculate relative pathnames to master documents when master is in a
|
||||||
directory above the child (bug #7540).
|
directory above the child (bug 7540).
|
||||||
|
|
||||||
- On Windows, improve detection of the TeX engine when the file system does
|
- On Windows, improve detection of the TeX engine when the file system does
|
||||||
not support short names and the temp directory contains spaces.
|
not support short names and the temp directory contains spaces.
|
||||||
|
Loading…
Reference in New Issue
Block a user