mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +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")
|
&& buffer().params().multibib == "child")
|
||||||
return;
|
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 style = to_utf8(getParam("options")); // maybe empty! and with bibtotoc
|
||||||
string bibtotoc;
|
string bibtotoc;
|
||||||
if (prefixIs(style, "bibtotoc")) {
|
if (prefixIs(style, "bibtotoc")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user