Bo:
>> I think so so please add a bug report and ask Jose to add it.
José:
> Submit it to the list where it can be discussed. I don't have any problem
> adding new layout files at any stage as long as it does not imply new code,
> and it follows our guidelines...

Attached is the patch. The powerdot.layout requires to check for three packages in the file "chkconfig.ltx" but this is unproblematic I think.

There is one issue I don't know: The file is under the LPPL, is this license 
compatible with our?

regards Uwe
Index: development/scons/scons_manifest.py
===================================================================
--- development/scons/scons_manifest.py	(revision 18425)
+++ development/scons/scons_manifest.py	(working copy)
@@ -2646,6 +2646,7 @@
     mwbk.layout
     mwrep.layout
     paper.layout
+    powerdot.layout
     report.layout
     revtex.layout
     revtex4.layout
Index: lib/chkconfig.ltx
===================================================================
--- lib/chkconfig.ltx	(revision 18425)
+++ lib/chkconfig.ltx	(working copy)
@@ -227,6 +227,7 @@
 \TestPackage{booktabs}
 \TestPackage{color} % this one should be there if graphics.sty is there.
 \TestPackage{dvipost}
+\TestPackage{enumitem} % needed by powerdot
 \TestPackage{esint}
 \TestPackage{fancybox}
 \TestPackage{fancyhdr}
@@ -242,6 +243,7 @@
 \TestPackage{pdfcolmk}
 \TestPackage{prettyref}
 \TestPackage{preview}
+\TestPackage{rotate-textures} % needed by powerdot
 \TestPackage{rotating}
 \TestPackage{setspace}
 \TestPackage{soul}
@@ -250,7 +252,9 @@
 \TestPackage{varioref}
 \TestPackage{url}
 \TestPackage{xcolor}
+\TestPackage{xkeyval} % needed by powerdot
 
+
 % The test for the graphics package is slightly more involved...
 \newcommand\groption{dvips}
 \TestItem{graphicx}{package}{sty}
