#include "Buffer.h"
#include "BufferParams.h"
#include "Encoding.h"
-#include "LaTeXFeatures.h"
#include "LyXRC.h"
#include "MetricsInfo.h"
#include "OutputParams.h"
int column = 0;
- bool const dvipost = LaTeXFeatures::isAvailable("dvipost") &&
- (runparams.flavor == OutputParams::LATEX
- || runparams.flavor == OutputParams::DVILUATEX);
-
if (oldChange.type != Change::UNCHANGED) {
if (oldChange.type != Change::DELETED || runparams.ctObject != OutputParams::CT_OMITOBJECT) {
// close \lyxadded or \lyxdeleted
column++;
}
if (oldChange.type == Change::DELETED
- && !runparams.wasDisplayMath && !dvipost)
+ && !runparams.wasDisplayMath)
--runparams.inulemcmd;
}
macro_beg = from_ascii("\\lyxudisplayobjdeleted");
else {
macro_beg = from_ascii("\\lyxdeleted");
- if (!runparams.inDisplayMath && !dvipost)
+ if (!runparams.inDisplayMath)
++runparams.inulemcmd;
}
}
}
-void Changes::checkAuthors(AuthorList const & authorList)
+void Changes::checkAuthors(AuthorList const & authorList) const
{
for (ChangeRange const & cr : table_)
if (cr.change.type != Change::UNCHANGED)
return;
case INSERTED: {
if (!lyxrc.ct_additions_underlined)
- break;
+ return;
pi.pain.line(int(x1), int(y2) + 1, int(x2), int(y2) + 1,
color(), Painter::line_solid,
pi.base.solidLineThickness());