PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit eigener Klasse für beamer



produnis
15-12-2010, 14:39
Hallo liebes Forum,

ich habe Probleme mit einer eigenen Klasse, die ich für beamer erstellen möchte.
Ich verwende hier als Referenz das Buch von Herbert Voß "Präsentationen mit LaTeX" von 2009. Dort ist auf den Seiten 154-158 eigentlich alles notwendige beschrieben. Ich habe den Demo-Code mal eingegeben, und meine Klasse "UWHbeamer" sieht daher noch genauso aus wie in dem Buch, heisst "UWHbeamer.cls" und liegt im selben Verzeichnis wie meine Test-Präsentation:


% Datei UWHbeamer.cls
% derzeit "nur" abgeschrieben aus dem Buch von Herbert Voß
% eigene Anpassungen sollen erfolgen, sobald das hier korrekt durchläuft
% Getauscht wurde "FU" durch "UWH"
%
%\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{UWHbeamer}[2010-12-15 v0.01 (JgS)]
\PassOptionsToClass{ngerman}{babel}
\DeclareOption*{\PassOptionsToClass{\CurrentOption }{beamer}}
\ProcessOptions\relax
\LoadClass[xcolor=table,covered, hyperref={bookmarks,colorlinks}]{beamer}
\RequirePackage[T1]{fontenc}
\RequirePackage{babel}
\RequirePackage{graphicx}
\RequirePackage[scaled]{helvet}
\RequirePackage[utf8]{inputenc}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
\definecolor{UWHblue}{RGB}{0,51,102}
\definecolor{UWHgreen}{RGB}{153,204,0}
\definecolor{UWHred}{RGB}{204,0,0}
\definecolor{UWHorange}{RGB}{255,153,51}
\definecolor{UWHgray}{gray}{0.6}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
\setbeamersize{text margin left=15pt, text margin right=15pt}
%
%
\setbeamercolor*{frametitle}{fg=UWHgray, bg=white}
\setbeamercolor*{normal, text}{fg=black, bg=white}
\setbeamercolor*{alerted text}{fg=UWHred, bg=white}
\setbeamercolor*{footline}{fg=UWHblue, bg=white}
\setbeamercolor*{structure}{fg=UWHred}
\setbeamercolor*{palette primary}{use=structure, fg=structure.fg, bg=} %!!
\setbeamercolor*{palette secondary}{fg=UWHblue, bg=}%!!
\setbeamercolor*{separation line}{fg=UWHblue}
\setbeamercolor*{example text}{fg=UWHgreen, bg=}%!!
\setbeamercolor*{block title}{use=structure,fg=structure.fg, bg=UWHblue!20!bg}
\setbeamercolor*{block title alerted}{use=alerted text,fg=alerted text.fg, bg=alerted text.fg!20!bg}
\setbeamercolor*{block title example}{use=example text,fg=example text.fg, bg=example text.fg!20!bg}
\setbeamercolor*{block body}{parent=normal text,use=block title, bg=block title.bg!50!bg}
\setbeamercolor*{block body alerted}{parent=normal text,use=block title alerted, bg=block title alerted.bg!50!bg}
\setbeamercolor*{block body example}{parent=normal text,use=block title example, bg=block title example.bg!50!bg}
%
%
%%%%%%%%%%
%
%
\setbeamerfont{tiny structure}{series=\mdseries,size=\tiny}
\setbeamerfont{title}{size=\Large,series=\bfseries }
\setbeamerfont*{author}{size=\normalsize,series=\b fseries}
\setbeamerfont{frametitle}{size=\large, series=\bfseries}
\setbeamerfont{framesubtitle}{size=\footnotesize}
\setbeamerfont*{footline}{size=\Tiny}
\setbeamerfont*{date}{size=\footnotesize}
%
%
%
\setbeamertemplate{itemsize item}[default]
\setbeamertemplate{sections/subsections in toc}[ball]
\setbeamertemplate{headline}{}
\setbeamertemplate{navigation symbols}{}
%\setbeamertemplate{alerted text}[default]
\beamerdefaultoverlayspecification{<+-| alert@+>}
\def\beamer@andinst{\quad }
%
%
%
%\setbeamercolor*{titlelike}{parent=structure}
%
%
\setlength\textwidth{\paperwidth}
\addtolength\textwidth{-30pt}
\newlength\UWH@image@width\setlength\UWH@image@wid th{\textwidth}
\newlength\UWH@image@height\setlength\UWH@image@he ight{2.5cm}
\newlength\UWH@rule\setlength\UWH@rule{0.6pt}
%
\pgfdeclareimage[height=1cm]{logo}{uwhlogo.png}
\expandafter\pgfdeclareimage\expandafter[height=\the\UWH@image@height]{bib}{uwhlogo.png}% <--! anderes Bild?
\newlength\titlevsep\setlength\titlevsep{2mm}
\newsavebox\UWH@box\savebox\UWH@box{\pgfuseimage{b ib}}
\mode
<all>
{
\renewcommand\titlegraphic[2][]{%
\edef\inserttitlegraphic{%
\ifx\relax#2\relax\else
\noexpand\includegraphics[height=\UWH@image@height,
width=\the\numexpr\textwidth-\wd\UWH@box\relax sp,
aspectratio=false,#1]{#2}%
\fi}}%
\titlegraphic{}
}
%
%%%%%%%%%%
\mode
<all>
{\newcommand\fachbereich[1]{\def\insertfachbereich{#1}}\fachbereich{}}
%
%
%
\defbeamertemplate*{title page}{UWH}{%
\vspace*{-1mm}%
\mbox{}\hfill\pgfuseimage{logo}\par
\begingroup\fboxsep=0pt
\colorbox{UWHgray}{\makebox[\textwidth][1]{\rule{0pt}{\UWH@image@height}%
\pgfuseimage{bib}\inserttitlegraphic}}
\endgroup\par\vfill
{\usebeamerfont{title}\usebeamercolor[fg]{frametitle}\inserttitle}\\[\titlevsep]
\ifx\insertsubtitle\@empty\else\vskip0.25em%
{\usebeamerfont{subtitle}\insertsubtitle\par}%
\fi\par\vfill
\begin{beamercolorbox}[sep=0pt]{author}
{\usebeamerfont{author}\insertauthor}\\
{\usebeamerfont{institute}\insertinstitute}
\end{beamercolorbox}
\par\vfill
{\usebeamerfont{date}\usebeamercolor*[fg]{date}\insertdate}}
%
%
%
\defbeamertemplate{frametitle}{UWH}{%
\parbox{0.6\textwidth}{%
\usebeamerfont*{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle}\hfill%
\parbox{0.32\textwidth}{\pgfuseimage{logo}}\\
{\usebeamercolor{separation line}%
\hspace*{-15pt}\rule{\paperwidth}{\UWH@rule}}\par\vspace{-1.5ex}}
%
\def\maketitle{\ifbeamer@inframe\titlepage\else\fr ame[t]{\titlepage}\fi
\setbeamertemplate{frametitle}[UWH]\setbeamertemplate{footline}[UWH]}
%
\newcommand{\UWH@footline}{%
\insertfachbereich, \inserttitle, \insertdate
\hfill \insertframenumber/\inserttotalframenumber}
%
%
%
\defbeamertemplate{footline}{UWH}{%
\begin{beamercolorbox}[leftskip=15pt,rightskip=15pt,ht=2.5ex,dp=1ex]{footline}
\hspace*{-15pt}{\usebeamercolor{separation line}\rule[1ex]{1.1\paperwidth}{\UWH@rule}}%
\end{beamercolorbox}
}
%
%
%


Meine Test-Präsentation sieht so aus:


\documentclass[ngerman,t,smaller,compress]{UWHbeamer}
%
\title{Dies ist mein Test}
\subtitle{oder: ich hab es raus}
\author{Clarissa Besoffenn}
\institute{Department für Schlaues Daherreden}
\date{\today}
\titlegraphic{uwhlogo}
\fachbereich{Zivis sinnvoll beschäftigen}
\maketitle

\begin{frame}
\tableofcontents
\end{frame}

\section{Einführung}
\subsection{Die Vorlage}
\begin{frame}{Dies ist die Einführung}

\end{frame}


Wenn ich die Präsentation mit PDFLATEX setze, erhalte ich zahlreiche Fehler.
Die Logdatei hänge ich in einer Antwort an diesen Thread an.

produnis
15-12-2010, 14:41
Die Logdatei sieht so aus:


*****
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
(./MeinTest.tex
LaTeX2e &lt;2009/09/24&gt;
Babel &lt;v3.8l&gt; and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(./UWHbeamer.cls
Document Class: UWHbeamer 2010-12-15 v0.01 (JgS)
(/usr/share/texmf/tex/latex/beamer/base/beamer.cls
(/usr/share/texmf/tex/latex/beamer/base/beamerbasercs.sty)
Document Class: beamer 2007/03/11 cvs version 3.07 A class for typesetting pres
entations (rcs-revision 1.70)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasemodes.sty
(/usr/share/texmf/tex/latex/beamer/base/beamerbasedecode.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseoptions.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty))
(/usr/share/texmf/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
(/usr/share/texmf/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/share/texmf/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/share/texmf/tex/generic/pgf/utilities/pgfutil-common.tex)
(/usr/share/texmf/tex/generic/pgf/utilities/pgfutil-latex.def)
(/usr/share/texmf/tex/generic/pgf/utilities/pgfrcs.code.tex))
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/share/texmf/tex/generic/pgf/utilities/pgfkeys.code.tex)
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/etc/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf-texlive/tex/latex/colortbl/colortbl.sty
(/usr/share/texmf-texlive/tex/latex/tools/array.sty)))
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/share/texmf/tex/generic/pgf/math/pgfmath.code.tex
(/usr/share/texmf/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/share/texmf/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex)))
(/usr/share/texmf/tex/latex/pgf/basiclayer/pgfbaseimage.sty

Package pgf Warning: This package is obsolete and no longer needed on input lin
e 13.

) (/usr/share/texmf/tex/latex/pgf/utilities/xxcolor.sty)
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/geometry.cfg))
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode OFF; no redefinition of LaTeX internals
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty)

