yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

error handling of hyperref warning/error should be relaxed/reviewed #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Strange behavior with hyperref error handling.

A small test case triggering the error:
(I'm using org-mode to generate latex)

<--cut here-->
% Created 2010-08-08 dim 12:32
\documentclass[11pt]{article}
\usepackage[latin9]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{t1enc}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage[french]{babel}
\providecommand{\alert}[1]{\textbf{#1}}

\title{A small test case}
\author{Michel Briand}
\date{\today}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

Document body.

\section{un}
\section{deux}
\section{trois}
\section{quatre}

\end{document}
<--cut here-->

Results in:

--- Using incorrect driver for hyperref! ---
Using pdflatex: specify pdftex in the hyperref options (or leave it blank).

Moving \usepackage{hyperref} a few lines towards the bottom removes the error.

Original issue reported on code.google.com by couanne...@gmail.com on 8 Aug 2010 at 10:46

GoogleCodeExporter commented 9 years ago
Sorry for the delay.  I believe I have fixed this in r85670eea9e3c.  If it is 
fixed, please respond and I'll upload a new version.

Thanks for the report!  This was a subtle and very nasty one :)

Original comment by shiblon on 11 Nov 2010 at 3:41

GoogleCodeExporter commented 9 years ago
latex-makefile@googlecode.com - Thu, 11 Nov 2010 15:42:50 +0000

Hello,

you could have send me the patch ;) I digged into the google diff
page .... approx 30 "page-down" hits to reach the delta ;)....

By the way the fix works ! Good.

Thank you.
Michel

Original comment by couanne...@gmail.com on 28 Nov 2010 at 12:35

GoogleCodeExporter commented 9 years ago
There is a little plus sign by the appropriate file: clicking that takes you 
straight to the relevant diff :)

Original comment by shiblon on 29 Nov 2010 at 3:49