{urls} is about handling URLs in (La)TeX documents, commonly by using the \url macro provided by the {url} and {hyperref} packages.

learn more… | top users | synonyms

2
votes
3answers
20 views

How to get \url{} and \href{} displayed identically [duplicate]

I would like the output of \url{} and \href{} displayed identically. I have changed the color for both to be blue, but it appears as if a different for is being used as well: Code: ...
1
vote
3answers
164 views

Package hyperref's unusual behaviour

I edit a newsletter using LaTeX and I find hyperref very limiting. I'm using hyperref with only one argument: hidelinks. If I click on a \url link in the newsletter the URL opens in the same window, ...
3
votes
0answers
46 views
+250

ConTeXt: Use url parameter to hyperlink bibliography title references

Background A technical design document includes a number of citations. It would be convenient to include hyperlinks to the cited documents in the bibliography. The bibtex entries include articles, ...
3
votes
1answer
53 views

ConTeXt: Macro within macro for URLs

Background Would like to define a base URL that can be reused by other macros. Problem Using the \goto macro requires a fully expanded URL. Minimum Working Example Here's code that illustrates ...
3
votes
1answer
20 views

How to properly expand an argument to the \url or \path macro?

In the following MSE: \documentclass{article} \usepackage{url} \newcommand{\rootDir}{\$ROOTDIR} \newcommand{\myDir}{my/dir} \newcommand{\makeFilePaths}[3]{% ...
2
votes
1answer
69 views

«Undefined reference» when using an URL in Bibtex

I'm trying to cite a Webpage in a latex report but it always fails during the compilation. Here is my .tex : \documentclass[a4paper,10pt]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
3answers
479 views

Inserting a clickable URL into moderncv not working anymore

I tried inserting a clickable URL into ModernCV but somehow the output doesn't feature a clickable URL. This has worked in the past(on Ubuntu 12.04; with few changes such as including hyperref. Not ...
2
votes
1answer
58 views

Footnote not appearing in Document

I am using a footnotes with urls inside. This works fine for most cases, but for some reason I cannot understand, sometimes the footnotes are not generated and I do not know why. Here is the MWE ...
3
votes
1answer
26 views

problem with urlstyle being overriden by apacite

I am using \usepackage{hyperref} and \urlstyle{rm} to produce urls in roman font in my documents. However, when I also include \usepackage{apacite} the font is no longer roman, but typewriter for the ...
2
votes
1answer
36 views

How to use UNC path

I struggle a bit with UNC paths in latex. My paths looks something like \\server\folder\folder I found this. Which recommends to change \ to /. Thats not really a solution. I put the path in ...
21
votes
5answers
2k views

URL field only for certain reference types with biblatex

I'm using biblatex for my references. My bib file includes many references which I have imported from different sources. Not all references have a url entry and some of them are bogus. I now like to ...
3
votes
2answers
355 views

\url{} links with percent (%) signs and overfull hbox error

I have looked at the first comment to this question on % in urls and found that I didn't need to type \ ahead of each %. However, in WinEdt 7.1, everything from the first % in the first URL is now ...
0
votes
1answer
79 views

Inserting YouTube link in modern CV

RE: Modern CV contact info - YouTube channel link Hi, I've tried repeatedly to include a link, in the upper-right-hand corner where my contact information is located a YouTube link to my channel, ...
5
votes
1answer
55 views

url at the end of description

I would like to add an url at the end of each description. \documentclass[12pt,BCOR=15mm]{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} ...
3
votes
0answers
47 views

Make hyperlinks clickable in a DVI converted to PDF

I have a legacy system that "generates" documentation for one of our systems. The resulting DVI file is then converted to PDF using dvipdfm. The DVI contains URLs, but those aren't clickable in the ...
4
votes
2answers
126 views

How can I prevent URLs from being clickable?

I want to stop every URL in my document from being clickable in the resulting PDF. I am using the url package, and the documentation claims that it "does not make hyper-links." So, I don't know why ...
4
votes
1answer
51 views

Linebreak in url

I'm using the apacite package and I'm trying in bibtex to supress the url if the doi is available. I found an answer in the posting apacite: how to suppress url if doi is avalable? It is exacty what ...
3
votes
2answers
374 views

Hyperlink in moderncv with acrobat reader

The hyperref in moderncv for urls and the email address cannot be opened with adobe acrobat reader. The links are working in other pdf readers. It's only an issue with moderncv opened in adobe acrobat ...
6
votes
1answer
67 views

Keeping URLs clickable while decorating?

I want URLs in the rendered PDF to appear as follows: <http://website/blah> I have declared the URLS in my document using the 'url' package, in the form: \url{https://tex.stackexchange.com/} ...
3
votes
1answer
82 views

How to right-justify URLs inside a table?

I have a table containing a URL, and I want the URL to break so that the URL is right-justified along with the other text. In my example below you can see that the last few lines are not ...
5
votes
3answers
3k views

File ended while scanning use of \url using Bibtex.

I have a problem with one of my bibtex items and I'm scratching my head to figure out what is wrong. I've narrowed it down to the specific reference, and in partiuclar the specific URL latex is having ...
1
vote
0answers
29 views

How to put URL in bibtex bibliography

I'm having trouble to correctly finish my bibliography. In the website's region, I cannot place the url correctly. Can anyone help me out? I've search some questions, but I wasn't able to get the ...
0
votes
0answers
36 views

How to include urldate on bibliography withou using the “note” option?

I'm using the natbib package and the plainnat style. Also I'm using the url package. \usepackage[authoryear,round]{natbib} \usepackage{url} \bibliographystyle{plainnat} My problem is the ...
3
votes
1answer
67 views

Extract from URL field in beamer

How can I extract the value of the URL field of an entry in a .bib file? I want to print it directly in the frame of my beamer document. Additional info: (added July 20, 2014): I can't provide the ...
3
votes
2answers
2k views

Problem with escaped characters in bibliography when using Mendeley, natbib & url

This is my first question here, so apologies if I miss any conventions. I'm writing a dissertation in LaTeX. My sources are in Mendeley, which is generating a BibTeX file. I'm using the natbib ...
29
votes
3answers
2k views

biblatex: make title hyperlink to DOIs, URL or ISBN

This is a follow up question to biblatex: Make title hyperlink to doi url (if available). My reference database contains some DOI codes, but mainly normal URLs and some ISBN/ISSN codes. What I would ...
5
votes
1answer
101 views

csplain and url package not working with pdftex

MWE (test.tex): \input miniltx \input url.sty \url{http://www.google.com} \bye Commands: pdftex -fmt=csplain test.tex -- fails This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) ...
9
votes
2answers
276 views

How can I use mathematical symbols and other special characters in URLs in footnotes?

I want to footnote a URL which contains mathematical signs such as = and LaTeX asks me for a $ sign to take it to mathematical space (and therefore changing the font which is not suitable). How should ...
2
votes
0answers
99 views

Bib entry cannot be encoded in ansinew [closed]

I'm compiling the following files which are enconded in Western-1252. Using biber to compile the bib example.tex \documentclass[11pt, twoside, a4paper]{memoir} \usepackage[ansinew]{inputenc} ...
3
votes
0answers
12 views

Bibliography URLs missing part when using lmodern [duplicate]

I'm creating a document that contains urls in the bibliography. That works just fine and the urls are broken to new lines at appropriate points. The only issue I have is that the two pdf viewers I've ...
1
vote
2answers
116 views

In BibTex, when should I use 'howpublished' and when 'url '?

I'm writing a piece whose bibliography with some technical reports, presentation, manuals, and just websites. In the .bib file, I need to decide whether to use 'howpublished' fields, or 'url' fields ...
3
votes
1answer
100 views

Hyperref package is causing error message

I am trying to typeset my document, but the including the hyperref package gives me the following error: The required file tex\latex\url\url.sty is missing. Now my problem can probably be ...
6
votes
1answer
149 views

How do I replace url text with a symbol in the bibliography of a CV (moderncv class)?

I want to include a link to my publication, using biblatex in a CV. But instead of the whole url, I just want a symbol which can be clicked. My MWE is as follows: ...
13
votes
2answers
4k views

Hyperref + \url: long URL with dashes won't break

I've discovered a rather weird behaviour of PdfLaTeX. In this example \documentclass{article} \usepackage[breaklinks]{hyperref} \begin{document} ...
2
votes
0answers
49 views

\url command worked fine before using \urldef

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 ...
4
votes
1answer
61 views

Using url package without hyperref makes link hit boxes erratic

I've currently got a url link in a footnote in my document. With the hyperref package, everything works correctly. Because the IEEE PDF Express tool doesn't like having the hyperref package, I've ...
6
votes
1answer
108 views

Publishing to Arxiv with Hyperlinks

In addressing this question the first thing to note is that everything works, compiles and displays correctly on my computer. However, when I go to upload my document to arXiv.org sometimes things ...
8
votes
5answers
274 views

Typesetting URL/URI/IRI in plain TeX

I would like to be able to allow line breaking on /'s, ?, and &'s. I understand I should change the \catcode's of those letters, but I don't want them to be global, but instead restricted to ...
2
votes
2answers
75 views

\textbf{} not working inside Breakurl \burlalt

Below is my code, \documentclass{article} \usepackage[breaklinks]{hyperref} \usepackage{breakurl} \usepackage{url} \hypersetup{ pdfpagemode=none,% colorlinks,% citecolor=blue,% filecolor=blue,% ...
2
votes
2answers
114 views

Too long website as footnote results in `Overfull \hbox`

I have a very long website as footnote and I get a warning message Overfull \hbox. This is the website: \footnote{Vgl.: ...
10
votes
4answers
6k views

Missing $ inserted issue

Trying to get my dissertaion sorted (due in a few hours) and I keep getting this error: ! Missing $ inserted. <inserted text> $ l.190 ... pp. 225--236, ...
23
votes
7answers
11k views

Disabling URLs in bibliography

I use Mendeley for article management and export the related items to a bib file for referencing in LaTeX documents. I use IEEEtran style and see that the bibliography items include URLs which I don't ...
2
votes
0answers
42 views

Using UTF8 inside \path from the url package

Whereas there are certain rules for how a URL is to be formed (where non ascii letters are not really allowed). How about \path? I happend to try \path{æøå}, saved in latin1 this gives the expected ...
0
votes
0answers
69 views

Image link clickable in non-white areas (excluding the background)

Consider image sample below. I'm including it using \includegraphics and I have linked it to an url using \href. What I would like is to have it in the pdf file in such a way that the mouse would ...
2
votes
1answer
43 views

Line breaking of URLs at “-”

I have a URL in my bibliography which line-breaks in an unpleasant way. The URL breaks as follows: http://www.mathworks.se/help/matlab/matlab_oop/(break) implementing-operators-for-your-class.html I ...
3
votes
2answers
79 views

How to have an URL in PDF bookmark

I'm interested in having a PDF bookmark pointing to an attached file in the PDF. At least I know it is possible to have bookmarks pointing to an URL. See for instance the hyperref manual. You can see ...
4
votes
1answer
67 views

Footnote with url in caption?

I try to put a url as a reference in a caption of a figure. But it seem to give all kinds of errors like: ! Argument of \@caption has an extra }. ! Paragraph ended before \contentsline was complete. ...
4
votes
2answers
179 views

Why is hyperref inverting URL /'s to a backslash

This code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \begin{document} \begin{center} ...
3
votes
2answers
973 views

How can I have a footnote with an \url in a section title?

When I have a footnote with an \url in the section-header, the table of contents shows nothing with it. Why and how can I fix the issue?
1
vote
0answers
44 views

Fix URL overfull

when I break the URL in the bbl file I had to do more than one step and it takes time, but I would like to know a way or a usepackage to break the URL automatically