Without getting too deep, step back a bit and note that the data in this case is flawed.
The purpose of that group is to describe the characteristics of a container; likely a book. If the data record doesn't have a title or contributor (editor), then you can't get a correct formatted reference. So in short, a bug in the data. Bruce On Sat, Dec 8, 2012 at 2:18 PM, Ron Jerome <[email protected]> wrote: > Hi Folks, > > I've run into an issue with cs:group elements and seek some clarification on > the spec. > > I have a group which contains a number of elements rendered either directly > from variables for indirectly from macros. > > My interpretation of the spec is that ALL of the variables/macros have to be > empty before the group is suppressed, but in the case of a group with > multiple variables/macros, this can produce some strange output. > > Here is my specific case... > > <group delimiter=""> > <text term="in" suffix=": " text-case="capitalize-first"/> > <text macro="container-contributors" prefix=" " suffix=": "/> > <text macro="container-title" suffix="."/> > <label variable="page" form="short" text-case="lowercase" > suffix=". " prefix=" – "/> > <text variable="page" suffix=","/> > </group> > > In this case, both "container-contributors" and "container-title" macros > evaluate empty but the "page" variable is there, so it creates strange > output like this... > > "In: – pp. 329–368" > > Seems to me in this case, the whole thing should be suppressed. > > Am I misinterpreting the spec? > > Ron. > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > xbiblio-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ xbiblio-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
