From 89c7d0eea373cd039a2f7904748a01d092da1d91 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Tue, 25 Feb 2014 20:05:07 +0100 Subject: [PATCH] Remove unsupported optional argument. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks Jürgen for insisting. The \caption* command of long tables does indeed not support optional arguments. --- src/tex2lyx/test/test-insets.lyx.lyx | 16 ---------------- src/tex2lyx/test/test-insets.tex | 3 +-- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index d598d406b6..a90bec9315 100644 --- a/src/tex2lyx/test/test-insets.lyx.lyx +++ b/src/tex2lyx/test/test-insets.lyx.lyx @@ -1559,16 +1559,6 @@ Second \begin_inset Caption LongTableNoNumber \begin_layout Standard - -\begin_inset Argument 1 -status collapsed - -\begin_layout Standard -An optional table foot caption (used in the list of tables) -\end_layout - -\end_inset - standard foot \end_layout @@ -1614,12 +1604,6 @@ bottom. \begin_inset Caption LongTableNoNumber \begin_layout Standard - -\begin_inset Argument 1 -status collapsed - -\end_inset - (last foot) \end_layout diff --git a/src/tex2lyx/test/test-insets.tex b/src/tex2lyx/test/test-insets.tex index ea33b6646f..5009086cb9 100644 --- a/src/tex2lyx/test/test-insets.tex +++ b/src/tex2lyx/test/test-insets.tex @@ -280,13 +280,12 @@ KILLED & LINE!!!! \kill \hline\hline \endhead \caption* -[An optional table foot caption (used in the list of tables)] {standard foot}\\ \hline This goes at the&bottom.\\ \hline \endfoot -\caption*[]{(last foot)}\\ +\caption*{(last foot)}\\ \hline These lines will&appear\\ in place of the & usual foot\\