{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
1answer
53 views

Properly link an url in Bibliography

How to properly link an url in Bibliography? I've tried this: @book{wiki4, label = {Razor}, author = {Wikipedia's collaborators}, date = {2014-01-01}, url = ...
7
votes
2answers
2k views

Tool for generating a website's BibTex using the URL?

Is there an existing tool for generating BibTeX of a website using its URL? What I'm thinking is something like a web tool or a Python script that does this.
5
votes
2answers
29 views

captionsetup url color select

I've changed my caption font color to gray as seen in the screenshot below. My problem is that references is black (which I've chosen in the hypersetup), how do I change this to be gray as the rest of ...
4
votes
1answer
74 views

Left-aligning URL with line breaks in bibliography

URLs break fine in my bibliography. My problem is that they are justified which creates a gap between "URL:" and the URL itself (see below). Is there a way to left align only the URL? I am using ...
6
votes
2answers
105 views

Using commands inside \url?

How does one use commands inside \url{..}? MWE: \documentclass{article} \usepackage{textcomp} \usepackage{xcolor} \usepackage{url} ...
1
vote
1answer
31 views

Biblatex: escaped underscore in bib file prints as %5c in bibliography?

My reference manager escapes all underscores in URLs. I thought that was OK until I noticed it prints %5c in front of all URL underscores. How can I avoid this while still having the escaped ...
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 ...
1
vote
1answer
22 views

Urldate field gets ignored

I need help :) I am writing in Danish and need citations in the harvard style. I am using the following minimum setup: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
5
votes
1answer
126 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 ...
2
votes
2answers
633 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
1answer
459 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} ...
1
vote
1answer
46 views

Automatically add a custom url on my bibliography, based on local url rewriting

I search a solution to automatically add a custom url on my bibliography, based on local url rewritting. For example, i have a biblatex entry into library.lib with local pdf url like this : ...
6
votes
1answer
40 views

How to overcome limitations of \url{}?

One major limitation of the url package is that "the argument must not contain unbalanced braces.". However I have the problem that sometimes URLs I have to include in my document do not satisfy this ...
4
votes
1answer
42 views

URL citation: Control breaks and add 'Accessed' as prefix text

Please consider the following BibTex reference output (source can be found below): I am using \bibliographystyle{plain} as the output fits the requirements of a paper I'm writing. I tried natbib, ...
0
votes
1answer
64 views

Using URL in a LaTeX bibtex file

I'm using bibtex for my bibliography in LaTeX. I would like to use URL's and I need to cite. How do I add URLs into the .bib file. Also, I am using chicago as a bibliographystyle. I wrote the ...
65
votes
9answers
22k views

Forcing linebreaks in \url

I wish to typeset some relatively long URLs in a piece of text, and when I use \url{..}, the resulting text does not respect the margin boundaries that govern the main text body, instead going all the ...
3
votes
2answers
42 views

.bib file causes build crash, url error

I have this code in my .bib file: @misc{akcelerometry, author = {Prof. Ing. Miroslav Husák, CSc.}, title = "Akcelerometry {[online]}", url = ...
20
votes
6answers
9k 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 ...
19
votes
4answers
1k 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 ...
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 ...
3
votes
1answer
34 views

Showing last accessed / urldate field with babelbib

Apparently babelbib displays the last accessed/urldate field by default, but it doesn't seem to work for me. I tried to change the bibliographystyle, but that didn't fix it either. In addition I can't ...
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}
0
votes
1answer
47 views

How to change the font of a URL from \ttfamily to Euclid? [duplicate]

