The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 284f99151900930ecd223edbce1e8c7fcb44ac30 Author: Georg Baum <[email protected]> Date: Sun Feb 24 19:43:13 2013 +0100 Forgot this in f2d2b7cc7d diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index a123f9d..61256c6 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -2430,6 +2430,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, if (!rem.empty()) output_ert_inset(os, to_utf8(rem), context); + for (set<string>::const_iterator it = req.begin(); + it != req.end(); ++it) + preamble.registerAutomaticallyLoadedPackage(*it); } else // we did not find a non-ert version output_ert_inset(os, name, context); @@ -3279,6 +3282,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, os << to_utf8(s); if (!rem.empty()) output_ert_inset(os, to_utf8(rem), context); + for (set<string>::const_iterator it = req.begin(); + it != req.end(); ++it) + preamble.registerAutomaticallyLoadedPackage(*it); } else // we did not find a non-ert version output_ert_inset(os, command, context); ----------------------------------------------------------------------- Summary of changes: src/tex2lyx/text.cpp | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository
