I have a problem concerning citation of URLs in LyX with BibDesk.
Whenever I try to cite a URL, for example an entry in Wikipedia, LyX only gives me a question mark ("?") in my footnote and no entry at all in the bibliography when I view my text as PDF. No matter which type of citation I choose in BibDesk – url, article, webpage, misc, … -, no matter which citation style I choose – normally I use natdin – it's always the same problem. I tried loading \usepackage{natbib}
and \usepackage{hyperref}
or \usepackage{url}
. I also tried enclosing the URL in BibDesk, like this: \url{http://en.wikipedia.org/wiki/LyX}
. Doesn't change anything.
I spent hours searching the web for solutions but found nothing helpful. This freaks me out a little, because my paper is due in four days. So, if you have any solutions or hints for that, please help!
PS: I don't think this is important, but just in case: I'm using Mac OS X 10.9, LyX 2.0.0 and BibDesk 1.6.1
Best Answer
The question mark usually indicates an unresolved reference. I suppose you added the bibtex database to your document like this:
Select "Insert" --> "List / TOC" --> "BibTex Bibliography..." from the menu
In the dialogue box click on "Add..."
Click "Browse..."
Select the file you want (in this case:
test.bib
)Now, don't forget to confirm the dialogue boxes. Click on the highlighted buttons.
Select your style (natdin) and confirm.
Now you can use the "Send selection to LyX" feature in BibDesk.
This simple document here:
Renders as:
Here are the the two files:
test.bib
And
test.lyx
:But you knew all this. So your problem must be elsewhere. Maybe you should check the encoding of your
.bib
-file and/or post the LaTeX Log (in the menu under "Document").A MWE would be nice too.