Oscar Garcia Poblacion wrote:
>
> > No. The ".bib" is in the same dir that "master.lyx". I exported
> >"master.lyx" to latex and then I compiled it with "latex master.lyx". If I
> >remove the [gather] option it seems to work, but all chapters gets the same
> >bibliography. Is'nt there any way to include a bibliography for each
> chapter
> >directly from lyx?
- open the master doc and run dvi-view, so that all sub-docs are
loaded and than available through document-menu.
- input in _each_ sub-doc at the end
insert->lists&tocs->bibtex reference with the bibfile
and bibstyle (plain is default)
(you can copy this inset and paste it in the other docs)
- run dvi-view on this subdoc
the bibliography should be at the end
- at last the same for the main-doc
with the gather option you'll get a bib for each chapter
at the end of the main-doc. without gather at the end of
each chapter.
IMPORTANT: lyx creates for each subdoc a temp-dir, so latex
doesn't finds the chapterbibs. therefore you have to switch
off the use of a tempdir:
edit->preferences->input->path->tempdir
Herbert
--
http://www.educat.hu-berlin.de/~voss/lyx/