{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

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
166 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
178 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 ...
0
votes
0answers
58 views

Footnote horizontal spacing of text within footnotes [duplicate]

I'm having a problem with some of my footnotes. Many of them which span multiple lines have this odd spacing between words. I've attached a screenshot of a PDF for a better explanation. In this you ...
3
votes
1answer
122 views

LaTeX on the reference including the wave line

There is a reference I have to use, which is just an URL but there is a wave line (tilde) located in the middle of the URL. I don't know how to express it exactly. The code I used now is as follows: ...
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 ...
3
votes
1answer
81 views

How can I open an online .pdf to a specific page from a LaTeX generate .pdf from footnote? [duplicate]

I'm try to open a .pdf to a specific page from my pdf generate using pdflatex, this is a valid urlthat do what I want in my browser: http://www.icomos.org/charters/venice_e.pdf#page=4 #page=4 ...
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'': ...
0
votes
1answer
145 views

Problem while using \href the “%” sign creates problem [duplicate]

I am using \href{http://abcd/x/y%z/abcd.html} but % creates problem. It is getting commented after % but I have % in my address, and \% did not work.
6
votes
1answer
220 views

Omitting fields in Bibliography

When building my bibliography using the \bibliographystyle{plainnat} The output looks like [88] G. R. Ruetsch and M. R. Maxey. Small-scale features of vorticity and pas- sive scalar fields ...
5
votes
1answer
91 views

Is it true that it is impossible to insert manual line breaks in URLs that are part of a biblatex reference?

After having looked through quite a number of questions about inserting line breaks within URLs, I'm still wondering about a specific case: manual insertion of line breaks in a URL in biblatex. So the ...
9
votes
2answers
128 views

How to rigidly chop long lines in plain TeX

I am using plain TeX and want to typeset an appendix that contains several hundred URLs. When a URL goes past the right margin, I would like TeX to stop printing (i.e. not carry into the margin, not ...
7
votes
2answers
414 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}.
1
vote
1answer
145 views

bibtex URL not complete

I have a BibTeX entry that looks like this: @url{ClaimsReservingManual, Author = {Institute and Faculty of Actuaries}, Date-Added = {2013-10-02 08:18:21 +0000}, Date-Modified = ...
5
votes
2answers
143 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 ...
1
vote
0answers
60 views

Can I use letter ä in urls? [duplicate]

I have the following beginning on my tex file: \documentclass[a4paper]{amsart} \usepackage[utf8]{inputenc} \usepackage[finnish]{babel} \usepackage{url} Now I need to put an URL to the document that ...
9
votes
1answer
524 views

Line breaks of long URLs in bibliography?

I have some long URLs which doesn't contain special "line break characters" like "-" or "/". How can I automatically break these URLs? \documentclass{scrreprt} \usepackage[ngerman]{babel} ...
3
votes
1answer
112 views

Remove URLs from journal articles but not web pages in bibtex?

I'm using BibTeX (requirement of the journal I'm submitting to), and I'm referencing mostly journal articles, but also one blog post. I would like to hid the urls in the references list, but only for ...
2
votes
2answers
162 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 ...
1
vote
1answer
128 views

Reverse order of fields “note” and “url” for entry types “electronic” and “article” (biblatex)

I use biblatex for the table of contents with: \usepackage[bibstyle=authoryear, autocite=footnote, citestyle=authoryear-icomp, backend=biber]{biblatex} I have several entries with fields url and ...
0
votes
0answers
26 views

URLs and justification [duplicate]

I am having difficulties in keeping long URLs inside the correct margins in LyX. I can understand why there are difficulties in hyphenating URLs at a point that will ensure the average reader will ...
0
votes
2answers
651 views

How to cite articles from a well known website

I would like to cite articles and the specific authors from well known websites. My problem is that I would also like to include the website info in the citation. For example I am citing an article ...
5
votes
1answer
224 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 ...
4
votes
1answer
173 views

BibTeX (TeX Live 2013) doesn't escape & in url

BibTeX (TeX Live 2013 on ubuntu) doesn't escape the & specifically in urls. The % escapes but not &. For example I have the following reference: @article{benson1975, title = {The ...
1
vote
1answer
270 views

MiKTeX Update: Error `\textfont is undefined` with Package `url`

The following MWE does not compile with XeLaTeX anymore after a MiKTeX update today: \documentclass{article} \usepackage{fontspec} \setromanfont[Path=./]{LinLibertine_R.otf} \usepackage{url} ...
5
votes
1answer
128 views

Remove backslashes from url fields in .bib entry

The problem I'm having is that urls with backslashes in the .bib file are not linking correctly. I'm using Mendeley to generate a .bib file that gets imported and used in the references section of a ...
5
votes
2answers
122 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} ...
2
votes
1answer
346 views

Trouble inserting “~” (not equivalent to \sim} [duplicate]

I need to include a url in my document, which includes this symbol: ~ Simply entering the url generates a space rather than the symbol, and replacing the symbol with $\sim$ is not equivalent, the url ...
4
votes
1answer
174 views

PDFLaTeX: Straight quotes in URLs (no smartquotes in urls)

Is it somehow possible to have straight quotes in URL's? Especially the single quote sign would be important to me, as this is the most confusing character within URL's, as the reader might not know ...
3
votes
1answer
170 views

URL linebreaks W/O \sloppy

Hours of reading the different articles on url linebreaking did not reveal a solution for the following problem: I've got a long url, which I do not intend to short using online services. The url ...
5
votes
0answers
221 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 ...
0
votes
0answers
21 views

BibTeX rendering error with URL [duplicate]

I put the following reference in my .bib file: @ONLINE{MyID, title = {My title}, howpublished = {\url{URL}} } However, since the used URL contains underscores, the URL is visualized as a ...
6
votes
1answer
329 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} ...
24
votes
2answers
438 views

