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.
 @online{senfus,
title={article name},
 url= {https://m**.s*/U****d/Om%20MPB/F****g/Kxyzy.pdf},
 }

While citing this reference, I am getting following error because of the term "%" in the url.

Paragraph ended before \BR@@bibitem was complete.\par

Is using tinyurl/google url shortener a good idea for citing the article's url.

share|improve this question

2 Answers 2

You need to escape the % in your bib file because the % symbol has special meaning in LaTeX. See http://en.wikibooks.org/wiki/LaTeX/Basics#Reserved_Characters.

Try replacing % with \% in the URL field in the bib file.

share|improve this answer
    
It doesn't work! Still getting the same error. –  Pratap Dheeraj May 7 '13 at 10:07
    
# also need to be escaped (\#) –  Nux Mar 10 at 13:47

You did not mention which bibliography style you use, but most styles wrap the content of the url field in a \url{...} macro, and provide a very basic definition for it that can not handle special characters like %.

The solution is to simply load the url or hyperref package, as those define sophisticated versions of the \url macro that do handle special characters.

share|improve this answer
    
Using 'IEEEtran' bibliography style –  Pratap Dheeraj May 6 '13 at 8:22
    
Then using the url or hyperref package should indeed work. –  mafp May 6 '13 at 9:06

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.