I would like to include a clickable URL in a text written in LaTeX. For that I included the package hyperref. The result obtained by \url gives a clickable link written in \ttfamily (the default ...
26
votes
2answers
351 views

Automating the appearance of email addresses as images

Publishing pdf manuscripts on the web with emails embedded in the file results in spam. More generally, I am looking for a way to automate the conversion of a string to an image. It's quite easy to ...
2
votes
1answer
50 views

How to make url in footnote clickable?

How to make url in footnote clickable? Currently I have: \paragraph{Some text \protect\footnote{xyz available at \protect\url{https://someplace.org}}} The footnote appears just fine but nothing ...
9
votes
1answer
503 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} ...
5
votes
1answer
391 views

How to tell LaTeX to automatically remove envelopping curly braces in a string to use with biblatex?

I am using biblatex together with a bibliography manager Referencer. I want to use the url field of the bib file to link to the page. However, Referencer has urls of the form url = {{ http://... }} ...
2
votes
2answers
52 views

Line goes out of paragraph, when I give hyperlink

I'm trying to hyperlink \url{http://brollace.blogspot.de/2012/03/havok-tutorial-content-tools-part-1.html.}, but when I compile it, the line goes out of the boundary of paragraph. Can anybody knows ...
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" ...
8
votes
2answers
214 views

Biblatex: use doi only if there is no URL

Is there a way to insert a doi of an entry only in case it is missing a URL field? It happens a lot that the doi and URL are essentially the same, and inserting them both yields a redundancy. I am ...
5
votes
2answers
79 views

Problem with references! Need to line-break urls

I am writing a paper and I have already added the references through bibtex. There is something I don't like about the online references, they get to stretched out, from one side of the page to the ...
2
votes
0answers
34 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} ...
1
vote
3answers
109 views

how to deal with Long URL in LaTeX

I am a green hand in LaTeX. I sought online and found a lot of posts about the question I asked. However, I cannot follow their instructions. Could anyone give me a hand ? (OS is ubuntu 12.04.) The ...
0
votes
0answers
108 views

How can I use natbib and make my reference list resemble apalike?

My question is related to here and here, but I could not yet find a satisfying answer. I will use the same example from this post. I like the apalike reference style but I have trouble with breaking ...
4
votes
1answer
46 views

Conflict between eplain urls and pgf(math)

I tried to insert a hyperlink with xetex and eplain, and here is what happens. \input eplain \enablehyperlinks \input pgfmath \href{http://www.google.com}{google} \bye prints this weird error in ...
33
votes
2answers
15k views

How does one typeset a URL?

I'd like to insert a URL into this document. Is there a "correct" way of doing that? If so, is there a way to turn it into a link inside the final pdf generated with pdfTeX or XeTeX?
2
votes
1answer
70 views

How can I break a long URL in bibliography

I have a problen with a long url on LaTeX, I want to break it but I don't know how. The line in LaTeX is: \bibitem{} Information Intel 8085: \\ ...
5
votes
1answer
40 views

retain only the domain name of url and print in bibliography as organisation

How can I define a command to retain only the domain name of a link e.g. http://www.google.com/search?=bang will give only google.com and display it as organisation field for a url reference? Many ...
3
votes
1answer
65 views

How to adjust \UrlFont according to its placement (footnote vs. bibliography)?

In my previous post I learned how to make the URL and DOI font smaller. However there is an issue with the URL font size in footnotes specifically, because the font size is already smaller there. When ...
8
votes
2answers
160 views

How to fix the URL and DOI font? Say, make it smaller

I am using Biblatex to handle the full citations in footnotes and the bibliography. With @online Bibtex/Biblatex entries, I understand the DOI and URL fields in a citation need to be in some special ...
1
vote
0answers
99 views

Citing a url with bibtex using \url does not show url [closed]

I am using BibTeX with ieeetran.bst to format my bibliography and I would like to cite a URL. Initially I tried using the following code: @electronic{Nobelprize.org2009, Author = ...
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} ...
13
votes
2answers
384 views

Crawler Resistance Email Address

So I have my CV publicly available on my website and it has both my email address on it, and the email addresses of my references. In the interest of protecting my self and them from spam, I was ...
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 ...
3
votes
0answers
36 views

Space is sometimes gobbled with microtype and url

I experimented with condensing URLs slightly and thought everything worked fine, until I noted a problem in the final proofreading. The first "this" in the following minimal example seems to have no ...
28
votes
3answers
3k views

Biblatex: Get rid of ISSN, URLs and DOIs in references

My .bib files are generated by Mendley desktop and usually contain URLs, ISSN and DOIs, but I don't want those to be displayed in my list of references. How can I get rid of them (short of deleting ...
1
vote
0answers
36 views

Clickable URL gets segmented by the new line?

In my reference, I have a clickable link. It is cut into two lines automatically. Problem comes when I click it. When I click it, the part in the 2nd line is not included. I am directed to the ...
1
vote
1answer
345 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 ...
5
votes
1answer
78 views

url in footnote spans two pages

In my document LaTeX has chosen to continue a long footnote on the next page. That's usually just fine. But in this case the page break in the footnote is inside a url, so the whole second page is a ...