Hi Akira, > Here no error in the latest pdftex:> > % texexec test.tex> \starttext> > \tt d \edef\tenitnumber{\pdffontobjnum\font}> > \stoptext>
See an attached test.log. Weird, i get
texexec p warning: c:/data/develop/tex-context/tex/texmf/web2c/texmf.cnf:49: (kpathsea) No cnf value on line: OSFONTDIR =. This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/W32TeX) (preloaded format=cont-en) \write18 enabled. entering extended mode (./p.tex
ConTeXt ver: 2018.01.19 13:42 MKII fmt: 2018.1.19 int: english/english .... (c:/data/develop/context/sources/sort-lan.mkii) [1.1] systems : end file p at line 5 ){c:/data/develop/tex-context/tex/texmf/fonts/enc/dvips/lm/lm-ec.enc} !pdfTeX error: pdftex.exe (file ec-lmtt12): Font ec-lmtt12 at 600 not found ==> Fatal error occurred, no output PDF file produced! but when I comment the edef I get the same as you. So maybe some difference in the whole system setup triggeres the error. (I don't use pdftex apart from an occasional test so my setup is a bit minimalistic but quite normal.) (I use your binaries.) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------