3
votes
1answer
40 views

Hyperref did not work properly when I reset the section-counter during the document

Hyperref from the TOC bring me to the wrong part of the document when I RESET the section counter in each PART. -- When I click in the TOC on section 1 in part II, the hyperref brings to section 1 in ...
3
votes
1answer
192 views

How to imitate great looking Motion Mountain ToC, including hyperlinks?

I wanted to customize my ToC to look more or less like the one in Motion Mountain physics textbook, including clickable page numbers. My decision was to use hyperref and titletocpackages. Now it seems ...
2
votes
0answers
65 views

Incrementing counters with subsubsection instead of subsection [closed]

I have previously tried to make a document with questions and answers. In a previous question I was shown a great way to do this, using the answer package in combination with hyperref. Adding ...
6
votes
2answers
122 views

How to repeat chapter numbers

I'm writing my Ph.D. thesis, and I have to write the Introduction both in English and in Spanish. Since the content is the same, I want to repeat the number of this first chapter: Introducción. ...
9
votes
1answer
170 views

Bad page break with \newenvironment, \refstepcounter and hyperref

I tried to define some environment but came across bad page breaks sometimes. The minimal working example is as follows: \documentclass[b5paper]{article} \usepackage{hyperref} % page break is correct ...
2
votes
1answer
127 views

How to put a counter ``This page has been viewed … times'' on PDFLaTeX output?

I asked a similar question on tracking codes. which was migrated to SO. This is a bit different. Can a PDFLateX output have a counter? Can a link on a PDFLaTeX output have a counter associated with ...
1
vote
0answers
125 views

How do I Auto-Label Hyperref Fillable Forms \TextField?

Is there any way to put an automatic label into the hyperref package's \TextField parameters field like this: \newcounter{lexemeCounter} ...
3
votes
1answer
182 views

Making global footnotes inside a minipage with hyperref support

I would like to make footnotes inside a minipage that use the global footnote counters and the hyperref package. I'm having trouble getting hyperref to make the correct references. I imagine I need ...
7
votes
3answers
258 views

Part numbering with suffixes: I, II, IIIa, IIIb, IV,

I would like to have my parts numbered like this: I, II, IIIa, IIIb, ... , IV, ... I have written some code which works fine. But when using hyperref, I get this warning: destination with the same ...
1
vote
1answer
142 views

How to implement two figure counters with proper hyperlinks in hyperref in latex?

I want to typeset a book with a quiz in it. I want to have two types of figures: text figures: These are indexed i, ii (roman) quiz figures: These figures are related to the quiz, and should have ...
3
votes
1answer
84 views

How to reference a point in a document with a counter and descriptive text?

This is a follow-up question to the previous questions: How to label a word inside a paragraph? How to refer back to a point in the document with custom counters? The code below ...
8
votes
2answers
262 views

How to refer back to a point in the document with custom counters?

The easiest way to explain what I would like to have is to show the desired output and I would like to get this by writing something like: \begin{document} Draw point B \STEP{drawb}. Connect A and ...
6
votes
1answer
662 views

Trouble with hyperref when resetting the counter for equations (specifically with the align environment)

I am trying to reset a counter to zero; however hyperref tries to reference previous equations. I am using: \setcounter{equation}{0} And if I have labels in say align environments: ...
6
votes
1answer
331 views

How can I reset sectional counters in memoir class to avoid breaking ToC cross-referencing in a complex document?

I have already asked a similar question here: Incorrect ToC/Index cross-references when resetting memoir class counters and received a satisfactory answer. Now, I wish to apply the chapter counter ...
6
votes
1answer
487 views

Incorrect ToC/Index cross-references when resetting memoir class counters

The quasi-MWE below uses the memoir class and works fine. It produces a document with the following structure: ToC Book Part1 Chapter1 Part2 Chapter2 Index Here, cross-references in the ToC and ...
2
votes
1answer
241 views

Hyperref problem with enumerated tabularx rows

I was trying to do an enumeration with columns, which references one item from another one in the same list. I figured out that the best way is to make a table with enumerated rows. I had a working ...
4
votes
2answers
2k views

How to get autoref working with different counters for different listing environments?

In my document I want several different custom listing environments. The solution from fraktalek works like a charm, except for one thing: \autoref doesn't work for me. I have tried the following: ...
3
votes
1answer
528 views

Why does hyperref bookmark work?

The \appendix command resets the section counter to zero: *\documentclass{article} *\show\appendix (/usr/share/texmf-texlive/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h ...
6
votes
1answer
5k views

pdfTeX warning: destination with same identifier has been already used, duplicate ignored (weird behavior)

Here is a minimal example: \documentclass{amsart} \usepackage{amsthm} \usepackage[pdftex]{hyperref} \newtheoremstyle{myexercise}{\baselineskip}{\baselineskip}{}{}{\bfseries}{.}{ ...
19
votes
2answers
2k views

Wrong (hyper-)references after resetting chapter counter

The following MWE produces a PDF whose TOC has two entries: “Foo” and “Bar” with correct page numbers. So far, so good. However, upon clicking on the link to “Bar”, I am taken to the page for “Foo” ...