# Proposal re locators and numbers

**URL:** <https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632>\
**Category:** CSL Development\
**Created:** [May 8, 2009, 12:00am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632 "2009-05-08T00:00:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 8, 2009, 12:00am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/1 "2009-05-08T00:00:11Z")

</div>

The current syntax for a locator looks something like this:

This supports only a single label and a page number (I think as a dumb  
string, at present). This proposal would provide for multiple  
elements in a pinpoint locator. Enhanced syntax for rendering a  
locator would be as follows:

The delimiter attribute on the numeral is used to join range elements.  
If an implicit test for is-numeric raises false, the locator variable  
is rendered as at present (as a single plain string preceded, in the  
example above, by the primary locator label).

Comments?

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 8, 2009, 12:06am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/2 "2009-05-08T00:06:26Z")

</div>

I won’t have time to think about this for a few days, but would ask  
others to take a look and comment. I don’t recall there being any  
particular problem with locators.

Bruce

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 12, 2009, 11:04pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/3 "2009-05-12T23:04:38Z")

</div>

> > The current syntax for a locator looks something like this:
> > 
> > This supports only a single label and a page number (I think as a dumb  
> > string, at present). This proposal would provide for multiple  
> > elements in a pinpoint locator. Enhanced syntax for rendering a  
> > locator would be as follows:
> > 
> > The delimiter attribute on the numeral is used to join range elements.  
> > If an implicit test for is-numeric raises false, the locator variable  
> > is rendered as at present (as a single plain string preceded, in the  
> > example above, by the primary locator label).
> > 
> > Comments?
> 
> I won’t have time to think about this for a few days, but would ask  
> others to take a look and comment. I don’t recall there being any  
> particular problem with locators.

I’m confused, then. Everyone seems to want the locator passed to the  
processor as a structured array with multiple elements:

[Thread: [xbiblio-devel] Test suite input format | XBib](http://sourceforge.net/mailarchive/forum.php?thread_name=53208a5f0904291606m78a43a78w9ca72b3c7608b543%40mail.gmail.com&forum_name=xbiblio-devel)

How is the processor supposed to handle the array?

Frank

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 12, 2009, 11:35pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/4 "2009-05-12T23:35:50Z")

</div>

I’m confused too, since I don’t know ATM why that variable is in the  
schema (!). The point-locator attribute is intended to handle this use  
case.

Does anyone have any better insight, or do we need to remove the  
"locator" variable?

Bruce

---

<div class="post-metadata">

**Author:** ![Rintze\_Zelle](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/rintze_zelle/32/175_2.png) [@Rintze\_Zelle](https://discourse.citationstyles.org/u/Rintze_Zelle)\
**Post date:** [May 13, 2009, 5:14am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/5 "2009-05-13T05:14:33Z")

</div>

FWIW, quite a few styles currently rely on the locator-variable (like  
Chicago).

Rintze

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 13, 2009, 10:02am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/6 "2009-05-13T10:02:47Z")

</div>

But what does it DO? Are these bugs?

---

<div class="post-metadata">

**Author:** ![Rintze\_Zelle](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/rintze_zelle/32/175_2.png) [@Rintze\_Zelle](https://discourse.citationstyles.org/u/Rintze_Zelle)\
**Post date:** [May 13, 2009, 11:02am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/7 "2009-05-13T11:02:38Z")

</div>

gives the locator value as supplied by Zotero,  
while gives the matching label. Also, I didn’t  
search all styles, but I can’t recall ever seeing the point-locator  
attribute being used.

Rintze

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 13, 2009, 11:13am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/8 "2009-05-13T11:13:58Z")

</div>

> gives the locator value as supplied by Zotero,  
> while gives the matching label. Also, I didn’t  
> search all styles, but I can’t recall ever seeing the point-locator  
> attribute being used.

bennett@bennett-laptop$ grep ‘point-locator[^a-z]’ \*.csl  
bennett@bennett-laptop$

Your memory serves you right. It’s not in there.

But to pull things back to the original question, I wasn’t asking  
about the variable name, but the syntax for rendering it in CSL. We  
currently use this:

That works if locator is a simple string variable. But in the thread  
I linked, everyone is asking that it be an array – multiple  
labelterm/value pairs. Don’t know how to render a data bundle like  
that from the syntax above.

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 13, 2009, 11:15am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/9 "2009-05-13T11:15:20Z")

</div>

