{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

1
vote
1answer
172 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
28 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
2k 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
289 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
224 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
337 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
162 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
151 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
556 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
188 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 ...
4
votes
1answer
228 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
301 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
22 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
403 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} ...
25
votes
2answers
549 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
24 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
934 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 ...
4
votes
3answers
213 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
288 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 ...
4
votes
2answers
140 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
269 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
686 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
161 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
66 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
6k 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. ...
13
votes
1answer
347 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
426 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
803 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
1k 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 ...
4
votes
2answers
352 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} ...
5
votes
1answer
530 views

\urlstyle{same} with apacite

I use apacite to create a bibliography according to APA guidelines for my article. Some of the references contain URLs. By default, LaTeX shows these in a different, monospace font than the rest of ...
0
votes
1answer
671 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
363 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} ...
7
votes
3answers
525 views

Using variables in a command results in ! Argument of \reserved@a has an extra }

I want to define a command, which separates a string an later adds a different \href to the first part, than to the second (e.g. \qname{foaf:Person}). But the code as I have it doesn't work, I get ! ...
4
votes
2answers
194 views

Unwanted extra spaces are included before and after backslashes in biblatex URL

I have a biblatex reference with a URL field. However, every backslash is surrounded by spaces. I am using \usepackage[sorting=nyt, citestyle=authoryear, bibstyle=authoryear, isbn=false, ...
5
votes
1answer
169 views

Not allowing hyphenation of urls in references

Is there a way to globally turn off hyphenation of links in bibliography? Current state doesn't please me: Minmal working example: \documentclass[12pt,a4paper,oneside]{report} \usepackage{url} ...
5
votes
1answer
127 views

Trying to suppress URLs with BibLaTeX, using a simple person's method

Based on other questions here, I'm trying to create an annotated bibliography, using \fullcite, where I want to suppress all URLs. I'm using what appears to be a simple solution, which works for a ...
5
votes
1answer
63 views

Spaces in references

I have the following reference : @misc{pcons, author = {Energy.Gov}, title = {{Estimating Appliance and Home Electronic Energy Use}}, Howpublished = ...
3
votes
2answers
1k views

Problem while using bibtex reference of a url

@online{senfus, title={article name}, url= {https://m**.s*/U****d/Om%20MPB/F****g/Kxyzy.pdf}, } While citing this reference, I am getting following error because of the term "%" in the url. ...
1
vote
1answer
532 views

Insert a url in a footnote [duplicate]

I would like to insert a url in a footnote but that isn't working. I use the following code : \documentclass[a4paper,11pt,final]{article} \usepackage{color} ...
6
votes
2answers
3k views

How to add “date accessed” or “date retrieved” in BibLaTeX? [duplicate]

I have the following in .bib file: @online{solarfarm, author = {Buckley, Alastair and nee Hall, Lisa Clark and {Colantuono, Giuseppe Everard}, Aldous}, file = ...
4
votes
1answer
453 views

Biblatex: Adding time information to “online” field and a label in front of url

I am trying to add some "time" information to my online-fields in biblatex. I tried to use the note entry, but that won't work as intended. Right now I got the following: \documentclass[a4paper, ...
6
votes
2answers
95 views

textrm is not displaying certain characters

I am trying to make a web URL display in my document: \documentclass{article} \begin{document} \subsection{test} \label{sec:test} [0] "test" $\emph{test}$. test, test. ...
3
votes
2answers
145 views

tilde in a url in the address portion of a letter

I am trying to include my website address in the address block of a letter. My webaddress has a tilde character, and my usual solution, $\sim$, to the tilde formatting problem is not working. The ...
2
votes
1answer
136 views

How to stop Latex from inserting $ in my URLs? [duplicate]

When I type this \footnote{ http://www.cems.uvm.edu/~tlakoba/math337/notes_12.pdf. Page 3.} LaTeX inputs $ $ in for me when I do not want them. How can I stop this from happening?
5
votes
1answer
2k views

Font size of \url in footnote

I use this \renewcommand{\UrlFont}{\normalsize} for make the fontsize smaller. I will like to make somthing similar for making only the \url smaller and only when it is used in a footnote. Text in ...
4
votes
2answers
404 views

How to add url to footer in Beamer

I'm new to LaTeX and am having trouble adding a url to the footer. I currently have this: \documentclass[]{beamer} \usepackage{beamerthemebars} \title{Title} \author{Author} ...
3
votes
1answer
302 views

References are printed with spaces between them?

Is it possible to better format this so that I can remove the huge spaces between words? Code used: \bibliographystyle{abbrv} \bibliography{library} Code in .bib library: @misc{marsrover, ...
4
votes
1answer
96 views

\url wrapping extends into marginal notes space

This is a slightly odd one. I've been trying to get \url{} blocks to wrap really long URLs, and the only thing that seemed to work was to renew the \UrlBreaks command to allow breaking on practically ...