TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When exporting a database or collection within Zotero to BibTeX, a URL will not be enclosed with the \url command, thus rendering links not clickable in Lyx when hyperref enabled. Is it possible to make Zotero exporting url's with the \url command automatically?

share|improve this question
What is the field name containing the URL? If it's done 'properly', LaTeX will treat URLs correctly, but that requires they are stored as url fields. – Joseph Wright Sep 23 '12 at 12:47
Well, that's the problem: zotero does not export them as url fields. No Zotero settings to be found on that either. Typical entry: @misc{shortcodeyear, title = {Title of page}, url = {http://domain.com/path/to/page}, journal = {Website}, month = sep, year = {2012}, howpublished = {http://domain.com/path/to/page}, file = {/path/to/file} – grrrbytes Sep 23 '12 at 13:02
That sounds like an out-and-out Zotero issue, which is likely to make the question 'off-topic' for us. While you want to use your data with Lyx, the expertise needed here is at the Zotero end. – Joseph Wright Sep 23 '12 at 13:04
Got that, thanks – grrrbytes Sep 23 '12 at 13:05

Zotero does export URLs in a URL field. As per your example, it includes:


This will create clickable links if you have a BST file that supports the url field and uses \url or \href automatically.

share|improve this answer
Do you have to do anything in particular to get this to happen? The questioner suggests in a comment that no url field is generated: is there an equivalent one in Zotero that has to be filled out? – Joseph Wright Sep 24 '12 at 6:19
This happens automatically. Look at grrrbytes's comment again: the "typical entry" includes the URL field. The issue is most likely with the BST file that is being used. – Rick Sep 24 '12 at 14:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.