mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Handle deleted BibTeX/Biblatex bibliographies
Since we cannot strike-out these, we output a placeholder when show changes in output is active. Fixes #11762
This commit is contained in:
parent
d94b708a0f
commit
339424ce00
@ -266,6 +266,15 @@ void InsetBibtex::latex(otexstream & os, OutputParams const & runparams) const
|
||||
&& buffer().params().multibib == "child")
|
||||
return;
|
||||
|
||||
if (runparams.inDeletedInset) {
|
||||
// We cannot strike-out bibligraphies,
|
||||
// so we just output a note.
|
||||
os << "\\textbf{"
|
||||
<< buffer().B_("[BIBLIOGRAPHY DELETED!]")
|
||||
<< "}";
|
||||
return;
|
||||
}
|
||||
|
||||
string style = to_utf8(getParam("options")); // maybe empty! and with bibtotoc
|
||||
string bibtotoc;
|
||||
if (prefixIs(style, "bibtotoc")) {
|
||||
|
Loading…
Reference in New Issue
Block a user