Re: varioref, hyperref and dvipdfm (hdvipdfm respectively)



Hi!

thanks for the advice. and yes, you are right, i am defining my own
titlepage (no redefining with renewcommand, though) based on the latex
book class. so, here the part where i define the title page
(maketitle). hope that supports you with enough information in order to
solve my previously posted error. thanks anyway!

sevi

ps.: maketitle and my preamble of the main tex file below
pps.: i am a newbe to latex... thanks for the understanding

****************
my customized maketitle below
****************
\newcommand\maketitle{\begin{titlepage}%
\let\footnotesize\small
\let\footnoterule\relax
\let \footnote \thanks
% vertical centering
\null\vfil
\vskip 6\p@
\begin{center}%
{\LARGE \@title \par}%
\vskip 5em%
% modify the title page
\setlength{\fboxrule}{1\p@}
\setlength{\fboxsep}{.5em}
\if@englishlang
{\framebox[\textwidth]{%
\LARGE \MakeUppercase{\textbf{Diploma Thesis}}}}
\else
{\framebox[\textwidth]{%
\LARGE \MakeUppercase{\textbf{Diplomarbeit}}}}
\fi
\vskip 5em%
{
\large
\if@englishlang
For obtainment of the academic degree\\
\vskip .5em
''Magister/Magistra (FH)``
\else
Zur Erlangung des akademischen Grades\\
\vskip .5em
''Magister/Magistra (FH)``
\fi
}
\vskip 10em%
{
\large
\if@englishlang
Program of Study:
\vskip .5em
\textbf{''Applied Informatics and Management``}
\vskip .5em
Management Center Innsbruck,
\vskip .5em
University of Applied Sciences
\else
Studiengang:
\vskip .5em
\textbf{''Management und angewandte Informatik``}
\vskip .5em
Management Center Innsbruck,
\vskip .5em
Fachhochschule
\fi
}
\vskip 5em%
{\large
\begin{tabular}[t]{l l}%
\if@englishlang
Tutor:
\else
Betreuer:
\fi
& \@tutor\\
\\
\if@englishlang
Author:
\else
Verfasser:
\fi
& \@author\\
& \@matnr
\end{tabular}\par}%
\vskip 5em%
{\large \@date \par}% % Set date in \large size.
\end{center}\par
\@thanks
\vfil\null
\end{titlepage}%
\setcounter{footnote}{0}%
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}

*************************
my main tex file
*************************
\documentclass[a4paper,oneside,english]{mcithesis}
% preamble
% use package caption in order to format the caption style
\usepackage[format=hang,justification=raggedright,singlelinecheck=off,labelfont=bf,aboveskip=0pt,belowskip=5pt]{macros/caption}
\tutor{Dipl. Ing(FH), Kristian Hasenjäger}
\matnr{0210174002}
\title{bla bla}
\author{me}
\date{August 2006}
\begin{document}
\frontmatter


Robin Fairbairns wrote:
jerboaa@xxxxxxxxx writes:
I am trying to compile my thesis with links in the pdf-output-file.
(e.g. toc)
varioref and hyperref together work just fine. however it seems there's
a problem with the dvipdfm driver (same thing with hypertex). i've read
in some thread that i have to turn the implicit option off, in order to
make dvipdfm work. but if i do so, there are no links in the TOC.
everything i want is that latex links (clickable) the table of contents
(at least the page numbers) to the corresponding sections in the
pdf-document. thanx for the help!!! if you need more input to solve the
problem please let me know. i have no idea what more could assist...

well, i already tried to include the packages as follows:

\usepackage{nameref}
\usepackage{varioref}
\usepackage{hyperref}

that's why i assume the proplem is the dvipdfm driver...

do you mean, everything works without the dvipdfm option?

ps.: i get this error messages - no clue what it could mean :-(

********************
Error message below
********************
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf/tex/latex/misc/url.sty))
*hyperref using driver hdvipdfm*
(/usr/share/texmf/tex/latex/hyperref/hdvipdfm.def)

! LaTeX Error: Command \maketitle already defined.
Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.321 }

the error message means that something is trying to redefine
\maketitle. this has happened after hdvipdfm.def (the dvipdfm driver)
has completed loading. neither hdvipdfm nor hyperref itself would
have caused this error directly, since neither redefines \maketitle
using the latex \newcommand that provokes the error you quote.

however, you've snipped too much out of your log for anyone to make
any conclusive diagnosis, but i would assume that one of the other
packages you load (after hyperref), or some code you've written,
somehow manages to provoke the error.

you need to isolate your error by creating a minimal example (see link
below), and certainly to report the version numbers of packages you're
using in that example (\listfiles before \begin{document}).

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
--
Robin Fairbairns, Cambridge

.



Relevant Pages

  • Re: varioref, hyperref and dvipdfm (hdvipdfm respectively)
    ... varioref and hyperref together work just fine. ... a problem with the dvipdfm driver. ... Implicit mode ON; LaTeX internals redefined ...
    (comp.text.tex)
  • strange counter behaviour in LaTeX
    ... I've tried using counters in LaTeX and stumbled over the following ... strange behaviour: when redefining the value of a counter, ... Input file: ...
    (comp.text.tex)
  • Tilde in interaction babel-hyperref
    ... newer one (although it's still tetex). ... hyperref.sty 2007/11/20 v6.77g Hypertext links for LaTeX ... hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive and teTeX ... pdftexcmds.sty 2007/12/12 v0.3 LuaTeX support for pdfTeX utility ...
    (comp.text.tex)
  • Re: Error Section
    ... If i add the natbib with below packages it shows error. ... One or more of the packages you are using is probably outdated, but since you didn't provide the error message I cannot guess which one. ... Put \listfiles in your preamble and LaTeX will put a list of all files used at the end of your log file. ... hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive ...
    (comp.text.tex)
  • Re: Probleme mit Bioinformatics-Klasse und hyperref
    ... Tue ich das nicht, oder übersetze ich das Dokument als PDF und schaue ich es mir mit dem AR 7.0 an, sieht das Dokument mit und ohne hyperref bei mir identisch aus. ... mit latex nach dvi zu rendern und mir das Ergebnis mit xdvi angeschaut. ... graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive ...
    (de.comp.text.tex)