PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : hyperref probleme in amsbook klasse



joh
17-01-2010, 13:14
Hallo allerseits,

ich hab mal wieder ein Problem mit der Klasse amsbook.
Und zwar wenn ich Referenzen auf Sätze erstelle wie unten fett dargestellt, dann bekomm ich die Fehlermeldung bezüglich \ref{satz:krit1}:



Undefined control sequence: ...irekte Folgerung aus Satz \ref{satz:krit2} (followed by: , kann das folgende Korollar) Texlipse Build Error


Ich kann mir aber beim besten Willen nicht vorstellen warum. Vor allem, weil ich das schon öfters so gemacht hab und da hat das nie Probleme ergeben.
Könnt Ihr mir helfen?
Danke schonmal...

Gruß jo




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Beginn - Header
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,11pt,oneside]{amsbook}


%% Umlaut, deutsche Rechtschreibung, etc.
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{csquotes}


%% Layout
\usepackage{setspace}
\setlength{\parindent}{0mm}

\newtheoremstyle{default}% name
{15pt}% hSpace abovei
{15pt}% hSpace belowi
{\itshape}% Body font
{}% Indent amount
{\bfseries}% Theorem head font
{:}% Punctuation after theorem head
{0.5em}% Space after theorem head
{}% Theorem head spec (can be left empty, meaning `normal')

\newtheoremstyle{beispiel}% name
{15pt}% hSpace abovei
{15pt}% hSpace belowi
{}% Body font
{}% Indent amount
{\bfseries}% Theorem head font
{:}% Punctuation after theorem head
{0.5em}% Space after theorem head
{}% Theorem head spec (can be left empty, meaning `normal')

\theoremstyle{default}
\newtheorem{defi}{Definition}[chapter]
\newtheorem{thm}[defi]{Theorem}
\newtheorem{satz}[defi]{Satz}
\newtheorem{lem}[defi]{Lemma}
\newtheorem{kor}[defi]{Korollar}

\theoremstyle{beispiel}
\newtheorem{bsp}[defi]{Beispiel}

%% Mathepakete
\usepackage[reqno]{amsmath}
\usepackage{bbm}


%% Erstellen und Bearbeiten von Verlinkungen
\usepackage[colorlinks=true,linkcolor=blue,citecolor=blue,pdfs tartview={FitV}]{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Ende - Header
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%% Definition neuer Kommandos
\newcommand{\re}{\mathbbm{R}}
\newcommand{\q}{\mathbbm{Q}}
\newcommand{\z}{\mathbbm{Z}}
\newcommand{\A}{\mathcal{A}}
\renewcommand{\a}{\mathbf{a}}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Beginn - Text
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

\tableofcontents

\onehalfspacing


\begin{satz}\label{satz:krit2}
Sei $\a=(a_n)_{n\geq 0}$ eine Folge natürlicher Zahlen, die $(1)$ erfüllt und
nicht gemischtperiodisch ist. Sei $\frac{p_n}{q_n}_{n\geq1}$ die Folge der
Näherungen von $$\alpha=[a_0;a_1,a_2,\ldots,a_n,\ldots].$$
Die Folge $\left(q_n^{\frac{1}{n}}\right)_{n\geq 1}$ sei beschränkt (was insbesondere der Fall ist, wenn die Folge $\a$ beschränlt ist) und es gilt
\begin{align}
\limsup_{k\to\infty}\frac{ \lambda_k}{n_k}>0.
\end{align}
Dann ist die reelle Zahl $\alpha$ transzendent.
\end{satz}

Als direkte Folgerung aus Satz \ref{satz:krit2}, kann das folgende Korollar
angegeben werden.


\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Ende - Text
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

mechanicus
17-01-2010, 13:25
Hi,

setze reqno global:


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Beginn - Header
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,11pt,oneside,reqno]{amsbook}


%% Umlaut, deutsche Rechtschreibung, etc.
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{csquotes}


%% Layout
\usepackage{setspace}
\setlength{\parindent}{0mm}

\newtheoremstyle{default}% name
{15pt}% hSpace abovei
{15pt}% hSpace belowi
{\itshape}% Body font
{}% Indent amount
{\bfseries}% Theorem head font
{:}% Punctuation after theorem head
{0.5em}% Space after theorem head
{}% Theorem head spec (can be left empty, meaning `normal')

\newtheoremstyle{beispiel}% name
{15pt}% hSpace abovei
{15pt}% hSpace belowi
{}% Body font
{}% Indent amount
{\bfseries}% Theorem head font
{:}% Punctuation after theorem head
{0.5em}% Space after theorem head
{}% Theorem head spec (can be left empty, meaning `normal')

\theoremstyle{default}
\newtheorem{defi}{Definition}[chapter]
\newtheorem{thm}[defi]{Theorem}
\newtheorem{satz}[defi]{Satz}
\newtheorem{lem}[defi]{Lemma}
\newtheorem{kor}[defi]{Korollar}

\theoremstyle{beispiel}
\newtheorem{bsp}[defi]{Beispiel}

%% Mathepakete
\usepackage[]{amsmath}
\usepackage{bbm}


%% Erstellen und Bearbeiten von Verlinkungen
\usepackage[colorlinks=true,linkcolor=blue,citecolor=blue,pdfs tartview={FitV}]{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Ende - Header
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%% Definition neuer Kommandos
\newcommand{\re}{\mathbbm{R}}
\newcommand{\q}{\mathbbm{Q}}
\newcommand{\z}{\mathbbm{Z}}
\newcommand{\A}{\mathcal{A}}
\renewcommand{\a}{\mathbf{a}}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Beginn - Text
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

\tableofcontents

\onehalfspacing


\begin{satz}\label{satz:krit2}
Sei $\a=(a_n)_{n\geq 0}$ eine Folge natürlicher Zahlen, die $(1)$ erfüllt und
nicht gemischtperiodisch ist. Sei $\frac{p_n}{q_n}_{n\geq1}$ die Folge der
Näherungen von $$\alpha=[a_0;a_1,a_2,\ldots,a_n,\ldots].$$
Die Folge $\left(q_n^{\frac{1}{n}}\right)_{n\geq 1}$ sei beschränkt (was insbesondere der Fall ist, wenn die Folge $\a$ beschränlt ist) und es gilt
\begin{align}
\limsup_{k\to\infty}\frac{ \lambda_k}{n_k}>0.
\end{align}
Dann ist die reelle Zahl $\alpha$ transzendent.
\end{satz}


Als direkte Folgerung aus Satz \ref{satz:krit2}, kann das folgende Korollar
angegeben werden.


\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Ende - Text
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Mit der FileList keine Probleme:

*File List*
amsbook.cls 2009/07/02 v2.20.1
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
umsa.fd 2009/06/22 v3.00 AMS symbols A
amsfonts.sty 2009/06/22 v3.00 Basic AMSFonts support
babel.sty 2008/07/06 v3.8l The Babel package
ngermanb.ldf 2008/07/06 v2.6n new German support from the babel system
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
inputenc.sty 2008/03/30 v1.1d Input encoding file
utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
csquotes.sty 2009/09/23 v4.4c context-sensitive quotations
etoolbox.sty 2009/08/06 v1.8 e-TeX tools for LaTeX
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
csquotes.def 2009/09/23 v4.4c csquotes generic definitions
csquotes.cfg 2009/05/30 v4.4 csquotes configuration
setspace.sty 2000/12/01 6.7 Contributed and Supported LaTeX2e package
bbm.sty 1999/03/15 V 1.2 provides fonts for set symbols - TH
hyperref.sty 2010/01/11 v6.80b Hypertext links for LaTeX
kvsetkeys.sty 2009/12/22 v1.7 Key value parser (HO)
infwarerr.sty 2007/09/09 v1.2 Providing info/warning/message (HO)
etexcmds.sty 2007/12/12 v1.2 Prefix for e-TeX command names (HO)
pdfescape.sty 2007/11/11 v1.8 Provides hex, PDF name and string conversions
(HO)
pdftexcmds.sty 2009/12/12 v0.7 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty 2009/04/17 v1.2 Provides the ifluatex switch (HO)
ltxcmds.sty 2009/12/12 v1.1 LaTeX kernel commands for general use (HO)
ifpdf.sty 2009/04/10 v2.0 Provides the ifpdf switch (HO)
ifvtex.sty 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
ifxetex.sty 2009/01/23 v0.5 Provides ifxetex conditional
hycolor.sty 2009/12/12 v1.6 Color options of hyperref/bookmark (HO)
xcolor-patch.sty 2009/12/12 xcolor patch
pd1enc.def 2010/01/11 v6.80b Hyperref: PDFDocEncoding definition (HO)
intcalc.sty 2007/09/27 v1.1 Expandable integer calculations (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty 2009/12/08 v3.6 Keyval support for LaTeX options (HO)
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
bitset.sty 2007/09/28 v1.0 Data type bit set (HO)
bigintcalc.sty 2007/11/11 v1.1 Expandable big integer calculations (HO)
atbegshi.sty 2009/12/02 v1.10 At begin shipout hook (HO)
hpdftex.def 2010/01/11 v6.80b Hyperref driver for pdfTeX
atveryend.sty 2009/12/11 v1.3 Hooks at very end of document (HO)
rerunfilecheck.sty 2009/12/18 v1.2 Rerun checks for auxiliary files (HO)
uniquecounter.sty 2009/12/18 v1.1 Provides unlimited unique counter (HO)
umsa.fd 2009/06/22 v3.00 AMS symbols A
umsb.fd 2009/06/22 v3.00 AMS symbols B
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX
supp-pdf.mkii
nameref.sty 2009/12/18 v2.35 Cross-referencing by name of section
refcount.sty 2008/08/11 v3.1 Data extraction from references (HO)
gettitlestring.sty 2009/12/18 v1.3 Cleanup title references (HO)
test.out
test.out
***********

Gruß
Marco

joh
17-01-2010, 17:51
Hallo Marco,

das mit reqno global setzen war schonmal ein guter Tipp. Jetzt funktioniert das nämlich auch... ;)
Aber was willst Du mir mit der FileList sagen? Hat das was mit dem reference problem zu tun?

Gruß jo

mechanicus
17-01-2010, 18:21
Hi,


Aber was willst Du mir mit der FileList sagen? Hat das was mit dem reference problem zu tun?
hyperref hat in letzter Zeit ziemlich viele Veränderungen erfahren. Ich verwende die neuste Version und ich wußte bzw. weiß nicht, welche Version du hast. Evtl. war das eine Fehlerquelle.

Gruß
Marco

joh
27-01-2010, 16:39
Sorry das ich mich erst jetzt wieder melde. Ging leider nicht früher.
Also das Problem hat sich erledigt indem ich hyperref neu heruntergeladen hab.
Allerdings musste ich dann auch oberdiek neu laden.

Danke für die schnelle Hilfe.