Problemi con hyperref

  • Creatore
    Topic
  • #24874
    Up
    0
    Down
    ::


    Ho un documento con il seguente preambolo:
    `
    \documentclass[a4paper,12pt,twoside,trieste]{toptesi}
    \usepackage[italian]{varioref}
    \usepackage[ansinew]{inputenc}
    \usepackage[italian]{babel}
    \usepackage{graphicx}
    \usepackage{amsmath}
    \usepackage{amssymb}
    \usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black]{hyperref}
    `

    e nel compilare, ottengo ben 220 warning. Se tolgo il pacchetto hyperref tutti i warning spariscono. Riporto un pezzo del file .log con i warning, se è necessario che lo riporti tutto o occorre un’altra parte, sono pronto!

    `Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\afterassignment' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\f@size' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\afterassignment' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\f@baselineskip' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\f@linespread' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\baselinestretch' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\font@name' on input line 31.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\OT1/cmr/m/n/17.28' on input line 31.

    [1

    ]

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\afterassignment' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\f@size' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\afterassignment' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\f@baselineskip' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\f@linespread' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\baselinestretch' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 32.

    Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
    (hyperref) removing `\-command' on input line 32.`

    Grazie per l’aiuto

Visualizzazione 3 filoni di risposte
  • Autore
    Risposte
    • #24875
      Up
      0
      Down
      ::

      Ho un documento con il seguente preambolo:
      `
      \documentclass[a4paper,12pt,twoside,trieste]{toptesi}
      \usepackage[italian]{varioref}
      \usepackage[ansinew]{inputenc}
      \usepackage[italian]{babel}
      \usepackage{graphicx}
      \usepackage{amsmath}
      \usepackage{amssymb}
      \usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black]{hyperref}
      `

      e nel compilare, ottengo ben 220 warning. Se tolgo il pacchetto hyperref tutti i warning spariscono.

      Esempio minimo, per favore. Probabilmente hai usato un comando di cambiamento di font in un titolo di capitolo o di sezione.

      Ciao
      Enrico

    • #24876
      Up
      0
      Down
      ::

      Esempio minimo, per favore. Probabilmente hai usato un comando di cambiamento di font in un titolo di capitolo o di sezione.

      Ciao
      Enrico

      Ecco di seguito un esempio proprio minimale. Ora i warning sono solo 42, ma sempre dello stesso tipo precedente.

      `
      \documentclass[a4paper,12pt,twoside,trieste]{toptesi}
      \usepackage[italian]{varioref}
      \usepackage[ansinew]{inputenc}
      \usepackage[italian]{babel}
      \usepackage{graphicx}
      \usepackage{amsmath}
      \usepackage{amssymb}
      \usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black]{hyperref}
      \begin{document}

      Esempio proprio minimo

      \indici
      \listoffigures

      \end{document}
      `
      Posto solo la parte dei warning del .log, se occorre sapere altro sono a disposizione. Comunque ho installato miktex 2.7 due giorni fa, dunque dovrebbe essere tutto aggiornatissimo.

      `
      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\afterassignment' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@size' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\afterassignment' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@baselineskip' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@linespread' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\baselinestretch' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\font@name' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\OT1/cmr/m/n/7' on input line 13.

      [1

      ] (FiatPicoprova.toc)
      \tf@toc=\write4

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\afterassignment' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@size' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\afterassignment' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@baselineskip' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@linespread' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\baselinestretch' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\font@name' on input line 13.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\OT1/cmr/m/n/7' on input line 13.

      [2

      ] (FiatPicoprova.lof)
      \tf@lof=\write5

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\afterassignment' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@size' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\afterassignment' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@baselineskip' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\f@linespread' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\baselinestretch' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\-command' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\font@name' on input line 14.

      Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding),
      (hyperref) removing `\OT1/cmr/m/n/7' on input line 14.
      `

    • #24877
      Up
      0
      Down
      ::

      Esempio minimo, per favore. Probabilmente hai usato un comando di cambiamento di font in un titolo di capitolo o di sezione.

      Ciao
      Enrico

      Ecco di seguito un esempio proprio minimale. Ora i warning sono solo 42, ma sempre dello stesso tipo precedente.

      `
      \documentclass[a4paper,12pt,twoside,trieste]{toptesi}
      \usepackage[italian]{varioref}
      \usepackage[ansinew]{inputenc}
      \usepackage[italian]{babel}
      \usepackage{graphicx}
      \usepackage{amsmath}
      \usepackage{amssymb}
      \usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black]{hyperref}
      \begin{document}

      Esempio proprio minimo

      \indici
      \listoffigures

      \end{document}
      `
      Posto solo la parte dei warning del .log, se occorre sapere altro sono a disposizione. Comunque ho installato miktex 2.7 due giorni fa, dunque dovrebbe essere tutto aggiornatissimo.

      L’unica cosa che ti posso dire è che, evidentemente, toptesi ridefinisce i comandi di compilazione degli indici in modo incompatibile con hyperref. Ho provato a guardarci dentro ma non sono riuscito a vedere dove. Credo che sia il caso di fare una segnalazione all’autore (C. Beccari).

      Ciao
      Enrico

    • #24878
      Up
      0
      Down
      ::

      Posto solo la parte dei warning del .log, se occorre sapere altro sono a disposizione. Comunque ho installato miktex 2.7 due giorni fa, dunque dovrebbe essere tutto aggiornatissimo.

      L’unica cosa che ti posso dire è che, evidentemente, toptesi ridefinisce i comandi di compilazione degli indici in modo incompatibile con hyperref. Ho provato a guardarci dentro ma non sono riuscito a vedere dove. Credo che sia il caso di fare una segnalazione all’autore (C. Beccari).

      Ciao
      Enrico[/quote]

      Grazie comunque per l’aiuto. Ricordo che già in passato toptesi mi aveva dato problemi con hyperref, solo che alla fine mi ero tenuto i warning…

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

Go to top