Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
1  
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
1  
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
add comment

1 Answer

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

url={http://domain.com/path/to/page}

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
add comment

Your Answer

 
discard

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.