Record babel use for single par preview

This commit is contained in:
Juergen Spitzmueller 2023-04-02 14:51:47 +02:00
parent 84dde6aeb9
commit 849d0c81ca

View File

@ -4156,6 +4156,7 @@ unique_ptr<TexRow> Buffer::getSourceCode(odocstream & os, string const & format,
LaTeXFeatures features(*this, params(), runparams);
validate(features);
runparams.use_polyglossia = features.usePolyglossia();
runparams.use_babel = features.useBabel();
runparams.use_hyperref = features.isRequired("hyperref");
// latex or literate
otexstream ots(os);