commit 89c7d0eea373cd039a2f7904748a01d092da1d91
Author: Georg Baum <[email protected]>
Date:   Tue Feb 25 20:05:07 2014 +0100

    Remove unsupported optional argument.
    
    Thanks Jürgen for insisting. The \caption* command of long tables does 
indeed
    not support optional arguments.

diff --git a/src/tex2lyx/test/test-insets.lyx.lyx 
b/src/tex2lyx/test/test-insets.lyx.lyx
index d598d40..a90bec9 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 ea33b66..5009086 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\\

Reply via email to