Output proper driver to changebar package when using dvi chain

Else the bars are not shown
This commit is contained in:
Juergen Spitzmueller 2020-01-11 16:51:00 +01:00
parent bbc6ea4a5f
commit 4718d63fc3

View File

@ -1307,7 +1307,11 @@ string const LaTeXFeatures::getPackages() const
// than those above.
if (mustProvide("changebar") && !mustProvide("ct-dvipost")) {
packages << "\\usepackage{changebar}\n";
packages << "\\usepackage";
if (runparams_.flavor == OutputParams::LATEX
|| runparams_.flavor == OutputParams::DVILUATEX)
packages << "[dvips]";
packages << "{changebar}\n";
}
if (mustProvide("footnote")) {