{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

8
votes
4answers
7k views

Line breaks and the URL package

Long URLs need to be broken at the end of a line. Here's a topic about that. That topic suggests adding the hyphens option to the URL package, and also to define \renewcommand{\UrlBreaks}{\do\/\do\a\...
3
votes
1answer
157 views

Temporarily override biblatex reference options

I am using biblatex-chicago with the option url=false, but I want to include a URL for just a few references. Is there a command that would allow me to reintroduce the URL for just these references ...
3
votes
0answers
4k views

`macro parameter character #' in horizontal mode - Texmaker [closed]

I use Texmaker and I keep getting this error: ! You can't use `macro parameter character #' in horizontal mode. However I can force compile it using cmdline as pdflatex foo.tex. Any idea what the ...
4
votes
1answer
332 views

URLs in external references show up as question marks

So I have several external references like this one @misc{epa_2013, author = {EPA}, title = {National Pollutant Discharge Elimination System}, url = "{\url{http://cfpub.epa.gov/npdes/}}", ...
16
votes
2answers
481 views

How to reduce the space between two slashes when using \url?

This is a follow-up question to Space between two slashes. Bianca Lobo's answer (defining a \twobar command with proper kerning) is nice; however, it doesn't work in the argument of the \url command ...
4
votes
1answer
1k views

Changing formatting of URL in biblatex \footcite

I've switched from bibtex to biblatex due to having to use \footcite based on university's requirements for writing a report. It may be worth noting that I'm also very new to (La)TeX. I'm only having ...
6
votes
2answers
229 views

Bibtex: How to input accentuation on url?

I am trying to use bibtex to output the url from a reference, but it's not working because the url has accentuation, just like below: url = {http://www.epe.gov.br/mercado/Documents/Série\%20Estudos\%...
4
votes
1answer
204 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: \...
7
votes
1answer
197 views

Automatic line breaking of camel case within \url

I would like to break camel case text that is handed to the \url{} macro of url.sty. The solution here does not work for text in captions, so it seems, ans in particular does not work for \url{}. Is ...
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} \url{http://lyle.smu.edu/~tspell/jaws}...
2
votes
0answers
3k views

Problem with use \url - metric (TFM) file not found [closed]

I try to write an article in LaTeX using texmaker on ubuntu. I use many packages including: \documentclass[12pt,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{...
3
votes
1answer
174 views

Problems with url alignment

I would like to align some urls: \documentclass[12pt,a4paper,oneside]{book} \usepackage{url} \begin{document} Figure 1:\; \url{my first url} \url{my second url} \end{document} How ...
2
votes
0answers
171 views

how to delete extra line in amsplain-url_bst.bst after URL [closed]

I use amsplain-url.bst for the bibliographic format. When a reference has a URL it adds an extra line before the end of the reference. I want to delete this extra line:
4
votes
2answers
234 views

Macro for writing DOI with optional link text

The doi package has a neat \doi command, that transforms a doi string into \href{http://dx.doi.org/<the doi>}{doi:<the doi>}. The uri package has something similar with the help of the url ...
1
vote
1answer
1k views

Bad formatting of Bibliography

I tried two ways to format a bibliography with lots of URL's: Without 'RaggedRight' With 'RaggedRight' In the first case, there are wide spaces between words in some items, that a really not ...
4
votes
1answer
448 views

Invoking biblatex macro for “(visited on <date>)”

Can I invoke some biblatex commands or macros in order to automatically generate a string like this: (visited on 04/01/2013) I have this outside of a \cite command in a footnote, but would like to ...
11
votes
2answers
18k 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 ...
9
votes
1answer
2k views

Problems with URL's size

I would like to change the font size of the URLs in my latex document. I did: \begin{document} ... \usepackage{url} Figure 1: \scriptsize{\url{my url}}\\ Figure 2: \scriptsize{\url{my url}} ... ...
5
votes
0answers
2k views

How do you put spaces in \url? [duplicate]

Possible Duplicate: Obey spaces with URL package (path command) How to prevent \url from removing the spaces in a path? The url I want to put in \url{} is http://www.maths.manchester.ac.uk/~...
4
votes
3answers
689 views

How to fill an underfull box in footnote with url?

Could someone help to correct the warning I get related to an underfull box with the following code? I have tried \hfill, hspace*{\hfill} etc with no luck. \documentclass[twocolumn,draft]{svjour3} \...
11
votes
2answers
705 views

Creating a URL downloading command to be used with e.g. \includegraphics

We were just talking about an idea that may be a little further out there. Would it be possible to patch URL support into graphicx.sty or is there a package that would support this on a wider scale (I ...
8
votes
1answer
1k views

Long URL in Bibliography section exceeds the bounds of the page

I have an external bib where I put a reference to an external URL. @misc{myreference, author = {The Author}, title = {The Title}, howpublished = "\url{http://thisismyurl/2010/3/a-long-url-here}"...
1
vote
1answer
259 views

Citing webpage with ~ in address

Here is the exact webpage I want to cite: \bibitem{BrouwerSRG}A. Brouwer. Strongly Regular Graphs table http://www.win.tue.nl/~aeb/graphs/srg/srgtab1-50.html \filbreak Now, if I ...
2
votes
1answer
3k 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 doesn'...
6
votes
1answer
1k views

different font while using url

I'm having troubles while using the url command in my bibliography. I mean: 1) \bibitem{[8]} {\url{http://projects.webappsec.org/w/page/13246989/Web20Application20Security20Statistics\#...
2
votes
1answer
237 views

Adding space in an electronic BibTeX

I am using JabRef to create my references. I want to put a note for the for the access date (for electronic references) Here is an example: @ELECTRONIC{qwest, url = {http://gigaom.com/cleantech/...
3
votes
1answer
19k 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} \usepackage{hyperref}...
0
votes
0answers
32 views

How to unset a toggle in biblatex? [duplicate]

Possible Duplicate: Biblatex: Get rid of ISSN, URLs and DOIs in references The standard.bbx file sets toggles for doi,url and eprint that are being checked later by the doi+eprint+url macro. My ...
9
votes
1answer
101 views

Prohibiting line break at specific point of url while using \url command

I have a \url{some.edu/page} that breaks just before .edu I would like to have it break at the / at worst, or not at all. How can I do that?
8
votes
2answers
496 views

URL field inherited despite separate cross reference item

The following code produces a list of references that contains the URL three times. I use crossreferencing to save space. Is there a way to get rid of the URL in the entries that refere to a main ...
1
vote
0answers
99 views

URL with % won't display in bibliography [duplicate]

Possible Duplicate: URL for “article” (and other) entries of the bib file? URL of cited web site in bibliography I am trying to put a long URL into my bibliography. In the preamble I have ...
4
votes
1answer
606 views

Special characters in bib entries using biber/biblatex [closed]

I'm having problems to get URLs with special characters in biber/biblatex to work \usepackage[T1]{fontenc} \usepackage[swedish]{babel} \usepackage[utf8]{inputenc} \usepackage{...
33
votes
2answers
20k 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 ...
2
votes
1answer
2k views

Mark text as plain text

When inserting a URL in a footnote \footnote{http://www.bmu-klimaschutzinitiative.de/de/projekte_nki?p=1\&d=450, gesichtet am 21.10.2012} there are two errors that missing $ signs have been ...
2
votes
1answer
178 views

Unwanted numbers added to a url in a bibitem

I face a weird problem. I use \url{} (URL package) to specify a URL in a bibitem. After compiling my LateX file, the URL is well displayed in my PDF file. But, when I drag the mouse over the URL, the ...
12
votes
1answer
7k views

Manually breaking a long URL (in the bibliography)

I have a large bibliography in which a few items are causing underfull hboxes due to a long URL. Answers to similar questions suggest a number of global options for fixing this; e.g. Forcing ...
18
votes
1answer
2k views

Multiple doi, url, and eprint entries in biblatex

I'm in the process of writing a biblatex style file to support the on-line journal Theory of Computing. The journal has been using BibTeX for years, and I am looking forward to the flexibility ...
20
votes
2answers
3k 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
628 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 ...
3
votes
2answers
122 views

When I include url on a line, it shows up left-justified instead of centered

If I use the url package and include a url on a line inside the centering environment, it shows up left-justified instead of centered. How can I make it centered? MWE: \documentclass{article} \...
1
vote
1answer
377 views

show urls only for webpages using bibtex and urlbst

I used urlbst package to modify a .bst file for URL inclusion. All worked good, but if I want the url only for the webpages, how should i modify the .bst? From what I read the response should be in ...
23
votes
8answers
18k 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, 10.1007/978-0-387-68772-...
1
vote
1answer
662 views

bibliography problem large spacing

@booklet{Ph4, author = {Panchenko, D.}, title = {Statistics for Applications / Gamma Distribution}, year = {2006}, url = {http://ocw.mit.edu/courses/mathematics/18-443-statistics-for-applications-fall-...
7
votes
1answer
1k views

Citing many long URLs (shortening and numbering)

In my thesis I have to quote a lot from a single weblog. The URLs are mostly of this structure: blogname.providername.com/stories/123456 blogname.providername.com/stories/some-random-text-taken-from-...
15
votes
1answer
1k 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 ...
2
votes
1answer
151 views

How to automatically trim a URL up to a certain length measured from the right?

Current condition A long URL makes a bad look as follows. \documentclass{article} \usepackage{xcolor,listings} \lstset { language={[LaTeX]TeX}, backgroundcolor=\color{yellow!50}, ...
1
vote
0answers
37 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} \...
6
votes
2answers
2k 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, bookmarks=true,bookmarksnumbered=true,...
5
votes
1answer
707 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://... }} ...
6
votes
1answer
2k views

Best practices for LaTeX code in org-mode-beamer (especially url links)

I'm using org-mode to produce beamer presentations. I'm having trouble figuring out the best way of including Latex snippets. As far as I can tell, there are two ways of signalling to org-mode to ...