mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
tex2lyx/text.cpp: a fix for \fboxcolor around \parbox and minipage
This commit is contained in:
parent
9e16608867
commit
437d0d2b10
@ -1523,7 +1523,7 @@ www
|
||||
\begin_inset Box Boxed
|
||||
position "t"
|
||||
hor_pos "l"
|
||||
has_inner_box 0
|
||||
has_inner_box 1
|
||||
inner_pos "t"
|
||||
use_parbox 0
|
||||
use_makebox 0
|
||||
@ -1553,7 +1553,7 @@ www
|
||||
\begin_inset Box Boxed
|
||||
position "t"
|
||||
hor_pos "l"
|
||||
has_inner_box 0
|
||||
has_inner_box 1
|
||||
inner_pos "t"
|
||||
use_parbox 1
|
||||
use_makebox 0
|
||||
|
@ -1141,7 +1141,7 @@ void parse_box(Parser & p, ostream & os, unsigned outer_flags,
|
||||
os << "hor_pos \"" << hor_pos << "\"\n";
|
||||
if (outer_type == "mbox")
|
||||
os << "has_inner_box 1\n";
|
||||
else if (!frame_color.empty())
|
||||
else if (!frame_color.empty() && inner_type == "makebox")
|
||||
os << "has_inner_box 0\n";
|
||||
else
|
||||
os << "has_inner_box " << !inner_type.empty() << "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user