On 06/11/2012 10:07 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I know this has been asked before, but I can't find that thread...
I have written a paper which is now ready for submission to the publisher
(Elsevier - I know...)
I can submit a compressed (zip) folder with all the documents necessary for
compilint the LaTeX
document, but I am stuck. I copied the files from the tmp directory and tried
running pdflatex but
it did not work.
I think the previous responses were off the mark a bit. You should not
have to submit things like amsmath.sty --- they certainly have all
that. Elsevier often requires that your document use their style
sheets, which means you have to include those in your document but,
again, you don't need to send them those files.
What you need to submit beyond the exported *.tex file (but don't use
the one in your temporary directory; the exported one is
better-formatted) will depend on your document. You will need to send
in any graphics files (in an archive with subdirectories set up so that
TeX can find them), bibtex files if you use that, and any special style
files. But they are probably not going to want to use your style files,
and will ask you to prepare the document with theirs, instead. That
used to be an issue with older versions of Scientific workplace and
similar products. But LyX can be set up compatibly with the publisher's
requirements.
So: which files need to be included in the archive? How can I test the archive?
I never used LaTeX
from the commandline, only via LyX...
Put what you think you should need in a new directory, along with
subdirectories for graphics in the same relative position as the
original (if the original was in ~/doc with pictures in ~/doc/pictures,
you need a subdirectory ./pictures in the new location for the graphics
files). Try "latex filename" a couple times, and look at the dvi
file, or see what the errors are.
BTW: Maybe, for a submission rather than a final edit for publication,
you can just submit a PDF file. Check their requirements.
--
David L. Johnson
When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