Closed Sammidysam closed 10 years ago
I have figured out how to get BibTeX support working, but a BibTeX example would still probably be beneficial to new users.
Hey,
I'll see what I can do to provide the BibTeX example for this project.
That would be good. The documentation has a \sources
call, but it would be nice if a .bib
file was included.
Also, I was not aware when I got the package that it required Biber by default. This caused me a lot of troubles for awhile. It works just fine with a backend of BibTeX as well, so it would be nice to add an option to the package to use BibTeX, a la \usepackage[backend=bibtex]{mla13}
.
I will likely do this on my fork of the package. I am not sure if I want to submit a pull request with that fork because I may make it use BibTeX by default, as BibTeX is included on every distribution of TeXLive, whereas Biber is newer and not on all of them. For example, Biber is not in the Fedora repositories just yet.
If one of you attach a working example, I will write the documentation and make the pull request. My inability to get the citations working is driving me a little bit crazy.
Do you have Biber installed?
Yes. I am running MikTex on Windows 7. When I search for packages, this is what I see installed.
However, when I try to compile, I get some weird warnings which I've included here:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9)
entering extended mode
("C:/Users/sean/Dropbox/4A Online/ENGL201/Assignment 4/Assignment_4.tex"
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2013-05-26, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Users\sean\Dropbox\4A Online\ENGL201\Assignment 4\mla13.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.cfg"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\babel\babel.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\babel\switch.def")
*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\babel-english\english.ldf"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\babel\babel.def"
(C:\ProgramData\MiKTeX\2.9\tex\generic\config\language.def))))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\csquotes\csquotes.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\etoolbox\etoolbox.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\misc\etex.sty"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\csquotes\csquotes.def")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\csquotes\csquotes.cfg"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\setspace\setspace.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.sty"
Package biblatex Warning: No "backend" specified, using Biber backend.
(biblatex) To use BibTeX, load biblatex with
(biblatex) the "backend=bibtex" option.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex2.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty"))))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\logreq\logreq.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\logreq\logreq.def"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\ifthen.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\url\url.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-dm.def")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.def")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex-mla\mla.bbx"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex-mla\mla.cbx")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg")))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\color.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\color.cfg")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def"))
Package biblatex Warning: Macro 'cite:idem' already defined.
(biblatex) Using \renewbibmacro on input line 44.
Package biblatex Warning: Macro 'cite:mla:title:internal' already defined.
(biblatex) Using \renewbibmacro on input line 50.
Package biblatex Warning: Macro 'cite:mla:title' already defined.
(biblatex) Using \renewbibmacro on input line 65.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\datetime\datetime.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\fmtcount\fmtcount.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\fmtcount\fcprefix.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\fmtcount\fcnumparser.sty"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\amsmath\amsgen.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\fmtcount\fc-english.def"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\datetime\datetime-defaults.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\datetime\dt-american.def"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\fancyhdr\fancyhdr.sty"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex-mla\american-mla.lbx"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\lbx\american.lbx"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex-mla\english-mla.lbx"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\biblatex\lbx\english.lbx"))))
Package biblatex Warning: Missing 'hyperref' package.
(biblatex) Setting hyperref=false.
("C:\Users\sean\Dropbox\4A Online\ENGL201\Assignment 4\Assignment_4.aux")
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
No file Assignment_4.bbl.
("C:\Program Files (x86)\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
)
LaTeX Warning: Citation 'shoop' on page 1 undefined on input line 13.
LaTeX Warning: Citation 'shoop' on page 1 undefined on input line 13.
[1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}]
LaTeX Warning: Empty bibliography on input line 15.
[2] ("C:\Users\sean\Dropbox\4A Online\ENGL201\Assignment 4\Assignment_4.aux")
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) Assignment_4
(biblatex) and rerun LaTeX afterwards.
)
(see the transcript file for additional information)<C:/Program Files (x86)/MiK
TeX 2.9/fonts/type1/public/amsfonts/cm/cmbx10.pfb><C:/Program Files (x86)/MiKTe
X 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on Assignment_4.pdf (2 pages, 30600 bytes).
SyncTeX written on Assignment_4.synctex.gz.
Transcript written on Assignment_4.log.
I'm new to Latex, so I might be derping hard here, which is why I would really appreciate a minimal example included in the documentation so that I can build off of it.
The below warning (and similar ones following it) seem odd to me.
Package biblatex Warning: Macro 'cite:idem' already defined
The mla13 package provides it's citations though the biblatex-mla package, which defines these commands that are giving you warnings. Do you have Biblatex called twice in your document? (It counts as twice if you use package for both biblatex and mla13.)
I only have it cited once. Here is my .tex
code.
\documentclass{article}
\usepackage{mla13}
\firstname{Sean}
\lastname{Aubin}
\professor{Adam Bradley}
\class{ENGL201}
\title{The Change of Mentality in the Enormous Radio}
\sources{bib4.bib}
\begin{document}
\makeheader
This joyousness is seemingly unaffected ~\cite{radio} by the fact that during their listening session they overhear a ``bitter family quarrel about an overdraft at the bank” \cite[254]{radio}.
\makeworkscited
\end{document}
And here is my bibliography code in the file bib4.bib
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BIBLIOGRAPHY
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% IN COLLECTION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@incollection {radio,
title = {The Enormous Radio},
booktitle = {The Norton Anthology of Short Fiction},
year = {2006},
publisher = {Norton},
author = {John Cheever},
editor = {Richard Bausch, R. V. Cassill},
address = {New York}
}
If you feel like this problem might be more suitable for a support forum, that's fine by me. I was just giving you all the info I had in case it's of use to you.
I'm away from my computer and am just throwing out suggestions via my phone, but I know that biblatex-mla prefers the \autocite command instead of the \cite command. (It's possible mla13 has overwritten this definition.)
On Jul 5, 2014, at 1:00 PM, Sean Aubin notifications@github.com wrote:
I only have it cited once. Here is my .tex code.
\documentclass{article} \usepackage{mla13} \firstname{Sean} \lastname{Aubin} \professor{Adam Bradley} \class{ENGL201} \title{The Change of Mentality in the Enormous Radio} \sources{bib4.bib}
\begin{document} \makeheader
This joyousness is seemingly unaffected ~\cite{radio} by the fact that during their listening session they overhear a ``bitter family quarrel about an overdraft at the bank” \cite[254]{radio}.
\makeworkscited \end{document}
And here is my bibliography code in the file bib4.bib
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % IN COLLECTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@incollection {radio, title = {The Enormous Radio}, booktitle = {The Norton Anthology of Short Fiction}, year = {2006}, publisher = {Norton}, author = {John Cheever}, editor = {Richard Bausch, R. V. Cassill}, address = {New York} }
— Reply to this email directly or view it on GitHub https://github.com/jackson13info/mla13/issues/7#issuecomment-48092522.
@Seanny123 I just added a sample document with BibTeX working correctly with MLA13. Sorry for the long delay. Hope this helps. Let me know if you have any other questions or problems.
Looks like the problem's on my end. Thanks for the help anyways. At least you can close this issue now? (:
Let me know if you are still having troubles. Maybe there is something i can help you figure out.
This package looks great; the only thing preventing me from using it is that I am confused how to get BibTeX working. A working example added to the documentation would really help. Currently in the documentation there is a
\sources{file}
call, but the contents offile
are not shown. This is causing me confusion, so are any working examples anywhere?