Re: problema con hyperref

#84080
Up
0
Down
::


compilando da terminale non mi da problemi se compilo con latex mentre me ne da se compilo con pdflatex…

conclusione: c’e’ qualche cosa che fa girare male assieme pdflatex e hyperref e questo qualcosa deve essere nel preambolo
(potrei fregarmene e usare latex, ma ho dei collaboratori che usano solo pdflatex)…

il preambolo e’ questo:

\documentclass[11pt]{article}

\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{caption}
\usepackage{float}
\usepackage{tensor}

\usepackage{hyperref}

\textwidth 17.cm
\textheight 21.8cm
\addtolength{\oddsidemargin}{-2.3cm}
\addtolength{\evensidemargin}{-2.3cm}
\addtolength{\topmargin}{-1.5cm}

\sloppy

\setlength{\parskip}{0.5ex}

\DeclareMathOperator{\Val}{\matV}
\DeclareMathOperator{\meas}{meas}
\DeclareMathOperator{\diag}{diag}

\newtheorem{theorem}{Theorem}
\newtheorem*{prop*}{Theorem}
\newtheorem{theo}[theorem]{Theorem}
\newtheorem{coro}[theorem]{Corollary}
\newtheorem{defi}[theorem]{Definition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{prop}[theorem]{Proposition}
\newtheorem{rmk}[theorem]{Remark}
\newtheorem{con}[theorem]{Conjecture}
\newtheorem{const}[theorem]{Constraint}
\newtheorem{hyp}{Hypothesis}
\newtheorem{cond}{Condition}

% Teoremas contados por secao
\renewcommand{\thetheorem}{\thesection.\arabic{theorem}}

% Formulas contadas por secao
\renewcommand{\theequation}{\thesection.\arabic{equation}}

% Zera os contadores em nova secao
\newcommand{\zerarcounters}{\setcounter{equation}{0}\setcounter{theorem}{0}}

(segue un’infinita’ di shortcuts per i milioni di caratteri che uso….)

Go to top