Lines 1009-1015
Link Here
|
1009 |
// (workaround for bug 9012) |
1009 |
// (workaround for bug 9012) |
1010 |
// Don't do it for listings inset, since InsetListings::latex() tries |
1010 |
// Don't do it for listings inset, since InsetListings::latex() tries |
1011 |
// to switch to a usable encoding which works in many cases (bug 9102). |
1011 |
// to switch to a usable encoding which works in many cases (bug 9102). |
1012 |
if (cur.paragraph().isPassThru() && owner_->lyxCode() != LISTINGS_CODE && |
1012 |
if (cur.paragraph().isPassThru() && owner_->lyxCode() != LISTINGS_CODE && owner_->lyxCode() != ERT_CODE && |
1013 |
cur.current_font.language()) { |
1013 |
cur.current_font.language()) { |
1014 |
Encoding const * e = cur.current_font.language()->encoding(); |
1014 |
Encoding const * e = cur.current_font.language()->encoding(); |
1015 |
if (!e->encodable(c)) { |
1015 |
if (!e->encodable(c)) { |