Package hyperref Warning: Option `pdfpagelabels' is turned off
(hyperref) because \thepage is undefined.

Hyperref stopped early
)
*hyperref using default driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def)
(/usr/share/texmf-texlive/tex/latex/base/size10.clo)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasecompatibility.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasefont.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasemisc.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetwoscreens.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseoverlay.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetitle.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasesection.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframe.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseverbatim.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframesize.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframecomponents.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasecolor.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasenotes.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetoc.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetemplates.sty
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseauxtemplates.sty
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseboxes.sty)))
(/usr/share/texmf/tex/latex/beamer/base/beamerbaselocalstructure.sty
(/usr/share/texmf-texlive/tex/latex/tools/enumerate.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbasenavigation.sty)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetheorems.sty
(/usr/share/texmf-texlive/tex/latex/translator/translator.sty
(/usr/share/texmf-texlive/tex/latex/translator/translator-language-mappings.tex
)) (/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-texlive/tex/latex/amscls/amsthm.sty))
(/usr/share/texmf/tex/latex/beamer/base/beamerbasethemes.sty)
(/usr/share/texmf/tex/latex/beamer/themes/theme/beamerthemedefault.sty
(/usr/share/texmf/tex/latex/beamer/themes/font/beamerfontthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/color/beamercolorthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/inner/beamerinnerthemedefault.sty)
(/usr/share/texmf/tex/latex/beamer/themes/outer/beamerouterthemedefault.sty)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/ngermanb.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)

Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `ngerman'
(babel) I will use the patterns loaded for \language=0 instead.

)) (/usr/share/texmf-texlive/tex/latex/psnfss/helvet.sty)
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu))))
! Missing = inserted for \ifnum.
&lt;to be read again&gt;
-
l.3 \title
{Dies ist mein Test}
<uwhlogo.png, id=11, 404.35065pt x 161.1621pt> <use uwhlogo.png> Overfull \hbox (26.90549pt too wide) in paragraph at lines 10--10 [][][][][][][]
(/usr/share/texmf-texlive/tex/latex/psnfss/t1phv.fd)
! Undefined control sequence.
\beamerorig@set@color ...tack push{\current@color
}\aftergroup \reset@color
l.10 \maketitle


