[Risolto]Errore compilazione

  • Creatore
    Topic
  • #39643
    Up
    0
    Down
    ::


    Ciao a tutti utilizzo Led come editor di testo, e quando faccio la compilazione PDFLatex tutto funziona in quanto ottengo un pdf, ma se faccio la compilazione Latex ottengo quest’errore…. e non posso quindi creare il .ps
    `

    Package hyperref Warning: Wrong driver `hpdftex.def';
    (hyperref) pdfTeX is not running in PDF mode.
    (hyperref) Using default driver.

    *hyperref using default driver hdvips*
    (“C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\hdvips.def”
    File: hdvips.def 2008/11/18 v6.78m Hyperref driver for dvips

    (“C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\pdfmark.def”
    File: pdfmark.def 2008/11/18 v6.78m Hyperref definitions for pdfmark specials
    \pdf@docset=\toks34
    \pdf@box=\box40
    \pdf@toks=\toks35
    \pdf@defaulttoks=\toks36
    \Fld@listcount=\count146
    ))
    (“C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphicx.sty”
    Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

    (“C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphics.sty”
    Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)

    (“C:\Program Files\MiKTeX 2.7\tex\latex\graphics\trig.sty”
    Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
    )
    (“C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\graphics.cfg”
    File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
    )
    Package graphics Info: Driver file: pdftex.def on input line 90.

    (“C:\Program Files\MiKTeX 2.7\tex\latex\pdftex-def\pdftex.def”
    File: pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX

    ! Package pdftex.def Error: PDF mode expected, but DVI mode detected!
    (pdftex.def) If you are using `latex', then call `pdflatex'.
    (pdftex.def) Otherwise check and correct the driver options.
    (pdftex.def) Error recovery by switching to PDF mode.

    See the pdftex.def package documentation for explanation.
    Type H for immediate help.

    l.385 }\@ehc`

    Cosa potrei aver sbagliato o omesso?

    Grazie
    M.G.

Visualizzazione 6 filoni di risposte
  • Autore
    Risposte
    • #39644
      robitex
      Amministratore del forum
        Up
        0
        Down
        ::

        Ciao a tutti utilizzo Led come editor di testo, e quando faccio la compilazione PDFLatex tutto funziona in quanto ottengo un pdf, ma se faccio la compilazione Latex ottengo quest’errore…. e non posso quindi creare il .ps
        `

        Package hyperref Warning: Wrong driver `hpdftex.def';
        (hyperref) pdfTeX is not running in PDF mode.
        (hyperref) Using default driver.

        *hyperref using default driver hdvips*
        (“C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\hdvips.def”
        File: hdvips.def 2008/11/18 v6.78m Hyperref driver for dvips

        (“C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\pdfmark.def”
        File: pdfmark.def 2008/11/18 v6.78m Hyperref definitions for pdfmark specials
        \pdf@docset=\toks34
        \pdf@box=\box40
        \pdf@toks=\toks35
        \pdf@defaulttoks=\toks36
        \Fld@listcount=\count146
        ))
        (“C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphicx.sty”
        Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

        (“C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphics.sty”
        Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)

        (“C:\Program Files\MiKTeX 2.7\tex\latex\graphics\trig.sty”
        Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
        )
        (“C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\graphics.cfg”
        File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
        )
        Package graphics Info: Driver file: pdftex.def on input line 90.

        (“C:\Program Files\MiKTeX 2.7\tex\latex\pdftex-def\pdftex.def”
        File: pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX

        ! Package pdftex.def Error: PDF mode expected, but DVI mode detected!
        (pdftex.def) If you are using `latex', then call `pdflatex'.
        (pdftex.def) Otherwise check and correct the driver options.
        (pdftex.def) Error recovery by switching to PDF mode.

        See the pdftex.def package documentation for explanation.
        Type H for immediate help.

        l.385 }\@ehc`

        Cosa potrei aver sbagliato o omesso?

        Grazie
        M.G.

        Temo che il formato dvi non supporta la creazione di documenti ipertestuali interattivi, il formato pdf si.
        Tutto qui.
        Ciao

      • #39645
        Up
        0
        Down
        ::

        Ciao a tutti utilizzo Led come editor di testo, e quando faccio la compilazione PDFLatex tutto funziona in quanto ottengo un pdf, ma se faccio la compilazione Latex ottengo quest’errore…. e non posso quindi creare il .ps
        `Package hyperref Warning: Wrong driver `hpdftex.def';
        (hyperref) pdfTeX is not running in PDF mode.
        (hyperref) Using default driver.

        ! Package pdftex.def Error: PDF mode expected, but DVI mode detected!
        (pdftex.def) If you are using `latex', then call `pdflatex'.
        (pdftex.def) Otherwise check and correct the driver options.
        (pdftex.def) Error recovery by switching to PDF mode.

        See the pdftex.def package documentation for explanation.
        Type H for immediate help.

        l.385 }\@ehc`

        Cosa potrei aver sbagliato o omesso?

        Qualche sospetto ce l’ho; meglio se fai vedere il preambolo del tuo documento.

        Ciao
        Enrico

      • #39646
        Up
        0
        Down
        ::


        Ecco il preambolo..
        `
        \documentclass[ twoside,openright,titlepage,fleqn,pointlessnumbers,
        12pt,a4paper,BCOR5mm,footinclude,headinclude,cleardoubleempty,abstractoff
        ]{scrreprt} %

        \listfiles

        \newcommand{\myTitle}{Laboratorio di progettazione in Alta Frequenza\xspace}
        \newcommand{\myDegree}{An Homage to The Elements of Typographic Style\xspace}
        \newcommand{\myName}{Gonne\xspace}
        \newcommand{\myProf}{i\xspace}
        \newcommand{\myOtherProf}{Put name here\xspace}
        \newcommand{\mySupervisor}{Put name here\xspace}
        \newcommand{\myFaculty}{Ingegneria Elettronica\xspace}
        \newcommand{\myDepartment}{Dipartimento di Elettronica e Telecomunicazioni\xspace}
        \newcommand{\myUni}{\protect{Università Degli Studi di Firenze}\xspace}
        \newcommand{\myLocation}{Poppi\xspace}
        \newcommand{\myTime}{Aprile 2009\xspace}
        \newcommand{\myVersion}{Version 2.5\xspace}
        \newcommand{\mail}[3]{\href{mailto:#1}{\texttt{#1}}}
        %**********************************************
        \newcommand{\cambiaFont}[2]{{\fontencoding{T1}\fontfamily{#1}%
        \selectfont#2}}
        %*******************************************************
        % Packages with options that might require adjustments
        %*******************************************************
        \usepackage[latin1]{inputenc}
        \usepackage[T1]{fontenc}
        \usepackage[english]{varioref}
        \usepackage[italian,american]{babel}
        \usepackage[square,numbers]{natbib}

        \usepackage[fleqn]{amsmath} % math environments and more by the AMS
        \usepackage[]{multirow}
        \usepackage{wrapfig}
        \usepackage{pifont}
        \usepackage{siunitx}
        \usepackage{tabularx,booktabs,multirow}
        %\usepackage{textcomp}
        %\usepackage[dvips]{graphicx}
        %*******************************************************
        \usepackage{classicthesis-ldpkg} %\usepackage{classicthesis-ldpkg}
        %*******************************************************
        \usepackage[eulerchapternumbers,
        subfig,beramono,eulermath,parts]{classicthesis}
        %***************************************************
        \usepackage[english]{arsclassica} %italian
        %***************************************************
        \areaset[15mm]{400pt}{699pt}
        %*******************************************************
        %*******************************************************
        \newlength{\abcd} % for ab..z string length calculation
        \newcommand{\myfloatalign}{\centering} % how all the floats will be aligned
        \setlength{\extrarowheight}{3pt} % increase table row height
        % ********************************************************************
        % Captions look and feel
        %*******************************************************
        \captionsetup{format=hang,font=small}
        \usepackage[tight,english]{minitoc}
        % ********************************************************************
        % Where to look for graphics
        %*******************************************************
        \graphicspath{{gfx/}{FigChapter01/}{FigChapter02/}{FigChapter03/}} % considered harmful according to l2tabu
        % ********************************************************************
        % Hyperreferences
        %*******************************************************
        \hypersetup{%
        colorlinks=true, linktocpage=true, pdfstartpage=1, pdfstartview=FitV,%
        breaklinks=true, pdfpagemode=UseNone, pageanchor=true, pdfpagemode=UseOutlines,%
        plainpages=false, bookmarksnumbered, bookmarksopen=true, bookmarksopenlevel=1,%
        hypertexnames=true, pdfhighlight=/O,%hyperfootnotes=true,%nesting=true,%frenchlinks,%
        urlcolor=webbrown, linkcolor=RoyalBlue, citecolor=webgreen, %pagecolor=RoyalBlue,%
        % uncomment the following line if you want to have black links (e.g., for printing)
        %urlcolor=Black, linkcolor=Black, citecolor=Black, %pagecolor=Black,%
        pdftitle={\myTitle},%
        pdfauthor={\textcopyright\ \myName, \myUni, \myFaculty},%
        pdfsubject={},%
        pdfkeywords={},%
        pdfcreator={pdfLaTeX},%
        pdfproducer={LaTeX with hyperref and classicthesis}%
        }
        %********************************************************************
        % INIZIODOCUMENTO
        %*******************************************************
        \begin{document}
        \frenchspacing
        \raggedbottom
        \selectlanguage{american} % american ngerman italian
        %\renewcommand*{\bibname}{new name}
        %\setbibpreamble{}
        \pagenumbering{roman}
        \pagestyle{plain}
        %********************************************************************
        % Frontmatter
        %*******************************************************
        \include{FrontBack/Frontespizio}
        \include{FrontBack/DietroFrontespizio}
        \cleardoublepage\include{FrontBackmatter/Dedication}
        \cleardoublepage\include{FrontBackmatter/Acknowledgments}
        \cleardoublepage\include{FrontBackmatter/Abstract}
        %\cleardoublepage\include{FrontBackmatter/Publication}
        \pagestyle{scrheadings}
        \cleardoublepage\include{FrontBack/Indici}
        %********************************************************************
        % Mainmatter
        %*******************************************************
        \pagenumbering{arabic}
        %\cleardoublepage\myPart{Some Kind of Manual}
        \include{Chapters/Chapter01}
        %\cleardoublepage\myPart{The Showcase}
        %\include{Chapters/Chapter02}
        %\addtocontents{toc}{\protect\clearpage} % TEST
        %\include{Chapters/Chapter03}
        % ********************************************************************
        % Backmatter
        %*******************************************************
        \appendix
        %\cleardoublepage\myPart{Appendix}
        \include{Chapters/Chapter0A}
        %********************************************************************
        % Other Stuff in the Back
        %*******************************************************
        \cleardoublepage\include{FrontBack/Bibliography}
        \cleardoublepage\include{FrontBackmatter/Colophon}
        \cleardoublepage\include{FrontBackmatter/Declaration}
        % ********************************************************************
        % Game Over: Restart, Restore or Quit?
        %*******************************************************
        \end{document}
        % ********************************************************************
        `

      • #39647
        Up
        0
        Down
        ::

        Ecco il preambolo..

        Non puoi usare ClassicThesis con latex, solo con pdflatex. A che ti serve il ps?

        Ciao
        Enrico

      • #39648
        Up
        0
        Down
        ::

        Ecco il preambolo..

        Non puoi usare ClassicThesis con latex, solo con pdflatex. A che ti serve il ps?

        Ciao
        Enrico

        Immaginavo che il problema era ClassicThesis, perchè con altri documenti non mi da errore, comunque mi interessava il .ps per caricare figure .eps, e poi convertire il documento in .pdf
        Esistono altre soluzioni per farlo? che formati posso caricare con ClassicThesis?

        Grazie tante

        M.G.

      • #39649
        Up
        0
        Down
        ::

        [quote]Ecco il preambolo..

        Non puoi usare ClassicThesis con latex, solo con pdflatex. A che ti serve il ps?

        Ciao
        Enrico

        Immaginavo che il problema era ClassicThesis, perchè con altri documenti non mi da errore, comunque mi interessava il .ps per caricare figure .eps, e poi convertire il documento in .pdf
        Esistono altre soluzioni per farlo? che formati posso caricare con ClassicThesis?[/quote]
        Convertire gli eps in pdf?

        Ciao
        Enrico

      • #39650
        Up
        0
        Down
        ::


        Si giusto, farò così!

        Grazie

    Visualizzazione 6 filoni di risposte
    • Devi essere connesso per rispondere a questo topic.

    Go to top