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:
> > > Dear Lyx users,
> > > First of all, i would like to know if there is one favoured package for my
> > > purpose between bibunits, chapterbib or biblatex?
> > 
> > I have never used bibunits or chapterbib, but I can confirm that
> > biblatex can do chapter bibliographies quite easily. It  lets you
> > choose the sorting scheme (including the unsorted option). Even though
> > biblatex is not completely integrated into Lyx, using it from lyx is
> > quite easy. All you need is to load the BOTH the biblatex package and
> > the bib files from the preamble. Using a standard bibliography in a
> > lyx note allows you to choose references "the Lyx way." See the  wiki
> > page on biblatex for the details: http://wiki.lyx.org/BibTeX/Biblatex
> > 
> > Cheers,
> > 
> > Stefano
> > 
> > Note: the wiki page has a warning about biber as not yet mature
> > product. While biber is certainly not as mature as bibtex, I have
> > found it extremely stable. On the plus side, biber allows you to use
> > UTF-8 encoded bibliography files---a great bonus if you work with
> > languages containing diacritics (i.e. accents).  I have switched to
> > biber about three years ago and never regretted it.
> > 
> 
> Hi Stefano,
> 
> Thanks a lot for your answer. Following your advice, i am starting to use 
> biblatex. To get used of it, I am making a simple test on a single document 
with 
> one bibliography.
> I entered the preamble in Lyx, put my bibliography in a Lyx note and inserted 
> some citations via the Lyx tool "insert citation".
> However when i try to preview, my references are not recognized (they appear 
as 
> a bold number, and nothing appears after \printbibliography ERT).
> My .bib file is in the same folder than my .lyx file, but as i understand lyx 
> cannot find it. I replaced the relative path of my file in the preamble by 
> the 
> absolut path but it has no effect. Am i doing something wrong?
> 
> Thanks again a lot for your help
> 
> PS: here is my preamble:
> \usepackage[style=numeric]{biblatex}
> \bibliography{Publi1}
> or 
> \usepackage[style=numeric]{biblatex}
> \bibliography{C:/Documents and Settings/Julien/Bureau/Test biblio/Publi1.bib}
> 
> I also tried to put my file in an absolute path with no spaces but i have 
> same 
> result...
> 
> 

Hi again,

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
- The absolut path have to be written like this: \bibliography{C:/Test/Publi1}
(without the .bib)
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
>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?
- 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?

I am sorry to ask questions that are probably stupid but i am totally lost.

Many thanks

Julien




Reply via email to