How Do I Generate Footnote Citations and Bibliography?

Asked by JohnDave Medina

I've been very impressed and happy with the Hebrew and Greek, and so I decided to move forward and do some bibliography and footnoting.

Here are the steps I took:

1. I created sbl.bib with BibDesk and placed it in the proper directory.
2. I created an very simple entry in BibDesk, with these fields: citekey, author, publisher, year, author, address, and translator (created).
3. Saved it as sbl.bib with UTF-8 formatting (also tried with Western OS but no luck either).

When I try to generate a footnote citation using \cite[31]{citekey}, all I get is: 1 ?. The "1" is a footnote marker and it appears where it should.

In my console, the following message appears: LaTeX Warning: Citation `Losskyot:1978' on page 1 undefined on input line 17.

Also, I'm not sure how to generate a bibliography.

I have updated to the latest files via svn. I did encounter the message "-n Running updmap (this may take some time)...
install.sh: line 54: update-updmap: command not found" when trying to install everything.

Any thoughts?

Thanks,

JohnDave

Question information

Language:
English Edit question
Status:
Solved
For:
SBL LaTeX Edit question
Assignee:
No assignee Edit question
Solved by:
David Purton
Solved:
Last query:
Last reply:
Revision history for this message
Best David Purton (dcpurton) said :
#1

Hi JohnDave,

I'm sure we can get you up and running!

On Fri, Aug 27, 2010 at 10:53:32AM -0000, JohnDave Medina wrote:
> Here are the steps I took:
>
> 1. I created sbl.bib with BibDesk and placed it in the proper directory.

Good.

you can make sure TeX can find it by running

    kpsewhich sbl.bib

at the commandline from the same directory as your tex file.

> 2. I created an very simple entry in BibDesk, with these fields:
> citekey, author, publisher, year, author, address, and translator
> (created).

Good. Check your bib file, to make sure it has worked. It should look
like:

@book{citekey,
    author = {...},
    title = {...},
    translator = {...},
    address = {...},
    publisher = {...}
    year = {...}
}

> 3. Saved it as sbl.bib with UTF-8 formatting (also tried with Western
> OS but no luck either).

UTF-8 is good.

>
> When I try to generate a footnote citation using \cite[31]{citekey},
> all I get is: 1 ?. The "1" is a footnote marker and it appears where
> it should.
>
> In my console, the following message appears: LaTeX Warning: Citation
> `Losskyot:1978' on page 1 undefined on input line 17.
>
> Also, I'm not sure how to generate a bibliography.

You need to tell LaTeX to use the sbl.bib file. This is done using the
\bibliography{sbl} macro. This will insert the bibliography too.

A minimal document might look like this:

\documentclass{sblessay}
\begin{document}
\cite[31]{citekey}

\bibliography{sbl}
\end{document}

>
> I have updated to the latest files via svn. I did encounter the
> message "-n Running updmap (this may take some time)... install.sh:
> line 54: update-updmap: command not found" when trying to install
> everything.

hum! I had thought that update-updmap might be a Debian Linux specific
file, but the install script is supposed to check and tell you what to
do! This probably means my method for testing whether update-updmap
exists is not portable. Thanks for the heads up. I'll try some other
options.

The good news is, that it is not relevant if you are using XeTeX (which
I assume you are). use
    install.sh --noupdmap
to avoid running it all together.

It is only needed under LaTeX in order to tell TeX how to use the SBL
Hebrew font.

How does that help?

dc

--
David Purton
<email address hidden>

For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
                                 2 Chronicles 16:9a

Revision history for this message
JohnDave Medina (johndavemedina) said :
#2

Thanks, David. This is very helpful!

Revision history for this message
David Purton (dcpurton) said :
#3

On Fri, Aug 27, 2010 at 08:34:52PM -0000, JohnDave Medina wrote:
> Question #122972 on SBL LaTeX changed:
> https://answers.launchpad.net/sbllatex/+question/122972
>
> Status: Answered => Solved
>
> JohnDave Medina confirmed that the question is solved:
> Thanks, David. This is very helpful!

Great. One thing I forgot to mention is that you need to run (Xe)LaTeX a
few times on the file.

If you are running from, console, the normal way bibtex works is this:

For compiling myfile.tex, run:

    (xe)latex myfile
    bibtex myfile
    (xe)latex myfile
    (xe)latex myfile

Once this is done, you only need run bibtex and two latex passes if you
change the bib file.

Note, that if you are using a frontend, it might well handle this for
you automatically.

David

--
David Purton
<email address hidden>

For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
                                 2 Chronicles 16:9a