···<date: 2013-08-18, Sunday>···<from: Kornel Benko>···

> Am Samstag, 17. August 2013 um 20:42:50, schrieb Herbert Voss 
> <[email protected]>
> > Am 17.08.2013 16:13, schrieb Kornel Benko:
> > > Hi, not sure if this is the right list.
> > >
> > > Documents starting with
> > >
> > > \documentclass[english,draft]{ectaart}
> > >
> > > ...
> > >
> > > \usepackage[utf8]{luainputenc}
> > 
> > why do you need luainputenc? You are already using the default
> > encoding utf8
> 
> I don't. It is inserted by lyx if trying to use lualatex.
> 
> > However, use
> > 
> > \documentclass[english,draft]{ectaart}
> > \let\setattribute\relax
> > ...
> 
> Thanks Herbert.
> 
> However, using it gives another error message.
>       (/usr/local/texlive/2013/texmf-dist/tex/latex/base/t1cmtt.fd)
>       ./ectarttest.tex:61: You can't use `\numexpr' in horizontal mode.
>       \setattribute #1#2^^@-#1=\numexpr 
>                                       #2\relax 
>       l.61 \kwd
>              {Keyword1}\kwd{Keyword2}
>       ? 
> 
> The relevant latex-lines are:
>       ...
>       \begin{keyword}
>       \kwd{Keyword1}\kwd{Keyword2}
>       \end{keyword}
>       ...
> Looks like the redefinition of \setattribute in luainputenc makes no good.
> 
> Simply commenting use of luainputenc works though. 

The name clash is not caused directly by luainputenc, but by
luatex.sty which is loaded by luatexbase. Anyways, Herbert is
correct: there is no justification for luainputenc there, so best
file a bug report against whatever tool inserts it.

Now, to the actual problem, since it will occur with most other
Luatex specific packages: running

  sed -i 's/setattribute/setectaartattribute/g' ectaart.cls

will fix the class file.

Best regards,
Philipp




Attachment: pgpH8dXPmo83i.pgp
Description: PGP signature

Reply via email to