Problem with page numbers and book authors

Sep 14, 2009 at 10:55 PM

Hi guys, I'm having a problem with the page numbers and the book authors. I'm used a modified version of Harvard Anglia.

The first problem is when I have more than one page I want to use the prefix pp. but sometimes use p. and other times use p. here are 2 examples (with Harvard Anglia):

- Akimoto, H., 2003. Global Air Quality and Pollution. Science, 302, pp.1716-19.

- Boutahar, J. et al., 2004. Development and validation of a fully modular platform for numerical modelling of air pollution: POLAIR. Int. J. Env. Pollut., 22, p.17–28.

The other problem is when the name of the author is complete and the middle name is abbreviated, there are no space between them. I modified Harvard Anglia to do this:

- JACOBSON, MarkZ., (2005). Fundamentals of atmospheric modeling. 2nd ed. New York, Cambridge University Press.

I hope you have a solution for this.

 Thanks in advance!


Sep 15, 2009 at 6:34 AM
Edited Sep 15, 2009 at 6:35 AM

Regarding the p. / pp. issue:

BibWord bases itself on the separator in a page range to decide if it is a page range or just a single page. Only "-" is recognized as a page range separtor, not "–". The first one is an ordinary minus symbol while the second one is known as an "en dash". If you are familiar with latex, the en dash is represented there with a double minus ("--"). So make sure that you use a single minus as a separator in your sources to display them correctly.

Regarding the name issue:

I have no idea how you made your format string look so I can't comment on what is wrong. The following will probably do what you want:

{%Last:u|First:u|Middle:u%{, %First|Middle%{ %Middle:adp%}}}

Note that this fills in the blanks if you have no last or first name by shifting them (so for example, if you have no last name, the first name is considered the last name and displayed in capital letters).

Sep 15, 2009 at 7:22 AM

Thanks, it worked great.

The p./pp. issue was that. And this is what I was doing:

{%Last:u|First|Middle:ad%{, %First:dp|Middle:adp%{%Middle:adp%}}}

Sep 15, 2009 at 8:11 AM

You don't have a space for the last Middle ({ %Middle:adp%}}}).

But I don't think you understand the meaning of your format string. The "|" is an 'or' operation which is executed in case an item is not available. For example:


means, show the last name. If there is no last name, show the first name. If there is no last name and no first name, show the middle name. This is to capture partial names.


Sep 15, 2009 at 2:52 PM

Thanks Yves,

I didn't understand very much the format of the strings, and I didn't notice the missing space. But now everything is going perfect (I hope!).