Typhoon, I was thinking of a user-friendly way of doing this. I'm not sure that what you mention is user-friendly. The "user" I am thinking of is the poor technically challenged one, not the programmer one.
Steve suggested compiling a list of variables. That's an interesting question. I'm sure I can't do it exhaustively, but here's a first try, with the details that would normally be required. I haven't the faintest idea how this should be laid out, but here goes, with apologies.... Author Name: Upper case? Separated by comma? Divider: Comma? Colon? Title: Book title: Italics? Inverted commas? Underlined? Article title: Inverted commas? Italics? Is "in" used before the journal or collection title? Divider: Comma? Full-stop? Publication details: In parentheses? City? Divider: Colon? Comma? Publishing company Divider: Comma? Year of Publication. Page references: p.? pp.? End. Final full-stop? There are many other possibly variables, of course. That was just a first stab. I have been looking at (for example) kbibtex, which offers a frontend for entering details into a bibtex database, and manages to offer many choices to the user, not all of which will be used. I imagine something along those lines... Just a dream? Declan