BibTeX, biblatex and biber~\cite{input} giving (1; 2; 4) instead of [1, 2, 4]

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Gerrymander
Posts: 8
Joined: Sat Jan 09, 2010 8:50 am

~\cite{input} giving (1; 2; 4) instead of [1, 2, 4]

Post by Gerrymander »

Hi, I was recently having an issue with tweaking the output of personalised references in my bibliography. I eventually had to use the MAKEBST or cutom-bib programme to make my own style. However now that i've finally have them the way I want them, for some reason, in the main body of the document when i run it, instead of my reference links in the main body of text looking like [1, 2, 4] they look like this: (1; 2; 4)

If it's important, I was initially using the unsrt.bst style because that's the way I need to list them in my thesis.

Any ideas? If anyone has used this MAKEBST to make their own, perhaps as I go through the long list of options, I might not be selecting the correct option. I've tried quite a few different things, but can't seem to get it to change back to [1, 2, 4]. OR if you know where to change this in the code itself, great!

Any/all help appreciated!
Ricky

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Gerrymander
Posts: 8
Joined: Sat Jan 09, 2010 8:50 am

Re: ~\cite{input} giving (1; 2; 4) instead of [1, 2, 4]

Post by Gerrymander »

Sorry folks... I've just figured it out on my own, but just in case someone searches for this same issue, here's how I sorted it out:

The citations in the main body were being displayed as (1; 2; 4) instead of what I wanted: [1, 2, 4]. I only just realised that if I added:

\bibpunct{(}{)}{;}{a}{,}{,}

into my preamble and changed it to:

\bibpunct{[}{]}{,}{a}{,}{,}

I got EXACTLY what I needed! Hope this helps someone else in the future!
Post Reply