mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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)) {
|
} else if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
|
||||||
if (!bparams.useNonTeXFonts)
|
if (!bparams.useNonTeXFonts && !runparams.pass_thru)
|
||||||
script = Encodings::isKnownScriptChar(c);
|
script = Encodings::isKnownScriptChar(c);
|
||||||
if (script != alien_script) {
|
if (script != alien_script) {
|
||||||
if (!alien_script.empty()) {
|
if (!alien_script.empty()) {
|
||||||
os << "}";
|
os << "}";
|
||||||
|
Loading…
Reference in New Issue
Block a user