On Mon, Jul 14, 2003 at 01:23:32PM -0400, Nirmal Govind wrote:
> Hi.. I need to submit a paper for a conference that accepts Latex files.
> But they require a single .tex file, i.e. the figures, bibliography
> etc. all have to be incorporated into that .tex file using the
> filecontents* environment. I'm having a few problems with this:
>
> 1. From the instructions given, I'm supposed to put
> \begin{filecontents*}{myfigure.eps}
> \end{filecontents*}
>
> for all my figures (assuming that the real eps file is in my current
> directory). These commands need to go before the \documentclass. How do
> I enter ERT in LyX so that it goes before the \documentclass in the .tex
> file?
I don't think this is possible.
I guess you'd need to create some kind of external script that merges a
.tex as exported from LyX with your figures to a new file.
> 2. I have several .jpg figures and one .pdf figure in my paper. Does
> filecontents* work with jpg/pdf files too? If not, is there any similar
> environment for jpg/pdf files?
I'd expect .pdf to work out-of-the-box but .jpg to break.
> If not, would it be possible to get LyX to output (to the current
> directory) the converted ps/eps files that are generated when I ask
> for a Postscript output?
They are in some /tmp/lyx_tmpdirXXXXX directory.
Andre'
--
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)