On 2009-03-23, Ernesto Posse wrote:
> Hello. I'm having a bit of an issue with a custom layout I'm trying to
> create for ACM SIG proceedings (from the sig-alternate.cls available
> at http://www.acm.org/sigs/publications/proceedings-templates)
> First I'm creating a layoutfile named "sig-alternate.layout" and
> placed it under my layouts directory. The file contains the following:
> --- begin of sig-alternate.layout ---
> #% Do not delete the line below; configure depends on this
> # \DeclareLaTeXClass[sig-alternate]{sig-alternate}
> Format 11
> Input stdclass.inc
> --- end of sig-alternate.layout ---
> And I create a sample file (test.lyx) with this layout. Then I
> generate plain latex from it and this is what I obtain:
...
> The problem is that the first line has the wrong class (article)! Am I
> doing something wrong? Why doesn't the generated latex begin with this
> \documentclass{sig-alternate}?
Try with
# \DeclareLaTeXClass[sig-alternate](sig-alternate)
as second line (braces instead of brackets).
Günter