parentheses left out in an output?

Hello all, I’m trying to adapt Chicago style format for a journal. This is the script I’m using for a book section in an edited book, but Iin the pages and editor section one of the two parentheses is always left ou(either the first one or the last one).

Any help?

Author (Year)| ‘Title’ , (p.^pp.) Pages| in Editor (ed^eds) Book Title|. City|: Publisher|. Reprint, Reprint Edition|.

Try this:

(p.^pp.*Pages)

Editor*(ed)^(eds)

The asterisk indicates the Link Adjacent Text character.

Thank you, John, you’ve helped me fix a nagging problem with our university style.