BibTeX, biblatex and biber ⇒ Problem using achemso style
Problem using achemso style
Hi guys.
I'm trying to use the achemso style for my bibtex citation. When I cite a source, I see in the text, and in my bibliography list the all the authors names and publication year instead of simply a number:
In the text:
bla bla bla bla [Bronsted(1928)] bla bla bla bla
in the bibliography:
[Bronsted(1928)] Bronsted, J. N. Chemical Reviews 1928, 5, 231–338.
While what I need is:
In the text:
bla bla bla bla [1] bla bla bla bla
in the bibliography:
[1] Bronsted, J. N. Chemical Reviews 1928, 5, 231–338.
Also, is there a way for automatically abbreviating the journal names?
Thanks.
I'm trying to use the achemso style for my bibtex citation. When I cite a source, I see in the text, and in my bibliography list the all the authors names and publication year instead of simply a number:
In the text:
bla bla bla bla [Bronsted(1928)] bla bla bla bla
in the bibliography:
[Bronsted(1928)] Bronsted, J. N. Chemical Reviews 1928, 5, 231–338.
While what I need is:
In the text:
bla bla bla bla [1] bla bla bla bla
in the bibliography:
[1] Bronsted, J. N. Chemical Reviews 1928, 5, 231–338.
Also, is there a way for automatically abbreviating the journal names?
Thanks.
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Problem using achemso style
Please post an example of what you are doing: as you will see in the demo file this does work properly. On the journal abbreviations you'll have to do this at the database level (JabRef can automatically convert full names to abbreviations, for example). I did experiment with some code to do this automatically, but there are various issues and I decided against it.
Joseph Wright
Re: Problem using achemso style
I just realized that the references need to be inside the TeX file and not in a bibliography file. Is there any way around this?
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Problem using achemso style
achemso works with standard BibTeX databases. Please post an example of what you are doing: it is very hard to offer advice without some clues.
Joseph Wright
Problem using achemso style
OK I've attached a simple example. The attached pdf file has two bibliography. One generated by the bib file and the other with the embedded system. Here is the .tex and .bib files:
\documentclass{report}
Here is my .tex file:
and here is my a.bib file:
notice that \cite{a} uses for citation in the bib file and generate [author (year)] and \cite{b} usess for citation in the tex file and generate [1]
I want the latter citation style to happen when I use a .bib file. Is that possible?
\documentclass{report}
Here is my .tex file:
Code: Select all
\begin{document}
Hello \cite{a} \cite{b}
\bibliographystyle{achemso}
\bibliography{a}
\begin{thebibliography}{9}
\bibitem{b}
Leslie Lamport,
\emph{\LaTeX: A Document Preparation System}.
Addison Wesley, Massachusetts,
2nd Edition,
1994.
\end{thebibliography}
\end{document}
Code: Select all
@article{a,
author = {Bohm, Andrew and Balbo, Paul B.},
doi = {10.1042/BJ20082019},
issn = {0264-6021},
journal = {Biochemical Journal},
keywords = {Folder - Bio},
mendeley-tags = {Folder - Bio},
number = {2},
pages = {229--238},
title = {{Proton transfer in the mechanism of polyadenylate polymerase}},
url = {http://www.biochemj.org/bj/420/bj4200229.htm},
volume = {420},
year = {2009}
}
I want the latter citation style to happen when I use a .bib file. Is that possible?
- Attachments
-
- a.pdf
- The resulting pdf
- (58.99 KiB) Downloaded 374 times
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Problem using achemso style
If you load the achemso bibliography style directly (rather than using the achemso package or class to do so) then you have to load natibib. The achemso BibTeX style requires natbib, and that is why you are getting odd results.
Note that I recommend using the achemso package to do all of the necessary loading.
Code: Select all
\documentclass{article}
\usepackage{natbib}
\begin{document}
Hello \cite{a}
\bibliographystyle{achemso}
\bibliography{a}
\end{document}
Joseph Wright