> BibTeX *hates* "paths with spaces". So we copy the BibTeX database to
> the temp directory and give it a nice, BibTeX-friendly mangled name.
> \bibliography should refer to this copied database in the same
> directory as the .tex file.

The bibtex file is NOT copied to the same directory as my tex file. I have the
followig situation:

One master document that inputs a bunch of lyx documents (chapters). I need
references at the end of each chapter and i need to be able to compile these
chapters seperate.

I use \usepackage[dot]{bibtopic}

then I add a \begin{btUnit} after each chapter heading and I redefine the
\bibliography

\renewcommand{\bibliography}[1]{
        \section{References}
        \bibliographystyle{\kstyle}
        \begin{btSect}{\kpath\kname}
        \btPrintCited
                \end{btSect}
        \end{btUnit}
}

Instead of using \kpath\kname I would like to use #1, but the file is in some
unknown temp directory?!

My temp dir looks something like this

lyxtmpdir124312412
   ./lyx_tmpbuf0
         master_file.tex
         chap1.tex
         chap2.tex
   ./lyx_tmpbuf1
         3d_bibtex_file.bib
         4d_image.eps
         5d_image.eps
   ./lyx_tmpbuf2
         6d_bibtex_file.bib
         7d_image_file.eps

inside of chap1.tex and chap2.tex that refer to the FULL path of the eps files,
but the bibtext files is without path -> resulting in a failed latex 
compilation.

Any suggestions?

Thanks,
Johann



Reply via email to