Re: Errore in fase di compilazione

#86015
alegenn
Partecipante
    Up
    0
    Down
    ::

    samiam1000″ post=85473Ciao a tutti,

    ho un problemino con una presentazione beamer.

    Nel momento in cui provo a compilare questo codice

    `
    \documentclass[aspectratio=1610, compress, hyperref={pdfpagelabels=false}]{beamer}
    \frenchspacing
    \usepackage[italian]{babel}
    \usepackage[latin1]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage{lmodern}
    \usepackage{xspace,colortbl}
    \usepackage{amsmath}
    \usepackage{amsthm}
    \usepackage{amsfonts}
    \usepackage{verbatim}
    \usepackage{multimedia}
    \usefonttheme[onlymath]{serif}
    \usetheme[]{Madrid}
    \usepackage{fancybox}
    \setbeamercovered{transparent}

    \title[Analysis, usage and developement of SU2: an innovative CFD tool]{Analysis, usage and developement of SU$^2$: an innovative CFD tool}
    \institute[Politecnico di Milano \& Consorzio Ethics]{Politecnico di Milano \& Consorzio Ethics}
    \author{Samuele Zampini}
    \date{June 03, 2013}

    % sistemare il numero delle slide in basso a destra
    \newcommand{\backupbegin}{
    \newcounter{framenumberappendix}
    \setcounter{framenumberappendix}{\value{framenumber}}
    }
    \newcommand{\backupend}{
    \addtocounter{framenumberappendix}{-\value{framenumber}}
    \addtocounter{framenumber}{\value{framenumberappendix}}
    }

    \defbeamertemplate*{footline}{mytheme}
    {
    \leavevmode%
    \hbox{%
    \begin{beamercolorbox}[wd=.35\paperwidth,ht=2.25ex,dp=1ex,center]{section in head/foot}%
    \usebeamerfont{author in head/foot}~\insertdate
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.1\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
    %\usebeamerfont{author in head/foot}~\insertshortinstitute{}
    \vspace{-0.09cm}
    \usebeamerfont{author in head/foot}~\includegraphics[height=0.3cm]{./images/logoPoli.jpg}
    \usebeamerfont{author in head/foot}~\includegraphics[height=0.3cm]{./images/logoEthics.jpg}
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.35\paperwidth,ht=2.25ex,dp=1ex,left]{section in head/foot}%
    \usebeamerfont{author in head/foot}~\insertshortinstitute{}
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.2\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
    \usebeamerfont{date in head/foot}
    \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
    \end{beamercolorbox}}%
    \vskip0pt%
    }
    \usebeamertemplate{mytheme}

    \defbeamertemplate*{headline}{mytheme2}
    {
    \leavevmode%
    \hbox{%
    \begin{beamercolorbox}[wd=.6\paperwidth,ht=2.25ex,dp=1ex,center]{section in head/foot}
    \tiny\quad \insertshorttitle
    \end{beamercolorbox}%
    \begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{section in head/foot}
    \tiny\quad \insertsectionhead
    \end{beamercolorbox}}
    \vskip0pt%
    }
    \usebeamertemplate{mytheme2}

    \newenvironment<>{varblock}[2][\textwidth]{%
    \setlength{\textwidth}{#1}
    \begin{actionenv}#3%
    \def\insertblocktitle{#2}%
    \par%
    \usebeamertemplate{block begin}}
    {\par%
    \usebeamertemplate{block end}%
    \end{actionenv}}

    \let\Tiny=\tiny

    \useinnertheme{rounded}
    \usepackage{multicol}
    \usepackage{ifthen}

    \begin{document}

    \begin{frame}
    ciao
    \end{frame}

    \end{document}
    `

    mi ritorna questo errore:

    `
    (/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
    [Loading MPS to PDF converter (version 2006.09.02).]
    ) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
    (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty)
    (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
    ABD: EveryShipout initializing macros
    (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
    (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
    (./presPhD.out) (./presPhD.out)
    (/usr/share/texmf/tex/latex/beamer/base/translator/dicts/translator-basic-dicti
    onary/translator-basic-dictionary-English.dict)
    (/usr/share/texmf/tex/latex/beamer/base/translator/dicts/translator-bibliograph
    y-dictionary/translator-bibliography-dictionary-English.dict)
    (/usr/share/texmf/tex/latex/beamer/base/translator/dicts/translator-environment
    -dictionary/translator-environment-dictionary-English.dict)
    (/usr/share/texmf/tex/latex/beamer/base/translator/dicts/translator-months-dict
    ionary/translator-months-dictionary-English.dict)
    (/usr/share/texmf/tex/latex/beamer/base/translator/dicts/translator-numbers-dic
    tionary/translator-numbers-dictionary-English.dict)
    (/usr/share/texmf/tex/latex/beamer/base/translator/dicts/translator-theorem-dic
    tionary/translator-theorem-dictionary-English.dict) (./presPhD.nav)
    <./images/logoPoli.jpg, id=12, 461.725pt x 314.17375pt>

    <./images/logoEthics.jpg, id=13, 208.78pt x 146.5475pt>
    (./intro.tex
    ! Undefined control sequence.
    \beamer@frameslide …duration=}\thispdfpagelabel
    {\insertframenumber } \xde…
    l.19 \end{frame}

    ?

    `

    Sapete aiutarmi?

    Grazie,
    Samuele

    Ciao ho compilato il tuo codice e non ottengo alcun errore (solo warning riguardanti [tt]hyperref[/tt]), hai provato a cestinare tutti i file ausiliari e ricompilare?

    Un consiglio: non specificare l’estensione dei file immagine.

    Go to top