>
>
> Now, I wonder what is the behavior of the processor with a `<group>`
> element? I am just asking because I want to make sure there is a way to do
> the opposite: have 2 variables chained together and output as a substitute.
>
citeproc-js/Zotero does treat a group as  a single element, i.e. it renders
all elements in the group placed in cs:substitute. So this would work even
without the macro that Rintze suggests, though that's more elegant in many
cases.

I don't have a strong opinion on this, but I do prefer the way this is
currently handled by citeproc. To me, it's intuitive and I find the code
easier to read and less messy: With more substitute elements than for APA,
using Charles' method there would be a need for endless if - else-if - else
chains and if different names elements are required for different item
types that would require re-specifying all <name> and <label> properties.


>
> charles
>
>
> > On Tue, Oct 9, 2012 at 8:07 AM, Sebastian Karcher <
> [email protected]> wrote:
> > I'm confused - aren't these in cs:substitute?
> > When I wrote this, my expectation when I wrote this was that this would
> first go to publisher and if there is no publisher to title, but never
> print both. Did I misunderstand the specs there?
> >
> >
> > On Tue, Oct 9, 2012 at 5:10 AM, Rintze Zelle <[email protected]>
> wrote:
> > On Tue, Oct 9, 2012 at 5:55 AM, Charles Parnot <[email protected]>
> wrote:
> > >           <if type="report">
> > >             <text variable="publisher"/>
> > >             <text variable="title" form="short" font-style="italic"/>
> > >           </if>
> >
> > > - do not put any space: the style is actually incorrect
> >
> > My vote is for this one. I would not expect the style to include a
> > space between the two variables, and this is most probably incorrect
> > for APA.
> >
> > Rintze
> >
> >
> ------------------------------------------------------------------------------
> > Don't let slow site performance ruin your business. Deploy New Relic APM
> > Deploy New Relic app performance management and know exactly
> > what is happening inside your Ruby, Python, PHP, Java, and .NET app
> > Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> > http://p.sf.net/sfu/newrelic-dev2dev
> > _______________________________________________
> > xbiblio-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
> >
> >
> >
> > --
> > ------
> > Sebastian Karcher
> > Ph.D. Candidate
> > Department of Political Science
> > Northwestern University
> >
> >
> >
> > --
> > ------
> > Sebastian Karcher
> > Ph.D. Candidate
> > Department of Political Science
> > Northwestern University
> >
> ------------------------------------------------------------------------------
> > Don't let slow site performance ruin your business. Deploy New Relic APM
> > Deploy New Relic app performance management and know exactly
> > what is happening inside your Ruby, Python, PHP, Java, and .NET app
> > Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> >
> http://p.sf.net/sfu/newrelic-dev2dev_______________________________________________
> > xbiblio-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>
> --
> Charles Parnot
> [email protected]
> twitter: @cparnot
> http://mekentosj.com
>
>
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> xbiblio-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>



-- 
------
Sebastian Karcher
Ph.D. Candidate
Department of Political Science
Northwestern University
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to