Do not add empty \parskip definition (reported in #12946)

This commit is contained in:
Juergen Spitzmueller 2023-10-30 09:22:14 +01:00
parent 28f81d1be5
commit 9de9ec1e88

View File

@ -2179,7 +2179,7 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
if (!psopt.empty())
psopt = "[skip=" + psopt + "]";
os << "\\usepackage" + psopt + "{parskip}\n";
} else {
} else if (!psopt.empty()) {
os << "\\setlength{\\parskip}{" + psopt + "}\n";
}
} else {