[OS X TeX] Book manuscript, \cite question
Michael Sharpe
msharpe at ucsd.edu
Sun Mar 2 19:37:50 EST 2014
On Mar 2, 2014, at 6:09 AM, Toke Knudsen <toke_knudsen at mac.com> wrote:
> Hi Ross,
>
> Many thanks for your reply. My response is below.
>
>
> On Mar 1, 2014, at 10:54 PM, Ross Moore <ross.moore at mq.edu.au> wrote:
>
>> Hello Toke,
>>
>> On 02/03/2014, at 12:56, Toke Knudsen <toke_knudsen at mac.com> wrote:
>>
>>> Hi all,
>>>
>>> I’m finalizing a book manuscript, but have run into some issues with citations.
>>>
>>> First of all, I’m using chicago.sty (\usepackage{chicago}) to get the citations like I want them. In my .bib file, I have the following entry (and a few more like that):
>>>
>>> @BOOK{pingree:cess,
>>> AUTHOR = "Pingree, David",
>>> TITLE = "Census of the Exact Sciences in Sanskrit",
>>> YEAR = "1970--94",
>>
>> Very interesting problem.
>>
>> Try
>> YEAR = "{1970--94}",
>> or
>> YEAR = "19{70--94}{}",
>>
>> I've not tried this.
>> It is just an idea to overcome the 4 digit restriction.
>
> Unfortunately, neither works. It produces the following:
>
> Pingree 94, A.2.107–110, A.3.28, A.4.75–76, A.5.74–75
>
> In other words, the year is still ’94,’ but now there’s extra space between ‘Pingree’ and ’94.'
>
>
>
>> PUBLISHER = "American Philosophical Society",
>>> ADDRESS = "Philadelphia",
>>> NOTE = "Series A, volumes 1--5."
>>> }
>>>
>>> As you can see, the work was published in the period 1970 to 1994, over multiple years; this is causing problems when I use the \cite command.
>>>
>>> For example, at one place in the text, I cite the work as follows:
>>>
>>> \cite[A.2.107--110, A.3.28, A.4.75--76, A.5.74--75]{pingree:cess}
>>>
>>> I’d like for this to appear as follows in the text: "Pingree 1970–94, A.2.107–110, A.3.28, A.4.75–76, A.5.74–75”; but instead I get the the following:
>>>
>>> Pingree 94, A.2.107–110, A.3.28, A.4.75–76, A.5.74–75
>>>
>>> Apparently only four digits from the YEAR entry is cited, so with the two dashes, I only get the last two digits—94. I don’t how to change this, so I’m asking if any of you would be able to help me. How can I get the citation to print “1970–94” for the year?
>>>
>>> With all best wishes,
>>> Toke
>>
>>
>> Hope this helps,
>>
>> Ross
>
> All best wishes,
> Toke
>
With the entry
YEAR = {1970--94},
you'll get a bbl that's half right. The bibliographic entry is now correct but the citation is not. So, after you run latexmk or pdflatexmk to generate a faulty bbl:
1. Correct the bbl manually (and save a copy).
2. Run latex twice or pdflatex twice (as appropriate) to generate your final output. (Do not use the ...mk script for this.)
Michael
More information about the MacOSX-TeX
mailing list