{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
182 views

How to reference websites / programming languages ? [duplicate]

Possible Duplicate: How can I use BibTeX to cite a web page? Hi I want to reference in bibtex the Python Programming Language Using: @MISC{Python, title = "The Python Language", url ...
10
votes
1answer
2k views

Url with fragments in bold

I need to write document containing a lot of URLs but some fragments of these URLs have to be in bold. How can I accomplished this? For urls I use \nolinkurl but I can't use \bf in it.
19
votes
1answer
3k views

Getting percent sign into an URL in a footnote

I'm using the url package. Now, I have some some url with a percent sign in it and want to place it in a footnote. When I let the % where it is, I get a comment, and the whole thing fails to compile ...
2
votes
1answer
339 views

Include source text from URI (e.g., Wikipedia)

Background Wikipedia content is reasonably current and free to use. Consider the tabular content at: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java Problem Copying ...
3
votes
2answers
4k views

How to make my own reference for some arbitrary weblink

How could I make my own reference (bibtex or other) to some arbitrary weblink like http://www.inf.ed.ac.uk/teaching/courses/anlp/slides/anlp13.pdf so that it appears under the 'References' of the PDF ...
9
votes
3answers
583 views

Hyperref using the wrong language script for \url?

In a mixed language document, I try to use a URL. Here is minimal input demonstrating \documentclass{article} % compile with xelatex \usepackage{hyperref} \usepackage{polyglossia} ...
10
votes
2answers
4k views

moderncv : \homepage - can't handle a tilde

I'm using the latest version of moderncv from CTAN. When I set : \homepage {homepage: my.homepage.url/~username/} The tilde doesn't show up. So I tried: \usepackage{textcomp} \homepage {homepage: ...
21
votes
1answer
6k views

Underfull \hbox in bibliography

I am getting lots of "Underfull \hbox" warnings that point to the *.bbl file. It looks like these messages appear only when URLs are very long, like in the below example: @techreport{nistguidesec, ...
22
votes
1answer
14k views

URL with tilde character?

I'm trying to make a URL with a tilde character (~) in it: \usepackage{url} ... \url{http://lyle.smu.edu/~tspell/jaws} It looks right in the resulting PDF, but when clicking on it the browser goes ...
6
votes
6answers
4k views

How to avoid link higlighting when using package hyperref?

I'd like to include some http links in my document. So i Included the hyperref package so that i can use the command \url{} Microsoft Surface\footnote{\url{http://www.microsoft.com/surface}} This ...
6
votes
1answer
4k views

URLs break compilation

Just as a preamble, I use MikTex 2.8, the latest TeXworks for Windows, the natbib, hyperref, and pdftex packages, JabRef to manage my citations, and the pdfLatex option in TeXworks for compilation. ...
5
votes
1answer
4k views

hyperref url breaking

References: Forcing linebreaks in \url So, in a plain document with \usepackage{url} \begin{document} You can find this at \url{very-long-url}. \end{document} the URL will be broken down, e.g. ...
1
vote
2answers
7k views

Reference to URL not showing up [duplicate]

Possible Duplicate: URL of cited web site in bibliography I want this reference to a URL to show up, but it doesn't. This is how I add the entry in the bib file. I've also tried it as ...
3
votes
3answers
433 views

Expand directory names using nested macro definitions

Background Would like to use values from macros that reference other macros (n-levels deep) and apply their values to the \path command. Problem (Scenario A) The following works: \usepackage{url} ...
10
votes
2answers
2k views

Obey spaces with URL package (path command)

Background Using the \path command from the URL package to mark-up directory paths. Some of the paths have spaces. Problem The preamble is set to: \usepackage{algorithm} \usepackage{booktabs} % ...
7
votes
2answers
636 views

Using \nameref within \path

Background Looking to apply a consistent style to file and directory names. The book's appendix has a subsection for every file referenced by the book. Every subsection has a label whose value is ...
13
votes
3answers
909 views

Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Background A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this. Recently, a question was ...
2
votes
3answers
295 views

How to generate this symbol~ in pdf using latex [duplicate]

Possible Duplicate: URL with tilde character? How to generate this line in pdf using latex. http://www.google.com/~find/ How can I create ~find in latex. I tried \~\ find which ...
7
votes
5answers
837 views

How does one automatically escape a sequence of text, like “verbatim” but without the formatting?

I want to escape TeX codes on a range of text; this is for a macro providing slightly neater URL formatting. The code I have now is, \newcommand{\serifurl}[2]{\textsf{\href{#1://#2}{#2}}} where the ...
22
votes
4answers
2k views

Redundancy in bib file: conditionally suppress url if same as doi?

Mathscinet gives bibtex entries with both a doi and a url field included. Typically they look something like @article {some-article, […] DOI = {10.1016/j.apal.2008.12.003}, URL = ...
19
votes
2answers
7k views

How to deal with bibliography items containing long URLs?

A picture is worth a thousand macros: I don't blame LaTeX for having difficulty in formatting this entry. What can I do, however, to alleviate the effects and avoid the Word-like indentation? A ...
2
votes
1answer
2k views

How to cite a URL in LaTeX? [duplicate]

Possible Duplicate: How can I use BibTeX to cite a web page? What is the standard method for citing a URL in LaTeX and having it in the bibliography?
36
votes
2answers
18k 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?
70
votes
9answers
27k 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 ...
18
votes
2answers
5k views

What is a good font for URLs to go with Palatino for the main text?

I'm looking for a nice font to use for my \url{...}s that goes well with Palatino. Courier does not look good at all. It's much too light. Helvetica (scaled .92) looks pretty good, but the ~ looks ...
9
votes
2answers
381 views

url in Bibliography without period at the end

I'm compiling a document with the essentially the following bib entry: @misc{name, title = {Title of Web Page}, howpublished = {\url{http://somethinghere.com}} } It compiles fine, but a ...
15
votes
1answer
5k views

Typeset URL in a non-typewriter font

I use \usepackage{url} and \url{…} to typeset URLs, but the typewriter font stands out a little too much. How can I have the URLs typeset in a different font?
101
votes
6answers
124k views

How to add a URL to a LaTeX bibtex file?

I'm using bibtex for my bibliography in LaTeX. I have some URL's I need to cite in the paper. How do I add URLs into the .bib file? A typical section in my .bib file looks like this: ...