BibTeX, biblatex and biber ⇒ Editing unsrt output ...or similar .bst package?
-
- Posts: 8
- Joined: Sat Jan 09, 2010 8:50 am
Editing unsrt output ...or similar .bst package?
Now here's my problem/question/issue... As of now, the output for the articles I've referenced looks like this:
[27] A. Author, C. O. Author. This would be the title of the paper. Journal Title, vol(issue): page-range, year.
However, I cannot have the Journal Title underlined and I do not know how to edit this or ammend this. Is there any way to un-underline it while keeping the function of unsrt? Ideally I should have the title of the paper italicised but if it's too much trouble I can just 'skip' that.
So in short I would ideally like the ref to look like the following in my bibliograhy:
[27] A. Author, C. O. Author. This would be the title of the paper. Journal Title, vol(issue): page-range, year.
If anyone has ANY idea how to help me, please let me know... or alternatively if there is a package SIMILAR to the unsrt one that will give me the output I desire, let me know! Thanks in advance!
Ricky
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Editing unsrt output ...or similar .bst package?
-
- Posts: 8
- Joined: Sat Jan 09, 2010 8:50 am
Re: Editing unsrt output ...or similar .bst package?
As for creating my own, I know LaTeX enough to do the general formatting and even some of the trickier things (both thanks to wikibook latex and other forums) but I'm not sure I'd have the know-how to do it properly myself. I opened the unsrt.bst file (a copy of it!) just to look through and see if i can edit out the underlining -- but it was 1000 lines of code and the parts I found and assumed would deal with commanding the journal's title to output as underlined just was not what I expected. I thought there would just be a \uline in there that i could change or delete...
Also I had a look through quite a few of the other styles but none of them really suited as a substitution for the unsrt that I aleady used

I still reckon that editing the unsrt.bst code would be easiest, but I just dont know where/how to edit it. Any suggestions?
Ricky
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Editing unsrt output ...or similar .bst package?
-
- Posts: 8
- Joined: Sat Jan 09, 2010 8:50 am
Re: Editing unsrt output ...or similar .bst package?
In my preamble:
\usepackage[sort&compress]{natbib}
\usepackage{chapterbib}
\renewcommand\bibname{References}
Each chapter is it's own .tex file and at the start of each I have:
\bibliographystyle{unsrt}
% Body of chapter here...
% Then at the end of each chapter/.tex-file have:
\newpage
\bibliography{Chapter7Refs}
Other than that, here's just a sample of a bibtex reference I have (most all are @article):
@article{Sun2004,
title = "Growth of aligned {ZnO} nanorod arrays by catalyst-free pulsed laser deposition methods",
journal = "Chemical Physics Letters",
volume = "396",
number = "1-3",
pages = "21-26",
year = "2004",
author = "Y. Sun and G. M. Fuge and M. N. R. Ashfold"
}
And as you said... when I looked through the code, I found there was a definied \em for the title... and nowhere in my thesis did I redefine \em as \uline or something similar! The ONLY thing I've redefined at all was what I included above -- renaming the Bibliography as "References". hah, so I haven't a clue! -- like I said it was not what I expected to see there so I thought that I was not looking at the correct portion of the code.
Also there's no rush on replying back for the moment... I'm getting fairly tired at this point and just might be calling it quits for the night/morning. (currently 4:30am here). Thank you for looking into it!
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Editing unsrt output ...or similar .bst package?
-
- Posts: 8
- Joined: Sat Jan 09, 2010 8:50 am
Re: Editing unsrt output ...or similar .bst package?
Before I put the example, I have a question. I was trying to play around with editing the unsrt.bst file and it didnt work. I was just renaming them to somehting like unsrtmodified.bst and running that style. However, at last resort, i noticed that for some reason, if I EXACTLY copy and rename the original unsrt.bst file (so unsrt and unsrtmodified are identical), it would not create a bibliography (and the normal [3, 4] refs in the body would just be question marks) Now i know there's question marks insead of [#]-like refs because the biblio wasnt created, but my question is why wouldn't the renamed identical copy work even if i call it as: \bibliographystyle{unsrtmodified} ? Is there some LaTeX rule where it won't recognise new style file names?
Anyhow, here's (I hope!!!!) an example of the relevant text I think you were asking for....
\documentclass[12pt]{report}
\usepackage[sort&compress]{natbib}
\usepackage{chapterbib}
\begin{document}
\renewcommand\bibname{References}
\pagenumbering{roman}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\clearpage\pagenumbering{arabic}
\include{1_Introduction/Chapter1}
%%%%%%%%% Here's a sample from the Chapter1.tex I just called in \include %%%%%%%%%
\bibliographystyle{unsrt}
\chapter[Introduction]{Introduction}
This thesis... example of citing a reference~\cite{Sun2004} and so on...
\newpage
\bibliography{Chapter1Refs}
%%%%%%%%%%%%%%%%%%%% End of the sample from the Chapter1.tex %%%%%%%%%%%%%%%%%%%%%%
\end{document}
And for your info, the reference 'Sun2004' i cited in he example is the one I posted in the last post/example.
Now I have NO clue if that's what you were looking for.... if not, please excuse me becuase like i said, i know LaTeX enough to get by with writing the thesis, but not enouh maybe for these finer points....
-
- Posts: 8
- Joined: Sat Jan 09, 2010 8:50 am
Re: Editing unsrt output ...or similar .bst package?
So i've been trying to sort out the issue of tweaking the output of my bibliography references, and I eventually tried to make my own... well using a MAKEBST or custom-bib progam (...guessing you might know if it as you suggested it?)
Anyhow i've finally got it so my references look the way I want them to in the bibliography.... however, now for some reason, in the main body of the document when i Textiy it, instead of my ref-links looking like [2, 3, 5] they look like this: (2; 3; 5) Any ideas?
As an aside... I randomly just tested the command \emph{SomeRandomText} and sure enough it was UNDERLINED instead of being ITALIC-ish. I scoured my .tex file and just cannot see where it might be renamed. So i'm giving up on that one (especially since i got the refs to work now... unless i cannot sort out this [2,3,5]/(2;3;5) issue.
I'm going to re-post this as a new topic, so if you happen to see my other post, don't be annoyed. Again thanks for the help so far!!
Ricky
-
- Posts: 8
- Joined: Sat Jan 09, 2010 8:50 am
Re: Editing unsrt output ...or similar .bst package?
Thank you for all the help... I've just finally sorted out the issue I had with [2, 3, 5] being displayed as (2; 3; 5). 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! Again thanks for all the previous help!!