Questions tagged [href]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
50 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-...
0
votes
0answers
33 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
80 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
31 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
76 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
74 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]...
0
votes
1answer
38 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
34 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
31 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
54 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 ...
0
votes
0answers
34 views

percentage symbol in url

I have this uyrl that I want tu put as link but it has % symbol and Latex recognize as comment. \href{URL}{http://www.granma.cu/file/pdf/gaceta/Conceptualizaci\%C3\%B3n del modelo economico social ...
2
votes
0answers
55 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 ...
0
votes
0answers
43 views

Is it possible to use an email address using \href?

I would like to use \href to send an email but also include a second email address that is to be cc'd. Is it possible to modify the following latex code to include a cc'd email address? \href{mailto:...
2
votes
1answer
33 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 ...
1
vote
1answer
34 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
34 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
66 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
66 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
56 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
53 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
0answers
369 views

skype link in modercv

I am writing cv using moderncv package. I tried to add skype call link by using command \href{skype:frantisekdracek?call}{skype} However, when I try to open this link, it opens directory path: file:/...
1
vote
0answers
276 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
42 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
188 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
119 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{...
0
votes
1answer
532 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
127 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
291 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
83 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
307 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: ...
1
vote
1answer
50 views

how to use \href or \ref for creating a link within the document

I would like that when I click the word 'universe' in the following MWE, it takes me to Fig of duck. How can that be done? \documentclass[]{report} \usepackage[]{graphicx} \usepackage{chngcntr} ...
1
vote
1answer
63 views

How to give \href's different options without macros or global defaults?

I am trying to have the two \href in the code below behave with different options without having to invoke macros or global defaults. \documentclass{article} \usepackage{hyperref} \begin{document} ...
1
vote
1answer
52 views

Is it possible to jump to the image with href while not using captions?

I am using various figures throughout my documents without captions. In order to reference them I use the command \refstepcounter{figure} before labelling them with \label{fig:label}. However, when I ...
0
votes
1answer
296 views

Add \href in \subsection{} make the url become capital

I add \href in \subsection{}, this make the url become all capital, how can I deal with this? For example, I use \subsection{\href{http://finance.sina.com.cn/roll/2018-06-30/doc-iheqpwqz3115534.shtml}...
1
vote
1answer
63 views

\thepage printing previous page number

I am trying to put a clickable icon beside my subsection so that the reader can click on it to visit the url related to that subsection. This url contains the page number, the subsection number, and ...
2
votes
1answer
43 views

linking pdf file in beamer latex without switch off first document slide [duplicate]

I use \href to link my pdf file in my presentation. The problem is, it change my first document slide to the linked pdf. So, i have to reopen my slide again to continue my presentation. How can I make ...
3
votes
1answer
160 views

citefield inside of href [duplicate]

I have a special field in my bibliography, called adsurl, and I would like to display this url in my file as a link. However, when I try this, href throws a very weird error. It enters some sort of ...