[risolto] Fonts opentype, nfssext.sty not found

  • Creatore
    Topic
  • #54343
    Up
    0
    Down
    ::


    Salve.
    Ho installato un font opentype seguendo le istruzioni che ho trovato su http://web.willbenton.com/writing/2008/better-latex, usando otfinst.py.
    Dopodichè ho provato il nuovo font con il seguente codice:

    `\documentclass{book}
    \usepackage{adobecaslon}
    \usepackage{lipsum}
    \begin{document}
    \lipsum[1-6]
    \end{document}
    `
    però ho ricevuto l’errore “! LaTeX Error: File `nfssext.sty’ not found.”, inutile dire che il testo è risultato composto in computer modern.
    C’è qualcosa che mi sfugge? qualcuno ha una idea?
    Grazie. In coda riporto il file di log.

    Sam Qasbah

    `This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.1.6) 6 JAN 2011 18:31
    entering extended mode
    restricted \write18 enabled.
    %&-line parsing enabled.
    **Documento.tex
    (./Documento.tex
    LaTeX2e <2009/09/24>
    Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
    rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
    c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
    h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
    galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic
    , assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panja
    bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, lati
    n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portu
    guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedis
    h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
    (/usr/local/texlive/2010/texmf-dist/tex/latex/base/book.cls
    Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
    (/usr/local/texlive/2010/texmf-dist/tex/latex/base/bk10.clo
    File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
    )
    \c@part=\count79
    \c@chapter=\count80
    \c@section=\count81
    \c@subsection=\count82
    \c@subsubsection=\count83
    \c@paragraph=\count84
    \c@subparagraph=\count85
    \c@figure=\count86
    \c@table=\count87
    \abovecaptionskip=\skip41
    \belowcaptionskip=\skip42
    \bibindent=\dimen102
    )
    (/home/sam/texmf/tex/latex/localfonts/adobecaslon.sty
    Package: adobecaslon 2011/01/06 Adobe Caslon Pro

    (/usr/local/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
    Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

    (/usr/local/texlive/2010/texmf-dist/tex/latex/ly1/ly1enc.def
    File: ly1enc.def 2009/07/22 v0.7 TeX 'n ANSI encoding (DPC/KB)
    )
    LaTeX Font Info: Try loading font information for LY1+ptm on input line 100.

    (/usr/local/texlive/2010/texmf-dist/tex/latex/ly1/ly1ptm.fd
    File: ly1ptm.fd 2001/02/01 font definitions for LY1/ptm using Berry names.
    ))
    (/usr/local/texlive/2010/texmf-dist/tex/latex/base/textcomp.sty
    Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
    Package textcomp Info: Sub-encoding information:
    (textcomp) 5 = only ISO-Adobe without \textcurrency
    (textcomp) 4 = 5 + \texteuro
    (textcomp) 3 = 4 + \textohm
    (textcomp) 2 = 3 + \textestimated + \textcurrency
    (textcomp) 1 = TS1 – \textcircled – \t
    (textcomp) 0 = TS1 (full)
    (textcomp) Font families with sub-encoding setting implement
    (textcomp) only a restricted character set as indicated.
    (textcomp) Family '?' is the default used for unknown fonts.
    (textcomp) See the documentation for details.
    Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71.

    (/usr/local/texlive/2010/texmf-dist/tex/latex/base/ts1enc.def
    File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
    )
    LaTeX Info: Redefining \oldstylenums on input line 266.
    Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281.
    Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282.
    Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283.
    Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284.
    Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285.
    Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286.
    Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287.
    Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288.
    Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289.
    Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290.
    Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291.
    Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292.
    Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293.
    Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294.
    Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295.
    Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296.
    Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297.
    Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298.
    Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299.
    Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300.
    Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301.
    Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 302.
    Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 303.
    Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 304.

    Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305.
    Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306.
    Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307.
    Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308.
    Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309.
    Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310.
    Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 311.
    Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 312.
    Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 313.
    Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 314.
    Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 315.
    Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 316.
    Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 317.
    Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 318.
    Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 319.
    Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 320.
    Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 321.
    Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 322.
    Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 323.
    Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 324.
    Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 325.
    Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 326.
    )
    (/usr/local/texlive/2010/texmf-dist/tex/latex/xkeyval/xkeyval.sty
    Package: xkeyval 2008/08/13 v2.6a package option processing (HA)

    (/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/xkeyval.tex
    \XKV@toks=\toks14
    \XKV@tempa@toks=\toks15
    \XKV@depth=\count88
    File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)

    (/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/keyval.tex)))

    ! LaTeX Error: File `nfssext.sty' not found.

    Type X to quit or to proceed,
    or enter new name. (Default extension: sty)

    Enter file name:
    ) (/usr/local/texlive/2010/texmf-dist/tex/latex/lipsum/lipsum.sty
    Package: lipsum 2005/01/26 v1.0 150 paragraphs of Lorem Ipsum dummy text
    File: lipsum.dtx 2005/01/26 v1.0 150 paragraphs of Lorem Ipsum dummy text
    \c@lips@count=\count89
    )
    (./Documento.aux)
    \openout1 = `Documento.aux'.

    LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
    LaTeX Font Info: … okay on input line 4.
    LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
    LaTeX Font Info: … okay on input line 4.
    LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
    LaTeX Font Info: … okay on input line 4.
    LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
    LaTeX Font Info: … okay on input line 4.
    LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
    LaTeX Font Info: … okay on input line 4.
    LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
    LaTeX Font Info: … okay on input line 4.
    LaTeX Font Info: Checking defaults for LY1/ptm/m/n on input line 4.
    LaTeX Font Info: … okay on input line 4.
    LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 4.
    LaTeX Font Info: Try loading font information for TS1+cmr on input line 4.
    (/usr/local/texlive/2010/texmf-dist/tex/latex/base/ts1cmr.fd
    File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
    )
    LaTeX Font Info: … okay on input line 4.
    LaTeX Font Info: Try loading font information for LY1+pacj on input line 4.
    (/home/sam/texmf/tex/latex/localfonts/ly1pacj.fd
    File: ly1pacj.fd 2011/01/06 LY1/Adobe Caslon Pro-onum
    )
    Overfull \hbox (3.59451pt too wide) in paragraph at lines 5–5
    \LY1/pacj/m/n/10 cidunt ul-tri-ces. Lorem ip-sum do-lor sit amet, con-sectetuer
    adip-isc-ing elit. In hac habitasse
    []

    LaTeX Font Warning: Font shape `LY1/pacj/m/sl' in size <10> not available
    (Font) Font shape `LY1/pacj/m/it' tried instead on input line 5.

    [1{/home/sam/.texlive2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}

    ]
    [2] [3] [4]
    Overfull \hbox (9.84763pt too wide) in paragraph at lines 5–5
    []\LY1/pacj/m/n/10 Sed mat-tis, erat sit amet gravida male-suada, elit au-gue e
    ges-tas diam, tem-pus scelerisque
    []

    [5] (./Documento.aux) )
    Here is how much of TeX's memory you used:
    1519 strings out of 493738
    19597 string characters out of 3143045
    153741 words of memory out of 3000000
    4851 multiletter control sequences out of 15000+200000
    15854 words of font info for 19 fonts, out of 3000000 for 9000
    714 hyphenation exceptions out of 8191
    35i,4n,22p,196b,160s stack positions out of 5000i,500n,10000p,200000b,50000s
    {/home/sam/.texlive2010/texmf-var/fonts/enc/dvips/adobe/
    a_tnxzkz.enc}
    Output written on Documento.pdf (5 pages, 62840 bytes).
    PDF statistics:
    25 PDF objects out of 1000 (max. 8388607)
    16 compressed objects within 1 object stream
    0 named destinations out of 1000 (max. 500000)
    1 words of extra memory for PDF output out of 10000 (max. 10000000)`

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

      Salve.
      Ho installato un font opentype seguendo le istruzioni che ho trovato su http://web.willbenton.com/writing/2008/better-latex, usando otfinst.py.
      Dopodichè ho provato il nuovo font con il seguente codice:

      `\documentclass{book}
      \usepackage{adobecaslon}
      \usepackage{lipsum}
      \begin{document}
      \lipsum[1-6]
      \end{document}
      `
      però ho ricevuto l’errore “! LaTeX Error: File `nfssext.sty’ not found.”, inutile dire che il testo è risultato composto in computer modern.
      C’è qualcosa che mi sfugge? qualcuno ha una idea?
      Grazie. In coda riporto il file di log.

      Sam Qasbah

      `This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.1.6) 6 JAN 2011 18:31
      entering extended mode
      restricted \write18 enabled.
      %&-line parsing enabled.
      **Documento.tex
      (./Documento.tex
      LaTeX2e <2009/09/24>
      Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
      rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
      c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
      h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
      galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic
      , assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panja
      bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, lati
      n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portu
      guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedis
      h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/book.cls
      Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/bk10.clo
      File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
      )
      \c@part=\count79
      \c@chapter=\count80
      \c@section=\count81
      \c@subsection=\count82
      \c@subsubsection=\count83
      \c@paragraph=\count84
      \c@subparagraph=\count85
      \c@figure=\count86
      \c@table=\count87
      \abovecaptionskip=\skip41
      \belowcaptionskip=\skip42
      \bibindent=\dimen102
      )
      (/home/sam/texmf/tex/latex/localfonts/adobecaslon.sty
      Package: adobecaslon 2011/01/06 Adobe Caslon Pro

      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
      Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

      (/usr/local/texlive/2010/texmf-dist/tex/latex/ly1/ly1enc.def
      File: ly1enc.def 2009/07/22 v0.7 TeX 'n ANSI encoding (DPC/KB)
      )
      LaTeX Font Info: Try loading font information for LY1+ptm on input line 100.

      (/usr/local/texlive/2010/texmf-dist/tex/latex/ly1/ly1ptm.fd
      File: ly1ptm.fd 2001/02/01 font definitions for LY1/ptm using Berry names.
      ))
      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/textcomp.sty
      Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
      Package textcomp Info: Sub-encoding information:
      (textcomp) 5 = only ISO-Adobe without \textcurrency
      (textcomp) 4 = 5 + \texteuro
      (textcomp) 3 = 4 + \textohm
      (textcomp) 2 = 3 + \textestimated + \textcurrency
      (textcomp) 1 = TS1 – \textcircled – \t
      (textcomp) 0 = TS1 (full)
      (textcomp) Font families with sub-encoding setting implement
      (textcomp) only a restricted character set as indicated.
      (textcomp) Family '?' is the default used for unknown fonts.
      (textcomp) See the documentation for details.
      Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71.

      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/ts1enc.def
      File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
      )
      LaTeX Info: Redefining \oldstylenums on input line 266.
      Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281.
      Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282.
      Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283.
      Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284.
      Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285.
      Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286.
      Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287.
      Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288.
      Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289.
      Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290.
      Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291.
      Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292.
      Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293.
      Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294.
      Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295.
      Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296.
      Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297.
      Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298.
      Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299.
      Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300.
      Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301.
      Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 302.
      Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 303.
      Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 304.

      Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305.
      Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306.
      Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307.
      Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308.
      Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309.
      Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310.
      Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 311.
      Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 312.
      Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 313.
      Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 314.
      Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 315.
      Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 316.
      Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 317.
      Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 318.
      Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 319.
      Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 320.
      Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 321.
      Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 322.
      Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 323.
      Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 324.
      Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 325.
      Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 326.
      )
      (/usr/local/texlive/2010/texmf-dist/tex/latex/xkeyval/xkeyval.sty
      Package: xkeyval 2008/08/13 v2.6a package option processing (HA)

      (/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/xkeyval.tex
      \XKV@toks=\toks14
      \XKV@tempa@toks=\toks15
      \XKV@depth=\count88
      File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)

      (/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/keyval.tex)))

      ! LaTeX Error: File `nfssext.sty' not found.

      Type X to quit or to proceed,
      or enter new name. (Default extension: sty)

      Enter file name:
      ) (/usr/local/texlive/2010/texmf-dist/tex/latex/lipsum/lipsum.sty
      Package: lipsum 2005/01/26 v1.0 150 paragraphs of Lorem Ipsum dummy text
      File: lipsum.dtx 2005/01/26 v1.0 150 paragraphs of Lorem Ipsum dummy text
      \c@lips@count=\count89
      )
      (./Documento.aux)
      \openout1 = `Documento.aux'.

      LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for LY1/ptm/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 4.
      LaTeX Font Info: Try loading font information for TS1+cmr on input line 4.
      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/ts1cmr.fd
      File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
      )
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Try loading font information for LY1+pacj on input line 4.
      (/home/sam/texmf/tex/latex/localfonts/ly1pacj.fd
      File: ly1pacj.fd 2011/01/06 LY1/Adobe Caslon Pro-onum
      )
      Overfull \hbox (3.59451pt too wide) in paragraph at lines 5–5
      \LY1/pacj/m/n/10 cidunt ul-tri-ces. Lorem ip-sum do-lor sit amet, con-sectetuer
      adip-isc-ing elit. In hac habitasse
      []

      LaTeX Font Warning: Font shape `LY1/pacj/m/sl' in size <10> not available
      (Font) Font shape `LY1/pacj/m/it' tried instead on input line 5.

      [1{/home/sam/.texlive2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}

      ]
      [2] [3] [4]
      Overfull \hbox (9.84763pt too wide) in paragraph at lines 5–5
      []\LY1/pacj/m/n/10 Sed mat-tis, erat sit amet gravida male-suada, elit au-gue e
      ges-tas diam, tem-pus scelerisque
      []

      [5] (./Documento.aux) )
      Here is how much of TeX's memory you used:
      1519 strings out of 493738
      19597 string characters out of 3143045
      153741 words of memory out of 3000000
      4851 multiletter control sequences out of 15000+200000
      15854 words of font info for 19 fonts, out of 3000000 for 9000
      714 hyphenation exceptions out of 8191
      35i,4n,22p,196b,160s stack positions out of 5000i,500n,10000p,200000b,50000s
      {/home/sam/.texlive2010/texmf-var/fonts/enc/dvips/adobe/
      a_tnxzkz.enc}
      Output written on Documento.pdf (5 pages, 62840 bytes).
      PDF statistics:
      25 PDF objects out of 1000 (max. 8388607)
      16 compressed objects within 1 object stream
      0 named destinations out of 1000 (max. 500000)
      1 words of extra memory for PDF output out of 10000 (max. 10000000)`

      Dal log, vedendo la parte scritta in rosso, deduco che il documento è scritto in Adobe Caslon. Senza vedere il file adobecaslon.sty, che suppongo prodotto dallo script Python, impossibile dire qualcosa.

      Ciao
      Enrico

    • #54345
      Up
      0
      Down
      ::

      Salve.
      Ho installato un font opentype seguendo le istruzioni che ho trovato su http://web.willbenton.com/writing/2008/better-latex, usando otfinst.py.
      Dopodichè ho provato il nuovo font con il seguente codice:

      `\documentclass{book}
      \usepackage{adobecaslon}
      \usepackage{lipsum}
      \begin{document}
      \lipsum[1-6]
      \end{document}
      `
      però ho ricevuto l’errore “! LaTeX Error: File `nfssext.sty’ not found.”, inutile dire che il testo è risultato composto in computer modern.
      C’è qualcosa che mi sfugge? qualcuno ha una idea?
      Grazie. In coda riporto il file di log.

      Sam Qasbah

      `This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.1.6) 6 JAN 2011 18:31
      entering extended mode
      restricted \write18 enabled.
      %&-line parsing enabled.
      **Documento.tex
      (./Documento.tex
      LaTeX2e <2009/09/24>
      Babel and hyphenation patterns for english, dumylang, nohyphenation, ge
      rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
      c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
      h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
      galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic
      , assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panja
      bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, lati
      n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portu
      guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedis
      h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/book.cls
      Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/bk10.clo
      File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
      )
      \c@part=\count79
      \c@chapter=\count80
      \c@section=\count81
      \c@subsection=\count82
      \c@subsubsection=\count83
      \c@paragraph=\count84
      \c@subparagraph=\count85
      \c@figure=\count86
      \c@table=\count87
      \abovecaptionskip=\skip41
      \belowcaptionskip=\skip42
      \bibindent=\dimen102
      )
      (/home/sam/texmf/tex/latex/localfonts/adobecaslon.sty
      Package: adobecaslon 2011/01/06 Adobe Caslon Pro

      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
      Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

      (/usr/local/texlive/2010/texmf-dist/tex/latex/ly1/ly1enc.def
      File: ly1enc.def 2009/07/22 v0.7 TeX 'n ANSI encoding (DPC/KB)
      )
      LaTeX Font Info: Try loading font information for LY1+ptm on input line 100.

      (/usr/local/texlive/2010/texmf-dist/tex/latex/ly1/ly1ptm.fd
      File: ly1ptm.fd 2001/02/01 font definitions for LY1/ptm using Berry names.
      ))
      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/textcomp.sty
      Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
      Package textcomp Info: Sub-encoding information:
      (textcomp) 5 = only ISO-Adobe without \textcurrency
      (textcomp) 4 = 5 + \texteuro
      (textcomp) 3 = 4 + \textohm
      (textcomp) 2 = 3 + \textestimated + \textcurrency
      (textcomp) 1 = TS1 – \textcircled – \t
      (textcomp) 0 = TS1 (full)
      (textcomp) Font families with sub-encoding setting implement
      (textcomp) only a restricted character set as indicated.
      (textcomp) Family '?' is the default used for unknown fonts.
      (textcomp) See the documentation for details.
      Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71.

      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/ts1enc.def
      File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
      )
      LaTeX Info: Redefining \oldstylenums on input line 266.
      Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281.
      Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282.
      Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283.
      Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284.
      Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285.
      Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286.
      Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287.
      Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288.
      Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289.
      Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290.
      Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291.
      Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292.
      Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293.
      Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294.
      Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295.
      Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296.
      Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297.
      Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298.
      Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299.
      Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300.
      Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301.
      Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 302.
      Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 303.
      Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 304.

      Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305.
      Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306.
      Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307.
      Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308.
      Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309.
      Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310.
      Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 311.
      Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 312.
      Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 313.
      Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 314.
      Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 315.
      Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 316.
      Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 317.
      Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 318.
      Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 319.
      Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 320.
      Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 321.
      Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 322.
      Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 323.
      Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 324.
      Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 325.
      Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 326.
      )
      (/usr/local/texlive/2010/texmf-dist/tex/latex/xkeyval/xkeyval.sty
      Package: xkeyval 2008/08/13 v2.6a package option processing (HA)

      (/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/xkeyval.tex
      \XKV@toks=\toks14
      \XKV@tempa@toks=\toks15
      \XKV@depth=\count88
      File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)

      (/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/keyval.tex)))

      ! LaTeX Error: File `nfssext.sty' not found.

      Type X to quit or to proceed,
      or enter new name. (Default extension: sty)

      Enter file name:
      ) (/usr/local/texlive/2010/texmf-dist/tex/latex/lipsum/lipsum.sty
      Package: lipsum 2005/01/26 v1.0 150 paragraphs of Lorem Ipsum dummy text
      File: lipsum.dtx 2005/01/26 v1.0 150 paragraphs of Lorem Ipsum dummy text
      \c@lips@count=\count89
      )
      (./Documento.aux)
      \openout1 = `Documento.aux'.

      LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for LY1/ptm/m/n on input line 4.
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 4.
      LaTeX Font Info: Try loading font information for TS1+cmr on input line 4.
      (/usr/local/texlive/2010/texmf-dist/tex/latex/base/ts1cmr.fd
      File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
      )
      LaTeX Font Info: … okay on input line 4.
      LaTeX Font Info: Try loading font information for LY1+pacj on input line 4.
      (/home/sam/texmf/tex/latex/localfonts/ly1pacj.fd
      File: ly1pacj.fd 2011/01/06 LY1/Adobe Caslon Pro-onum
      )
      Overfull \hbox (3.59451pt too wide) in paragraph at lines 5–5
      \LY1/pacj/m/n/10 cidunt ul-tri-ces. Lorem ip-sum do-lor sit amet, con-sectetuer
      adip-isc-ing elit. In hac habitasse
      []

      LaTeX Font Warning: Font shape `LY1/pacj/m/sl' in size <10> not available
      (Font) Font shape `LY1/pacj/m/it' tried instead on input line 5.

      [1{/home/sam/.texlive2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}

      ]
      [2] [3] [4]
      Overfull \hbox (9.84763pt too wide) in paragraph at lines 5–5
      []\LY1/pacj/m/n/10 Sed mat-tis, erat sit amet gravida male-suada, elit au-gue e
      ges-tas diam, tem-pus scelerisque
      []

      [5] (./Documento.aux) )
      Here is how much of TeX's memory you used:
      1519 strings out of 493738
      19597 string characters out of 3143045
      153741 words of memory out of 3000000
      4851 multiletter control sequences out of 15000+200000
      15854 words of font info for 19 fonts, out of 3000000 for 9000
      714 hyphenation exceptions out of 8191
      35i,4n,22p,196b,160s stack positions out of 5000i,500n,10000p,200000b,50000s
      {/home/sam/.texlive2010/texmf-var/fonts/enc/dvips/adobe/
      a_tnxzkz.enc}[color=red][/color]
      Output written on Documento.pdf (5 pages, 62840 bytes).
      PDF statistics:
      25 PDF objects out of 1000 (max. 8388607)
      16 compressed objects within 1 object stream
      0 named destinations out of 1000 (max. 500000)
      1 words of extra memory for PDF output out of 10000 (max. 10000000)`

      Dal log, vedendo la parte scritta in rosso, deduco che il documento è scritto in Adobe Caslon. Senza vedere il file adobecaslon.sty, che suppongo prodotto dallo script Python, impossibile dire qualcosa.

      Ciao
      Enrico

      Di seguito il file adobecaslon.sty
      `% Autogenerated by ./otfinst.py on 2011/01/06
      \NeedsTeXFormat{LaTeX2e}
      \ProvidesPackage{adobecaslon}[2011/01/06 Adobe Caslon Pro]
      \RequirePackage[LY1]{fontenc}
      \RequirePackage{textcomp}
      \RequirePackage{xkeyval}
      \RequirePackage{nfssext}
      \def\@makefnmark{\hbox{\sustyle\@thefnmark}}
      \providecommand*{\textfrac}[2]{%
      \textsu{#1}%
      \textfractionsolidus
      \textin{#2}}
      \define@key{pac}{scaled}[1.0]{\def\pac@scaled{s*[#1]}}
      \define@key{pac}{family}[rm]{\def\pac@family{#1}}
      \DeclareOption*{%
      \begingroup
      \edef\x{\endgroup
      \noexpand\setkeys{pac}{\CurrentOption}}%
      \x}
      \newcommand*{\pac@style}{j}
      \DeclareOption{oldstyle}{%
      \renewcommand*{\pac@style}{j}%
      }
      \DeclareOption{lining}{%
      \renewcommand*{\pac@style}{x}%
      }

      \newcommand*{\pac@default}{%
      \renewcommand*{\rmdefault}{pac\pac@style}%
      }

      \DeclareOption{rm}{%
      \renewcommand*{\pac@default}{}%
      \renewcommand*{\rmdefault}{pac\pac@style}%
      }

      \DeclareOption{sf}{%
      \renewcommand*{\pac@default}{}%
      \renewcommand*{\sfdefault}{pac\pac@style}%
      }

      \DeclareOption{tt}{%
      \renewcommand*{\pac@default}{}%
      \renewcommand*{\ttdefault}{pac\pac@style}%
      }

      \ProcessOptions*
      \pac@default
      \endinput`

    • #54346
      Up
      0
      Down
      ::

      Di seguito il file adobecaslon.sty
      `% Autogenerated by ./otfinst.py on 2011/01/06
      \NeedsTeXFormat{LaTeX2e}
      \ProvidesPackage{adobecaslon}[2011/01/06 Adobe Caslon Pro]
      \RequirePackage[LY1]{fontenc}
      \RequirePackage{textcomp}
      \RequirePackage{xkeyval}
      \RequirePackage{nfssext}
      \def\@makefnmark{\hbox{\sustyle\@thefnmark}}
      \providecommand*{\textfrac}[2]{%
      \textsu{#1}%
      \textfractionsolidus
      \textin{#2}}
      \define@key{pac}{scaled}[1.0]{\def\pac@scaled{s*[#1]}}
      \define@key{pac}{family}[rm]{\def\pac@family{#1}}
      \DeclareOption*{%
      \begingroup
      \edef\x{\endgroup
      \noexpand\setkeys{pac}{\CurrentOption}}%
      \x}
      \newcommand*{\pac@style}{j}
      \DeclareOption{oldstyle}{%
      \renewcommand*{\pac@style}{j}%
      }
      \DeclareOption{lining}{%
      \renewcommand*{\pac@style}{x}%
      }

      \newcommand*{\pac@default}{%
      \renewcommand*{\rmdefault}{pac\pac@style}%
      }

      \DeclareOption{rm}{%
      \renewcommand*{\pac@default}{}%
      \renewcommand*{\rmdefault}{pac\pac@style}%
      }

      \DeclareOption{sf}{%
      \renewcommand*{\pac@default}{}%
      \renewcommand*{\sfdefault}{pac\pac@style}%
      }

      \DeclareOption{tt}{%
      \renewcommand*{\pac@default}{}%
      \renewcommand*{\ttdefault}{pac\pac@style}%
      }

      \ProcessOptions*
      \pac@default
      \endinput`

      Trovi uno schema di nfssext.sty nel documento fontinstallationguide.pdf che dovresti avere nella documentazione in TeX Live. Ma se cancelli la chiamata non dovresti avere problemi.

      Ciao
      Enrico

    • #54347
      Up
      0
      Down
      ::

      Trovi uno schema di nfssext.sty nel documento fontinstallationguide.pdf che dovresti avere nella documentazione in TeX Live. Ma se cancelli la chiamata non dovresti avere problemi.

      Ciao
      Enrico

      Ho risolto aggiungendo il fle nfssext.sty nella cartella $TEXFMHOME/tex/latex/localfonts, dove lo scipt python ha creato tutti i vari files *.fd.

      Grazie di tutto, ciao.

      Sam Qasbah

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

Go to top