Problem with formatting journal volume and issue numbers

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
psychomachine
Posts: 2
Joined: Sat Sep 15, 2012 10:49 am

Problem with formatting journal volume and issue numbers

Post by psychomachine »

Hi,

this may have been covered before in the forum, but the search provides no results as I am using "too frequent words" :)

This is the formatting instruction for journals that I am using:

Code: Select all

a (d) t, j, v(i): p-.
When a journal contains both the volume and the issue, there is no problem: entering 16(2) in the volume-issue field produces this:

Code: Select all

Haddad, Elie G. (2003) On Henry van de Velde’s ‘manuscript on onrnament’, Journal of Design History, 16(2): 119-38.
But if the journal has only volume and no issue, we have the following problem. If we put only 16 in the volume-issue field, we get:

Code: Select all

Haddad, Elie G. (2003) On Henry van de Velde’s ‘manuscript on onrnament’, Journal of Design History, 16119-38.
i.e. the volume is merged with the page number. And if we treat the volume as the issue number and put (16) in the volume-issue field, we get:

Code: Select all

Haddad, Elie G. (2003) On Henry van de Velde’s ‘manuscript on onrnament’, Journal of Design History, 16): 119-38.
Both are obviously wrong. What's the solution here?

All best,
Tench
Jon
Site Admin
Posts: 10293
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Problem with formatting journal volume and issue numbers

Post by Jon »

Basically, you're asking how Bookends deals with empty fields. This is covered in detail in the User Guide (search for "missing fields" or "empty fields"). There are many ways to deal with this, but perhaps the one that is easiest to grasp is to use conditional groups:

a (d) t, j, {v(i)^v}: p-.

In this case, it means output volume(issue). But if either of those fields is empty, output volume. You could make it handle the case where volume is empty, too, with a third parameter after another ^.

Jon
Sonny Software
psychomachine
Posts: 2
Joined: Sat Sep 15, 2012 10:49 am

Re: Problem with formatting journal volume and issue numbers

Post by psychomachine »

Thanks, Jon. That's brilliant.
Post Reply