Questions tagged [href]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
33 views

How to fix hyperlink spilling in tufte footnote when word wrapping?

I am using the tufte-book class and I noticed a weird behavior of the footnotes. Here is the setting, there is a line of text with a footnote on it and the last word wraps to the next line, then: If ...
0
votes
0answers
20 views

XeLaTeX Awesome CV - conditionally add hyperlink to title text

I'm using font-awesome package for icons in my resume I want to add hyperlinks to few titles, examaple Link to Job Experience Certificate will be included in text if the URL is provided What I tried ...
5
votes
3answers
205 views

Add hyphens to mobile number

I want to add my mobile number in a pdf line being generated using LaTeX how I want it to render: (+91) 7887-61x-xxx usage: \mobile{91}{788761xxxx} % Usage: \mobile{<countrycode><mobile ...
2
votes
1answer
26 views

How can I use section symbols '§' in urls with the url-package?

How do you create a url which includes a section symbol '§'? I'm trying to create a link to this following url using the url-package: https://lovdata.no/lov/1997-02-28-19/§20-20 Notice the section ...
1
vote
1answer
29 views

\href not breaking description

I am trying to use \href to display www.site.com but (without an http://) but include http:// in the actual link the output directs to when clicked. Long descriptions are running past the end of the ...
0
votes
1answer
47 views

Hide symbol for external link if the link is empty

I am creating a Resume and I am using a Latex template for it.There is a specific command defined for projects which has two parameters: name of the project and url of the project. It then prints the ...
1
vote
1answer
48 views

Can't get local file link in citation to work

Directory tree . ├── bibliography.bib ├── Makefile ├── reference │   └── test_reference.tex └── test.tex File Contents bibliography.bib @misc{ reference, title={Reference title}, author={...
0
votes
0answers
46 views

File ended while scanning use of \href

I am really new to LaTeX. I am using elsarticle document class, TeXstudio and BiBdesk to prepare my manuscript. I keep getting "File ended while scanning use of \href. ...FILE PATH/P001-bibtex}&...
0
votes
0answers
17 views

Include a html download attribute in a href link

Is there a way to supply a html "download" attribute to a URL, to instruct a browser to download the file instead of opening/playing it? I've got some very large video files linked using ...
0
votes
1answer
31 views

Using output from a substring (xstring) conditional within a url (href)

Unable to pass output from a substring conditional into a URL: MWE: \documentclass{memoir} \usepackage{xstring} \usepackage{hyperref} \newcommand{\substring}{% \IfSubStr{% Physics,% Chemistry,% ...
0
votes
1answer
56 views

How to add href{} to caption in figure environment

Can anyone tell me how to add href{} to \caption{} in figure environment? I keep getting TEX capacity exceeded error. My link in href{} contains underscore characters, escaping them doesn't help..
1
vote
1answer
45 views

xelatex, polyglossia, hyperref

Using the following code with the packages hyperref and polyglossia to insert a link into a xelatex document, the link is not clickable, while in other applications as for example the email program it ...
1
vote
1answer
103 views

Link to telephone number "tel:" doesn't work outside of LaTeX editor

I'm making my CV with Overleaf (as an article) and I'm trying to make the telephone number clickable using the tel: protocol. If I click on it in the pdf view inside of Overleaf, then Google Chrome ...
0
votes
1answer
29 views

Footer does not show up when including pdfs to document

I am trying to include a footer on each page that would link to the table of contents but this footer ("Contents") does not show up on pages where pdf is inserted. It shows up on pages with ...
1
vote
0answers
41 views

Beamer \href not working [closed]

I am having troubles getting the \href to work. Below is the MWE where I am trying to include in the caption of the table on one slide the hyperref to another slide. It looks clickable in the pdf ...
2
votes
2answers
89 views

Using \DTLfetch inside a \href

I'm trying to create a new command in LaTeX that creates a Google Map URL pointing to the coordinates associated with the place specified as a parameter in the called command (a sort of "table ...
1
vote
0answers
46 views

`\href`, `\hyperlink` and `\hyperref` [duplicate]

As per Mico's suggestion (and my indomitable curiosity), here is the question: What are the differences among \href, \hyperlink and \hyperref? \documentclass{article} \usepackage[hyphens,spaces,...
1
vote
1answer
65 views

Need not replaced Latex code in href url

In my document for making url to math search website I need to produce urls like this: https://website.xyz/search/?q=%24\frac{\pi r^2}{2}%24 I'm using pylatex and I see that it generates tex code as ...
1
vote
1answer
138 views

Accents in file path

I'm trying to link to a file in a folder named Códigos. My minimal code looks like this. \documentclass{article} \usepackage{hyperref} \begin{document} \href{run:./Códigos/test.c}{\...
1
vote
1answer
79 views

Fixing hbox overflow by breaking \href?

Similar to the URL problem: Forcing linebreaks in \url and URL latex linebreak My links do cause an hbox overflow. However, I have an \href with a local link. Can I force line breaks at any char there,...
0
votes
1answer
55 views

Modifying apalike3 to print DOI with \href

I am trying to modify apalike3.bst (see here) so that instead of printing the DOI number as a URL with hyperlink, it prints the actual DOI number but retains the hyperlink. The original DOI function ...
5
votes
2answers
1k views

\href: broken links due to URL-encoding hash sign (# => %23)

I am trying to use an \href linking to a web URL including an HTML anchor pointer. Hence I am using a hash sign (#) in the URL. For example to link the page https://github.com/latex3/hyperref#bug-...
1
vote
0answers
48 views

How to automatically link title and URL in BibTeX?

I am trying to figure out a way to automatically link a title and URL in BibTeX such that the title becomes a hyperlink to the webpage. Currently, my bibliography entries look like this: @article{ ...
1
vote
2answers
117 views

XeLaTeX href fails if accents in the link

This piece of code should create a document with a link to https://fr.wikipedia.org/wiki/Alignement_en_mémoire Instead of that the link goes to https://fr.wikipedia.org/wiki/Alignement_en_mémoire ...
1
vote
1answer
58 views

Beamer hyperref problem

I am using the hyperref package, and here is my code: \documentclass[12pt]{beamer} \usetheme{Boadilla} \usepackage{float} \usepackage{amsmath} \usepackage{pgfpages} \pgfpagesuselayout{resize to}[...
0
votes
1answer
174 views

! Missing insert. <inserted text> $ .... with \href{...}{...}

I have this in a document: \href{https://en.wikipedia.org/wiki/Something_(something)}{https://en.wikipedia.org/wiki/Something_\(something)} I get multiple errors like this: ! Missing $ inserted." ...
1
vote
0answers
817 views

Warning in Package hyperref: /PageLabels entry

I am getting this warning Package hyperref Warning: Rerun to get /PageLabels entry, when I use \href in res.cls. How can I eliminate the warning? Here is an example: \documentclass[line,margin,11pt]...
1
vote
1answer
104 views

Hyperlink each reference entry to its corresponding DOI with natbib

I am writting my Bachelor Thesis using Overleaf and I want to hyperlink each references to its corresponding DOI. I am using natibib package with the following commands. \documentclass[12pt]{report} ...
1
vote
1answer
79 views

Link with multiple # does not work properly

In a document I want to do a reference to a specific section of an online documentation. Here is the link: \documentclass{report} \usepackage{hyperref} \begin{document} \href{https://raytracing-...
1
vote
2answers
48 views

text display on hyperref package

I have following code in overleaf.com latex project %document class \usepackage[unicode]{hyperref} \begin{document} \href{http://www.cs.unc.edu/~tracker/media/pdf/SIGGRAPH2001_CoursePack_08.pdf} ...
2
votes
1answer
1k views

Difference between \href{xxx.pdf}{} and \href{run:xxx.pdf}{}

What are the differences between these two types of links? \href{xxx.pdf}{My PDF} \href{run:xxx.pdf}{run:My PDF} Both open the same file in Acrobat (but at different zoom levels?). However, in ...
0
votes
1answer
63 views

break an URL in \href command

I would like to break an URL in my source file, using the \href command as follows: \href{http://www.nature.com/authors/policies/ data/data-availability-statements-data-citations.pdf} {data ...
2
votes
0answers
58 views

Why do hashtags in \href not work? [duplicate]

\documentclass{article} \usepackage{hyperref} \begin{document} \url{http://mirror.ctan.org/info/latex2e-help-texinfo/latex2e.html#toc-Overview-of-LaTeX-1} \end{document} This code produces a ...
3
votes
1answer
69 views

How to use \href command with \StrSubstitute?

I am facing difficulty to get the outputs First i want to replace a character "_" in the email id called ab_c@email.com for which i used \StrSubstitute{#1}{_}{\textunderscore} and second to get ...
2
votes
1answer
78 views

Using \href with with argument from a list

I would like to define a command that takes an input, passes through a list to generate another variable and then is fed to \href to give a link. As in the following example: \documentclass[11pt, ...
0
votes
0answers
119 views

\href{url}{text} doesn't open the url in new browser

I have tried to create an url with a text, such that when you click the text, a new browser loads that url. The solution that was offered on this site was the following \href{www.urllink.com}{some ...
2
votes
0answers
264 views

make href in Latex change color when hover above text

Does anyone know how to make a link change color when hover above it in Latex? For example, I have welcome to \href{https://www.google.com}{Google} I want it to appear like normal text (does not have ...
0
votes
2answers
80 views

Creating bracket-enclosed, colored, hyperlinked text

How do I surround a hyperlink with square brackets using \href? I want something like [Link] with square brackets, in black and "Link" in blue (my default hyper-link color).
0
votes
0answers
76 views

Havard and hyperref do not like each other

A journal has indicated that submissions can use the harvard bibliography style. But it appears that the harvard style does not play well with hyperref or bookmarks (and maybe other packages that ...
1
vote
0answers
81 views

href keyboard shortcut

I am using the href package within a beamer presentation to run a videofile in VLC player. Instead of having some "clickable item" in the pdf (a button, image, or text), I would like to run the video (...
0
votes
1answer
722 views

Skype link in modercv

I am writing my CV using the moderncv package. I tried to add a Skype call link by using the command \href{skype:frantisekdracek?call}{skype} However, when I try to open this link, it opens the ...
1
vote
0answers
633 views

Hyperlink at Beamer for external files

I need to do hypperlink to external file to hyppertarget in it . is it possible to do this ? I read about href and url ,but I didn`t find info about this . Tex file with hyppertarget will be placed in ...
0
votes
0answers
57 views

Paired documents where one scrolls the other

Goal: I am writing a report that makes extensive reference to a companion document of (large) tables. I'd like to make it as easy as possible for my reader to reference the tables, without ...
5
votes
3answers
267 views

Macro expansion inside \href

I want to make a shortcut for \href{tel:0123456789}{01\,23\,45\,67\,89} I can use \StrSubstitute from the xstring package as \StrSubstitute{01 23 45 67 89}{ }{\,} inside the second argument to ...
0
votes
0answers
296 views

Weird font awesome rendering when used in hyperlink

When I add a \href to a fontawesome icon, it becomes very distorted. It works fine without it. For example, \documentclass[]{awesome-cv} \usepackage{textcomp} \href{url_here}{\faGithub} \begin{...
1
vote
1answer
1k views

Hyperref in BibTex and the JHEP Style for the Bibliography

I would like to attach a link to the name of an article (which doesn't have a DOI) in BibTex. I am using the JHEP style for the bibliography. However, the command \href{}{} does not work in the BibTeX ...
3
votes
3answers
157 views

what .bib files do for bibtex, is there something for \href?

I wasn't even sure how to formulate this question, nor the appropriate tags, so there may be some editing or even deletion if this is a stupid question... But I think it is a feature that people would ...
3
votes
1answer
576 views

create a hyperlink by using the url stored in the bibliography reference?

im wondering if i can create a hyperlink that automaticaly uses the bib file stored tag 'url' somehow? Just to prevent mistakes in linking to a reference and to a websource in the same text like: mwe:...
2
votes
1answer
93 views

Nesting Nightmares

I am trying to place this in my document Of course, if you have access to wolframalpha you can do this: \href{https://www.wolframalpha.com/input/?i=interpolatingpolynomial%7B%7Bx_0,y_0%7D,%7Bx_1,y_1%...
5
votes
2answers
360 views

Why do all of my hyperrefs take me to the same page?

I can't reproduce this in miniature outside of my document, so I'm asking more debugging help on how I can fix it within the document I have. The problem is, I have a section with something like: ...