mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Output caption insets collapsed
Like all other collapsable insets, there is not reason to treat captions specially.
This commit is contained in:
parent
f4417e8125
commit
e01886327d
@ -202,6 +202,7 @@ status collapsed
|
||||
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
An alg
|
||||
|
@ -1413,6 +1413,7 @@ kill
|
||||
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
@ -1494,6 +1495,7 @@ Second
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
@ -1569,6 +1571,7 @@ Second
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption LongTableNoNumber
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
standard foot
|
||||
@ -1614,6 +1617,7 @@ bottom.
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption LongTableNoNumber
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
(last foot)
|
||||
@ -3456,6 +3460,7 @@ LyX
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
A long table
|
||||
@ -3481,6 +3486,7 @@ A long table
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
A long table -- continued
|
||||
@ -4462,6 +4468,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
@ -253,6 +253,7 @@ protect
|
||||
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
figure
|
||||
@ -309,6 +310,7 @@ protect
|
||||
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
table
|
||||
@ -365,6 +367,7 @@ protect
|
||||
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
algorithm
|
||||
|
@ -161,6 +161,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Above
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
figure
|
||||
@ -194,6 +195,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Below
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
table
|
||||
|
@ -242,6 +242,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
@ -276,6 +277,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
@ -320,6 +322,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
rotated table, spanning all columns
|
||||
@ -429,6 +432,7 @@ fdgsdfdh
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
test1
|
||||
@ -466,6 +470,7 @@ fdgs
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
test2
|
||||
@ -498,6 +503,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
fdg
|
||||
@ -554,6 +560,7 @@ status open
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
lkälöä
|
||||
@ -696,6 +703,7 @@ subfigure 3
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Caption Standard
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
figure caption
|
||||
|
@ -2831,6 +2831,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
begin_inset(os, "Caption Above\n");
|
||||
else if (t.cs() == "captionbelow")
|
||||
begin_inset(os, "Caption Below\n");
|
||||
os << "status collapsed\n";
|
||||
Context newcontext(true, context.textclass, 0, 0, context.font);
|
||||
newcontext.check_layout(os);
|
||||
// FIXME InsetArgument is now properly implemented in InsetLayout
|
||||
|
Loading…
Reference in New Issue
Block a user