InsetCitation::InsetCitation(Buffer * buf, InsetCommandParams const & p)
: InsetCommand(buf, p)
-{}
+{
+ buffer().removeBiblioTempFiles();
+}
+
+
+InsetCitation::~InsetCitation()
+{
+ if (isBufferLoaded())
+ buffer().removeBiblioTempFiles();
+}
ParamInfo const & InsetCitation::findInfo(string const & /* cmdName */)
void InsetCitation::doDispatch(Cursor & cur, FuncRequest & cmd)
{
- if (cmd.action() == LFUN_INSET_MODIFY)
+ if (cmd.action() == LFUN_INSET_MODIFY) {
+ buffer().removeBiblioTempFiles();
cache.recalculate = true;
+ }
InsetCommand::doDispatch(cur, cmd);
}
- Use document language when exporting citations to LyXHTML (bug 7732).
+- Reordering citations in LyX is now rendered in the output (bug 6955).
+
- Fix InsetLayout's LatexParam output: \begin{inset}[latexparam].