Index: lib/layouts/powerdot.layout
===================================================================
--- lib/layouts/powerdot.layout	(revision 0)
+++ lib/layouts/powerdot.layout	(revision 0)
@@ -0,0 +1,447 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[powerdot,enumitem.sty,rotate-textures.sty,listings.sty,xkeyval.sty]{presentation (powerdot)}
+# PowerDot textclass definition file.
+# The rotate-textures.sty is part of the genmisc-package that is required by powerdot.
+# Created (29.Aug.05): Mael Hilléreau
+# Last modified: 20-May-06 by Uwe Stöhr
+#
+# ----------------------------------------------------------
+# Copyright (C) 2005 Hendri Adriaens and Christopher Ellison
+# ----------------------------------------------------------
+#
+# This work may be distributed and/or modified under the
+# conditions of the LaTeX Project Public License, either version 1.3
+# of this license or (at your option) any later version.
+# The latest version of this license is in
+#   http://www.latex-project.org/lppl.txt
+# and version 1.3 or later is part of all distributions of LaTeX
+# version 2003/12/01 or later.
+#
+# This work has the LPPL maintenance status "maintained".
+#
+# This Current Maintainer of this work is Christopher Ellison.
+#
+# This work consists of all files listed in manifest.txt.
+
+###
+# General textclass parameters
+###
+Format 4
+Columns         1
+Sides           1
+Provides url     1
+DefaultStyle        Standard
+
+DefaultFont
+  Family        Sans
+  Series        Medium
+  Shape         Up
+  Size          Normal
+  Color         None
+EndFont
+
+###
+# General textclass parameters
+###
+ClassOptions
+  FontSize   size=8|size=9|size=10|size=11|size=12|size=14|size=17|size=20
+  PageStyle  ""
+End
+
+###
+# Title style definition
+###
+Style Title
+  Margin        Static
+  LatexType     Command
+  InTitle       1
+  LatexName     title
+  ParSkip       0.4
+  ItemSep       0
+  TopSep        0
+  BottomSep     1
+  ParSep        1
+  Align         Center
+  AlignPossible     Center
+  LabelType     No_Label
+
+  Font
+    Series      Bold
+    Size        Largest
+    Color       Blue
+  EndFont
+End
+
+###
+# Author style definition
+###
+Style Author
+  Margin        Static
+  LatexType     Command
+  InTitle       1
+  LatexName     author
+  LabelSep      xxx
+  ParSkip       0.4
+  TopSep        1.3
+  BottomSep     0.7
+  ParSep        0.7
+  Align         Center
+  AlignPossible     Center
+  LabelType     No_Label
+
+  Font
+    Size        Large
+    Color       Blue
+  EndFont
+End
+
+###
+# Date style definition
+###
+Style Date
+  Margin        Dynamic
+  LatexType     Command
+  InTitle       1
+  LatexName     date
+  LabelSep      xxx
+  ParSkip       0.4
+  TopSep        0.9
+  BottomSep     0.5
+  ParSep        1
+  Align         Center
+  AlignPossible     Center
+  LabelType     No_Label
+
+  Font
+    Size        Large
+    Color       Blue
+  EndFont
+End
+
+###
+# Standard style definition
+###
+Style Standard
+  Margin        Static
+  LatexType         Paragraph
+  LatexName         dummy
+  ParSkip       0.4
+  Align         Block
+  AlignPossible     Block, Left, Right, Center
+  LabelType         No_Label
+End
+
+###
+# Slide styles definition
+###
+Style Slide
+  Margin        Static
+  LatexType     Command
+  LatexName     lyxend\lyxslide
+  LabelSep      xxx
+  ParSkip       0.4
+  TopSep        1.3
+  BottomSep     0.7
+  ParSep        0.7
+  Align         Center
+  AlignPossible     Center
+  LabelType     Counter
+  LabelCounter subsection
+  LabelString       "    "
+  OptionalArgs      1
+
+  Font
+    Series      Bold
+    Size        Large
+    Color       Magenta
+  EndFont
+End
+
+Style EndSlide
+  CopyStyle     Slide
+  KeepEmpty     1
+  LatexName     lyxend
+  Margin            Static
+  ParSkip           0
+  TopSep            0
+  BottomSep         1
+  ParSep            0
+  LabelType         Static
+  LabelBottomSep    0
+  LeftMargin        MMMMMMM
+  LabelString       "~=~"
+  OptionalArgs      0
+
+  Font
+    Color       None
+  EndFont
+End
+
+
+
+###
+# Wideslide style definition
+###
+Style WideSlide
+  CopyStyle     Slide
+  LatexName     lyxend\lyxwideslide
+
+  Font
+    Color       Green
+  EndFont
+End
+
+###
+# EmptySlide style definition
+###
+Style EmptySlide
+  CopyStyle     Slide
+  LatexName     lyxend\lyxemptyslide
+  LeftMargin        MMMMMMMMMMMMMM
+  LabelString       "Empty slide:"
+  LabelType         Static
+  KeepEmpty     1
+
+  Font
+    Color       Cyan
+  EndFont
+End
+
+###
+# Note style definition
+###
+Style Note
+  CopyStyle     Slide
+  LatexName     lyxend\lyxnote
+  LeftMargin        MMMMMMM
+  LabelString       "Note:"
+  LabelType         Static
+  KeepEmpty     1
+  OptionalArgs      0
+
+  Font
+    Color       Red
+  EndFont
+End
+
+###
+# Section style definition
+###
+Style Section
+  CopyStyle     Slide
+  LatexName     lyxend\section
+  LabelType     Counter
+  LabelCounter section
+  LabelString       "\arabic{section}"
+
+  Font
+    Size        Larger
+    Color       Blue
+  EndFont
+  LabelStringAppendix "\Alph{section}"
+End
+
+###
+# Itemize styles definition
+###
+Style Itemize
+  Margin        Static
+  LatexType     Item_Environment
+  LatexName     itemize
+  NextNoIndent      1
+  LeftMargin        MMN
+  LabelSep      xx
+  ItemSep       0.2
+  TopSep        0.7
+  BottomSep     0.7
+  ParSep        0.3
+  Align         Block
+  AlignPossible     Block, Left
+  LabelType     Itemize
+  LabelString       *
+End
+
+Style ItemizeType1
+  CopyStyle     Itemize
+  LatexParam        [type=1]
+End
+
+###
+# Enumerate styles definition
+###
+Style Enumerate
+  Margin        Static
+  LatexType     Item_Environment
+  LatexName     enumerate
+  NextNoIndent      1
+  LeftMargin        MMN
+  LabelSep      xx
+  ParSkip       0.0
+  ItemSep       0.2
+  TopSep        0.7
+  BottomSep     0.7
+  ParSep        0.3
+  Align         Block
+  AlignPossible     Block, Left
+  LabelType     Enumerate
+End
+
+Style EnumerateType1
+  CopyStyle     Enumerate
+  LatexParam        [type=1]
+End
+
+###
+# Bibliography style definition
+###
+Style Bibliography
+  Margin        First_Dynamic
+  LatexType     Bib_Environment
+  LatexName     thebibliography
+  NextNoIndent      1
+  LeftMargin        MM
+  ParSkip       0.4
+  ItemSep       0
+  TopSep        0.7
+  BottomSep     0.7
+  ParSep        0.5
+  Align         Block
+  AlignPossible     Block, Left
+  LabelType     Bibliography
+  LabelString       ""
+  LabelBottomSep    0
+End
+
+###
+# Quotation style definition
+###
+Style Quotation
+  Margin        Static
+  LatexType     Environment
+  LatexName     quotation
+  NextNoIndent      1
+  LeftMargin        MMM
+  RightMargin       MMM
+  ParIndent     MM
+  ParSkip       0
+  ItemSep       0
+  TopSep        0.5
+  BottomSep     0.5
+  ParSep        0
+  Align         Block
+  AlignPossible     Block, Left, Right, Center
+End
+
+###
+# Quote style definition
+###
+Style Quote
+  Margin        Static
+  LatexType     Environment
+  LatexName     quote
+  NextNoIndent      1
+  LeftMargin        MMM
+  RightMargin       MMM
+  TopSep        0.5
+  ParSep        0.5
+  BottomSep     0.5
+  Align         Block
+  AlignPossible     Block, Left, Right, Center
+  LabelType     No_Label
+End
+
+###
+# Verse style definition
+###
+Style Verse
+# LaTeX type is first dynamic because of LaTeX implementation.
+# In LyX this does not make sense.
+  LatexType     Environment
+  LatexName     verse
+  Margin        First_Dynamic
+  NextNoIndent      1
+  LeftMargin        MMMM
+  LabelIndent       MMMM
+  ParSkip       0.4
+  TopSep        0.7
+  BottomSep     0.7
+  ParSep        0.5
+  Align         Block
+  AlignPossible     Block, Left
+  LabelType     No_Label
+End
+
+###
+# Caption style definition
+###
+
+###
+# Floats definitions
+###
+Float
+  Type                  table
+  GuiName       Table
+  Extension             lot
+  NumberWithin          none
+  Style                 plain
+  ListName              "List of Tables"
+  LaTeXBuiltin          true
+End
+  
+Float
+  Type                  figure
+  GuiName               Figure
+  Extension             lof
+  NumberWithin          none
+  Style                 plain
+  ListName              "List of Figures"
+  LaTeXBuiltin          true
+End
+
+Float
+  Type                  algorithm
+  GuiName               Algorithm
+  Extension             loa
+  NumberWithin          none
+  Style                 ruled
+  ListName              "List of Algorithms"
+  LaTeXBuiltin          false
+End
+
+###
+# Counters definitions
+###
+Counter
+  Name          enumi
+End
+
+Counter
+  Name          enumii
+  Within        enumi
+End
+
+Counter
+  Name          enumiii
+  Within        enumii
+End
+
+Counter
+  Name          enumiv
+  Within        enumiii
+End
+
+Counter
+  Name          bibitem
+End
+
+Counter
+  Name          figure
+End
+
+Counter
+  Name          table
+End
+
+Counter
+  Name          algorithm
+End

Property changes on: lib\layouts\powerdot.layout
___________________________________________________________________
Name: svn:eol-style
   + native

Index: lib/Makefile.am
===================================================================
--- lib/Makefile.am	(revision 18425)
+++ lib/Makefile.am	(working copy)
@@ -956,6 +956,7 @@
 	layouts/mwbk.layout \
 	layouts/mwrep.layout \
 	layouts/paper.layout \
+	layouts/powerdot.layout \
 	layouts/report.layout \
 	layouts/revtex.layout \
 	layouts/revtex4.layout \

Reply via email to