>>>>> "José" == José Matos <[EMAIL PROTECTED]> writes:

José> If it works go on. :-)

This would be the following patch. If it does work, I will add the
same stub to the few classes that do not use stdlayouts.inc.

Please test.

JMarc

Index: lib/layouts/stdlayouts.inc
===================================================================
--- lib/layouts/stdlayouts.inc	(révision 18926)
+++ lib/layouts/stdlayouts.inc	(copie de travail)
@@ -78,3 +78,14 @@ Style --Separator--
 	  Color               Blue
 	EndFont
 End
+
+# This Style is only needed to make tex2lyx convert the \caption macro
+# to Caption style, so that lyx2lyx can later convert that to the new
+# caption inset. Please remove it when tex2lyx has been upgraded to
+# format >= 257 and properly supports the caption inset. (JMarc)
+Style Caption
+	ObsoletedBy           Standard
+	LatexType             Command
+	LatexName             caption
+	OptionalArgs          1
+End

Reply via email to