Hello,

After waiting for a day to look if this list could give me some answers I
contacted a LaTeX guru. 

The problem is solved:
LyX generated some faulty babel instructions
Solution: 
Export to LaTeX, look at *.tex file with TexNicCenter:
Babel errors: (remove all Babel instructions in first lines, try to build
from TeXnicCenter.

Then adjusted LyX:
1)LyX/Edit/Preferences/Language Options:
    Language package: empty (delete usepackage..)
    Use Babel: disable
2)LyX/Layout/Document.../Layout/options: english

3)Manually delete *.aux file, now dvi is generated fine

Problem solved. :)

Jeroen
> -----Original Message-----
> From: Jeroen Boydens [mailto:[EMAIL PROTECTED]
> Sent: woensdag 28 september 2005 21:29
> To: lyx-users@lists.lyx.org
> Subject: LyX with acm-document class problem.
> 
> Hi,
> 
> I've recently made the step to write papers using LyX on windows (1.3.6-
> 1).
> I'm trying to use a document class from ACM:
> http://www.acm.org/sigs/pubs/proceed/template.html
> 
> I've added the document class found on the above link to LaTeX
> ..\texmf\tex\latex\misc\acm_proc_article-sp.cls
> (I created the misc subfolder)
> I ran MikTeX options refresh to update the LaTeX database
> 
> I've added a layout to LyX(created layout file manually)
> ..\Program Files\LyX\Resources\lyx\layouts\acm_proc_article-sp.layout
> this file contains:
> ---8<---
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass[acm_proc_article-sp]{ACM SIG Proceedings Template
> strict}
> 
> # Read the definitions from article.layout
> Input article.layout
> --->8---
> 
> I ran LyX reconfigure, and restarted LyX
> 
> I'm now able to select this new Document class in LyX and create documents
> with it. So I thought everything was ok. But when I add a bibTeX reference
> to it I get the following error:
> (insert/lists&TOC/BibTex bibliography, I used the sample bib-file found on
> the template site mentioned above)
> (If I change the document-class back to article the error disappears)
> ---8<---
> Use of [EMAIL PROTECTED] doesn't match its definition.
>  dw\cite{
>              clark:pct}b
> If you say, e.g., `\def\a1{...}', then you must always
> put `1' after `\a', since control sequence names are
> made up of letters only. The macro here has not been
> followed by the required stuff, so I'm ignoring it.
> --->8---
> 
> What am I doing wrong?
> Can I use another way to add the document class to LyX?
> 
> thanks,
> 
> Jeroen


Reply via email to