Hi all

I have been struggling with bibunits for quite some time. In spite of the precious help of Juergen and Jorgen, I have never succeeded.

So I am resubmitting my problem:
- I have a master lyx document containing 2 chapters (lyx files), inserted using "include" mode. Every chapter contains its own "Bibtex Generated References".

I would like to produce one reference section for each chapter using the bibunits package.

- "\usepackage{bibunits}" is in the preamble of the master document
- "\bibliographyunit[\chapter]" is in an ERT box at the very beginning of the master document
- I have put the following code in the preamble of master document:
"\makeatletter
  [EMAIL PROTECTED]@bibunitauxcnt}
  \makeatother"

I have read the Wiki pages,bibunits documentation and search the mail archives, I tried to apply the procedure through the command line, but in vain.

I have attached four files as an example. I am using a modified version of those supplied at the Wiki page.

my configuration:
Windows XP
Lyx 1.3.5
Lyx is installed under c:\lyx
My home is c:\myhome
the .lyx files are in c:\myhome
the .bib file is in c:\myhome
texmf tree is in c:\texmf

any help will be greatly appreciated
many thanks
Hassoun


Juergen Spitzmueller wrote:
[EMAIL PROTECTED] wrote:

- should the "\usepackage{bibunits}" command be inserted in the master
document preamble or in the included files preamble?


In the master document. If you intend to compile your child documents separately, put it also there.


- should the "\bibliographyunit[\chapter]" command be inserted as ERT at
the beginning of the master document or in its preamble?


At the beginning.


- if I understand well, the following code (taken from the Wiki page)
should be inserted in the preamble of the master document:
\makeatletter
 [EMAIL PROTECTED]@bibunitauxcnt}
 \makeatother


yes.

Jürgen

Attachment: master.lyx
Description: application/lyx

@String(l-online:Warp = "Online in the publications on the Warp-pages")
@String(g-S:CAS = "Center of Autonomous Systems, KTH" )
@String(proc-CLAWAR = "Int. Conf. on Climbing and Walking Robots")
@String(proc-ICRA = "Int. Conf. on Robotics and Automation")
@Preamble{"
  \ifx\undefined\allcaps\def\allcaps#1{#1}\fi
  \ifx\undefined\url\providecommand{\url}[1]{#1}\fi
"}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 2002
%%
@InProceedings{Ridderstrom:2002:SSBR,
  author =       {Christian Ridderström},
  title =        {Stability of statically balanced, radially symmetric stances 
for legged robots on compliant surfaces},
  booktitle =    proc-CLAWAR,
  year =         2002,
  address =      {Paris, France},
  month =        sep,
  abstract =     {
        This paper extends a recent criterion for the asymptotic
        stability of a statically balanced robot. Earlier work showed
        that if the combination of robot and environment is not stiff
        enough (as specified in the criterion), a so called
        "statically stable" stance is actually unstable. This
        criterion was derived analytically and also verified in
        experiment for a symmetric two-legged planar stance. Here the
        criterion is extended to three dimensions for two-, three- and
        four-legged radially symmetric stances. Additionally, a simple
        "proof" and a more intuitive explanation for the planar case
        is presented and also compared to a "buckling beam". Finally,
        it is suggested that local asymptotic stability might be
        determined in a simple way by comparing the "torsion stiffness
        due to gravity", with the "torsion stiffness due to
        compliance".  },
  pdf =          {data/Ridderstrom_2002_SSBR.pdf},
  ps =           {data/Ridderstrom_2002_SSBR.ps.gz},
  annote =       {ref:CAS-Warp, ref:Christian},
  affiliation =  g-S:CAS,
  location =     {},
}

@InProceedings{Ingvast:2001:ITA,
  author      = {J. Ingvast and C. Ridderström and F. Hardarson and J. 
Wikander},
  title       = {Improving a trotting robot's gait by adapting foot
        trajectory offsets},
  booktitle   = proc-CLAWAR,
  pages       = {711-718},
  year        = 2001,
  address     = {Karlsruhe, Germany},
  month       = sep,
  abstract    = { This paper presents a method to adapt the foot reference
        trajectory offsets in order to improve a specific trotting gait. The
        trot gait used, is expected to have each leg on ground the same
        amount of time and the adaptation offsets the supporting diagonals
        of the feet to minimize the differences in time. The controller is
        thus indirectly controlling the centre of mass position with respect
        to the support without an explicit measure of the actual position of
        the centre of mass. The functionality of the controller is verified
        by experiments: trotting in place and trotting up a slope.},
  annote =       {ref:CAS-Warp, ref:Christian},
  affiliation = g-S:CAS,
  pdf         = {data/Ingvast_2001_ITA.pdf},
  location    = l-online:Warp,
}

@InProceedings{Ingvast:2002:FLR,
  author      = {J. Ingvast and C. Ridderström and J. Wikander},
  title       = {The four legged robot system \allcaps{WARP1} and its
        capabilities},
  booktitle   = {Second Swedish Workshop on Autonomous Systems},
  year        = 2002,
  address =     {Stockholm, Sweden},
  month       = {oct},
  note        = {See \url{http://www.md.kth.se/~cas/publications}},
  abstract    = { This paper presents the basic characteristics of a walking
        robot platform, in terms of its mechanics, electronics and
        control. The four-legged robot Warp1, weighs about 60 kilograms, has
        three actuators in each leg and uses a distributed control system
        over six CAN busses. An overview of the platforms current
        capabilities are described and plans to make it self-contained are
        discussed. A brief discussion of experiences from designing and
        implementing the platform is included.},
  annote =       {ref:CAS-Warp, ref:Christian},
  affiliation = g-S:CAS,
  pdf         = {pubdata/Ingvast_2002_FLR.pdf},
  ps          = {pubdata/Ingvast_2002_FLR.ps.gz},
  location    = l-online:Warp,
}

@InProceedings{Ridderstrom:2002:SSB,
  author      = {Christian Ridderström},
  title       = {Stability of statically balanced stances for legged robots
        with compliance},
  booktitle   = proc-ICRA,
  year        = 2002,
  pages       = {},
  address     = {Washington DC, USA},
  abstract    = { This paper presents a new criterion for the asymptotic
        stance stability of a statically balanced legged robot. Typically,
        the static balance criterion only considers that the centre of mass
        is projected within the support area. This work shows that when the
        combined system is not stiff enough (as specified in the criterion),
        a so called "statically stable" stance is actually unstable. The
        criterion is derived analytically and also verified in experiment. },
  annote =       {ref:CAS-Warp, ref:Christian},
  affiliation = g-S:CAS,
  pdf         = {data/Ridderstrom_2002_SSB.pdf},
  location    = {},
}

Attachment: chap_01.lyx
Description: application/lyx

Attachment: chap_02.lyx
Description: application/lyx

Reply via email to