Lovely day. I am quite new to LaTeX but picking things up fast. One area which is confusing me greatly is getting my bibliography to work just how I like it.

I have settled on natbib with agsm style but there are still some issues.

• The journal titles have apostrophes around them. (red in pic) I want to get rid of the apostrophies.

• The volume number of a journal is set in bold. (blue in pic) I want it to just be plain (un-bolded).

This image added highlights these problems.

Lastly, for the electronic copy, I would like it so the journal identifiers (DOI’s) are highlighted blue, so you can click on them and it takes you to the website of the journal article. (green in pic)

Help on any / all of the above would be greatly appreciated. I have searched online for about 8 hours and finally need to ask the lords of TeX.

Edit: This is my bibliography code so far I forgot to add:

\documentclass[11pt,a4paper]{report}
\usepackage[numbers]{natbib}
\renewcommand\harvardyearleft{\unskip, }
\renewcommand\harvardyearright[1]{.}
\bibliographystyle{agsm}
\usepackage{hyperref}
\begin{document}
\cite{ref1}
\bibliography{bibFile}
\end{document}


Note - that renew command I found from this forum, it gets rid of brackets around 2008 which I didn't want. Thanks

-

Find the file agsm.bst and make a copy, say, myagsm.bst. Next, open the new file in a text editor of your choice and search for the following line:

{ volume embolden field.or.null


(It's on l. 357 in my copy of the file.) Change this line to

{ volume field.or.null


i.e., tell BibTeX not to render the volume number in bold.

Third, look for the line

    { format.title quote "title" output.check }


in the file (it's on l. 698 in my copy). Change it to

    { format.title "title" output.check }


i.e., tell BibTeX not to place (single) quotes around the title. Finally, save the new file, update the TeX filename database if necesssary (say, by running texhash if you use TeXLive or MacTeX), and start using the new bibliography style by issuing the command

\bibliographystyle{myagsm}


from now on.

I should note that this is all extremely hack-ish. What you really ought to do is to run the utility program makebst, which will pose lots and lots of questions on just how you want to set up your custom .bst file. This utility will then create a brand-new bibliography style file that is based on the answers you provided. To run this utility, at a command prompt type latex makebst and follow the prompts.

An important additional advantage of using the makebst utility is that it will let you set up exactly what you think should happen with the contents of a field called doi. This is something you simply can't do by hacking the file agsm.bst -- short of a complete rewrite of the entire file, of course -- because the agsm bibliography style is quite old and doesn't even recognize the contents of a field named doi.

-
Dude, that's amazing. Thanks so much! Only one thing - when I rename it myagsm it says the citations are undefined. But it works as long as I keep the name agsm (I made a backup agsm). I ran that texthash from CMD (windows), so not sure what that problem is. I will try a makebst, but this so far is pretty much perfect. Thanks! –  Steve Hatcher Aug 6 '12 at 8:28
@SteveHatcher - delighted that the proposed changes work for you. About getting the new file (myagsm.bst) recognized by TeX and friends: be sure to save the new file in a directory that's searched by your TeX distribution; if nowhere else is available, just save it to the directory where agsm.bst is housed. Then run texhash (not texthash). If you use MikTeX, you'll need to click on "Update FNDB" in the main "Settings" window. –  Mico Aug 6 '12 at 11:47
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8472537994384766, "perplexity": 1974.1065899722805}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-10/segments/1394678703495/warc/CC-MAIN-20140313024503-00013-ip-10-183-142-35.ec2.internal.warc.gz"}