stefano franchi <stefano.franchi <at> gmail.com> writes:

> 
> On Sat, Jun 23, 2012 at 12:41 AM, Julien Babinot
> <julien.babinot <at> 9online.fr> wrote:
> > Julien Babinot <julien.babinot <at> 9online.fr> writes:
> >
> >>
> >> stefano franchi <stefano.franchi <at> gmail.com> writes:
> >>
> >> >
> >> > On Thu, Jun 21, 2012 at 9:08 PM, julien.babinot
> >> > <julien.babinot <at> 9online.fr> wrote:
> > After some tests i finally succeeded to insert the bibliography via 
biblatex.
> > Actually, there was two problems:
> > - All files have to be put in a folder with no space: i changed the 
> > previous 
one
> > to C:/Test/Publi1
> 
> This may be a problem with bibtex rather than with biblatex. At any
> rate, I it's good practice to avoid spaces in paths when using any
> tex-related tool, in my opinion.
> 
> > - The absolut path have to be written like this: 
\bibliography{C:/Test/Publi1}
> > (without the .bib)
> 
> Yes, the old \bibliography command does not want extensions.
> 
> > Then everything is working fine.
> >
> > Strong of this success i tried to use biblatex with my thesis files, which 
are
> > several chapters included in a main document lyx. When i visualize each 
chapter
> > separately, it is working fine.
> > To do the multiple bibliography in each chapter from this master file, i 
> > had 
a
> > look on the wiki: http://wiki.lyx.org/BibTeX/Tips#secbib
> 
> You may want to take a look at the bibtlatex manual as well, where the
> issue is discussed.
> 
> > From here i have several questions:
> > - To build bibtexall.exe, i used this
> > way:http://logix4u.net/component/content/article/27-tutorials/44-how-to-
create-
> > windows-executable-exe-from-python-script with the code given on the wiki 
page.
> > Is it correct to proceed like this? Or do i just need to put the code in a 
.txt
> > file and then to rename it?
> > I supposed that first method was the good one, and i put this file in what 
seems
> > to be the "path" mentioned on the wiki, namely C:\Program Files\MiKTeX
> > 2.9\miktex\bin (i am with windows XP, MikteX distribution). Is it correct 
> > to 
put
> > the bibtexall.exe file here?
> 
> I can't help here, not being a Windows user
> 
> > - On my main document i use the following preamble:
> > \usepackage[style=nature,natbib=true]{biblatex}
> > \bibliography{C:/Test/Publi1,C:/Test/Publi2}
> > but references are not appearing.
> > If i change to:
> > \usepackage[style=nature,natbib=true]{biblatex}
> > \bibliography{Publi1,Publi2}
> > then the bibliography of the first chapter works well, but there is no in 
the
> > second. It seems strange to have to use an absolute path for single 
document,
> > and a relative path for a multiple?? And why in the multiple only the
> > bibliography of the first chapter works well? Could it be a problem with
> > bibtexall?
> 
> It could be, you may want to look at the latex log to find out what is
> happening. You are using \printbibliograpy commands at the end of each
> chapter, aren't you?
> 
> Again, try making a simple, multichapter example to aid debugging and
> perhaps post it to the list.
> 
> Cheers,
> 
> Stefano
> 


Hi Stefano,

I read the biblatex manual and fixed some issues. I changed the bibliography 
command to \addbibresource and when i compile a simple document it works 
perfectly.
To build a multiple bibliography, i used the commands \begin{refsection} and 
\end{refsection}in each chapter, and in the preamble of my master document, i 
used the preamble:
\usepackage[style=nature]{biblatex}
\addbibresource{Publi1}
\addbibresource{Publi2}

Unfortunately in this case my references are not recognized and appear in bold.
If i remove the environments \begin{refsection} and \end{refsection} then my 
references are appearing but are incremented as an only bib file, from 1 to 40 
instead of 2x 1 to 20. I guess this behavior is normal as no section are 
defined. 
So at the end, i think it should be a problem of the bibtexall script that does 
not do the job. Do you think there could be other problems?
If not i will post an other message specific to the installation if bibtexall 
on 
windows environment.

Thanks a lot for your help

Cheers

Julien

Reply via email to