Overfull \vbox (9.0pt too high) has occurred while \output is active
Underfull \hbox (badness 10000) has occurred while \output is active
[]
! Undefined control sequence.
\beamerorig@set@color ...tack push{\current@color
}\aftergroup \reset@color
l.10 \maketitle

[1{/home/produnis/.texmf-var/fonts/map/pdftex/updmap/pdftex.map}
\@writefile{nav}{\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}}
\@writefile{nav}{\headcommand {\beamer@framepages {1}{1}}}
<./uwhlogo.png>] ! Undefined control sequence. \beamer@tableofcontents ...}{\makeatletter \pause [0]\@input {\jobname .toc}... l.14 \end{frame}
(./MeinTest.toc
! Undefined control sequence.
&lt;recently read&gt; \Hy@colorlink

l.3 ...tionintoc {1}{Einf\IeC {\"u}hrung}{3}{0}{1}

! Undefined control sequence.
\close@pdflink -&gt;\Hy@endcolorlink
\pdfendlink
l.3 ...tionintoc {1}{Einf\IeC {\"u}hrung}{3}{0}{1}

! Undefined control sequence.
&lt;recently read&gt; \Hy@colorlink

l.4 ...ubsectionintoc {1}{1}{Die Vorlage}{3}{0}{1}

! Undefined control sequence.
\close@pdflink -&gt;\Hy@endcolorlink
\pdfendlink
l.4 ...ubsectionintoc {1}{1}{Die Vorlage}{3}{0}{1}

)
! Undefined control sequence.
\beamerorig@set@color ...tack push{\current@color
}\aftergroup \reset@color
l.14 \end{frame}


Overfull \vbox (9.0pt too high) has occurred while \output is active
Underfull \hbox (badness 10000) has occurred while \output is active
[]
! Undefined control sequence.
\beamerorig@set@color ...tack push{\current@color
}\aftergroup \reset@color
l.14 \end{frame}


Overfull \hbox (51.42175pt too wide) has occurred while \output is active
[]| []
[2
\@writefile{nav}{\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}}
\@writefile{nav}{\headcommand {\beamer@framepages {2}{2}}}
]
! Undefined control sequence.
&lt;argument&gt; \@outlinefile

l.16 \section{Einführung}

! Missing number, treated as zero.
&lt;to be read again&gt;
{
l.16 \section{Einführung}

! Undefined control sequence.
&lt;argument&gt; \@outlinefile

l.17 \subsection{Die Vorlage}

! Missing number, treated as zero.
&lt;to be read again&gt;
{
l.17 \subsection{Die Vorlage}


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H &lt;return&gt; for immediate help.
...

l.20 \end{frame}

(/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd)

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H &lt;return&gt; for immediate help.
...

l.20 \end{frame}


Overfull \hbox (41.90549pt too wide) in paragraph at lines 20--20
[]| []
! Undefined control sequence.
\beamerorig@set@color ...tack push{\current@color
}\aftergroup \reset@color
l.20 \end{frame}


Overfull \vbox (9.0pt too high) has occurred while \output is active
Underfull \hbox (badness 10000) has occurred while \output is active
[]
! Undefined control sequence.
\beamerorig@set@color ...tack push{\current@color
}\aftergroup \reset@color
l.20 \end{frame}


Overfull \hbox (51.42175pt too wide) has occurred while \output is active
[]| []
[3
\@writefile{toc}{\beamer@sectionintoc {1}{Einf\IeC {\"u}hrung}{3}{0}{1}}
\@writefile{nav}{\headcommand {\sectionentry {1}{Einf\IeC {\"u}hrung}{3}{Einf\I
eC {\"u}hrung}{0}}}
\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{2}}}
\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{2}}}
\BOOKMARK [2][]{Outline0.1}{Einf\374hrung}{}
\@writefile{toc}{\beamer@subsectionintoc {1}{1}{Die Vorlage}{3}{0}{1}}
\@writefile{nav}{\headcommand {\beamer@subsectionentry {0}{1}{1}{3}{Die Vorlage
}}\headcommand {\beamer@subsectionpages {3}{2}}}
\BOOKMARK [3][]{Outline0.1.1.3}{Die Vorlage}{Outline0.1}
\@writefile{nav}{\headcommand {\slideentry {1}{1}{1}{3/3}{Die Vorlage}{0}}}
\@writefile{nav}{\headcommand {\beamer@framepages {3}{3}}}
])
! Emergency stop.
&lt;*&gt; MeinTest.tex

! ==&gt; Fatal error occurred, no output PDF file produced!
Transcript written on MeinTest.log.



In den Error-Meldungen steht, dass beispielsweise \begin-\end{document} fehlen.... ein Einfügen solcher behebt das Problem aber leider nicht.

Hmm... hat jemand eine Ahnung was ich falsch mache/vergessen habe?

Beste Grüße,
Produnis

produnis
16-12-2010, 17:24
niemand ne Idee?

voss
16-12-2010, 19:41
niemand ne Idee?

Da fehlen einige &lt;all&gt; nach \mode in der Dokumentenklasse.
Außerdem fehlt das Logo, sodass ich es nicht direkt probieren kann.
Und lauffähige Testdokumente sind auch imemr ganz nett ...

Herbert

sommerfee
16-12-2010, 19:55
...und die deutschen Trennmuster werden nicht geladen:


Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.

[...]

Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `ngerman'
(babel) I will use the patterns loaded for \language=0 instead.

Wenn es das TeX einer Debian-basierten Distribution (Debian, Ubuntu, Linux Mint, ...) ist, dann sollte das Installieren des Paketes texlive-lang-german Abhilfe schaffen, etwa mit "sudo apt-get install texlive-lang-german".

produnis
16-12-2010, 20:10
Vielen Dank für den Tip,
hab ich soeben installiert,
dennoch lässt sich mein Beispiel bei mir nicht setzen...

Der erste auftretende Fehler lautet immernoch:


! Missing = inserted for \ifnum.
&lt;to be read again&gt;
-
l.3 \title
{Dies ist mein Test}


PS: Tritt auch mit der korrigierten .cls von voss auf...

voss
16-12-2010, 20:44
PS: Tritt auch mit der korrigierten .cls von voss auf...

na ja ...


\ProvidesClass{UWHbeamer}[2010/12/15 v0.01 (JgS)]

so sollte deine erste Zeile aussehen

Herbert

produnis
16-12-2010, 21:30
Ja, steht da ja in der ersten Zeile...
hmm...
wo fehlt denn noch ein \mode<all> ?
Ich benutze die .cls-Datei aus deinem Dateianhang.

voss
16-12-2010, 22:34
Ja, steht da ja in der ersten Zeile...
hmm...

Deine erste Zeile sah anders aus ...

wo fehlt denn noch ein \mode<all> ?
Ich benutze die .cls-Datei aus deinem Dateianhang.

nein, du hast da schon etwas geändert ...
Meine hängt an, die keine Probleme macht.

Herbert

produnis
16-12-2010, 22:41
vielen dank,
wenn ich deine Datei verwende, erhalte ich als ersten (von 18) Fehlern:


! Undefined control sequence.
\beamerorig@set@color ...tack push{\current@color
}\aftergroup \reset@color
l.10 \maketitle

Kann es sein, dass ich irgendwas "falsch installiert" oder vergessen hab?
Ich nutze Ubuntu Lucid 64bit, mit Textlive2009 über aptitude...
von Hand hab ich bisher nichts installiert oder verändert...

voss
16-12-2010, 23:23
vielen dank,
wenn ich deine Datei verwende, erhalte ich als ersten (von 18) Fehlern:


! Undefined control sequence.
\beamerorig@set@color ...tack push{\current@color
}\aftergroup \reset@color
l.10 \maketitle

Kann es sein, dass ich irgendwas "falsch installiert" oder vergessen hab?
Ich nutze Ubuntu Lucid 64bit, mit Textlive2009 über aptitude...
von Hand hab ich bisher nichts installiert oder verändert...

2009 ist natürlich sehr alt ... wie auch immer, hier ist meine
Dateiliste vom Beispiel:

\listfiles
\documentclass[ngerman]{UWHbeamer}
%
\title{Dies ist mein Test}
\subtitle{oder: ich hab es raus}
\author{Clarissa Besoffenn}
\institute{Department für Schlaues Daherreden}
\date{\today}
\titlegraphic{ub}
\fachbereich{Zivis sinnvoll beschäftigen}

\begin{document}
\begin{frame}
\maketitle
\end{frame}

\begin{frame}
\tableofcontents
\end{frame}

\section{Einführung}
\subsection{Die Vorlage}
\begin{frame}{Dies ist die Einführung}
foo
\end{frame}
\end{document}



*File List*
UWHbeamer.cls 2010/12/15 v0.01 (JgS)
beamer.cls 2010/06/21 development version 3.10 A class for typesetting pre
sentations (rcs-revision a6b1a8434d30)
beamerbasercs.sty 2010/06/12 (rcs-revision c3821710bb40)
beamerbasemodes.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbasedecode.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbaseoptions.sty 2010/04/27 (rcs-revision 982469101dd6)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
geometry.sty 2010/09/12 v5.6 Page Geometry
ifpdf.sty 2010/01/28 v2.1 Provides the ifpdf switch (HO)
ifvtex.sty 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
pgfcore.sty 2010/04/11 v2.10 (rcs-revision 1.7)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
pdftex.def 2010/11/26 v0.05c Graphics/color for pdfTeX
pgfsys.sty 2010/06/30 v2.10 (rcs-revision 1.37)
pgfrcs.sty 2010/10/25 v2.10 (rcs-revision 1.24)
everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
pgfrcs.code.tex
pgfsys.code.tex
pgfsyssoftpath.code.tex 2008/07/18 (rcs-revision 1.7)
pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
colortbl.sty 2001/02/13 v0.1j Color table columns (DPC)
array.sty 2008/09/09 v2.4c Tabular extension package (FMi)
pgfcore.code.tex
xxcolor.sty 2003/10/24 ver 0.1
hyperref.sty 2010/12/03 v6.81w Hypertext links for LaTeX
ltxcmds.sty 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
pdftexcmds.sty 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
kvsetkeys.sty 2010/03/01 v1.9 Key value parser (HO)
etexcmds.sty 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
pdfescape.sty 2010/03/01 v1.9 Provides hex, PDF name and string conversions
(HO)
hycolor.sty 2009/12/12 v1.6 Color options of hyperref/bookmark (HO)
xcolor-patch.sty 2009/12/12 xcolor patch
letltxmacro.sty 2008/06/24 v1.3 Let assignment for LaTeX macros (HO)
kvoptions.sty 2010/02/22 v3.7 Keyval support for LaTeX options (HO)
pd1enc.def 2010/12/03 v6.81w 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
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 2010/03/25 v1.12 At begin shipout hook (HO)
hpdftex.def 2010/12/03 v6.81w Hyperref driver for pdfTeX
atveryend.sty 2010/03/24 v1.5 Hooks at very end of document (HO)
rerunfilecheck.sty 2010/03/16 v1.6 Rerun checks for auxiliary files (HO)
uniquecounter.sty 2009/12/18 v1.1 Provides unlimited unique counter (HO)
beamerbaserequires.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbasecompatibility.sty 2010/07/12 (rcs-revision 6648c3177e4e)
beamerbasefont.sty 2010/05/10 (rcs-revision cd36e8a33c6b)
amssymb.sty 2009/06/22 v3.00
amsfonts.sty 2009/06/22 v3.00 Basic AMSFonts support
beamerbasetranslator.sty 2010/06/11 (rcs-revision 85fd1cc7fc42)
translator.sty 2010/06/12 ver 1.10
translator-language-mappings.tex
beamerbasemisc.sty 2010/06/06 (rcs-revision bff0a9294b45)
beamerbasetwoscreens.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbaseoverlay.sty 2010/05/07 (rcs-revision 5584dad462a9)
beamerbasetitle.sty 2010/06/12 (rcs-revision 717e481ca47a)
beamerbasesection.sty 2010/06/17 (rcs-revision e0d9401bb743)
beamerbaseframe.sty 2010/06/06 (rcs-revision bff0a9294b45)
beamerbaseverbatim.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbaseframesize.sty 2010/06/27 (rcs-revision 6baa2d92e6f1)
beamerbaseframecomponents.sty 2010/07/12 (rcs-revision 09e82992d9b1)
beamerbasecolor.sty 2010/06/06 (rcs-revision d1a9b48be06d)
beamerbasenotes.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbasetoc.sty 2010/06/11 (rcs-revision 242ecaa6783b)
beamerbasetemplates.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbaseauxtemplates.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbaseboxes.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbaselocalstructure.sty 2010/06/01 (rcs-revision 81f9e33f7cc2)
enumerate.sty 1999/03/05 v3.00 enumerate extensions (DPC)
beamerbasenavigation.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerbasetheorems.sty 2010/06/06 (rcs-revision 7e7cc5e53e9d)
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
amsthm.sty 2004/08/06 v2.20
beamerbasethemes.sty 2010/05/01 (rcs-revision efa082c6111d)
beamerthemedefault.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamerfontthemedefault.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamercolorthemedefault.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamerinnerthemedefault.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
beamerouterthemedefault.sty 2010/06/17 (rcs-revision d02a7cf4d8ae)
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
babel.sty 2008/07/06 v3.8l The Babel package
ngermanb.ldf 2008/07/06 v2.6n new German support from the babel system
helvet.sty 2005/04/12 PSNFSS-v9.2a (WaS)
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
t1phv.fd 2001/06/04 scalable font definitions for T1/phv.
supp-pdf.mkii
epstopdf-base.sty 2010/02/09 v2.5 Base part for package epstopdf
grfext.sty 2007/09/30 v1.0 Managing graphics extensions (HO)
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
nameref.sty 2010/04/30 v2.40 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)
UWHtest.out
UWHtest.out
translator-basic-dictionary-English.dict
translator-basic-dictionary-German.dict
translator-bibliography-dictionary-English.dict
translator-bibliography-dictionary-German.dict
translator-environment-dictionary-English.dict
translator-environment-dictionary-German.dict
translator-months-dictionary-English.dict
translator-months-dictionary-German.dict
translator-numbers-dictionary-English.dict
translator-numbers-dictionary-German.dict
translator-theorem-dictionary-English.dict
translator-theorem-dictionary-German.dict
ub.jpg Graphic file (type jpg)
***********

Herbert

produnis
16-12-2010, 23:30
juchuuu
funktioniert nun...
vielen lieben dank für die hilfe!!!

produnis
19-12-2010, 15:29
Eine Frage habe ich noch:
Wenn ich eine Beamer-Klasse verwende, dann gelingt es mir nicht, die Schriftfarbe für section und subsection zu ändern. Dies betrifft sowohl das TOC als auch die Darstellung in Kopf- oder Fußzeile.
(komischerweise funktioniert es, wenn ich ein eigenes Theme erstelle, welches den selben Code enthält)

Hier nochmal ein Minimalbeispiel:



%Minimalbeispiel.tex
\documentclass[ngerman]{BSPbeamer}
\title{Minimalbeispiel}
\subtitle{oder: ich lerne noch}
\author{Inge Danken}
\institute{Foo Bar}
\date{\today}
%-------------
\begin{document}
\begin{frame}
\maketitle
\end{frame}
%%---------------------

\begin{frame}
\tableofcontents
\end{frame}
%
\section{section Teil 1: Grundlagen}
\subsection{subsection Die Einführung}
\begin{frame}{Ich bin der Folientitel}
Hier geht es nun los.\\
Wieso ist das TOC rot?

\end{frame}
%%%%%%%%%%%
\end{document}



Und hier die dazugehörige minimal Klasse:


% beamerklasse
\ProvidesClass{BSPbeamer}[2010/12/15 v0.01 (JgS)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption }{beamer}}
\ProcessOptions\relax
\LoadClass[xcolor=table,covered,hyperref={bookmarks,colorlink s}]{beamer}
\RequirePackage[T1]{fontenc}
\RequirePackage[ngerman]{babel}
\RequirePackage[scaled]{helvet}
\RequirePackage[utf8]{inputenc}
%------------------------------
\mode&lt;presentation&gt;
\setbeamercolor*{structure}{fg=blue}
\setbeamercolor*{section in toc}{fg=blue, bg=white}
\setbeamercolor*{subsection in toc}{fg=blue, bg=white}
%---
\setbeamertemplate{itemsize item}[default]
\setbeamertemplate{items}[circle]
\setbeamertemplate{section in toc}[circle]
\mode&lt;all&gt;


Scheinbar werden meine setbeamercolor-Befehle ignoriert...

voss
19-12-2010, 16:09
Eine Frage habe ich noch:
Wenn ich eine Beamer-Klasse verwende, dann gelingt es mir nicht, die Schriftfarbe für section und subsection zu ändern. Dies betrifft sowohl das TOC als auch die Darstellung in Kopf- oder Fußzeile.
(komischerweise funktioniert es, wenn ich ein eigenes Theme erstelle, welches den selben Code enthält)

Scheinbar werden meine setbeamercolor-Befehle ignoriert...

Nein, nur sind das automatisch Links und die bekommen die von
hyperref vergebene Farbe.

Herbert

produnis
19-12-2010, 16:17
und wieder vielen dank.... darauf muss man erstmal kommen....
:)