On Mon, 2002-08-26 at 12:46, Guenter Milde wrote: 
> On 23 Aug 2002 22:03:53 +0530 wrote Ananda Murthy R S <[EMAIL PROTECTED]>:
> 
> > Hello:
> > 
> > Seminar document class does not work properly in LyX 1.2.1. But it works
> > properly in LaTeX. So, there is nothing wrong with the document class.
> > But the layout given with LyX 1.2.1 appears to be defective.
> > 
> > Earlier many people have reported the same problem on this list and
> > somebody had suggested to use the seminar layout file available at
> > http://www.math.tau.ac.il/~dekelts/slides/seminar.layout. I tried this
> > layout file also and found it not working properly.
> > 
> > Can anybody tell me how to solve this problem.I am running LyX 1.2.1 on
> > Mandrake Linux 8.2.
> 
> You can try the seminar layout from the LyX ftp server, look under
> 
>    ftp://ftp.lyx.org/pub/lyx/contrib/seminar.tar.gz
> 
> It was done for 1.1.6, but should work with 1.2.1. too.
> 
> However, it has different names for the environments and a different
> approach, so be sure to read the template that comes with it and adapt your
> document...
> 
> Please tell me about any problems or success...
> 
> Guenter
> 
> 
> 
> --
> G.Milde at physik.tu-dresden.de
> 
Hello: 

I tried the layout available at
ftp://ftp.lyx.org/pub/lyx/contrib/seminar.tar.gz. But it is not working
properly in LyX 1.2.1. 

Then I tried the layout files given by Herbert Voss. These are attached
below. This is my observation: 

1. This layout works properly only if the page style is plain. 
2. If you use hyperref, it does not work properly.

Both the files attached should be copied into layout directory.

I feel that seminar layout is still not stable on LyX and it is safer to
directly use LaTeX to create documents using seminar, especially when
you have portrait and landscape slides, page headers and footers, and
hyperref.

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{seminar}
# Initial attemt at makeing a LyX layout file for the seminar class.
# Author : Lars Gullik Bj�nnes <[EMAIL PROTECTED]>
# modified by Herbert Voss <[EMAIL PROTECTED]>      2002-07-30

Preamble
\usepackage{fancybox}
EndPreamble

Sides           1
Columns         1
DefaultStyle    Standard


ClassOptions
    FontSize    8|9|10|11|12|14|17
    Other       slidesec
End


# Input general definitions
Input slide.inc
Input stdclass.inc

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

MaxCounter              Counter_Section
SecNumDepth             3
TocDepth                3

# Change a bit Part and Part*
Style Part
  Align                 Left
  AlignPossible         Left
  TopSep                2
  BottomSep             1.5

  Font
    Size                Larger
  EndFont
End

Style Part*
  Align                 Left
  AlignPossible         Left
  TopSep                2
  BottomSep             1.5

  Font
    Size                Larger
  EndFont
End


Style Heading
        CopyStyle       Section
        LatexName       heading
End

Style ListOfSlides
        KeepEmpty       1
        Align           Center
        LatexType       Command
        LatexName       listofslides
        Labeltype       Static
        LabelString     "List Of Slides"
End

Style SlideContents
        KeepEmpty       1
        Align           Center
        LatexType       Command
        LatexName       slidecontents
        Labeltype       Static
        LabelString     "Slidecontents"
End

Style ProgressContents
        KeepEmpty       1
        Align           Center
        LatexType       Command
        LatexName       Slidecontents
        Labeltype       Static
        LabelString     "Progress Contents"
End

# textclass extensions for use of layout seminar
# \startSlide
# \endSlide
# 
# Herbert Voss <[EMAIL PROTECTED]> 2002-04-04
#

Style BeginLandscapeSlide
  Margin                Static
  LatexType             command
  LatexName             startLyXLSlide
  LeftMargin            xxxxxxxxxxxxxxxxx::xx
  LabelSep              xx
  KeepEmpty             1  
  Align                 Left
  LabelType             Static
  LabelString           "BeginLandscapeSlide ->"
  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color               Red
  EndFont
  Preamble
    \newcommand{\startLyXLSlide}[1]{\begin{slide}}
  EndPreamble
End

Style EndLandscapeSlide
    CopyStyle           BeginLandscapeSlide
    LatexName           stopLyXLSlide
    LabelString         "EndLandscapeSlide <-"
  Preamble
    \newcommand{\stopLyXLSlide}[1]{\end{slide}}
  EndPreamble
End

Style BeginPortraitSlide
    CopyStyle           BeginLandscapeSlide
    LatexName           startLyXPSlide
    LabelString         "BeginPortraitSlide ->"
    Preamble
        \newcommand{\startLyXPSlide}[1]{\begin{slide*}}
    EndPreamble
End

Style EndPortraitSlide
    CopyStyle           BeginLandscapeSlide
    LatexName           stopLyXPSlide
    LabelString         "EndPortraitSlide <-"
    Preamble
        \newcommand{\stopLyXPSlide}[1]{\end{slide*}}
    EndPreamble
End

Style NoFrame
  Margin                Static
  LatexType             command
  LatexName             LyXNoFrame
  LeftMargin            xxxxxxxxxxx::xx
  LabelSep              xx
  KeepEmpty             1  
  Align                 Left
  LabelType             Static
  LabelString           "No Frame"
  # label font definition
  LabelFont 
    Series              Bold
    Shape               Italic
    Color               Red
  EndFont
Preamble
    \newcommand{\LyXNoFrame}{\slideframe{none}}
EndPreamble
End

Style OvalFrame
    CopyStyle           NoFrame
    LatexName           LyXOvalFrame    
    LabelString         "Oval Frame"
Preamble
    \newcommand{\LyXOvalFrame}{\slideframe{oval}}
EndPreamble
End

Style ShadowFrame
    CopyStyle           NoFrame
    LatexName           LyXShadowFrame    
    LabelString         "Shadow Frame"
Preamble
    \newcommand{\LyXShadowFrame}{\slideframe{shadow}}
EndPreamble
End

Style DoubleFrame
    CopyStyle           NoFrame
    LatexName           LyXDoubleFrame    
    LabelString         "Double Frame"
Preamble
    \newcommand{\LyXDoubleFrame}{\slideframe{double}}
EndPreamble
End

Reply via email to