1

Is there any way that \urldef can be overwritten by \url? A link with a % sign or ~ sign used to work just fine with \url before I used \urldef. After \urldef, my % signs in the cited link serves as a line break.

\documentclass[12pt]{report}
\usepackage{url}

\begin{document}

\bibitem{BD}
\url{http://www.math.unl.edu/~bdeng1/Papers/DengHLCTmodel.pdf}, (Accessed on 24 August 2013)
\bibitem{AR13}  
\url{http://staff.science.uva.nl/~aroos/downloads/pdf_readers/syllabus.pdf}, (Accessed on 10 November 2013)

\end{document}

Can someone please check this? The first url works in a web browser whereas the second one does not. What could the problem possibly be? Will using \urldef fix this problem? If so, please suggest how? I would really appreciate any help.

Pdf output: BD [31] http://www.math.unl.edu/~bdeng1/Papers/DengHLCTmodel.pdf, (Accessed on 24 August 2013) AR13 [32] http://staff.science.uva.nl/~aroos/downloads/pdf_readers/ syllabus.pdf, (Accessed on 10 November 2013)

  • could we have an mwe to observe this in effect, please? – wasteofspace Jun 6 '14 at 9:25
  • How do I upload a snippet of my TeX code? – Jivika Jun 6 '14 at 9:43
  • @Jivika edit your post. But please just just post a sniplet, that does not help much. Post something that can be copied to a file and compiled as is, without the need to add anything. – daleif Jun 6 '14 at 10:04
  • 2
    Please optimize your MWEs. For example, remove packages that are not related to the problem. Also describe the problems in greater details. – Heiko Oberdiek Jun 6 '14 at 15:11
  • 1
    @Jivika Where is \urldef? I still don't see it anywhere. Moreover, you still have many unnecessary packages. Again, read Heiko Oberdiek comment, post a document which shows the problem and explain how it doesn't work. – Manuel Jun 6 '14 at 19:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.