mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Merge branch 'master' of git.lyx.org:lyx
This commit is contained in:
commit
40aedb5146
@ -911,7 +911,7 @@ def revert_cell_rotation(document):
|
||||
document.body[i] = rgx.sub('', document.body[i])
|
||||
elif value == "90":
|
||||
rgx = re.compile(r' rotate="[^"]+?"')
|
||||
document.body[i] = rgx.sub('rotate="true"', document.body[i])
|
||||
document.body[i] = rgx.sub(' rotate="true"', document.body[i])
|
||||
else:
|
||||
rgx = re.compile(r' rotate="[^"]+?"')
|
||||
load_rotating = True
|
||||
|
@ -2829,8 +2829,9 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
|
||||
break;
|
||||
}
|
||||
case RC_DEFAULT_OTF_VIEW_FORMAT:
|
||||
if (ignore_system_lyxrc ||
|
||||
default_otf_view_format != system_lyxrc.default_otf_view_format) {
|
||||
if ((ignore_system_lyxrc ||
|
||||
default_otf_view_format != system_lyxrc.default_otf_view_format)
|
||||
&& !default_otf_view_format.empty()) {
|
||||
os << "\\default_otf_view_format " << default_otf_view_format << '\n';
|
||||
}
|
||||
if (tag != RC_LAST)
|
||||
|
Loading…
Reference in New Issue
Block a user