> > gives the locator value as supplied by Zotero,  
> > while gives the matching label. Also, I didn’t  
> > search all styles, but I can’t recall ever seeing the point-locator  
> > attribute being used.
> 
> bennett@bennett-laptop$ grep ‘point-locator[^a-z]’ \*.csl  
> bennett@bennett-laptop$
> 
> Your memory serves you right. It’s not in there.
> 
> But to pull things back to the original question, I wasn’t asking  
> about the variable name, but the syntax for rendering it in CSL. We  
> currently use this:
> 
> That works if locator is a simple string variable. But in the thread  
> I linked, everyone is asking that it be an array – multiple  
> labelterm/value pairs. Don’t know how to render a data bundle like  
> that from the syntax above.

To be doubly clear, the issue is not the label, but the fact that it’s an array.

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 13, 2009, 12:35pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/10 "2009-05-13T12:35:01Z")

</div>

That’s only part of the issue. What I’m saying is this is the wrong  
variable, and we probably need to remove it.

See this thread:

\<[http://sourceforge.net/mailarchive/message.php?msg\_id=47C6AA89.2020105%40gmail.com](http://sourceforge.net/mailarchive/message.php?msg_id=47C6AA89.2020105%40gmail.com)

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 13, 2009, 1:03pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/11 "2009-05-13T13:03:25Z")

</div>



---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 13, 2009, 1:28pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/12 "2009-05-13T13:28:50Z")

</div>

> > > > gives the locator value as supplied by Zotero,  
> > > > while gives the matching label. Also, I didn’t  
> > > > search all styles, but I can’t recall ever seeing the point-locator  
> > > > attribute being used.
> > > 
> > > bennett@bennett-laptop$ grep ‘point-locator[^a-z]’ \*.csl  
> > > bennett@bennett-laptop$
> > > 
> > > Your memory serves you right. It’s not in there.
> > > 
> > > But to pull things back to the original question, I wasn’t asking  
> > > about the variable name, but the syntax for rendering it in CSL. We  
> > > currently use this:
> > > 
> > > That works if locator is a simple string variable. But in the thread  
> > > I linked, everyone is asking that it be an array – multiple  
> > > labelterm/value pairs. Don’t know how to render a data bundle like  
> > > that from the syntax above.
> > 
> > To be doubly clear, the issue is not the label, but the fact that it’s an array.
> 
> That’s only part of the issue. What I’m saying is this is the wrong  
> variable, and we probably need to remove it.
> 
> See this thread:
> 
> [http://sourceforge.net/mailarchive/message.php?msg\_id=47C6AA89.2020105%40gmail.com](http://sourceforge.net/mailarchive/message.php?msg_id=47C6AA89.2020105%40gmail.com)

Read through the thread. It looks like at that stage the meaning of  
“locator” and “point-locator” was in flux. Currently, “locator” is  
effectively the name for a special variable consisting of exactly with  
two elements: a label part associated with a locale term; and a string  
supplied by the user. The first is called using the label element,  
the second using the text element, as Rintze said earlier. If that  
will change, I’ll need to know the structure of the data and the CSL  
markup, and have an example or two of input and matching output. I’ll  
work with whatever you decide.

No opinion on whether it’s necessary to replace locator with  
point-locator in all existing styles.

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 14, 2009, 1:43pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/13 "2009-05-14T13:43:39Z")

</div>

…

