>>>>> "Ben" == Ben Cazzolato <[EMAIL PROTECTED]> writes:
Ben> The Journal of Sound and Vibration (Academic Press) has recently
Ben> released a class file for the journal, jsv.cls. See following for
Ben> more details.
Ben> http://www.academicpress.com/www/journal/sv/JSVLaTeXFP.htm
I've the class and it looks like a quick hack to turn a latex2.09
style into a latex2e class.
Ben> Anyway, since I often submit to the JSV I've generated a layout
Ben> file for it based on the article and AMS article layout files,
Ben> jsv.layout.
Good idea :)
Ben> I've also made an example/template file.
Ben> I've attached all the relevant files.
Yes, but you sent the .tex version of the template, which is not very
useful...
Ben> Hope you can add this to the growing list of layout files. It's
Ben> my first attempt at a layout file (so go easy on me) and it may
Ben> need a little work but I think it has all the definitions
Ben> required (at least from what I could decipher from the jsv.cls
Ben> file).
OK, a few remarks:
- amssyme,bm and equation are not class options, but packages. So you
should replace your ClassOption stuff with
Preamble
\usepackage{amssyme,equation,bm}
EndPreamble
and check that this does not interfere with a preamble defined in ams
stuff. Note that it is not clear that the packages are always needed
by the class. If they are _really_ needed (do they provide
functionality that you really need?) you should change the declaration
of the layout to
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[jsv,equation.sty,bm.sty,jsv10.sty,amssyne.sty]{article (JSV)}
so that configure checks that all needed files are found.
My take on these packages is:
* equation.sty improves the look of eqnarray and is needed. You will
not be able to use the extra environments it provides, though.
* amssyme.sty provides some special symbols. Needed.
* jsv10.sty is of course needed
* bm.sty is not used automatically by mathed (for boldmath symbols);
moreover it should exist by default in most latex distribution (it
comes from the required tools bundle).
- Only 10pt size is allowed, so your should have a
ClassOptions
FontSize 10
End
- it is not clear if several pagestyle are allowed. If not, use
ClassOptions
PageStyle plain
End
[which can be merged with the other onw above, of course]
Ben> I realise that you don't need (or want) all the .sty and .cls
Ben> files but I thought that if you were happy enough to include it
Ben> in the distribution then maybe you could add to the code so it
Ben> searches when running reconfigure to see if the user has the
Ben> appropriate packages before presenting it in the Layout >
Ben> Document > Class box.
It is said explicitely in the files that redistribution is forbidden.
What you can do is:
- fix a bit the jsv.layout
- send us jsv.layout and a jsv.lyx template
- send also a small writeup for LaTeXConfig.lyx.in describing where to
get the files (add a note saying that the links on the page give
files with capitalization, which is wront under unix).
- if you feel really brave, write some documentation for Extended.lyx
describing the features of the class.
Ben> Hope this help the effort?
Of course it does :)
JMarc