mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Forgot this in f2d2b7cc7d
This commit is contained in:
parent
f650c242d0
commit
284f991519
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user