Questions tagged [links]

{links} is specifically about dealing with hyperlinks. If your question is generally about {urls} or about the {hyperref} package, use the respective tag instead.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Read link from external text file and include into hyperlinked image

I would like to incorporate a link into a picture using \href. The links are stored in text files. The .tex file should be able to read form those text files (i.e. 1.text) and generate that clickable ...
4
votes
1answer
49 views

How to add externally stored link text into a hyperlink?

I have a bunch of links which are individually stored in text files. I would like to create a LaTeX document in which those files are accessed using relative paths and the link included into the final ...
1
vote
1answer
61 views

Link map from referenced theorems in my document

I am writing a latex document full of hyperlinks pointing to various areas of the document itself (I am using \nameref to reference theorems). I have a questions regarding these: is it possible to ...
0
votes
1answer
24 views

How to create a new command in a template to replace often used URLs

I'm looking to create a new command in my LaTeX template where I can define a long url, so that if that URL changes, I can change it in one place rather than every place it appears. It would also make ...
0
votes
1answer
29 views

How to force hyperlinks refer to a piece of text and not the corresponding section in table of contents?

I have a LaTeX document in which I used "hyperref" package for creating links between different parts of my document. The links are from a word to some piece of text in another section. I use the "...
3
votes
1answer
39 views

tex4ht: including section/subsection number in toc link

I'm producing a document using tex4ht, and I would like to have the section and subsection numbers within the links in the TOCs, both main and mini. For the main TOC, the following strategy works: \...
0
votes
0answers
32 views

Link text and figures including subplots

I have a figure with many subplots created and labeled in Matlab. In the text of the tex file, I need to refer to each subplot separately e.g. 1a) 1b)..., nevertheless I can obviously link only the ...
0
votes
0answers
20 views

How can I get a ToC to show colored rectangles when clicked upon them?

The situation I've done a simple ToC: When you click it, it redirects to the page, and shows a blue rectangle: The issue I don't know why this happens. I have currently two windows opened in ...
0
votes
1answer
24 views

Broken links to appendix with jmlr2e.sty package

I am writing a LaTex document using the jmlr2e.sty package. In the main text I want to refer to the Appendix using links. On the pdf when I click on the links they redirect me to the current section ...
0
votes
0answers
24 views

user defined URL style will not break onto the next line like in \url hyperref

I am trying to get a URL link to break like when you use \url but I have defined my own as I wanted it to be underlined in a specific way but now it will not match the text width. This is my code: %...
0
votes
3answers
105 views

How to take out all links from a pdf, but keep their color?

I need to change my long physics book pdf file for printing. (The downloadable pdf with clickable links and embedded films will remain available and free.) The printer asked to take out all links from ...
0
votes
1answer
34 views

Correcting the hyperlink anchors of (sub)equations with custom tags

In this example: \documentclass{article} \usepackage{amsmath} \usepackage{hyperref} % https://tex.stackexchange.com/a/412381: \makeatletter \newcommand{\linkdest}[1]{\Hy@raisedlink{\hypertarget{#1}{...
3
votes
2answers
55 views

Hyphenate URLs in paragraphs while maintaining an underline link

Problem: I wish to break or hyphenate links in paragraphs while maintaining an underline link. Minimal Working Example (MWE): \documentclass{article} \usepackage{lipsum} \usepackage[utf8]{inputenc} ...
0
votes
0answers
19 views

How can I provide the link to the glossaries only the first occurrence of an entry in each section (or subsection)?

My question is very similar to Latex glossaries: Hyperref/Link only the first occurance of an entry in each section?. However, none of the solutions solve my problem. I need the solution to work for ...
3
votes
1answer
97 views

Link to Open local Mathematica file in Latex

I know that one can use href or url to create links to open webpages, is there a way to insert a link to open a notebook file (mathematica?) i have it in the local folder but I cannot seem to get it ...
0
votes
1answer
25 views

How to list portion of subsections

Right now I have a list of questions which I labeled. \documentclass[10pt]{article} \usepackage[hidelinks]{hyperref} \usepackage{enumitem} \begin{document} \newpage \section{Project} ...
3
votes
1answer
141 views

PDF view changes from 100% to 71% after clicking on link to page