> > See this thread:
> > 
> > [http://sourceforge.net/mailarchive/message.php?msg\_id=47C6AA89.2020105%40gmail.com](http://sourceforge.net/mailarchive/message.php?msg_id=47C6AA89.2020105%40gmail.com)
> 
> Read through the thread. It looks like at that stage the meaning of  
> “locator” and “point-locator” was in flux. Currently, “locator” is  
> effectively the name for a special variable consisting of exactly with  
> two elements: a label part associated with a locale term; and a string  
> supplied by the user. The first is called using the label element,  
> the second using the text element, as Rintze said earlier. If that  
> will change, I’ll need to know the structure of the data and the CSL  
> markup, and have an example or two of input and matching output. I’ll  
> work with whatever you decide.

This is an ugly detail of CSL, and it’s not so much that it’s an  
oversight, but that it’s just kind of hard to balance the concerns.

To understand some of the historical context of this wrinkle, you can  
look back at an earlier version of the schema:

[http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/trunk/csl.rnc?logsort=cvs&revision=344&view=markup](http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/trunk/csl.rnc?logsort=cvs&revision=344&view=markup)

At line 787, you’ll see we used to have a cs:locator element, which  
had a bit of magic associated with it that avoided people having to  
write really complicated stuff just to get the locators to print  
correctly.

So the current variable was a product of an effort to simplify CSL  
where possible. It essentially changed the variable element to an  
attribute value.

With that out of the way, we need to clear up two details:

1. The more recent thread was just confusion about what “locator”  
referred to: the details of the source per se, or of its citation. We  
have two options.

A. remove “point-locator” and update the documentation to make clear  
that “locator” is only for use in the citation, and refers to the  
point citation details (not the source).

B. remove “locator” and update the existing CSL styles to use that

It seems to me option A is preferable.

1. processing of 1:

I think we have a few options:

A. we define the order of printing, so that a style author could just do:

\<cs:text variable=“locator” delimiter=", "/\>

B. we force the style author to define the ordering by having to list  
the variables

\<cs:text variable=“chapter page” delimiter=", "/\>

If we choose B, then we don’t need 1 above at all (and we need to  
update all the styles).

There’s an issue with my examples, though: they don’t include the  
labels. I guess in that case we’d need to use a group?

Bruce

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 14, 2009, 8:19pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/14 "2009-05-14T20:19:04Z")

</div>

> …
> 
> > > See this thread:
> > > 
> > > [http://sourceforge.net/mailarchive/message.php?msg\_id=47C6AA89.2020105%40gmail.com](http://sourceforge.net/mailarchive/message.php?msg_id=47C6AA89.2020105%40gmail.com)
> > 
> > Read through the thread. It looks like at that stage the meaning of  
> > “locator” and “point-locator” was in flux. Currently, “locator” is  
> > effectively the name for a special variable consisting of exactly with  
> > two elements: a label part associated with a locale term; and a string  
> > supplied by the user. The first is called using the label element,  
> > the second using the text element, as Rintze said earlier. If that  
> > will change, I’ll need to know the structure of the data and the CSL  
> > markup, and have an example or two of input and matching output. I’ll  
> > work with whatever you decide.
> 
> This is an ugly detail of CSL, and it’s not so much that it’s an  
> oversight, but that it’s just kind of hard to balance the concerns.
> 
> To understand some of the historical context of this wrinkle, you can  
> look back at an earlier version of the schema:
> 
> [http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/trunk/csl.rnc?logsort=cvs&revision=344&view=markup](http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/trunk/csl.rnc?logsort=cvs&revision=344&view=markup)
> 
> At line 787, you’ll see we used to have a cs:locator element, which  
> had a bit of magic associated with it that avoided people having to  
> write really complicated stuff just to get the locators to print  
> correctly.
> 
> So the current variable was a product of an effort to simplify CSL  
> where possible. It essentially changed the variable element to an  
> attribute value.
> 
> With that out of the way, we need to clear up two details:
> 
> 1. The more recent thread was just confusion about what “locator”  
> referred to: the details of the source per se, or of its citation. We  
> have two options.
> 
> A. remove “point-locator” and update the documentation to make clear  
> that “locator” is only for use in the citation, and refers to the  
> point citation details (not the source).
> 
> B. remove “locator” and update the existing CSL styles to use that
> 
> It seems to me option A is preferable.
> 
> 1. processing of 1:
> 
> I think we have a few options:
> 
> A. we define the order of printing, so that a style author could just do:
> 
> \<cs:text variable=“locator” delimiter=", "/\>
> 
> B. we force the style author to define the ordering by having to list  
> the variables

The hierarchy positions of “chapter”, “section”, “part” and “book”  
aren’t fixed, are they? I can remember people expressing very strong  
options about whether the smallest unit of a Japanese statute should  
be translated as “section” or “article”, and whether a mid-level  
division should be a “part” or a “section”.

I assumed that the pinpoint information would be fixed in the  
application, passed as an array, and rendered in the order received.  
Sort of like names work now, and with similar UI support on  
application side.

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 16, 2009, 12:59pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/15 "2009-05-16T12:59:21Z")

</div>

OK, I’m making an executive decision:

…

> With that out of the way, we need to clear up two details:
> 
> 1. The more recent thread was just confusion about what “locator”  
> referred to: the details of the source per se, or of its citation. We  
> have two options.
> 
> A. remove “point-locator” and update the documentation to make clear  
> that “locator” is only for use in the citation, and refers to the  
> point citation details (not the source).
> 
> B. remove “locator” and update the existing CSL styles to use that
> 
> It seems to me option A is preferable.

