commit cec75c2e9a4282661d7697f88c818752d7391d74
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Aug 10 11:46:52 2025 +0200
tex2lyx: remove natbib options from stack after they have been handled
---
src/tex2lyx/Preamble.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index 88475a5c83..4e6fa6e4e1 100644
--- a/src/tex2lyx/Preamble.cpp
+++ b/src/tex2lyx/Preamble.cpp
@@ -2245,8 +2245,10 @@ void Preamble::handle_package(Parser &p, string const &
name,
options.erase(it);
}
}
- if (!options.empty())
+ if (!options.empty()) {
h_biblio_options = join(options, ",");
+ options.clear();
+ }
}
else if (name == "biblatex" || name == "biblatex-chicago") {
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs