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'd rather do this than edit the .tex file manually cos then I just need to have the LyX file up to date when I make changes.. 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? 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? I can't seem to find these files when I do a View -> Postscript. If this is possible then I would'nt have to do the conversion manually... 3. I need to use the filecontents* environment to include the .bbl file. I do not see a .bbl file in my directory though I see all my references in the final pdf doc generated using pdflatex. I had a .bbl file for the earlier version of this paper but it isn't being generated again after I deleted that .bbl file (cos the filename changed). Any help on these would be greatly appreciated. Thanks, nirmal