[luatex] incompatible ectaart.cls and luatex.sty in TL2013

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Sun Aug 18 10:40:29 CEST 2013


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

> Am Samstag, 17. August 2013 um 20:42:50, schrieb Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> > 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




-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130818/d6aaae76/attachment.bin>


More information about the luatex mailing list