Paul A. Rubin wrote:
Hi all,
I'm trying to write a layout file for Operations Research (an INFORMS
journal with rather, er, specific LaTeX requirements, and I'm stumped
on the very first one. INFORMS uses a generic class file and
specifies which of their journals is the target (which affects various
formatting things) via an option to the document class. So I need the
emitted LaTeX to say
\documentclass[opre]{informs1}
at the top. The only way I can see to pass the opre option in a
layout file is to use something like
# \DeclareLaTeXClass[informs1]{article (Oper. Res.)}
...
ClassOptions
...
Other opre
End
Only it does not work -- the LaTeX output contains
\documentclass[11pt,oneside,english]{informs1}
which is sorely lacking the journal option (opre). Is this the wrong
way to specify an option to \documentclass, or am I erring in some
visible way?
I'm afraid I don't know anything about class options in layout files. (I
do know that there have been some bug reports.) But as a workaround for
now, you could just pass the option manually in
Document>Settings>Document Class. Maybe that'd even be best, since you
wouldn't have to do different files for different options. (Of course,
once modules are on the scene, with 1.6, that sort of thing will become
easier.)
Richard
--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto