mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Add empty line after last \bibitem in bibliography (#12041)
(cherry picked from commit 4a13a29042
)
This commit is contained in:
parent
85aaa1f58d
commit
d45e103dab
@ -344,6 +344,11 @@ static void finishEnvironment(otexstream & os, OutputParams const & runparams,
|
|||||||
popLanguageName();
|
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;
|
state->nest_level_ -= 1;
|
||||||
string const & name = data.style->latexname();
|
string const & name = data.style->latexname();
|
||||||
if (!name.empty())
|
if (!name.empty())
|
||||||
|
@ -47,6 +47,9 @@ What's new
|
|||||||
|
|
||||||
- Fix Open Document (tex4ht) output converter.
|
- Fix Open Document (tex4ht) output converter.
|
||||||
|
|
||||||
|
- Fix output of bibliography environment to make backref work
|
||||||
|
(bug 12041).
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user