BibTeX, biblatex and biberText in References

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
galakhad
Posts: 6
Joined: Mon Oct 31, 2011 4:58 pm

Text in References

Post by galakhad »

Dear all,

Do you know, how to include text into the references? Like "For reviews see: ... citation ...".

I'm working with achemso style which uses natbib apparently. I know that I can have a text in the references using \bibnote, but as far as I understand it only allows to have a note without a full citation following.


Thanks a lot in advance,
Iakov

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Text in References

Post by kaiserkarl13 »

Could you post an example of what you expect this to look like? I'm having trouble understanding exactly what you want.

There is a "note" field in BibTeX that allows you to put arbitrary text at the end of a \bibitem, but that may not be what you mean.
galakhad
Posts: 6
Joined: Mon Oct 31, 2011 4:58 pm

Text in References

Post by galakhad »

Hi, thanks for answering!
I want something like what is done in ref. 4 in the following snapshot:
text-references.jpg
text-references.jpg (33.33 KiB) Viewed 13532 times
As far as I understood, the "note" field in bibtex will go after the main body of the citation, whether I need it in the beginning. Moreover, I will need the note to preceed a sub-list of references.

I figured out I can do anything I want if to use {thebibliography} and \bibitem, not bibtex, but that means rewriting the whole reference list...
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Text in References

Post by kaiserkarl13 »

That's a tough one. I can think of two ways to do something equivalent that won't be in the bibliography:
(1) blah blah (For a recent example, see Ref.~\citenum{blah}).
(2) blah blah~\cite[recent example]{blah}.

You could also edit your .bib file and make another entry like this:

Code: Select all

@article{Harvey_w_note,
  author = "{For a recent example, see:  Harvey}, J. E. and Raw, S. A. and
             Taylor, R. J. K.",
  journal = "Org.\ Lett.",
  volume = 6,
  year = 2004,
  pages = "2611--2614"
}

The last one is [i]really[/i] not a good idea to do in general, but it [i]will[/i] work in this instance.  A better solution is to edit the .bbl file right after running BibTeX, which will need to be done every time.  You could write a script that does it automatically, such as
[code]
  sed -i 's/Harvey,\s\+J\./For a recent example, see:  \0/' myfile.bbl
if it needs to be done a lot.

You could also create and endnote (see the achemso documentation; if I recall correctly, there is a command to put an arbitrary end note into the bibliography)
with the appropriate text in it.

The reason this is complicated is that the example you found is generally considered either bad style or non-standard style (depending on who you ask). Most of the time, bibliographies are simply lists of references, not footnotes or endnotes (though many journals list endnotes in the reference list, too).
kiera2
Posts: 3
Joined: Tue Jun 03, 2008 3:18 am

Re: Text in References

Post by kiera2 »

Hi, I'm having this exact same problem - I want to put some short text notes at the beginning of a few references. I don't know about elsewhere, but this is common practice for theses in chemistry at my university.

I'm also using achemso, and often the references I want to add notes to are multi-part references using mciteplus, so unfortunately just fudging it by putting the text I want in front of the first author's name won't work - that gives me the text I want after the (a) marker for the head reference.

I'm not familiar with endnote so if kaiserkarl or anyone else could give me some more details on how I might go about using it to do this, I'd appreciate it.
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Text in References

Post by kaiserkarl13 »

As a last resort, you can edit the .bbl file directly. DO NOT run BibTeX after doing this or it will overwrite your edits.

I don't really know how to do this in general (as I said, it's generally frowned upon).
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Text in References

Post by cgnieder »

Actually it can be done! You need the package notes2bib for the job. The manual says it's compatible with natbib, plain styles and biblatex.

Here's an example using biblatex:

Code: Select all

% compile with XeLaTeX and biber
\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage{english}

\usepackage{csquotes}
\usepackage[backend=biber,style=chem-angew]{biblatex}
\addbibresource{biblatex-examples.bib}
\defbibheading{myhead}{\section*{References and Notes}}
\usepackage{notes2bib}

\begin{document}

A text \cite{aksin} with references \cite{herrmann,yoon} and a note
\bibnote{For a recent example, see \fullcite{aksin}} all in one list.

\printbibliography[heading=myhead]
\end{document}
notes2bib.jpg
notes2bib.jpg (31.81 KiB) Viewed 13428 times
site moderator & package author
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Text in References

Post by cgnieder »

I wasn't aware of it, but achemso already provides the

Code: Select all

\bibnote
command. I don't know if there is a analogous bibTeX command to biblatex's

Code: Select all

\fullcite
so this is not exactly what you want:

Code: Select all

% compile with pdflatex and bibtex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\usepackage{achemso}

\begin{filecontents}{examples.bib}
@Article{aksin,
  author   = {Aks{\i}n, {\"O}zge and T{\"u}rkmen, Hayati and Artok, Levent and
      {\k{C}}etinkaya, Bekir and Ni, Chaoying and B{\"u}y{\"u}kg{\"u}ng{\"o}r, Orhan
      and {\"O}zkal, Erhan},
  indextitle   = {Effect of immobilization on catalytic characteristics},
  title    = {Effect of immobilization on catalytic characteristics of saturated
      Pd-N-heterocyclic carbenes in Mizoroki-Heck reactions},
  journaltitle   = jomch,
  volume   = {691},
  number   = {13},
  date    = {2006},
  pages    = {3027--3036}
}

@Article{herrmann,
  author   = {Herrmann, Wolfgang A. and {\"O}fele, Karl and Schneider, Sabine K. and
      Herdtweck, Eberhardt and Hoffmann, Stephan D.},
  indextitle   = {Carbocyclic carbene as an efficient catalyst, A},
  title    = {A carbocyclic carbene as an efficient catalyst ligand for C--C coupling
      reactions},
  journaltitle   = anch-ie,
  volume   = {45},
  number   = {23},
  date    = {2006},
  pages    = {3859--3862}
}

@Article{yoon,
  author   = {Yoon, Myeong S. and Ryu, Dowook and Kim, Jeongryul and Ahn, Kyo Han},
  indextitle   = {Palladium pincer complexes},
  title    = {Palladium pincer complexes with reduced bond angle strain: efficient catalysts
      for the Heck reaction},
  journaltitle   = {Organometallics},
  volume   = {25},
  number   = {10},
  date    = {2006},
  pages    = {2409--2411}
}
\end{filecontents}


\begin{document}

A text \cite{aksin} with references \cite{herrmann,yoon} and a note
\bibnote{For a recent example, see \citet*{aksin}} all in one list.

\bibliography{examples}
\end{document}
bibnote.jpg
bibnote.jpg (28.09 KiB) Viewed 13423 times
site moderator & package author
Post Reply