Auto generate List of \url usages within document

I am writing a thesis and I have made extensive use of hyperlinking through \url or \url within a \footnote. Now I would like to add a list (kind of like a simplified bibliography where each link ...
0
votes
0answers
23 views

Biblatex url in new line [duplicate]

How do I force biblatex to print a url in a new line? I'm using biblatex with bibtex8. greetz
3
votes
2answers
423 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 ...
8
votes
1answer
262 views

Biblatex: Convert doi-url into doi field

I use biblatex and would like my bibliography to only include a DOI field, whenever there is DOI information available. This involves two things: Biblatex has to suppress the URL field whenever a ...
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 ...
1
vote
1answer
226 views

Spurious percent symbol in bibtex url

Using pdflatex and bibtex, this code gives me a spurious percent symbol. \documentclass[twocolumn]{article} \usepackage{url} \begin{document} hello \cite{hello}. \bibliographystyle{plain} ...
1
vote
1answer
477 views

Bib compilation blocks pdf compilation

I am pretty sure this is not a syntax mistake. I am using a .tex file with the following form: \documentclass[a4paper,12pt]{article} \title{Here goes the title} \author{Here goes my name} ...
3
votes
1answer
130 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 ...
1
vote
0answers
63 views

Different errors while compiling, depending on distribution [closed]

When compiling my TeX document in PCTeX the _ in the bibliography url's appear as “˙. When compiling it in TeXworks the _ appears fine, but all the table references appear as ??. Any ideas to how I ...
2
votes
1answer
3k views

bibtex display URL in reference

I am trying to display a URL in a reference using the bibliography style ieeetr. According to here I can use the howpublished field in my bibtex entry, but it seems that this doesn't work for me. ...
12
votes
1answer
285 views

(Another) problem with url hyphenation in bibliography

What I am about to ask has already been asked many times, but nothing seems to work for me so far. Basically I am having troubles in getting urls hyphenated correctly in the bibliography. I modified ...
1
vote
1answer
358 views

getting rid of DOI URL etc fields in aipnum4-1.bst

I tried the solution suggested by Mico suggested in Getting rid of DOI, ISSN links from bibliography but no luck I get error messages like You can't pop an empty literal stack for entry ...
9
votes
1answer
645 views

Why does url.sty appear in 3 different places in the TeX Directory Structure?

On my up-to-date MiKTeX system, there is a copy of url.sty in three different places in the TDS: texmf\tex\xelatex\xetexurl (part of MiKTeX package xetexurl, packaged on 2007-Sep-05) ...
5
votes
1answer
694 views

URLs in bibliography: LaTeX not breaking line as expected

I am trying to include long URLs in a bibliography, but those often overflow into the margin of the document. I have seen a number of questions about breaking URLs in bibliography, but after trying ...