{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

4
votes
1answer
22 views

Hack of .bst to add urldate in @misc in BibTex with natbib

Trying to add urldate to my bst-file. I have the entry as: ENTRY { address ... url urldate ... year } With the two functions defining url and urldate: FUNCTION ...
0
votes
0answers
8 views

Underfull \hbox in the bibliography (badness 1824) in lines 114--114

I'm using Sharelatex and got the overfull \hbox command referring to my bibliography. The line referred to is: "\bibstyle{numeric}" \sloppy \nocite{*} \printbibliography \bibstyle{numeric} ...
1
vote
0answers
39 views

Url in reference clickable but with link truncated [duplicate]

I have a problem with a references using BibTeX and IEEEbib. In my bibliography file (in the subfolder bib) there is this a reference with howpublished that produce this output: ...
1
vote
1answer
27 views

url in hyperref with local destination? [closed]

Using the hyperrefpackage in the xelatexenvironment, the external url="..." generated lead to a local address. With doi="..." it's not a problem at all. Any ideas how to solve this? ...
0
votes
1answer
20 views

What BibTeX style generates inline refs like [1] AND displays URL in the references list?

All the styles I tested either: Display [Author (Year)] inline, and with URL in the ref list; or Display [1] inline, but no URL in the ref list. Is there a style that displayes [1] inline AND ...
1
vote
0answers
33 views

Problem with URLs in bibtex file when using new Thesis class/template

I am using a thesis template for my thesis write up using Lyx interface. For my bibliography, I use JabRef manager to produce .bib file. It works fine except for the entries which have URL values, ...
0
votes
0answers
23 views

how to reduce a gap between words in a title of bibliography and a dot over the bibliography numbering

I am writing a scientific paper using IEEE journal Latex template \documentclass{IEEEtran} \usepackage{comment} \usepackage{color} \usepackage{float} \usepackage{graphicx} \usepackage{ulem} ...
3
votes
1answer
54 views

Line-breaking unformatted URLs that contain no hyphens

Minimal example: \documentclass{article} \begin{document} https://path.to.really.long/url/that/contains/no/dashes/but/instead/a/whole/lot/of/forward/slashes/which/makes/it/exceed/the/page/width ...
1
vote
1answer
23 views

What is the keyboard shortcut for inserting URLs in LyX?

I've looked through the keyboard shortcut documentation, and none of it shows an easy way to create a URL inset in LyX. I know that one can theoretically add a function in preferences, but every time ...
4
votes
1answer
53 views

Unwanted behavior of Chinese punctuation mark getting incorporated into the URL right before it

Minimal working example: % !TeX program = XeLaTeX \documentclass[12pt]{article} \usepackage{xeCJK} \setCJKmainfont{標楷體} \begin{document} 網址:http://www.google.com/。 \end{document} When I open the ...
2
votes
1answer
86 views

No bibtex style file for clickable links without displaying the url explicitly?

Having the same problem as bibtex - how to have a web link without the url (ideally to have a link on the number), I am wondering: Is there really no freely accessible bibtex style (so as I do not ...
0
votes
0answers
63 views

URL hyphenation

I need to hyphenate an URL —I'm the using \url{ } command)—. I've found that one solution is to add the hyphen option to the url package. I've added it but the compilation doesn't work. I get the ...
4
votes
1answer
46 views

Links is it possible to show alternate text when the pdf is printed?

I want to have an electronic pdf version that says: See the game Guillotine (video). But in the printed version it should just say: See the game Guillotine. Is this type of behavior ...
1
vote
1answer
56 views

Special character in \url

I am stuck with a problem of a url to some website I try to put a link to. The URL is: http://pl.wikipedia.org/wiki/Prawo_Lewisa-Mogridge’a and Latex have an issue with the ’ symbol. I put it the ...
0
votes
0answers
39 views

Bibtex entry without author starts with : when using lncs bibliography style

I have a reference without an author: @misc{abcd, title = {{The abcd Project}}, howpublished = "\url{http://abcd.org/}", note = "[Online; accessed 21-January-2015]" } In lncs format, the ...
2
votes
2answers
56 views

How to show URLs in a bibliography as (hyperlinked) stubs?

\label{References} \renewcommand{\bibname}{References} \lhead{\emph{References}} \bibliographystyle{abbrvnat} \bibliography{Bibliography} I want to have all urls in my references list to be ...
0
votes
0answers
36 views

Break a URL before dots for BibLaTeX entries

I'm using BibLaTeX to generate the bibliography. Some of the entries contain very long URLs that need to be broken into two or more lines. The output I'm receiving is something like "Amazing ...
0
votes
0answers
19 views

Long url is not wrapped [duplicate]

In my report I have a long url in my bibliography section. it is not formatted as the other references. I followed this and this articles for that. But I cannot solve my issue. I am using LyX This is ...
2
votes
1answer
85 views

How do I ensure that linebreaks in URLs occur at the right position? [closed]

I am writing my survey report using LyX. In my bibliography section, there is unusual behavior in my pdf. One reference breaks the margin. This is the issue You can see that one line is out of ...
4
votes
1answer
58 views

Is it possible to redefine \url in such a way that it works without or with http

This question is related to the question How to avoid the "http:" part in hyperref's \url? and the solutions http://tex.stackexchange.com/a/139934/39306 and ...
0
votes
0answers
27 views

XeLaTeX and MiKTeX url package problems [duplicate]

I have experienced this problem every single time I have tried to compile using XeLaTeX with MiKTeX 2.9 on my windows 7 64-bit machine. I haven't been able to find a solution to my problem anywhere so ...
0
votes
1answer
57 views

suppressing URLs in footnotes but not bibliography

I am using Biber and the verbose IBID style setting to generate my footnotes. Here is my bibliography settings \usepackage[citestyle=verbose-ibid, bibstyle=authoryear, backend=biber, ...
1
vote
1answer
85 views

LyX, classicthesis, Mendeley: Citing a web page

I use Mendeley to organize my Literature and to build the .bib file. I also use LyX and the classicthesis template to write my Master's Thesis. Now I want to reference a web page. Using apalike as ...
4
votes
0answers
50 views

How to produce bibliography hyperlinking journal title with url?

BibTeX exported from scientific journals usually have all the informations you need to cite them; one of them is the url. For saving space i would prefer to hyperlink the name of the journal rather ...
1
vote
1answer
55 views

Dollar sign (\$) dysfunctional in hyperref's \url{}

When escaping the dollar sign inside a \url{} command, as shown in my MWE, the following is displayed. (Below is what I am expecting). \documentclass[a4paper]{article} \usepackage[T1]{fontenc} ...
1
vote
0answers
89 views

Spaces are not formatted correctly in url paths when using sphinx package and reStructuredText

I have a problem similar to the one in: Obey spaces with URL package (path command). The obeyspaces option is not working within the pgfplots table column. However, my problem is slightly different ...
6
votes
1answer
75 views

Why hyperref's \url may be used in preamble within a macro but not within a box?

The following MWE, where a macro involving hyperref's \url is defined in the preamble, works like a charm: \documentclass{article} \usepackage{hyperref} % ...
3
votes
1answer
47 views

% sign into URL in a footnote

Further to Caramdir's (User 3872) 2011 question; I have a similar MWE as in that question, hence: \documentclass{book} \usepackage{hyperref} \usepackage{url} ...
4
votes
2answers
189 views

Add some vertical text on the margin of document?

I like to put url in the left/right margin and align it vertically like arXiv (see figure below). Here is a MWE: \documentclass[10pt,a4paper]{article} \usepackage{lipsum} ...
6
votes
1answer
133 views

Is it possible to make a reference clickable without showing its DOI or URL field?

I'm using biblatex with the following options \usepackage[backend=biber,style=numeric-comp,sorting=none,% isbn=false,url=false,doi=false,firstinits=true]{biblatex} Thus, my bibliography ...
2
votes
1answer
37 views

Open reference to long directories paths

I am trying to link to a directory while being in a tabular environment. The path of the directory usually is pretty long and should linebreak at the boarders of the table. Additionally it would be ...
1
vote
2answers
180 views

hyperref URL using BibTeX

I am trying to hyperrefan URL using class scrartcl, Bibtex, package natbib and bibliography style authordate1. The paper is characterised as @article in the .bibfile and as the URL entry is not used ...
12
votes
3answers
278 views

Test the hyperlinks of a pdf document [closed]

Is there any way to test the hyperlinks of a pdf file ? Suppose I have a pdf file containing a large number of hyperlinks, can I test automatically the response I will have when following those links ...
1
vote
2answers
251 views

Changing URL colors in headline / footline of beamer template

Problem: I need to have URLs via \href{}{} be colored in blue text in the presentation. However, using \hypersetup{colorlinks=true,linkcolor = blue} changes the text in the section, subsection text ...
3
votes
1answer
81 views

How to modify Bibtex URL tags in Latex?

I want to cut the URL tags defined in a Bibtex file. For example I want to crop the prefix "mailto:" so that it won't be shown. But the hyperlink still has to contain it. The following command does ...
2
votes
3answers
132 views

How to get \url{} and \href{} displayed identically [duplicate]

I would like the output of \url{} and \href{} displayed identically. I have changed the color for both to be blue, but it appears as if a different for is being used as well: Code: ...
4
votes
1answer
76 views

ConTeXt: Macro within macro for URLs

Background Would like to define a base URL that can be reused by other macros. Problem Using the \goto macro requires a fully expanded URL. Minimum Working Example Here's code that illustrates ...
4
votes
0answers
144 views

ConTeXt: Use url parameter to hyperlink bibliography title references

Background A technical design document includes a number of citations. It would be convenient to include hyperlinks to the cited documents in the bibliography. The bibtex entries include articles, ...
3
votes
1answer
40 views

How to properly expand an argument to the \url or \path macro?

In the following MSE: \documentclass{article} \usepackage{url} \newcommand{\rootDir}{\$ROOTDIR} \newcommand{\myDir}{my/dir} \newcommand{\makeFilePaths}[3]{% ...
1
vote
3answers
629 views

Make hyperref links open in new browser window for easier navigation

I edit a newsletter using LaTeX and I find hyperref very limiting. I'm using hyperref with only one argument: hidelinks. If I click on a \url link in the newsletter the URL opens in the same window, ...
3
votes
1answer
67 views

problem with urlstyle being overriden by apacite

I am using \usepackage{hyperref} and \urlstyle{rm} to produce urls in roman font in my documents. However, when I also include \usepackage{apacite} the font is no longer roman, but typewriter for the ...
2
votes
1answer
83 views

How to use UNC path

I struggle a bit with UNC paths in latex. My paths looks something like \\server\folder\folder I found this. Which recommends to change \ to /. Thats not really a solution. I put the path in ...
0
votes
1answer
172 views

Inserting YouTube link in modern CV

RE: Modern CV contact info - YouTube channel link Hi, I've tried repeatedly to include a link, in the upper-right-hand corner where my contact information is located a YouTube link to my channel, ...
4
votes
0answers
78 views

Make hyperlinks clickable in a DVI converted to PDF

I have a legacy system that "generates" documentation for one of our systems. The resulting DVI file is then converted to PDF using dvipdfm. The DVI contains URLs, but those aren't clickable in the ...
5
votes
2answers
201 views

How can I prevent URLs from being clickable?

I want to stop every URL in my document from being clickable in the resulting PDF. I am using the url package, and the documentation claims that it "does not make hyper-links." So, I don't know why ...
4
votes
1answer
143 views

Linebreak in url

I'm using the apacite package and I'm trying in bibtex to supress the url if the doi is available. I found an answer in the posting apacite: how to suppress url if doi is avalable? It is exacty what ...
6
votes
1answer
75 views

Keeping URLs clickable while decorating?

I want URLs in the rendered PDF to appear as follows: <http://website/blah> I have declared the URLS in my document using the 'url' package, in the form: \url{https://tex.stackexchange.com/} ...
5
votes
1answer
78 views

url at the end of description

I would like to add an url at the end of each description. \documentclass[12pt,BCOR=15mm]{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} ...
3
votes
1answer
136 views

How to right-justify URLs inside a table?

I have a table containing a URL, and I want the URL to break so that the URL is right-justified along with the other text. In my example below you can see that the last few lines are not ...
1
vote
0answers
56 views

How to put URL in bibtex bibliography

I'm having trouble to correctly finish my bibliography. In the website's region, I cannot place the url correctly. Can anyone help me out? I've search some questions, but I wasn't able to get the ...