On Wed, Apr 8, 2015 at 12:38 PM, Enrico Forestieri <for...@lyx.org> wrote:
> On Wed, Apr 08, 2015 at 12:08:27PM +0200, Enrico Forestieri wrote:
>>
>> I don't know this class but it seems to be a class error. A quick glance
>> at the class source reveals that the \@toappear macro is intended to be
>> defined as empty by default, but the time the \maketitle macro is executed,
>> its definition is still not performed. Given that it is meant to be empty
>> by default, you can add "\toappear{}" in the preamble to avoid the error.
>
> Hmm... Scratch that. I had a closer look and the problem turns out to be
> that the class expects that a Digital Object Identifier be defined.
> Actually, after blanking \@toappear, the class uses the \toappear macro
> to insert the DOI. If the DOI is not defined, the error triggers. So,
> it is a problem with \@doi, not \@toappear.
>
> Hence, the right fix is defining \@doi through the \doi macro.
> ATM, the layout does not offer any way to do that and one has to insert
> this info in the preamble. A finer fix would be defining a DOI layout as
> done, for example, for CopyrightYear, Copyrightdata, and so on.

Thanks for looking into this, Enrico. I added your suggested fix at 34eadf5d.

Scott

Reply via email to