We’re going with Option A.

> 1. processing of 1:
> 
> I think we have a few options:
> 
> A. we define the order of printing, so that a style author could just do:
> 
> \<cs:text variable=“locator” delimiter=", "/\>
> 
> B. we force the style author to define the ordering by having to list  
> the variables
> 
> \<cs:text variable=“chapter page” delimiter=", "/\>
> 
> If we choose B, then we don’t need 1 above at all (and we need to  
> update all the styles).
> 
> There’s an issue with my examples, though: they don’t include the  
> labels. I guess in that case we’d need to use a group?

We’re going with Option A.

In other words, there will be no changes in CSL for this, except that  
we will remove the “point-locator” variable, and change the  
documentation for “locator” to make it clear that, unlike all (?)  
other simple variables, this one can return multiple values.

For 0.9, I’m leaving it to implementers to figure out, or suggest,  
ordering of multiple locators. I do not believe we should expect the  
client to send an ordered array, though.

The reality is that multiple locators will be important for some  
people, but fairly rare.

Bruce

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 16, 2009, 9:07pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/16 "2009-05-16T21:07:42Z")

</div>

> > A. we define the order of printing, so that a style author could just do:
> > 
> > \<cs:text variable=“locator” delimiter=", "/\>
> > 
> > B. we force the style author to define the ordering by having to list  
> > the variables
> > 
> > \<cs:text variable=“chapter page” delimiter=", "/\>
> > 
> > If we choose B, then we don’t need 1 above at all (and we need to  
> > update all the styles).
> > 
> > There’s an issue with my examples, though: they don’t include the  
> > labels. I guess in that case we’d need to use a group?
> 
> We’re going with Option A.

So a group should implicitly iterate, if and only if it contains a  
text element that has “locator” as its variable attribute. The value  
to be iterated is the locator variable, and the iteration will  
encompass all elements contained within the group.

The group provides the delimiter between elements contained in the  
group (text and label), but the child text element bearing the locator  
variable provides the delimiter that joins the iterated sets.

It’s probably worth taking a week or two to think this one over; I  
don’t think I can code it to work reliably. Here’s a fairly common  
snip from one style in the repository:

.... ........ ........ .... ....

Applying the rules above, this would iterate the entire citation when  
a multiple locator is provided by the user, joined by an empty string:

Doe 2003, 10Doe 2003, 15Doe 2003, 20-25

It’s not obvious how to prevent that from happening.

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 16, 2009, 9:21pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/17 "2009-05-16T21:21:50Z")

</div>

…

> > We’re going with Option A.
> 
> So a group should implicitly iterate, if and only if it contains a  
> text element that has “locator” as its variable attribute. The value  
> to be iterated is the locator variable, and the iteration will  
> encompass all elements contained within the group.
> 
> The group provides the delimiter between elements contained in the  
> group (text and label), but the child text element bearing the locator  
> variable provides the delimiter that joins the iterated sets.
> 
> It’s probably worth taking a week or two to think this one over; I  
> don’t think I can code it to work reliably. Here’s a fairly common  
> snip from one style in the repository:
> 
> .... ........ ........ .... ....
> 
> Applying the rules above, this would iterate the entire citation when  
> a multiple locator is provided by the user, joined by an empty string:
> 
> Doe 2003, 10Doe 2003, 15Doe 2003, 20-25
> 
> It’s not obvious how to prevent that from happening.

When I mentioned the group, I was referring to labels specifically; an  
example like this:

I’m fine on waiting on implementing this. I agree it’s not ideal  
(though don’t ATM see an option that is).

Bruce

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 17, 2009, 10:02am UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/18 "2009-05-17T10:02:42Z")

</div>