Starting PDF view is as follows: \usepackage{hyperref} \hypersetup{pdfstartview={XYZ null null 1.0}} \hypersetup{pdfremotestartview={XYZ null null 1.0}} \hypersetup{pdfview={XYZ null null 1.0}} I ...
0
votes
1answer
34 views

Link in table of content not as big as section header if it extends more than one line

I have the problem that the links in the table of content are not properly displayed. If the entry does not exceed one row everything is ok. If it is two rows long there is no link at all and if it is ...
2
votes
1answer
117 views

Breaklinks for reference citation are not working in hypdvips

There are reference citation entries that span more than one line. Since I compile with LaTeX -> PS -> PDF, the links created by hyperref are not correctly displayed in the output file (pdf). To fix ...
0
votes
0answers
51 views

LaTex: Table of Contents entry number 1 referring to Title Page instead of the actual page

In Table of Contents, first entry is Declaration numbered Roman one (i). But when I click on Declaration it refers back to Title Page even though there isn't a page number. The page number starts from ...
1
vote
1answer
78 views

Link does not work with endnotes and hyperref.sty

My code mwe.tex is: \documentclass{book} \usepackage{ragged2e}% \usepackage[pdftex,bookmarks=false,bookmarksopen=false,colorlinks=true,citecolor=blue,linkcolor=blue,urlcolor=blue,breaklinks=true,...
2
votes
2answers
199 views

ConTeXt: Replace PDF Content During Printing

Is it possible to create a single document which appears different when printed? Not separate modes which typeset multiple documents per input TeX, but a single document which prints differently than ...
1
vote
1answer
42 views

Back link all headings with respective TOC entry

I came across a PDF which mutually links TOC entries and the headings present in the text body. It was created using Adobe Indesign. If I am reading the book and need to take a look at the TOC I can ...
1
vote
0answers
19 views

How to make appearance of indexed terms link back to their index entry? [duplicate]

With an index named foo, we make an index entry using: \index[foo]{\uplanop{#1}} although typically I use something like: \newcommand{\Foo}[1]{{#1}\index[foo]{#1}} and with hyperref used as well, ...
2
votes
1answer
57 views

Want naked links across files

I compile via pdflatex f01.tex. My preamble normally contains ... \usepackage{xr-hyper} \usepackage{hyperref} Suppose that I have f01.tex and f02.tex in the same directory, and (for example) f01....
0
votes
0answers
69 views

Preserve hyperlinks in included PDF in LyX?

It seems that in LaTeX, it is not generally possible to preserve the hyperlinks in an included PDF (see e.g. "How to preserve hyperlinks in included PDF?"). However, I was wondering: Does this ...
2
votes
0answers
43 views

Embedding video in multiple-slide-per-page presentation

I am preparing a presentation for an interactive session, and need all of my four slides to be shown at once. In order to do this, I use handout mode (and don't have any slide transitions). In one of ...
2
votes
1answer
77 views

How to make a link without getting additional functionality of hyperref?

I have a document where I want to insert a clickable link to a web page, which can be achieved with the below code. The problem is the default behaviour of hyperref also makes things like my table of ...
1
vote
1answer
90 views

TOC-like list where the entries come from an enumeration

I have a document divided in sections, with an enumeration inside every section, and each item having a highlighted title (similar in format to an encyclopedia). SECTION 1 First title: ...
3
votes
2answers
108 views

hypersetup with no box instead of white box

I like to hide some type of links to not distract the reader. I want to hide, say, cite links but show \href type links (I consider cite links do not need to be highlighted visually because the reader ...
1
vote
2answers
370 views

How to change only the link font to italics?

I am looking to change the font of only the links in the LaTeX as italics. \hypersetup{% linkcolor=black, font=italics, unicode% }
2
votes
0answers
43 views

Remove ugly borders around clickable cross-references for Equations and Footnotes but keep them for figures, table and citation

I know that hyperref can make cross-references and hyperlinks clickable and I know how to get rid of all the border(the little green boxes around the clickable area) from this post, but I would like ...
0
votes
1answer
52 views

Change Color of Text inside a block

I want change the color of a word in a block. I used colorlinks, but the links will be coloured by the default colour is red. \hypersetup{ colorlinks=true, linkcolor=blue, } \cventry{08 July 2018}{...
2
votes
1answer
612 views

overlapping links in reference on arxiv

Uploading to arXiv is getting this weird compiling. It's not raising any errors but clearly something has gone wrong between the overleaf version and whatever it is that arXiv does. Here's a repo ...
1
vote
1answer
61 views

LaTeX packages to place all images used in presentation at end of slides

Are there any packages in LaTeX which places all the images used in a presentation at the end of the slide with link to these pictures from the slide they are used. In other words, I would like to ...
0
votes
1answer
97 views

Autoref with optional argument text *in generated link*

Related to Autoref with optional argument, I would like to define an (optional) argument to \autoref that appears after the regular autoref printout, but within the actual link that is generated by \...
2
votes
1answer
51 views

Is it possible to have hyperlinks with a menu to select from a choice of links?

When viewing PDFs from ACS publications with links, you can click on a reference to follow a link to it somewhere on the internet. Most of the times, when doing so you get some kind of a menu with a ...
1
vote
2answers
59 views

Can I link texts in latex so that they are changed together?

I want to link between words in latex so that I can change all words linked to the original word along with the original one. Here is example. I made a sample A1. A1 is good. A1 is beautiful. Now ...
0
votes
0answers
57 views

Enlarge pdf-s inserted with pdfpages

I use \usepackage{pdfpages} in the header, and then includepdf[pages=-, nup = 2x2, linktodoc = true]{mypdf.pdf}. So, as well as mypdf.pdf is in the same folder, links work very well. But can one omit ...
1
vote
1answer
42 views

Add a link to the website

I want to add a link to the website in the references of my paper without the link is appear. My MWE: \documentclass[12pt,a4paper]{article} %---------------------------------------------------------...
1
vote
1answer
39 views

Navigation last next for own automated labels

I would like to add some navigation to my PDFs, such as jumping from change note to change note or todo note to todo note or such to the next such and back, something like \newcounter{cnt:todo} \...
0
votes
1answer
113 views

How to enlarge pdf link stack size?

I got this error: TeX capacity exceeded, sorry [pdf link stack size=10] I cannot reproduce this error with demo code. I would like to understand what is it this: pdf link stack size I cannot ...
0
votes
1answer
71 views

Links in the fancy chapter page

Here is a code that Mr. Gonzalo Medina had written a few years ago. I wonder how one could add links of the chapters and sections to the TOC. Thank you. \documentclass{book} \usepackage[margin=1.5cm,...
1
vote
0answers
296 views

Put an offline link in Beamer presentation

I have a html page save in my computer and I would like to know if its possible put the link for the html page in the Beamer presentation and when the click on the html page in the Beamer, This will ...
0
votes
0answers
30 views

Babel's automatic spacing seems to disappear in \href when the target is an URL [duplicate]

Babel provides automatic spacing around some characters for French, but hyperref's \href command seems to mess that up in certain particular contexts. See this example: \documentclass{minimal} \...
0
votes
1answer
508 views

Adding clickable table of contents for part of Beamer document

I have a presentation with many 'backup' slides for Q&A. I want a way to easily navigate to any desired backup slide via a table of contents just for the backup slides. After the main body of ...
0
votes
1answer
82 views

How to color a link using hyperref package [duplicate]

I'm trying to color one word using hyperref package as a homework to school,I was looking for some examples in the internet how to do it...but whatever I did it doesn't work. My preamble: \...
0
votes
0answers
59 views

Switch off all links except url and TOC when using hyperref

I am using hyperref.sty to create hyperlinks for TOC, web url, but I need to switch off all the cross links like \ref, \cite etc. Is this possible to fix and the MWE is follows: \documentclass{book} \...
4
votes
1answer
321 views

Hyperlinks in Texpad iOS app

I’ve been trying to get hyperlinks to work in the Texpad iOS app using hyperref, but have had no luck. I’ve tried compiling this within the app: \documentclass{article} \usepackage{hyperref} \...
3
votes
1answer
358 views

How to link to a Theorem that contains only an enumerated list

I have a theorem that consists entirely of an enumerated list. I want to give the theorem a label (as opposed to giving items in the list labels), and link to it later in the document. I'm using the "...

1 2 3 4 5 8