I have a little nasty problem: a footnote hyperlink doesn't lead me to current page footnote, but it jumps to the document title page.
I have already considered & tested several possible solutions (Hyperlink from footnote mark to footnote body, Using setspace package breaks footnotes link), but:
- including the 'setspace' package before 'hyperref' has no effect;
- disabling the 'hyperref' hyperfootnotes option (in original call to 'hyperref') leads to option clash.
I'm using the pdflatex compiler. Here are simplified code snippets:
% main.tex
\documentclass[11pt, a4paper, oneside, headinclude,footinclude]{book}
\usepackage{longtable}
\input{book_structure.tex} % include the ''book_structure.tex'' file
%which specifies the document structure and layout
% custom title page
\newcommand*{\titleTH}{\begingroup
\raggedleft
\vspace*{\baselineskip}
{\LARGE\bfseries Some book title}\\[\baselineskip]
{\Large Version x.x.x}\par
\endgroup}
\begin{document}
\titleTH % include the title page
\thispagestyle{empty}
\newpage
\chapter{System requirements}
\textbf{Supported operating systems:} Unix OS family
(e.g. Mac OS X, Linux, FreeBSD) and Microsoft Windows OS family
(e.g. 2000, 2003, XP, Vista, Seven, 8/8.1, 10).
\textbf{CPU architectures:} x86 (x86-32, x86-64), ARMv7.
\textbf{CPU model:}\footnote{see our white paper on selection of
hardware for LPR} selected individually (in accordance to
number of recognition threads to be used on the server,
video framerate and resolution). When adding one or more
recognition threads, CPU load increases linearly.
\end{document}
% book_structure.tex
\usepackage{arsclassica}
\usepackage{amsfonts}
\renewcommand*\rmdefault{iwona}
\usepackage[margin = 1.5cm]{geometry}
\usepackage{setspace} % making 1.5 line spacing
\onehalfspacing
\usepackage[T1, T2A]{fontenc}
\usepackage[english, russian]{babel}
%\usepackage[hyperfootnotes=false]{hyperref} %option clash
\usepackage{hyperref}
\hypersetup{
colorlinks=true, breaklinks=true,
bookmarks=true, bookmarksnumbered, unicode=true, urlcolor=RoyalBlue,
linkcolor=RoyalBlue
}
If not fixing this bug, I would be satisfied with switching off the footnote hyperlinks, but, as said above, something goes wrong. Excuse me in advance for a must-be-trivial subject, I'm still a LaTeX newbie.
Does anybody have any considerations?
arsclassica
is not loaded, the linking is correct.arsclassica
loadsclassicthesis
which is a package that is multiple issues