pdfTeXでエラー表示がでる

pdfTeXでエラー表示がでる

- sk attack の投稿
返信数: 3
pdfTeXでコンパイルしたら次のようなエラーが出るようになりました:

----エラーログ----

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex)

restricted \write18 enabled.

entering extended mode

(./Moduli_3dim_diffeo_rev_3.tex

LaTeX2e <2017-04-15>

Babel <3.15> and hyphenation patterns for 84 language(s) loaded.

(/usr/local/texlive/2017/texmf-dist/tex/latex/amscls/amsart.cls

Document Class: amsart 2015/03/04 v2.20.2

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty

For additional information on amsmath, use the `?' option.

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty))

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty)

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty))

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/umsa.fd)

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amsfonts.sty))

(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphicx.sty

(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty)

(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/graphics.sty

(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/trig.sty)

(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)

(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics-def/pdftex.def)))

(/usr/local/texlive/2017/texmf-dist/tex/latex/tools/enumerate.sty)

(/usr/local/texlive/2017/texmf-dist/tex/latex/amsfonts/amssymb.sty)

(/usr/local/texlive/2017/texmf-dist/tex/platex/base/ascmac.sty

(/usr/local/texlive/2017/texmf-dist/tex/platex/base/tascmac.sty

/usr/local/texlive/2017/texmf-dist/tex/platex/base/tascmac.sty:57: Undefined co

ntrol sequence.

l.57 \pdfextension

mapline{+ascgrp <ascgrp.pfb}

? q

OK, entering \batchmode

------------------

ちなみにコンパルしたtexファイルはUnicode(UTF-8)英文で書かれてます.
使用環境は
macOS v10.13.2 (最新)
TeXShop v 3.92(最新)
です.

アドバイス頂けると助かります.
sk attack への返信

Re: pdfTeXでエラー表示がでる

- aminophen の投稿
ascmac パッケージを最近更新した時に入れてしまったバグです。
インストールされている tascmac.sty を見つけて

%% Use Type1 font for ascgrp (pdfLaTeX, LuaLaTeX)

のあたりの \if 文を

\ifascmac@ptex\else
  \ifx\pdfextension\@undefined
    % pdfTeX, LuaTeX (<=0.81)
    \pdfmapline{+ascgrp <ascgrp.pfb}
    \pdfmapline{+ascii10 <ascii10.pfb}
    \pdfmapline{+ascii36 <ascii36.pfb}
  \else\ifx\pdfmapline\@undefined
    % LuaTeX (>=0.85)
    \pdfextension mapline{+ascgrp <ascgrp.pfb}
    \pdfextension mapline{+ascii10 <ascii10.pfb}
    \pdfextension mapline{+ascii36 <ascii36.pfb}
  \fi\fi
\fi

のように書き直してみてください。修正版は今日中にアップロードします。
aminophen への返信

Re: pdfTeXでエラー表示がでる【解決】

- sk attack の投稿
アドバイスありがとうございました.
tascmac.sty は
/usr/local/texlive/2017/texmf-dist/tex/platex/base/tascmac.sty
にありました.
ご指定の箇所をアドバイス通り書き直しましたら
無事,コンパイルできエラーはなくなりました.

ありがとうございました

sk attack への返信

Re: pdfTeXでエラー表示がでる【解決】

- aminophen の投稿
以下のコードの方がより安全に判定できるようなので,リリースには
こちらを入れます。

\ifascmac@ptex\else
  \ifx\pdfextension\@undefined
    \ifx\pdfmapline\@undefined\else
      % pdfTeX, LuaTeX (<=0.81)
      \pdfmapline{+ascgrp <ascgrp.pfb}
      \pdfmapline{+ascii10 <ascii10.pfb}
      \pdfmapline{+ascii36 <ascii36.pfb}
    \fi
  \else
    % LuaTeX (>=0.85)
    \pdfextension mapline{+ascgrp <ascgrp.pfb}
    \pdfextension mapline{+ascii10 <ascii10.pfb}
    \pdfextension mapline{+ascii36 <ascii36.pfb}
  \fi
\fi