Hi
I have been using lyx (the win32 qt port) for a few weeks now to produce
software documentation. I export my docs as latex and then use pdflatex
(miktex) to produce a pdf. So far everything looks great - I have set up a
.sty file for my standard layout and typesetting macros, some keyboard
bindings in lyx to quickly apply these macros, and have integrated calls to
lyx and pdflatex into our perl based build system so that I can manage the
docs under CVS and build them at the same time as the source code.
My only outstanding problem is that the build area into which all code, and
now documentation, is built is separate from the source tree. Before using
'lyx --export latex' to get the latex output I copy the .lyx document to the
build directory. However, because I have used relative paths to the images
in the doc, all the \includegraphics{} sections in resulting .tex file have
been market 'draft, type=eps', presumably because lyx couldn't find the file
relative to its current directory to figure out what it was.
Ideally I would like to run 'lyx --export' from the source directory, but
have the resulting .tex file written to the output directory, or to stdout -
something like 'lyx --export latex --outfile - mydoc.lyx'. Is there some way
I can do this?
thanks
Guy
[EMAIL PROTECTED]