El 11/07/2012 07:19 p.m., Allen Wilkinson escribió:
(...)
Why doesn't LyX just default to the .cls files definitions and abandon
the need for layout files?
(...)
Dear Lyxers
I half agree with this question, layout files are very useful when you
have to get more than one cls file definition (i.e a master document is
a book and a child document is an article and so on), but when you are
writting just an article the editors often offer you a cls file already
(ElSevier for example). I propose one of two solutions: isn't a way to
get layout files automatically from cls file definitions, if this is too
overwhelming I can handle with just the basics and then add manually the
rest for the first glance (a python script would be nice, suggested name
"cls2layout.py"); second solution could be that lyx can actually read
the cls file as an option to the layout file, this is not in lyx
philosophy but why not? It would be helpful in some specific cases like
this which is used a lot. Probably this is solved someway or someone has
already found a solution so it would be nice if it is published here,
I'm open at suggestions.
--
Regards
~-o--{____}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165