Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to get numerical citations with biblatex-chicago

521 views
Skip to first unread message

Haines Brown

unread,
Sep 21, 2015, 1:46:35 PM9/21/15
to
I have a biblatex-biber document that uses biblatex-chicago style. It
produces a satisfactory output. But a possible publisher does not want
author year citations, but instead numbered citations, such as the [14]
produced by bibtex with the achicago style.

I'd like a simple option to make biblatex-chicago use numbered instead
of an author-date citation style, but I could not find it in the manual.

jon

unread,
Sep 21, 2015, 9:39:45 PM9/21/15
to
biblatex-chicago is designed *only* to produce output that meets the
specifications of the *Chicago Manual of Style*, no more, no less. the
manual only describes two styles: author-title and author-date.

i have no idea why any "chicago" style would produce a numbered
bibliography, but, if it does, it is not a "chicago-compliant" as far as
i've ever seen....

can you provide a file that compiles the way this potential publisher
seems to want?

cheers,
jon.

Haines Brown

unread,
Sep 22, 2015, 8:05:46 AM9/22/15
to
jon <jonwro...@gmail.com> writes:

> On Monday, 21 September 2015 13:46:35 UTC-4, Haines Brown wrote:
>> I have a biblatex-biber document that uses biblatex-chicago style. It
>> produces a satisfactory output. But a possible publisher does not want
>> author year citations, but instead numbered citations, such as the [14]
>> produced by bibtex with the achicago style.

I apologize, for the final line here was in error. As you point out, the
numbered citation style is not produced by Chicago.

I find that by changing this preface line:

\usepackage[authordate,backend=biber]{biblatex-chicago} %

To this:

\usepackage[backend=biber]{biblatex}

I get the numbered citation style, but with a problem. When I have a
text line like this:

... (\cite{Bogus2015}).

With the Chicago style it appears: ... (Bogus 2015).

But with the alternative preface line above that makes citations
numerical it appears: ... ([14]).

My sense is that it should instead appear as: ... [14].

Mauro Orlandini

unread,
Sep 23, 2015, 2:58:47 AM9/23/15
to
Il Tue, 22 Sep 2015 08:05:39 -0400, Haines Brown ha scritto:

> I get the numbered citation style, but with a problem. When I have a
> text line like this:
>
> ... (\cite{Bogus2015}).
>
> With the Chicago style it appears: ... (Bogus 2015).
>
> But with the alternative preface line above that makes citations
> numerical it appears: ... ([14]).
>
> My sense is that it should instead appear as: ... [14].

I do not use specifically biblatex-chicago, but I have never put
parentheses (or whatever) around the \cite command. It is the journal
class that takes care of it by defining it.

For example, the standard latex definition (latex.ltx, line 6276) is

\def\@cite#1#2{[{#1\if@tempswa , #2\fi}]}

By changing the [] into () you obtain the standard author-year citation
style, like (Thor 1991).

So, the solution to your problem is: drop the parentheses around the
\cite commands in your text.

Ciao, Mauro

Haines Brown

unread,
Sep 23, 2015, 6:07:06 AM9/23/15
to
Mauro Orlandini <orla...@tesre.bo.cnr.it> writes:

> Il Tue, 22 Sep 2015 08:05:39 -0400, Haines Brown ha scritto:
>
>> I get the numbered citation style, but with a problem. When I have a
>> text line like this:
>>
>> ... (\cite{Bogus2015}).
>>
>> With the Chicago style it appears: ... (Bogus 2015).
>>
>> But with the alternative preface line above that makes citations
>> numerical it appears: ... ([14]).
>>
>> My sense is that it should instead appear as: ... [14].
>
> I do not use specifically biblatex-chicago, but I have never put
> parentheses (or whatever) around the \cite command. It is the journal
> class that takes care of it by defining it.

Understood, but the problem is that I need to switch back and forth
between the two citation styles. At present it means a
search-and-replace for each instance of \cite and replace or add
parentheses depending on whether the author-date or numbered style is
used.

> For example, the standard latex definition (latex.ltx, line 6276) is
>
> \def\@cite#1#2{[{#1\if@tempswa , #2\fi}]}

I could _try_ to construct a search and replace script so that when it
encounters (\cite{*}) it would remove the parenthesis for the numbered
citation version, and the script not be used for a copy of the
manuscript requiring the author-year citation version.

More elegant would be a statement in the preamble that redefines the
latex definition for citations in such a way that parentheses are added
or removed depending on whether a chicago style is used. I'm not sure
this is even possible, but certainly I'm not up to it.

Thanks, Haines

Joost Kremers

unread,
Sep 23, 2015, 6:29:58 AM9/23/15
to
Haines Brown wrote:
> Understood, but the problem is that I need to switch back and forth
> between the two citation styles. At present it means a
> search-and-replace for each instance of \cite and replace or add
> parentheses depending on whether the author-date or numbered style is
> used.

Isn't that what \parencite is for? From the biblatex documentation:

,----
| These commands use a format similar to \cite but enclose the entire citation
| in parentheses. The numeric and alphabetic styles use square brackets instead.
`----



--
Joost Kremers joostk...@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

Haines Brown

unread,
Sep 23, 2015, 7:33:27 AM9/23/15
to
Joost Kremers <joost.m...@gmail.com> writes:

> Haines Brown wrote:
>> Understood, but the problem is that I need to switch back and forth
>> between the two citation styles. At present it means a
>> search-and-replace for each instance of \cite and replace or add
>> parentheses depending on whether the author-date or numbered style is
>> used.
>
> Isn't that what \parencite is for? From the biblatex documentation:
>
> ,----
> | These commands use a format similar to \cite but enclose the entire citation
> | in parentheses. The numeric and alphabetic styles use square brackets instead.
> `----

Ah, thank you. Just what I needed. I was focused on the biblatex-chicago
manual and so missed the command.

Axel Berger

unread,
Sep 24, 2015, 6:15:09 AM9/24/15
to
Haines Brown wrote on Wed, 15-09-23 13:33:
>Ah, thank you. Just what I needed.

If you

\let\cite\parencite

then you can switch between styles without any changes in the document
body whatever.

jon

unread,
Sep 25, 2015, 11:34:27 PM9/25/15
to
On Tuesday, 22 September 2015 08:05:46 UTC-4, Haines Brown wrote:
you should look into \autocite. in biblatex-chicago, this is set to do
(the equivalent of) \parencite.

in (standard) biblatex, you can set what autocite does at load time.

cheers,
jon.
0 new messages