Errore con teubner

  • Creatore
    Topic
  • #99657
    samiel
    Partecipante
      Up
      0
      Down
      ::


      Ho apportato qualche modifica a un vecchio file,
      e adesso non compila più. L’errore è relativo all’uso di teubner.
      In realtà, i codici di esempio presenti in questi due post
      http://guitex.org/home/en/forum/5-tex-e-latex/88678-lipsiakos
      http://www.guitex.org/home/en/forum/5-tex-e-latex/68577-carattere-greco-sans-serif
      mi danno sempre l’errore
      `Runaway argument?
      {\setcounter {verso}{##1}\def \writ@verso {\count 255=\value {verso}\divide \ET
      C.
      ! File ended while scanning use of \@newenv.

      \par
      l.10 \ifFamily
      {qag}{lmss}
      ? `
      non capisco se ci ho infilato qualcosa di sbagliato io,
      se è cambiato qualcosa in teubner. Fatto si è
      che anche il vecchio file che tempo addietro compilava
      senza problemi adesso non compila più…

      m

    Visualizzazione 5 filoni di risposte
    • Autore
      Risposte
      • #99658
        OldClaudio
        Partecipante
          Up
          0
          Down
          ::


          Ho aggiornato teubner qualche giorno fa su CTAN e ho scoperto anch’io quell’errore. Strano, perché era lì dal penultimo aggiornamento e apparentemente nessuno aveva usato teubner negli ultimi tre mesi.
          Non ho ancora controllato su CTAN, ma dovrebbe già esserci la versione 4.5 come aggiornamento corretto e aggiornato anche con i cambiamenti avvenuti in babel-greek.
          Ora a me compila tutto; il mio file di collaudo è proprio teubner-doc.tex dove vengono usati tutti i comandi definiti in teubner e tutti gli ambienti. IN particolare vengono usati per i caratteri greci sia le legature li i comandi estesi sia i LICR.

          Claudio

        • #99659
          samiel
          Partecipante
            Up
            0
            Down
            ::


            Nel mio sistema ho la versione 4.5 ma continua a darmi quell’errore…
            Ho provato a compilare teubner-doc.tex (in cui fra l’altro leggo
            `\def\workingdate{2015/01/14}`
            e ottengo
            `samiel@debian:~$ pdflatex teubner-doc.tex
            This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
            restricted \write18 enabled.
            entering extended mode
            (./teubner-doc.tex
            LaTeX2e <2014/05/01>
            Babel <3.9l> and hyphenation patterns for 79 languages loaded.
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
            Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size12.clo))
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/inputenc.sty
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/latin1.def))
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/t1enc.def))
            (/usr/local/texlive/2014/texmf-dist/tex/latex/txfonts/txfonts.sty)
            (/usr/local/texlive/2014/texmf-dist/tex/latex/mflogo/mflogo.sty)
            (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.sty
            (/usr/local/texlive/2014/texmf-dist/tex/generic/babel-greek/greek.ldf
            (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.def)
            (/usr/local/texlive/2014/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
            (/usr/local/texlive/2014/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def))
            ) (/usr/local/texlive/2014/texmf-dist/tex/generic/babel-english/english.ldf))
            (/usr/local/texlive/2014/texmf-dist/tex/latex/teubner/teubner.sty
            (/usr/local/texlive/2014/texmf-dist/tex/generic/iftex/iftex.sty)
            (/usr/local/texlive/2014/texmf-dist/tex/latex/cm-super/type1ec.sty
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/t1cmr.fd))
            (/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/graphicx.sty
            (/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/keyval.sty)
            (/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/graphics.sty
            (/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/trig.sty)
            (/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/graphics.cfg)
            (/usr/local/texlive/2014/texmf-dist/tex/latex/pdftex-def/pdftex.def
            (/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
            (/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/ifthen.sty)
            (/usr/local/texlive/2014/texmf-dist/tex/latex/base/exscale.sty))
            Runaway argument?
            {\setcounter {verso}{##1}\def \writ@verso {\count 255=\value {verso}\divide \ET
            C.
            ! File ended while scanning use of \@newenv.

            \par
            l.14 {teubner}[\workingdate]
            % <--- older versions don't work well ` m

          • #99660
            OldClaudio
            Partecipante
              Up
              0
              Down
              ::


              Vedo e sono perplesso; dammi il tempo di controllare che cosa succede.
              Claudio

            • #99661
              samiel
              Partecipante
                Up
                0
                Down
                ::


                Il log (finché la compilazione no si blocca) è questo
                `This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex 2015.1.12) 18 JAN 2015 11:54
                entering extended mode
                restricted \write18 enabled.
                %&-line parsing enabled.
                **teubner-doc.tex
                (./teubner-doc.tex
                LaTeX2e <2014/05/01>
                Babel <3.9l> and hyphenation patterns for 79 languages loaded.
                (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
                Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
                (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size12.clo
                File: size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
                )
                \c@part=\count79
                \c@section=\count80
                \c@subsection=\count81
                \c@subsubsection=\count82
                \c@paragraph=\count83
                \c@subparagraph=\count84
                \c@figure=\count85
                \c@table=\count86
                \abovecaptionskip=\skip41
                \belowcaptionskip=\skip42
                \bibindent=\dimen102
                )
                (/usr/local/texlive/2014/texmf-dist/tex/latex/base/inputenc.sty
                Package: inputenc 2014/04/30 v1.2b Input encoding file
                \inpenc@prehook=\toks14
                \inpenc@posthook=\toks15

                (/usr/local/texlive/2014/texmf-dist/tex/latex/base/latin1.def
                File: latin1.def 2014/04/30 v1.2b Input encoding file
                ))
                (/usr/local/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty
                Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

                (/usr/local/texlive/2014/texmf-dist/tex/latex/base/t1enc.def
                File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
                LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
                ))
                (/usr/local/texlive/2014/texmf-dist/tex/latex/txfonts/txfonts.sty
                Package: txfonts 2008/01/22 v3.2.1
                LaTeX Font Info: Redeclaring symbol font `operators' on input line 21.
                LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
                (Font) OT1/cmr/m/n –> OT1/txr/m/n on input line 21.
                LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
                (Font) OT1/cmr/bx/n –> OT1/txr/m/n on input line 21.
                LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
                (Font) OT1/txr/m/n –> OT1/txr/bx/n on input line 22.
                \symitalic=\mathgroup4
                LaTeX Font Info: Overwriting symbol font `italic' in version `bold'
                (Font) OT1/txr/m/it –> OT1/txr/bx/it on input line 26.
                LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 29.
                LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
                (Font) OT1/cmr/bx/n –> OT1/txr/bx/n on input line 29.
                LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
                (Font) OT1/cmr/bx/n –> OT1/txr/bx/n on input line 29.
                LaTeX Font Info: Redeclaring math alphabet \mathit on input line 30.
                LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
                (Font) OT1/cmr/m/it –> OT1/txr/m/it on input line 30.
                LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
                (Font) OT1/cmr/bx/it –> OT1/txr/m/it on input line 30.
                LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
                (Font) OT1/txr/m/it –> OT1/txr/bx/it on input line 31.
                LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 40.
                LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
                (Font) OT1/cmss/m/n –> OT1/txss/m/n on input line 40.
                LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
                (Font) OT1/cmss/bx/n –> OT1/txss/m/n on input line 40.
                LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
                (Font) OT1/txss/m/n –> OT1/txss/b/n on input line 41.
                LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 50.
                LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
                (Font) OT1/cmtt/m/n –> OT1/txtt/m/n on input line 50.
                LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
                (Font) OT1/cmtt/m/n –> OT1/txtt/m/n on input line 50.
                LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
                (Font) OT1/txtt/m/n –> OT1/txtt/b/n on input line 51.
                LaTeX Font Info: Redeclaring symbol font `letters' on input line 58.
                LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
                (Font) OML/cmm/m/it –> OML/txmi/m/it on input line 58.
                LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
                (Font) OML/cmm/b/it –> OML/txmi/m/it on input line 58.
                LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
                (Font) OML/txmi/m/it –> OML/txmi/bx/it on input line 59.
                \symlettersA=\mathgroup5
                LaTeX Font Info: Overwriting symbol font `lettersA' in version `bold'
                (Font) U/txmia/m/it –> U/txmia/bx/it on input line 67.
                LaTeX Font Info: Redeclaring symbol font `symbols' on input line 77.
                LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
                (Font) OMS/cmsy/m/n –> OMS/txsy/m/n on input line 77.
                LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
                (Font) OMS/cmsy/b/n –> OMS/txsy/m/n on input line 77.
                LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
                (Font) OMS/txsy/m/n –> OMS/txsy/bx/n on input line 78.
                \symAMSa=\mathgroup6
                LaTeX Font Info: Overwriting symbol font `AMSa' in version `bold'
                (Font) U/txsya/m/n –> U/txsya/bx/n on input line 94.
                \symAMSb=\mathgroup7
                LaTeX Font Info: Overwriting symbol font `AMSb' in version `bold'
                (Font) U/txsyb/m/n –> U/txsyb/bx/n on input line 103.
                \symsymbolsC=\mathgroup8
                LaTeX Font Info: Overwriting symbol font `symbolsC' in version `bold'
                (Font) U/txsyc/m/n –> U/txsyc/bx/n on input line 113.
                LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 120.
                LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
                (Font) OMX/cmex/m/n –> OMX/txex/m/n on input line 120.
                LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
                (Font) OMX/cmex/m/n –> OMX/txex/m/n on input line 120.
                LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
                (Font) OMX/txex/m/n –> OMX/txex/bx/n on input line 121.
                \symlargesymbolsA=\mathgroup9
                LaTeX Font Info: Overwriting symbol font `largesymbolsA' in version `bold'
                (Font) U/txexa/m/n –> U/txexa/bx/n on input line 129.
                LaTeX Info: Redefining \not on input line 1043.
                )
                (/usr/local/texlive/2014/texmf-dist/tex/latex/mflogo/mflogo.sty
                Package: mflogo 1999/03/10 v2.0 LaTeX package for Metafont and MetaPost logos
                )
                (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.sty
                Package: babel 2014/09/25 3.9l The Babel package

                (/usr/local/texlive/2014/texmf-dist/tex/generic/babel-greek/greek.ldf
                Language: greek 2014/10/21 v1.9c Greek support for the babel system

                (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.def
                File: babel.def 2014/09/25 3.9l Babel common definitions
                \babel@savecnt=\count87
                \U@D=\dimen103
                )
                \bbl@monogreek=\count88
                \bbl@polygreek=\count89
                \bbl@ancientgreek=\count90

                (/usr/local/texlive/2014/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
                File: lgrenc.def 2013/12/02 v0.11.2 LGR Greek font encoding definitions

                (/usr/local/texlive/2014/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
                File: greek-fontenc.def 2014/12/12 v0.12 Common Greek font encoding definitions

                ))) (/usr/local/texlive/2014/texmf-dist/tex/generic/babel-english/english.ldf
                Language: english 2012/08/20 v3.3p English support from the babel system
                \l@canadian = a dialect from \language\l@american
                \l@australian = a dialect from \language\l@british
                \l@newzealand = a dialect from \language\l@british
                ))
                (/usr/local/texlive/2014/texmf-dist/tex/latex/teubner/teubner.sty
                Package: teubner 2015/01/14 v.4.5 Extensions for Greek philology

                (/usr/local/texlive/2014/texmf-dist/tex/generic/iftex/iftex.sty
                Package: iftex 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
                and LuaTeX
                )
                (/usr/local/texlive/2014/texmf-dist/tex/latex/cm-super/type1ec.sty
                Package: type1ec 2002/09/07 v1.1 Type`

              • #99662
                OldClaudio
                Partecipante
                  Up
                  0
                  Down
                  ::


                  Ho trovato l’errore (che in verità avevo corretto in una versione di collaudo di teubner.sty, ma non l’avevo, evidentemente, riportata nella versione dtx da caricare su CTAN); allora:
                  1) correzione spiccia: apri il file teubner.sty, vai alla riga 1009 dove trovi`\def\acapo{\@ifstar{\v@rscr{\@M}}{\v@rscr{\z@}}%`e cambiala in`\def\acapo{\@ifstar{\v@rscr{\@M}}{\v@rscr{\z@}}}%`
                  2) soluzione pulita: io correggo teubner.dtx, lo carico su CTAN e fra qualche giorno puoi aggiornare la tua installazione.

                  Scusami la svista.
                  Claudio

                • #99663
                  samiel
                  Partecipante
                    Up
                    0
                    Down
                    ::


                    Perfetto, grazie mille!
                    Fatta la correzione, adesso tutto fila liscio.
                    Nel frattempo attendiamo la versione ufficiale corretta su CTAN

                    m

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

                Go to top