That line should be # \Declare... The space (character position 2) is not significant, but removing the comment symbol (#) apparently confuses the reconfiguration script.

Sorry, we both posted at the same time so just missed your reply. Well, I have rewritten the file by now (followed the help guide) and this is what it looks like now:

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{docsummary}

\begin{general}
Input stdfloats.inc
Input stdcounters.inc

Columns         [2]
Sides           [1]
PageStyle       [empty]
ProvidesAmsMath [1]
ProvidesMakeidx [0]
ProvidesUrl     [0]
DefaultStyle    [Standard]

ClassOptions
FontSize        [string="11|8|7]
PageStyle       [string="empty]
End

Style Title
\begin{styletitle}
LatexType       [Paragraph]
InTitle         [0]
Margin          [Manual]
NextNoIndent    [0]
ParIndent       [string="0"]
TopSep          [float=0]
BottomSep       [float=0]
Parsep          [float=0]
Itemsep         [float=0]
LeftMargin      [string="0"]
RightMargin     [string="0"]
LabelType       [No_Label]
Align           [center]
FreeSpacing     [1]
KeepEmpty       [0]
Spacing         [single]
Font
Family          [Typewriter]
Series          [Bold]
Shape           [SmallCaps]
Size            [normal]
Color           [red]
EndFont
\end{styletitle}
End

Style Header1
\begin{styleheader1}
LatexType       [Paragraph]
InTitle         [0]
Margin          [Manual]
NextNoIndent    [0]
ParIndent       [string="0"]
TopSep          [float=0]
BottomSep       [float=0]
Parsep          [float=0]
Itemsep         [float=0]
LeftMargin      [string="0"]
RightMargin     [string="0"]
LabelType       [No_Label]
Align           [center]
FreeSpacing     [1]
KeepEmpty       [0]
Spacing         [single]
Font
Family          [Typewriter]
Series          [Bold]
Shape           [SmallCaps]
Size            [small]
Color           [red]
EndFont
\end{styleheader1}
End

Style Header2
\begin{styleheader2}
LatexType       [Paragraph]
InTitle         [0]
Margin          [Manual]
NextNoIndent    [0]
ParIndent       [string="0"]
TopSep          [float=0]
BottomSep       [float=0]
Parsep          [float=0]
Itemsep         [float=0]
LeftMargin      [string="0"]
RightMargin     [string="0"]
LabelType       [No_Label]
Align           [center]
FreeSpacing     [1]
KeepEmpty       [0]
Spacing         [single]
Font
Family          [Typewriter]
Series          [Bold]
Shape           [SmallCaps]
Size            [small]
Color           [green]
EndFont
\end{styleheader2}
End

Style Header3
\begin{styleheader3}
LatexType       [Paragraph]
InTitle         [0]
Margin          [Manual]
NextNoIndent    [0]
ParIndent       [string="0"]
TopSep          [float=0]
BottomSep       [float=0]
Parsep          [float=0]
Itemsep         [float=0]
LeftMargin      [string="0"]
RightMargin     [string="0"]
LabelType       [No_Label]
Align           [center]
FreeSpacing     [1]
KeepEmpty       [0]
Spacing         [single]
Font
Family          [Typewriter]
Series          [Bold]
Shape           [Up]
Size            [small]
Color           [black]
EndFont
\end{styleheader3}
End

Style Header4
\begin{styleheader3}
LatexType       [Paragraph]
InTitle         [0]
Margin          [Manual]
NextNoIndent    [0]
ParIndent       [string="0"]
TopSep          [float=0]
BottomSep       [float=0]
Parsep          [float=0]
Itemsep         [float=0]
LeftMargin      [string="0"]
RightMargin     [string="0"]
LabelType       [No_Label]
Align           [center]
FreeSpacing     [1]
KeepEmpty       [0]
Spacing         [single]
Font
Family          [Typewriter]
Series          [Bold]
Shape           [Up]
Size            [small]
Color           [black]
EndFont
\end{styleheader3}
End

Style Comment
\begin{stylecomment}
LatexType       [Paragraph]
InTitle         [0]
Margin          [Manual]
NextNoIndent    [0]
ParIndent       [string="0"]
TopSep          [float=0]
BottomSep       [float=0]
Parsep          [float=0]
Itemsep         [float=0]
LeftMargin      [string="0"]
RightMargin     [string="0"]
LabelType       [No_Label]
Align           [center]
FreeSpacing     [1]
KeepEmpty       [0]
Spacing         [single]
Font
Family          [Typewriter]
Series          [Medium]
Shape           [Up]
Size            [small]
Color           [cyan]
EndFont
\end{stylecomment}
End

Style Standard
\begin{stylestandard}
LatexType       [Paragraph]
InTitle         [0]
Margin          [Manual]
NextNoIndent    [0]
ParIndent       [string="0"]
TopSep          [float=0]
BottomSep       [float=0]
Parsep          [float=0]
Itemsep         [float=0]
LeftMargin      [string="0"]
RightMargin     [string="0"]
LabelType       [No_Label]
Align           [center]
FreeSpacing     [1]
KeepEmpty       [0]
Spacing         [single]
Font
Family          [Typewriter]
Series          [Medium]
Shape           [Up]
Size            [small]
Color           [black]
EndFont
\end{stylestandard}
End

\end{general}


I tried your file as you posted it. Lacking a docsummary class, I named the file acmconf.layout, since I have an acmconf.cls installed and no layout for it. Reconfiguring did not add "docsummary" to the LyX class list. Then I added back the comment symbol and reconfigured again, and lo and behold "docsummary" showed up on the class list (employing acmconf.cls).

So the reconfiguration problem may be solved.

Ok, now I feel really stupid: do I have to have BOTH a .cls and a .layout? Do I have to create a .cls myself, with the same setting over again or can I use any existing one (like you did with amsconf)? Sorry but the whole thing is so confusing to me...All I wanted was to migrate some of my equation docs from word to something more professional. Was getting fed up with word and its equation editor and the documents were getting too big anyway and creating the strangest errors, and the idea of latex seemed so perfect...if only any of the preexisting layouts were suitable I would use them and get it over with, but there are some things about the settings I HAVE to change (like font for instance: has to be 8pt or it wouldn't fit on a reasonable number of pages), hence the whole class creating story...

Thanks for your patience with me!
Lillian

Reply via email to