{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
395 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
71 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
206 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 ...
10
votes
4answers
6k 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, ...
1
vote
1answer
287 views

bibliography problem large spacing

@booklet{Ph4, author = {Panchenko, D.}, title = {Statistics for Applications / Gamma Distribution}, year = {2006}, url = ...
7
votes
1answer
649 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 ...
15
votes
1answer
906 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
111 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
31 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
649 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, ...
5
votes
1answer
430 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
1k 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 ...
8
votes
2answers
505 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 ...
9
votes
1answer
276 views

Biblatex clear URL field for entries in a certain category

Can you please help me to process biblatex entries. I want to... Print separate bibliographies for online and offline entries Both @online entries and @misc entries with a url-field should go into ...
7
votes
1answer
615 views

How to include a # sign in a url using the \endnotes package

I am trying to include a URL in my Latex document which contains a pound sign, #, in it. If I run it without escaping the # sign, I get an error. If I escape it, then the escape character is ...
0
votes
1answer
132 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 ...
3
votes
2answers
4k views

Bibtex entry with URL

I want to cite some lecture notes in my thesis where the main and only source is a webpage (including some PDFs which are the lecture notes). I am using Bibtex. I tried @webpage, like: ...
2
votes
1answer
342 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} ...
10
votes
1answer
359 views

Suppress *some* URLs with biblatex nature.bbx class

I am using a Nature biblatex style with bibtex to typeset bibliography and would like to suppress URLs from appearing in the "paper" entry types (like books, journal articles and proceedings). If I ...
7
votes
2answers
300 views

How to insert invisible linebreaks in urls?

I'm using biblatex and I'm quoting a commit on github that looks like this: http://github.com/torvalds/linux/commit/693d92a1bbc9e42681c42ed190bd42b636ca876f The biblatex-entry looks like this, ...
1
vote
0answers
905 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 ...
9
votes
2answers
864 views

How to use multiple URLs for one bibtex reference?

I have used this BibTeX reference in my work @Misc{oai:CiteSeerPSU:562256, title = "Gerris: {A} Tree-Based Adaptive Solver For The Incompressible Euler Equations In Complex Geometries", ...
8
votes
2answers
323 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, ...
2
votes
1answer
3k views

Bibliography and URLs in references

The functions in the end are defined in my .bst file. What they do is, when I add the field webpage={http://xxx.xxx.xxx...../} to a bibitem, it displays at the end of the reference in the ...
1
vote
1answer
380 views

How to link references to url in bibliography?

I have BibTex citations taken from ADS which look like this: @ARTICLE{1996ApJ...462..672T, author = {{Tolstoy}, E. and {Saha}, A.}, title = "{The Interpretation of Color-Magnitude Diagrams ...
10
votes
2answers
946 views

How to break URLs when footnotes are on same line?

Question Footnotes on the same line revealed that it is a good idea to use \usepackage[para]{footmisc}. However, this does not seem to work with URLs: \documentclass{article} \usepackage{hyperref} ...
9
votes
1answer
5k 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} ...
2
votes
0answers
60 views

Inserting an image using an http URL [duplicate]

Possible Duplicate: Can I use an image located on the web in a LaTeX document? I am trying to re-use the same pandoc/markdown source file to generate both HTML and LaTeX source and PDF. Is ...
8
votes
2answers
854 views

Line overflow with long filenames and urls

Consider the following text. Here /etc/postgresql/8.4/main/pg_hba.confoverflows into the margin, and is hypenated. /var/lib/pgsql/data/pg_hba.conf is also hyphenated, but does not overflow. So, I was ...
22
votes
5answers
4k views

Why are URLs typeset with monospace fonts by default?

When typesetting URLs in LaTeX using the url package, they are set in a mono space font by default. While I just accepted that as a fact for a long time, I am now starting to wonder why? In Browsers, ...
2
votes
2answers
3k views

Display urls in the reference section

I want to know how I can display a url to a site as reference in LaTeX. I need to have them at the end so that I can cite them from the other pages.
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 ...
21
votes
5answers
2k 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 ...
6
votes
2answers
1k views

How to put the url centered under the caption of a figure?

I would like to put a source under the caption of my figure. The only thing that is not working is when I put the URL, the caption and the URL don't stay in the middle. Also \url{...} didn't work by ...
8
votes
1answer
3k views

Difference between pdf code produced by \href and \url

I am trying to use \href to link local video files to my LaTeX document. The problem is that while the \url command works fine, the \href command (used with "run:") does not. Case 1: The files do ...
13
votes
2answers
2k views

Two questions on biblatex: remove parentheses on urldate, and change “url” label

I have a couple of questions on biblatex. First: When I use the urldate field in a biblatex entry, I get as a result the following string (e.g.): . . . (visited on 01/02/2012). With ...
7
votes
1answer
407 views

How can I set the urlseen label of biblatex?

I'd like to set the default visited on <date> to accessed on <date> (as per my teacher's specifications). I believe I need to change the urlseen label to accomplish this. Is changing the ...
9
votes
1answer
3k views

Avoiding “\Url Error ->\url used in a moving argument.” in a custom environment

I have a document I'm trying to render using two classes -- my university's dissertation .cls, and tufte-latex (my uni's styleguide is ugly, and I want to make a pretty-print version for my own ...
10
votes
2answers
672 views

How to emulate \url hyphenating without using the url package?

I'm forced to avoid the url package in a proceedings paper (!) but my bibliography includes a long URL. I already \newcommand{\url}[1]{{\tttext{#1}}} but the URL spills over to the margin as it ...
1
vote
1answer
521 views

Last visited URL in apa style

I'm using the apa-good.bst file to typeset my bibliography in APA style. I need to include something like "Last visited..." (using the urldate variable) when I cite a webpage but I don't know how I ...
13
votes
2answers
4k views

Hyperref + \url: long URL with dashes won't break

I've discovered a rather weird behaviour of PdfLaTeX. In this example \documentclass{article} \usepackage[breaklinks]{hyperref} \begin{document} ...
3
votes
1answer
495 views

How do I turn titles into hyperlinks in verbose mode using BibLaTeX and hyperref?

I'm using hyperref and BibLaTeX's verbose style, and would like for bibliography entries and initial (but not subsequent) citations, instead of printing out a URL, to use the URL to make the titles of ...
5
votes
1answer
359 views

Selective URLs in bibliography using alpha or alphaurl

Is there a way to selectively adding URLs to bibliorgraphy elements? I use Mendeley and it automatically adds URLs to the DOI entries but I dont want these. I don't want to eliminate all URLs though, ...
8
votes
2answers
2k views

Flash animation and beamer

I want to have a flash file (.swf) in my beamer document on a Linux machine, using pdfLaTeX and Evince. Is there a way to make a link to that file which runs an external player or even better, is it ...
28
votes
3answers
2k views

biblatex: make title hyperlink to DOIs, URL or ISBN

This is a follow up question to biblatex: Make title hyperlink to doi url (if available). My reference database contains some DOI codes, but mainly normal URLs and some ISBN/ISSN codes. What I would ...
6
votes
2answers
532 views

How to make URL bold?

%url package \usepackage{url} %code that makes URL font the same \newcommand{\urlwofont}[1] { \urlstyle{same}\url{#1} } \begin{figure}[htbp] \centering \includegraphics[width=8cm, ...
3
votes
2answers
941 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?
11
votes
1answer
1k views

Breaking links and escaping characters in bibliographies with backlinks and ocgcolorlinks set

I have the following situation: I have to use the ocgcolorlinks option in hyperref, so that links are not broken. So I had the idea to set each char as a link with \href. After putting some code ...
3
votes
1answer
156 views

Trying to stop altering symbols in URLs

I am trying to create a bibliography and my main source of information are websites. The problem I'm having is when copying the URL into the bibliography, LaTeX doesn't like typesetting all the ...
2
votes
0answers
994 views

URLs with many special characters defined using \urldef [closed]

I am attempting to use an \urldef defined URL to print as a clickable link. But it's resulting in an error. So far I have this: \documentclass{article} \usepackage{hyperref} \usepackage{url} ...