BibTeX, biblatex and biberPossible to extract BiBTeX to actual citations?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
richard
Posts: 4
Joined: Mon Jun 20, 2011 6:57 pm

Possible to extract BiBTeX to actual citations?

Post by richard »

Hi all,

I'm currently working on a citation collection project for a university. As you can imagine, a lot of folks/databases use BiBTeX. The problem is that we need to convert the BiBTeX to an actual citation (In MLA, Chicago, APA, etc). Ideally, the citation would be in UTF-8 so we can preserve mathematical characters with accuracy. Is there a preferred way to do this? If I create a LaTeX file with BiBTeX, how could I extract everything to a PDF, and could the PDF be in UTF-8? Software for Mac would be preferred.

Thanks in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
paul
Posts: 49
Joined: Thu Apr 08, 2010 5:56 am

Possible to extract BiBTeX to actual citations?

Post by paul »

I'm not sure exactly what you asking for, but I suspect you just want to do

Code: Select all

Code, edit and compile here:
% your documentclass, packages, whatever
\bibliographystyle{...} % apalike, or whatever you like
\begin{document}
\nocite{*}
\bibliography{...} % list your database files
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
richard
Posts: 4
Joined: Mon Jun 20, 2011 6:57 pm

Possible to extract BiBTeX to actual citations?

Post by richard »

Ok so this is what I have now:

Code: Select all

Code, edit and compile here:
\usepackage[utf8x]{inputenc}
\bibliographystyle{plain}
\begin{document}
\nocite{*}
\bibliography{mybib}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Now what? I type into terminal:
latex myfile
bibtex myfile
latex myfile
latex myfile

But what do I do next? How can I view this so I can extract the citations?

Thanks!
paul
Posts: 49
Joined: Thu Apr 08, 2010 5:56 am

Re: Possible to extract BiBTeX to actual citations?

Post by paul »

Your citations are now formatted in a PDF (or PostScript) file. That's what you asked for, no?

Are you actually trying to get them in, say, HTML or something? (When I needed to do that, my solution was write a new .bst file that outputs HTML instead of TeX -- actually, I used cl-bibtex and wrote it in Lisp)
richard
Posts: 4
Joined: Mon Jun 20, 2011 6:57 pm

Possible to extract BiBTeX to actual citations?

Post by richard »

Got the working PDF. However, some characters from the document didn't convert correctly. This was the content from my .bib file:

Code: Select all

@Article{Lees:2011zi,
author = "Lees, J. P. and others",
collaboration = "The BABAR",
title = "{Cross Sections for the Reactions e+e- --> K+ K- pi+pi-, K+
K- pi0pi0, and K+ K- K+ K- Measured Using Initial-State
Radiation}",
year = "2011",
eprint = "1103.3001",
archivePrefix = "arXiv",
primaryClass = "hep-ex",
SLACcitation = "%%CITATION = 1103.3001;%%"
}
@Article{Lees:2011um,
author = "Lees, J. P. and others",
collaboration = "The BABAR",
title = "{Measurement of the mass and width of the D_{s1}(2536)^{+} meson}",
journal = "Phys. Rev.",
volume = "D83",
year = "2011",
pages = "072003",
eprint = "1103.2675",
archivePrefix = "arXiv",
primaryClass = "hep-ex",
doi = "10.1103/PhysRevD.83.072003",
SLACcitation = "%%CITATION = 1103.2675;%%"
}
@Article{:2011us,
author = "del Amo Sanchez, P. and others",
collaboration = "BABAR",
title = "{Searches for the baryon- and lepton-number violating
decays $B^0\rightarrow\Lambda_c^+\ell^-$, $B^-
\rightarrow\Lambda\ell^-$, and $B^-
\rightarrow\bar{\Lambda}\ell^-$}",
journal = "Phys. Rev.",
volume = "D83",
year = "2011",
pages = "091101",
eprint = "1101.3830",
archivePrefix = "arXiv",
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX




This is what my PDF file had:

Code: Select all

References
[1] P. del Amo Sanchez et al. Dalitz plot analysis of Ds+ –¿ K+ K- pi+. Phys. Rev., D83:052001, 2011.
[2] P. del Amo Sanchez et al. Measurement of partial branching fractions of inclusive charmless B meson decays to K+, K0, and pi+. Phys. Rev., D83:031103, 2011.
[3] P. del Amo Sanchez et al. Measurements of branching fractions, polariza- tions, and direct CP-violation asymmetries in B+ -¿ rho0 K*+ and B+ -¿ f0(980)K*+ decays. Phys. Rev., D83:051101, 2011.
[4] P. del Amo Sanchez et al. Searches for the baryon- and lepton-number violating decays B0 → Λ+c l−, B− → Λl−, and B− → Λ ̄l−. Phys. Rev., D83:091101, 2011.
[5] J. P. Lees et al. Cross Sections for the Reactions e+e- –¿ K+ K- pi+pi-, K+ K- pi0pi0, and K+ K- K+ K- Measured Using Initial-State Radiation. 2011.
[6] J. P. Lees et al. Measurement of the mass and width of the Ds1(2536)+ meson. Phys. Rev., D83:072003, 2011.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Not all characters are being extracted properly. #4 did the best job with converting LaTeX character coding, but the others failed. Do you know why?
paul
Posts: 49
Joined: Thu Apr 08, 2010 5:56 am

Re: Possible to extract BiBTeX to actual citations?

Post by paul »

Add \usepackage[T1]{fontenc}
philosopher
Posts: 14
Joined: Wed Jun 29, 2011 9:38 pm

Possible to extract BiBTeX to actual citations?

Post by philosopher »

The BiBTeX entries you have wouldn't format correctly in LaTeX no matter what. For example, the correct rendering of

Code: Select all

Cross Sections for the Reactions e+e- -->
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
is going to have (at the end) an n-dash (that's the --) and an upside down question mark (that's the >). That's what you did get. It looks like you may need to play around with the fields in the BiBTeX entry so that they code for the characters in the original titles (etc.).
Post Reply