Subject: Fwd: FW: [jats-list] Element for wrapping a group of xref elements From: Kaveh Bazargan <kaveh@xxxxxxxxxxxxxxxx> Date: Thu, 31 Jan 2013 19:11:12 +0100 |
On 31 January 2013 17:09, Alf Eaton <eaton.alf@xxxxxxxxx> wrote: > > On 24 January 2013 16:26, Kaveh Bazargan <kaveh@xxxxxxxxxxxxxxxx> wrote: > > > So in a very generic terminology, a citation to a reference should be: > > > > <reference>ref1, ref2, ref3, ref19, ref22, ref23, ref24</reference> > > > > with no regard for what the rendered output should look like. > > That's essentially the same as <xref rid="ref1 ref2 ref3 ref19 ref22 > ref23 ref24"/> - which would be ideal, but the problem is that most of > the time we're marking up cross-references in text that already > contains punctuation, e.g. > (<xref rid="ref1">Smith, 1999</xref>; <xref rid="ref2">Jones, 2003</xref>) > > To be able to reformat those references using numeric reference labels > instead of author-year, there has to be some way of knowing where the > punctuation starts and ends, so either: > > <xref rid="ref1 ref2">(Smith, 1999; Jones, 2003)</xref> > <=> > <xref rid="ref1 ref2">1,2</xref> > > or > > <xref-group>(<xref rid="ref1">Smith, 1999</xref>; <xref > rid="ref2">Jones, 2003</xref>)</xref-group> > <=> > <xref-group><xref rid="ref1">1</xref>,<xref rid="ref2">2</xref></xref-group> > > I'm not sure which I prefer, but if it's a requirement that each > individual reference is marked up, then I think there's definitely a > use for an xref-group > element to mark the start and end of the group of references. Not sure I quite understand, but my argument is that we don't really need "labels" at all. If references are correctly structured, identifying the author, year, etc, then we choose at "run-time" whether to have numeric or author-year labels in the text. We can of course put a default label in, but in principle one output would automatically give: (Smith, 1999; Jones, 2003) and another: [18, 25] and of course any "contraction" can be automatically generated too, e.g. [18, 22b25, 27, 33b37] -- Kaveh Bazargan www.river-valley.com | www.river-valley.tv | www.bazargan.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: FW: [jats-list] Element for wra, Alf Eaton | Thread | Re: FW: [jats-list] Element for wra, Bruce Rosenblum |
Re: FW: [jats-list] Element for wra, Alf Eaton | Date | [jats-list] references to <inline-s, Kevin Hawkins |
Month |