Jean-Pierre Chretien wrote:

> Going back to testing later, but I don't really understand the layout
> issues: the layouts existing in 1.4 and not in 1.3 will allow tex2lyx to
> convert more latex files, but they won't be usable with 1.3 as the layout
> will be missing.

Yes. But the syntax of the 1.4 layout files is changed. For example I could
not use beamer.layout with 1.4 but had to make some modifications. I'll
attach a diff so you can see the differences.


Georg
--- lyx-1.3/lib/layouts/beamer.layout	2004-10-08 10:36:03.000000000 +0200
+++ lyx-1.4/lib/layouts/beamer.layout	2005-07-01 10:30:29.000000000 +0200
@@ -13,7 +13,6 @@
 SecNumDepth		2
 TocDepth		2
 DefaultStyle 		Standard
-MaxCounter		Counter_Section
 
 # This is just to show how to declare the default font.
 # The defaults are exactly those shown here.
@@ -70,7 +69,8 @@
   ParSep		0.3
   Align			Left
   AlignPossible		Left
-  LabelType		Counter_EnumI
+  LabelType		Counter
+  LabelCounter		enumi
 End
 
 # Description style definition
@@ -234,32 +234,10 @@
 End
 
 Counter
-  Name                 subsection
-  Within               section
-End
-
-Counter
-  Name                 bibitem
-End
-
-Counter
   Name                 figure
   Name                 lyxframeend{}\section
 End
 
-Counter
-  Name                 table
-End
-
-Counter
-  Name                 enumi
-End
-
-Counter
-  Name                 enumii
-  Within               enumi
-End
-
 
 # Section style definition
 Style Section
@@ -275,7 +253,8 @@
   ParSep		0.7
   Align			Left
   AlignPossible		Left
-  LabelType		Counter_Section
+  LabelType		Counter
+  LabelCounter          section
   LabelString		"Section "
   OptionalArgs				1
 
@@ -313,7 +292,8 @@
   ParSep		0.5
   Align			Left
   AlignPossible		Left
-  LabelType		Counter_Subsection
+  LabelType		Counter
+  LabelCounter          subsection
   LabelString		"Subsection "
   OptionalArgs				1
 

Reply via email to