mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Set main_fontenc runparam also for paragraph-only source preview.
This commit is contained in:
parent
94c97feb76
commit
df74be4cea
@ -3869,6 +3869,9 @@ unique_ptr<TexRow> Buffer::getSourceCode(odocstream & os, string const & format,
|
||||
// No side effect of file copying and image conversion
|
||||
runparams.dryrun = true;
|
||||
|
||||
// Some macros rely on font encoding
|
||||
runparams.main_fontenc = params().main_font_encoding();
|
||||
|
||||
if (output == CurrentParagraph) {
|
||||
runparams.par_begin = par_begin;
|
||||
runparams.par_end = par_end;
|
||||
|
Loading…
Reference in New Issue
Block a user