mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Don't add \text<script> wrapper in pass-thru context (#13022)
This commit is contained in:
parent
8dd9cfcf5c
commit
37dce94086
@ -3150,8 +3150,8 @@ void Paragraph::latex(BufferParams const & bparams,
|
||||
}
|
||||
}
|
||||
} else if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
|
||||
if (!bparams.useNonTeXFonts)
|
||||
script = Encodings::isKnownScriptChar(c);
|
||||
if (!bparams.useNonTeXFonts && !runparams.pass_thru)
|
||||
script = Encodings::isKnownScriptChar(c);
|
||||
if (script != alien_script) {
|
||||
if (!alien_script.empty()) {
|
||||
os << "}";
|
||||
|
Loading…
Reference in New Issue
Block a user