cmencar / lyx-sn

Lyx layout and example for Springer Nature
GNU General Public License v3.0
1 stars 1 forks source link

sn-example.lyx yields defective first page #1

Open ahmed-rashed opened 1 year ago

ahmed-rashed commented 1 year ago

Dear Sir.

Initially, many thanks for your efforts creating "sn-example.lyx". It simply does not compile in lyx. Please find the details below.

The compilation gives the following error messages: __hook begindocument ->\SetFootnoteHook {\hspace *{-8pt}}\DeclareNewFootnot... ... LaTeX Error: Undefined color `artcatboxgray'. ...

The first page of the generated document is one line only "A[gobble]artcatboxgraycmyk0.0,0.0,0.0,0.30"

Beginning from the second page, the article displays well.

Could you please solve the error messages so that the first page of the generated document displays correctly?

cmencar commented 1 year ago

Hello, if you delete the LaTeX preamble the document will not be correctly compiled. In any case, I was unable to reproduce the error, which seems to be related to a command in the Springer's class file. Perhaps you should include the package xcolor in your latex installation.