> …
> 
> > > We’re going with Option A.
> > 
> > So a group should implicitly iterate, if and only if it contains a  
> > text element that has “locator” as its variable attribute. The value  
> > to be iterated is the locator variable, and the iteration will  
> > encompass all elements contained within the group.
> > 
> > The group provides the delimiter between elements contained in the  
> > group (text and label), but the child text element bearing the locator  
> > variable provides the delimiter that joins the iterated sets.
> > 
> > It’s probably worth taking a week or two to think this one over; I  
> > don’t think I can code it to work reliably. Here’s a fairly common  
> > snip from one style in the repository:
> > 
> > .... ........ ........ .... ....
> > 
> > Applying the rules above, this would iterate the entire citation when  
> > a multiple locator is provided by the user, joined by an empty string:
> > 
> > Doe 2003, 10Doe 2003, 15Doe 2003, 20-25
> > 
> > It’s not obvious how to prevent that from happening.
> 
> When I mentioned the group, I was referring to labels specifically; an  
> example like this:
> 
> I’m fine on waiting on implementing this. I agree it’s not ideal  
> (though don’t ATM see an option that is).

Here is the only request for this use case that I was able to find in  
a search of the Z forums:

> **[Book, Chapter, Page](https://forums.zotero.org/discussion/4768/book-chapter-page/)**
>
> Hi! 
>  
> I work with ancient sources, and I want put in my citation Book, Chapter and page number or column number, like that:

It might be worth putting up a (true) request for comments sometime,  
and bump it a few times to give it some exposure, before finalizing.

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 17, 2009, 1:43pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/19 "2009-05-17T13:43:43Z")

</div>

I’d like to go back to the beginning, since I kind of lost this proposal …

> The current syntax for a locator looks something like this:
> 
> This supports only a single label and a page number (I think as a dumb  
> string, at present). This proposal would provide for multiple  
> elements in a pinpoint locator. Enhanced syntax for rendering a  
> locator would be as follows:
> 
> The delimiter attribute on the numeral is used to join range elements.  
> If an implicit test for is-numeric raises false, the locator variable  
> is rendered as at present (as a single plain string preceded, in the  
> example above, by the primary locator label).

So what you’re suggesting here is to change the current cs:number definition …

cs-number =  
element cs:number {  
formatting,  
attribute variable { “edition” | “volume” | “issue” | “number” |  
“number-of-volumes” },  
attribute form { “numeric” | “ordinal” | “roman” | “long-ordinal” }?  
}

… to a) add a sub-node that specifies the data per se, and b)  
include cs:label as an option, and c) add “locator” to the variable  
list.

Is that right?

This might indeed be a better approach, but we’d need to distinguish  
the locators specific to the source, from those that are point  
locators. We’d also want to allow all locator variables on cs:number.

Bruce

---

<div class="post-metadata">

**Author:** ![Frank\_Bennett](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/frank_bennett/32/198_2.png) [@Frank\_Bennett](https://discourse.citationstyles.org/u/Frank_Bennett)\
**Post date:** [May 17, 2009, 10:31pm UTC](https://discourse.citationstyles.org/t/proposal-re-locators-and-numbers/632/20 "2009-05-17T22:31:36Z")

</div>

> I’d like to go back to the beginning, since I kind of lost this proposal …
> 
> > The current syntax for a locator looks something like this:
> > 
> > This supports only a single label and a page number (I think as a dumb  
> > string, at present). This proposal would provide for multiple  
> > elements in a pinpoint locator. Enhanced syntax for rendering a  
> > locator would be as follows:
> > 
> > The delimiter attribute on the numeral is used to join range elements.  
> > If an implicit test for is-numeric raises false, the locator variable  
> > is rendered as at present (as a single plain string preceded, in the  
> > example above, by the primary locator label).
> 
> So what you’re suggesting here is to change the current cs:number definition …
> 
> cs-number =  
> element cs:number {  
> formatting,  
> attribute variable { “edition” | “volume” | “issue” | “number” |  
> “number-of-volumes” },  
> attribute form { “numeric” | “ordinal” | “roman” | “long-ordinal” }?  
> }
> 
> … to a) add a sub-node that specifies the data per se, and b)  
> include cs:label as an option, and c) add “locator” to the variable  
> list.
> 
> Is that right?
> 
> This might indeed be a better approach, but we’d need to distinguish  
> the locators specific to the source, from those that are point  
> locators. We’d also want to allow all locator variables on cs:number.

That was the idea. There is a wrinkle I didn’t think of, though, unfortunately.

Special numeric forms (as roman, or roman uppercase) may be  
source-specific, so they can’t be fixed in the style. If the data is  
received as an integer, the form and decoration parameters (roman,  
uppercase) would need to be supplied by the application along with the  
label. That would need support in the UI, and it seems like it would  
make adding citations to a document more complicated and  
time-consuming for users.

Maybe it’s up to application side to decide whether they really need  
this to support their user community.
