10
votes
2answers
565 views

Type '{' '}' in url

I would like to type brace symbol inside a URL using the url or hyperref package. Is there a way to do that ? (the idea is to typeset REST-like URL, as for example, http://foo.bar/orders{orderID}
1
vote
2answers
92 views

biblatex: make “authors” hyperlink to DOIs, URL or ISBN and url breaklink issue in hyperref

This is a follow up question to biblatex: Make title hyperlink to doi url (if available) and biblatex: make title hyperlink to DOIs, URL or ISBN! First , I have an issue with breaklinks=true ...
6
votes
2answers
71 views

Is it possible to strip the protocol in \url?

I would like to have commons.wikimedia.org/wiki/File:Blue_Unknot.png as text for the link https://commons.wikimedia.org/wiki/File:Blue_Unknot.png As I want line-breaking, I can't use ...
5
votes
2answers
132 views

Links don't compile properly on pdflatex

For some reason, I can't get a link to generate when I use the \hyperref package with pdfLaTeX compiler. \hyperref[this is link text]{www.google.com} yields only a plain unformatted "www.google.com" ...
3
votes
1answer
81 views

Why is hyperref inverting URL /'s to a backslash

This code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \begin{document} \begin{center} ...
2
votes
1answer
81 views

How to solve problem with url and hyperref packages?

I have the following code: \documentclass{article} \usepackage{url} \usepackage[colorlinks=true,urlcolor=blue]{hyperref} %Hyperlinks \begin{document} Fatal error: Call to undefined method ...
1
vote
2answers
178 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 ...
7
votes
1answer
101 views

How to test if I'm currently in a footnote or not

Is there a way to test if the current point is inside or outside a footnote? The use case I have in mind is to provide two versions of a document, a "screen" one and a "printed" one and I'd like in ...
2
votes
0answers
164 views

DOI link with special characters [closed]

I use the bibtexstyle statto which gives a hyperlink of the DOI to the respective site. For the title it seems to take preferentially the url provided in the bibtex file. I have few DOIs of the form ...
0
votes
0answers
37 views

How can I add a URL and a source/citation to a glossary entry?

Two questions (apologies!), but they're related. I'm using the glossaries package, and I want to add external information to my glossary entries. My questions are: How can I add a URL hyperlink to ...
0
votes
0answers
40 views

Make pagenumber-field hyperlink with Doi in Bibliography

My tex \usepackage{natbib, doi} \hypersetup{ colorlinks=true, linkcolor=blue, citecolor=blue, } \RequirePackage[ backend=bibtex, natbib=true, bibstyle=verbose, citestyle=verbose, % ...
6
votes
1answer
163 views

How to deal with % sign in url when using hyperref and bibentry

In few of my citations I have a % sign in the url, which gives a problem when I use the bibentry environment (Paragraph ended before \BR@c@bibitem was complete). How can I deal with the % sign? ...
3
votes
1answer
172 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 ...
5
votes
1answer
113 views

Hyperref with pagebackref requires manual escaping of percentage signs in URLs

URLs in bibliography items with a %20 (to represent a space) work fine with the package hyperref as long as the option pagebackref is not used. If it is used, Latex fails with: xxx.bbl:xx: Paragraph ...
10
votes
2answers
172 views

How to avoid the “http:” part in hyperref's \url?

is it possible to use the \url command from the hyperref package with "shorthand" URLs, e.g. \url{ipython.org} instead of \url{http://ipython.org} ? It seems that the former would only link to ...
1
vote
0answers
24 views

Hyperref package. Is there any way to include multiple url addresses in one word (or in any given set of words)? [duplicate]

For example, you can write the following if you want the word ''LINK'' to be clickable and you want to be redirected to Wikipedia every time you click on ''LINK'': ...
7
votes
2answers
411 views

How to make a link open multiple pages when clicked?

I have to create a hyperlink which opens two links with one click. Is it possible using LaTeX? I'm using \href{<url>}{Open two links}.
5
votes
2answers
141 views

How do I add the URL to a phjcp/similar bibliography style?

I like the phjcp style. [Authors][Journal][Volume in bold][First Page][(Year)]. I would also like to include the URL of the paper by the end. I haven't figured out how to do this. I have loaded the ...
2
votes
1answer
150 views

url hyperref does not work with French accent characters

I am using pdflatex. The following creates a live link the the first URL ("mousse" with no French accent). When I click on it in the PDF, I am brought to that page. The second URL (containing two ...
5
votes
1answer
218 views

Unicode symbols in hyperref links

EDIT: It looks like this solution \detokenize{} is working in my situation. Mark it for answered. I've searched all over Internet including Stackoverflow, but I can not found a solution in this ...
5
votes
2answers
121 views

hypertarget works for files but not URLs

I want to link directly to a \hypertarget inside a document. If works file to file, but not to URL. The linking MWE: \documentclass{article} \usepackage{hyperref} ...
5
votes
0answers
216 views

Changing/disabling the mouse over/hover text of a hyperlink

I am using hyperref package to create links in my tex file. To define a link, I do \href{https://www.google.com}{google} When mouse is over the text, the destination, https://www.google.com in this ...
6
votes
1answer
325 views

Problem with url link-`~` is replaced by %257E

I am adding a url in my document using \url{}. The link, however doesn't lead to where it is suppossed to lead. My code is \documentclass{article} \usepackage{hyperref} \begin{document} ...
3
votes
2answers
408 views

How to use URLs in BibTeX database when using natbib in TeX file?

I will first give you the codes then I will explain my problem: \documentclass[a4paper,10]{article} \usepackage[utf8]{inputenc} \usepackage{natbib} \usepackage{hyperref} \begin{document} I hereby ...
3
votes
3answers
169 views

What's a better way to define individual link colours for a url in a macro?

I've got a document where I'd like two colours of links - cyan for links in headers that since it's brighter, and navy blue for links in the main body which is more subtle/less distracting. I already ...
0
votes
0answers
25 views

URLs out of page margin [duplicate]

I am writing a report in LaTeX. I am done with all of the work. Last thing that is remaining is that some of my references are going out of the margins and I don't know how to handle them. I Googled ...
3
votes
2answers
122 views

Labeling links, Markdown style

In Markdown, you can do [google.][1] ... [1]:http://www.google.com In LaTeX, I've tried \href{\ref{1}}{google?} ... \label{1}{http://www.google.com} But that doesn't work, and I'm tired of ...
3
votes
1answer
129 views

Producing clickable hyperlinks in ipe

I'm starting to use ipe to create slides for a presentation. But LaTeX does not behave the way I am used to. For example, I want to use the hyperref package to have URLs with a different font which ...
4
votes
2answers
280 views

How to use \url in sloppypar to make url into multi-lines?

I met a problem about how to make the long link into a multi-lines one. The following is LaTeX code: \documentclass[11pt]{article} \usepackage[colorlinks,citecolor=black,linkcolor=black]{hyperref} ...
0
votes
1answer
326 views

Insert footnotes with \href [duplicate]

This seems like a very common practice, but an hour of researching the question has gotten me nowhere. Is it not possible to insert the URI for the call to \href (#1) as a footnote? I've tried ...
4
votes
2answers
313 views

Problem with hyphen in URL when using fancyvrb with hyperref

There seems to be a problem using a hyphen in a URL inside a fancyvrb Verbatim environment when using the hyperref package. The Problem The following document: \documentclass{article} ...
2
votes
1answer
736 views

bibtex - how to have a web link without the url (ideally to have a link on the number) [duplicate]

I have been messing around a bit with different packages - url, hyperref etc. to get urls into my bibliography. Essentially i've got to the point where I have the url - with a clickable weblink over ...
4
votes
1answer
115 views

Several nameref and page margins

I've been struggling with nameref for some time now. I am trying to make them respect the available space there is on a line, but I can't seem to find how. The LaTeX code is the following: ...
5
votes
1answer
2k views

Opening a PDF URL with tilde character link using Google Chrome [closed]

I am using hyperref to create an url with tilde character link in a pdf document, as shown below: \documentclass{article} \usepackage{hyperref} \begin{document} ...
4
votes
2answers
714 views

Inserting a single hyperlink in LaTeX

I want to insert a single URL that is clickable in the resulting PDF file I produce, but when I use the hyperref package, that turns every use of \ref, the table of contents, etc. into a hyperlink in ...
1
vote
1answer
760 views

Special character in url link

I would like to insert the following text: \href{http://en.wikipedia.org/wiki/List_of_successful_coups_d'état}{http://en.wikipedia.org/wiki/List\_of\_successful\_coups\_d'état} However, that ...
2
votes
1answer
5k views

URL package installed but cannot be found by pdflatex [closed]

I recently installed a full version of TeXLive 2012 (around 3.2 GB installation). Following is a simple LaTeX code that I am unable to compile: \listfiles \documentclass{article} ...
14
votes
2answers
4k views

How to style text in hyperref \url?

I want to set color, font and similar style attributes for the text in a \url from the hyperref package. How do I go about doing it? All I have found are comments saying that I probably don't want to ...
17
votes
1answer
748 views

How to prevent \url from removing the spaces in a path?

The following code \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{"a b c.tex"} one two \end{filecontents*} \usepackage{listings} \usepackage{hyperref} \begin{document} ...
1
vote
1answer
346 views

Exporting database with Zotero so urls will be exported to bibtex with \url command

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 ...
15
votes
1answer
708 views

How to break long URLs using common hyphenation but adding a line feed indicator?

I saw several questions like this one that request a solution for breaking apart URLs. I wonder if it is possible to hyphenate the words in a URL as it happens in normal text (i.e., breaking apart ...
1
vote
0answers
30 views

Get rid of box around URL with hyperref [duplicate]

Possible Duplicate: Remove ugly borders around clickable cross-references and hyperlinks Let's say we have document with url: \documentclass[a4paper,10pt]{article} \usepackage{hyperref} ...
5
votes
2answers
503 views

unwanted pagebreak in footnote

I'm trying to reference a long URL in a footnote. I'm usig hyperref-package (which loads automatically the url-package). \usepackage[unicode=true, ...
8
votes
2answers
413 views

How to write properly an accent in a web address?

I'm trying to write a hyperlink for a DjVu document that includes Latin accent, but for some reason, it only displays properly for the PDF one. Specifically, on my list of references (bibliography), I ...
0
votes
1answer
126 views

URLs set with lining figures regardless font settings

I’ve noticed during my XeLaTeX typesetting with hyperref package that since not so long ago, URLs (using \url) have been typed in lining figures (as opposed to the oldstyle figures) whatever my ...
2
votes
1answer
294 views

URL doesn't work in header

\documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[MeX]{polski} \makeatletter \renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad} ...
1
vote
0answers
749 views

How to handle special characters in URLs while using \href [closed]

Special characters like % throw href off. What package, if any, gives a work around? Would there be a side effect to changing the URLs from % to \%? EDIT On a second try, on a different computer, I ...
8
votes
2answers
288 views

How to make a switch for print vs. display versions of a document with respect to links/URLs

I want the print version of a document have links or URLs written out but the online version have the abbreviated tag/name. So the switch, set at the beginning, will choose between two alternatives, ...
7
votes
1answer
3k views

How to break long url in an item

I have an enumerate. In an item I have a long url. I use the package breakurl and it works fine outside the enumerate but not in the item. \usepackage[margin=3cm]{geometry} \usepackage{hyperref} ...
18
votes
1answer
2k views

Clickable “tel:” URL for TeX resume

I need to make my telephone number clickable. You might be familiar with this in Gmail's clickable phone numbers that dial out to your mobile phone, for example. I'm working on my resume, and I'm ...