Attached the patch (tab errors) to layout2layout needed to make beamer accessible in 1.5svn.
What is the situation wrt beamer? The layout is included in my 1.4.2 rpm. However, it is missing from 1.4 and 1.5 svn. I see that sometimes it comes with a separate beamer package, earlier it was built into tetex (but without layout file) or tetex-extras, etc. Looks like a mess. Beamer is widely used and I find it useful. The present situation is not nice. The file beamer.layout version 1.16 of 2004/10/07 works well with 1.4svn (and with my 1.4.2 rpm), but for 1.5svn it requires the commenting out of the Input stdcounters.inc line. [Is this something layout2layout ought to have done?] Should we include our own version of the layout file with LyX? At least then the user doesn't have to go hunting for anything. As the consensus seems to be that all class files that 'officially' exist should be supported by a .layout file in LyX. Our own version could have a different name. - Martin
Index: layout2layout.py
===================================================================
--- layout2layout.py (revision 15552)
+++ layout2layout.py (working copy)
@@ -135,7 +135,7 @@
return
error('Cannot convert file format %s' % format)
else:
- lines.insert(i, "Format 2")
+ lines.insert(i, "Format 2")
only_comment = 0
continue
@@ -282,7 +282,7 @@
i = i + 1
# Add the TocLevel setting for sectioning styles
- if toclevels.has_key(style) and maxcounter <= toclevels[style]:
+ if toclevels.has_key(style) and maxcounter <= toclevels[style]:
lines.insert(i, '%sTocLevel %d' % (space1, toclevels[style]))
i = i + 1
signature.asc
Description: This is a digitally signed message part
