BibTeX, biblatex and biberMMU-HARVARD BST CLASS

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
mbbxkpg2
Posts: 3
Joined: Sat Jan 03, 2015 1:53 am

MMU-HARVARD BST CLASS

Post by mbbxkpg2 »

Hi,

I have been trying to create a BST file to replicate the MMU Harvard style (http://libguides.mmu.ac.uk/mmuharvard).

Using makebst and some manual editing, I'm 95% of the way there
MMUHARVARD_rough.bst
rough BST file
(29.84 KiB) Downloaded 398 times
,

but I was wondering whether I could have some help perfecting my code so that it can be useful for other people.

The difficulty I'm having is at the end of the INBOOK, INCOLLECTION, and INPROCEEDINGS types. I can't seem to get the capitalisation or the commas in the right place.
test.pdf
PDF output
(6.82 KiB) Downloaded 396 times
I would be grateful for the help.

Parmesh

Code: Select all


\documentclass[12pt]{article}

\usepackage[utf8]{inputenc}
\usepackage{url}
\usepackage{natbib}
\usepackage{har2nat}

\urlstyle{rm}

\begin{document}
AEF have been doing so and so \citep{aef2013org}. But \citet{aardvark2013china} have been etc. Also \citet{SampleInBook,SampleBook,Klein,Test}

\bibliographystyle{MMUHARVARD_rough.bst}
\bibliography{test2}

\end{document}
\documentclass[12pt]{article}

\usepackage[utf8]{inputenc}
\usepackage{url}
\usepackage{natbib}
\usepackage{har2nat}

\urlstyle{rm}

\begin{document}
AEF have been doing so and so \citep{aef2013org}. But \citet{aardvark2013china} have been etc. Also \citet{SampleInBook,SampleBook,Klein,Test}

\bibliographystyle{vinay.bst}
\bibliography{vinay}

\end{document}
Attachments
test.tex
Tex file
(371 Bytes) Downloaded 399 times
test2.bib
sample bib file
(1.84 KiB) Downloaded 385 times

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

MMU-HARVARD BST CLASS

Post by Johannes_B »

Hi and welcome,

i don't have any experience hacking bst-files as it is cruel. I am using the modern LaTeX package biblatex in conjunction with biber. It is much more flexible and easier to modify, once you understand the basics of it.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
mbbxkpg2
Posts: 3
Joined: Sat Jan 03, 2015 1:53 am

Re: MMU-HARVARD BST CLASS

Post by mbbxkpg2 »

Hi Johannes,

Would you be able to explain how to do it with biblatex? I was overawed by all the material and do not know how to start designing a suitable file with biblatex.

Parmesh
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

MMU-HARVARD BST CLASS

Post by Johannes_B »

If you want the style to be of use to other people, biblatex is the way to go. A good introduction can be found over at our friends at TeX.SX: Guidelines for customizung biblatex styles.

Choose a style that fits best with the current bst-style and look at the syntax. It is very very verbose, checking for lots of stuff, i.e. if there is no publiser given, print a comma, else print publisher and a colon.

Having said that, you need to invest some time, but the result will be more maintainable for you.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply