This is a LyX layout for the seminar LaTeX class.

# Initial attemt at making a LyX layout file for the seminar class:
#   Author : Lars Gullik Bj.nnes <larsbj@lyx.org>
# Second attempt
#   Guenter Milde <g.milde@web.de>

Some basic points to start with:
--------------------------------

* Obviously, you need seminar.cls (e.g. from CTAN) somewhere, where LaTeX
  can find it.

* Copy seminar.layout into your layouts dir (~/.lyx/layouts).

* When you do a reconfigure after installing seminar, this class should
  show up in the Layout>Document dialog.

* Copy seminar.template to your templates directory (~/.lyx/templates).
  Now it should appear under File>New_from_Template.
  (Alternatively, copy anywhere you wish and open with File>Open)
  The next steps are explained there.

* It is really helpfull to read sem-user.dvi, the documentation that comes
  with seminar as well as the LyX User Guide.

Bug in seminar.cls:
-------------------

The version of seminar.cls I found on the web had a bug that prevented
proper working with A4 paper size. An ugly workaround is to change the
definitions in line 77 and 82 to read

\DeclareOption{a4}{%
  \paperwidth 210mm
  \paperheight 297mm
  \slidewidth 222mm
  \slideheight 152mm\relax}
\DeclareOption{a4paper}{\ds@a4}%

Drawbacks:
----------

LyX doesnot like empty paragraphs and it kills empty environments before you
are able to nest something in them (if you don't insert an empty command,
like {}, say). seminar.layout tells LyX to leave an empty LandscapeSlide or
PortraitSlide, so you don't need to ressort to the above workaround.
Unfortunately, LyX will not let you start a new paragraph until there is
something in the actual one (i.e. pressing Enter does nothing :-(
( This is Bug No 313 in http://bugzilla.lyx.org/show_bug.cgi?id=313 )

So you can either:

insert some text (a single letter suffices) that you delete after writing of
the next paragraph, or

Write the content of the slide first and insert the opening LandscapeSlide
later on.
