Page 1 of 1

Tweaking a format: problem with extra commas

Posted: Fri Aug 10, 2007 5:12 pm
by jbri
Hi,

I'm a new user and have fairly successfully created a new format to suit my needs. I've managed to iron out all the glitches on my own, except for one minor problem, which is driving me a bit nuts: I've got an extra comma in one of my reference types (due to an empty field I assume). I've studied the manual yet can't seem to fix this last problem. Maybe I can't see the forest anymore for all the trees.

Here's my format for the conference proceedings reference type:

a (d): t. f. l: u, $S. $p-`.` $Online verfügbar: $z (u1)`.`¬

And here's an example of what's being output when the page range field is empty:

Efimova, L., S. Hendrick und A. Anjewierden (2005): Finding "the life between buildings": An approach for defining a weblog community. Internet Research 6.0: Internet Generations (AOIR'06). Chicago: Association of Internet Researchers,. Online verfügbar: URL (7.08.07).

Note the comma before the period after the word Researchers in the last line. That shouldn't be there.

I did not have this problem until I added the last bit

$Online verfügbar: $z (u1)

to my format. I had to add that though, to indicate that these proceedings are online, and I needed a different format here than for my Internet reference type. I'm having the same problem with my journal article ref. type, too, ever since I added the same code to accommodate URLs. Have I made a mistake here (or is this one of those cases where Bookends has trouble with punctuation, as described in the manual)?


TIA,
Jenna

Posted: Fri Aug 10, 2007 5:45 pm
by Jon
Hi,

The issue here is telling Bookends to output the comma only if pages follow. I made this little tweak, and in my (rather shallow) testing it seemed to work OK:

a (d): t. f. l: u$, S. $p-`.` $Online verfügbar: $z (u1)`.`¬

(all I did was move the "quote mark", $, before the comma).

Jon
Sonny Software

Posted: Fri Aug 10, 2007 6:52 pm
by jbri
Brilliant, moving the quote mark seemed to do the trick. Thanks so much for the quick reply, Jon!