William R. Buckley wrote:
I have need for the LNCS layout, and am having trouble using this with LyX.  You
will perhaps like to know that my prior experience with any TeX is zero.  In the
past, I have used WYSIWYG systems (Ventura Publisher is my first choice, though
I am also passingly familiar with Quark XPress and Aldus PageMaker).  Further,
while I do have some experience with UNIX administrative activities, the details
for use of LyX are not clear, to me.

I obtained the LaTeX 2E distribution from the Springer-Verlag website,

Do you mean that you obtained a full LaTeX distribution from S-V, or just that you obtained the zip files containing the LCNS style etc.? In the context of LaTeX, "distribution" usually means the full-blown LaTeX package (TeXLive, MiKTeX, teTeX, ...). If that's what you mean, *and* if you're on Windows, I agree with Abdel that you're better off installing MiKTeX.

I'm going to assume that you meant that you downloaded just the LCNS files from S-V. Also, you did not specify your OS any place that I can see. I suspect that Richard and Abdel are assuming from your mention of those page design programs that you're on Windows, but I'll try to be agnostic about that.

and have
attempted to determine the proper location to which the various components of
the download should be directed.  That is, shall the .sty and .cls files be
placed in the ./resources/tex directory

Your LaTeX distribution will have a localtexmf directory tree where you typically want to unpack downloaded styles and such. On *nix systems, the path to it is often exported as an environment variable named LOCALTEXMF. Using MiKTeX (Windows), you can use the MiKTeX settings application and look under "Roots". All else failing, you can try running 'kpsewhich -show-path=.bst' in a command shell/terminal and see what it spits up. Some (most?) of the directories it lists will be part of the base installation, but somewhere on that list should be the bibtex folder under your localtexmf tree.

Once you've found localtexmf, drill down to something like .../tex/latex/lncs, creating directories as needed, and unpack your download there.

What is less clear is the use of texhash, as it is not part of the LyX distribution.

No, this is part of LaTeX. Again, if you're using MiKTeX, you don't need to access this directly; use the MiKTeX settings application and click the 'Refresh FNDB' button. On *nix systems, you'll probably need to run this in a terminal. You don't need any arguments; just run 'texhash'.

So, how do I install and make available to me the LNCS files, and how do I use
them to prepare, or work with, a .layout file?

I don't use LNCS myself, but since it ships as a style file rather than a class file, I think you should be able to start a new document in the default article class in LyX and then add '\usepackage{lncs}' to the preamble (Document -> Settings... -> LaTeX Preamble). If there are any special features (rather than just changes to various style parameters), you'll either need to use ERT (plain LaTeX) to invoke them (in which case they may not look right in the GUI, even though they display correctly in the final output) or else cobble together your own layout file (section 5.2 of the Customization manual).

/Paul

Reply via email to