On  9.03.05, Helge Hafting wrote:
> Stefano Franchi wrote:
> >On Mar 8, 2005, at 4:20 AM, Helge Hafting wrote:
> 
> Now, some publishers do provide latex classes, in those cases it is
> only a question of getting lyx support. The simplest cases merely
> involves getting a few "\usepackages" into the preamble, which is a
> 5-minute job including testing. 

If the publisher provides a latex package (or style) (*.sty), it is
possible to go along with a standard class (and lyx layout) and insert
one (or some) \usepackage in Format>Document>latex-preamble.

However, if the publisher provides a latex class (*.cls), you need to
create a new LyX layout. Most basically this would be a file, say,
mypublisher.layout with

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{mypublisher}
# layout for the mypublisher.cls from My Publisher
Input article.layout


> A few extra paragraph types usually isn't too bad either.

If the class just provides layout settings (margins, spaces, typeface),
nothing more is required. Of course the view in LyX might differ from
the latex output, but thats WYSIWYM.

If the class provides some additional latex commands and/or
environments, additional Styles could be defined (otherwise resort to
ERT).

G�nter

-- 
G.Milde web.de

Reply via email to