mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Add empty line after last \bibitem in bibliography (#12041)
This commit is contained in:
parent
a839b40358
commit
4a13a29042
@ -349,6 +349,11 @@ static void finishEnvironment(otexstream & os, OutputParams const & runparams,
|
||||
popLanguageName();
|
||||
}
|
||||
}
|
||||
if (data.style->latextype == LATEX_BIB_ENVIRONMENT)
|
||||
// bibliography needs a blank line after
|
||||
// each item for backref to function properly
|
||||
// (see #12041)
|
||||
os << '\n';
|
||||
state->nest_level_ -= 1;
|
||||
string const & name = data.style->latexname();
|
||||
if (!name.empty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user