I don't get the error (I'm using MacTeX 2013 which is almost pure TL
2013 installed to the default location).
Mojca
On Sun, Jun 30, 2013 at 4:24 PM, Sanjoy Mahajan san...@olin.edu wrote:
Partly to test Norbert's TeXLive 2013 packages for Debian, I just
installed the whole set of packages, which include Context MkIV
2013.04.20. With it I get an error not present with the older (2012)
format, namely that the internal conversion of mps files to pdf fails.
I don't know whether it is a Debian-specific problem or shared with
upstream, hence I am also sending this to dev-context.
Here's the minimal example (mytest.tex):
\enabletrackers[graphics.conversion]
\starttext
\externalfigure[fig/whole-tree.1]
\stoptext
(You'll need an actual mps file of that name to get the error below.)
Then running it with
$ context --trackers=list mytest
produces the error
graphics inclusion no converter for 'mps' to 'pdf'
[MP to PDF]
! LuaTeX error [string \directlua ]:1: attempt to index field 'mptopdf'
(a nil value)
Here's the full log:
mtx-context | warning: no (local) file './mytest', proceeding
mtx-context | run 1: luatex
--fmt=/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/luatex/cont-en
--jobname=mytest
--lua=/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/luatex/cont-en.lui
--no-parse-first-line --c:currentrun=1 --c:fulljobname=./mytest
--c:input=./mytest --c:kindofrun=1 --c:maxnofruns=8 --c:trackers=list
cont-yes.mkiv
This is LuaTeX, Version beta-0.76.0-2013052015 (rev 4627)
\write18 enabled.
(/usr/share/texmf/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2013.04.20 01:15 MKIV current fmt: 2013.6.28 int:
english/english
system 'cont-new.mkiv' loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv)
system files jobname 'mytest', input './mytest', result 'mytest'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
(/home/sanjoy/sfse/mytest.tex{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts unknown library 'loc'
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts'fallback modern rm 12pt' is loaded
graphics inclusion checking conversion of 'fig/whole-tree.1',
fullname 'fig/whole-tree.1', old format 'mps', new format 'pdf', conversion
'default', resolution 'default'
graphics inclusion no converter for 'mps' to 'pdf'
[MP to PDF]
! LuaTeX error [string \directlua ]:1: attempt to index field 'mptopdf' (a
nil value)
stack traceback:
[string \directlua ]:1: in main chunk.
system tex error on line 4 in file /home/sanjoy/sfse/mytest.tex:
LuaTeX error ...
1 \enabletrackers[graphics.conversion]
2 \starttext
3 \externalfigure[fig/whole-tree.1]
4 \stoptext
5
\convertMPtoPDF ...onvertmpstopdf(\MPfilename )}
\removeunwantedspaces
\egr...
\grph_include_process_mps ...convertMPtoPDF {#1}11
}
l.4 }
\grph_include_place ...e \ctxlua {figures.check()}
\ctxlua
{figures.include()...
\grph_include_figure ...include_place [#1][#2][#3]
\fi
\syst_helpers_triple_empty_two_spaced ...{#2}][][]
...
l.4 \stoptext
? X
mkiv lua stats used config file:
selfautodir:/share/texmf/web2c/texmfcnf.lua
mkiv lua stats used cache path: readable:
'/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b' |
readable+writable:
'/home/sanjoy/.texmf-var/luatex-cache/context/f919750633122078d706dd10f1cfd39b'
mkiv lua stats resource resolver: loadtime 0.113 seconds, 0 scans with
scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: none
mkiv lua stats stored bytecode data: 326 modules (0.400 sec), 69 tables
(0.000 sec), 395 chunks (0.400 sec)
mkiv lua stats cleaned up reserved nodes: 38 nodes, 9 lists of 441
mkiv lua stats node memory usage: 2 hlist, 12 attribute, 21 glue_spec, 4
attribute_list, 3 temp, 3 if_stack, 4 dir
mkiv lua stats used backend: pdf (backend for directly generating pdf
output)
mkiv lua stats loaded patterns: en::2
mkiv lua stats jobdata time: 0.000 seconds saving, 0.002 seconds loading
mkiv lua stats callbacks: 38 direct, 179 indirect, 217 total
mkiv lua stats randomizer: resumed with value 0.27778996726395
mkiv lua stats result saved in file: mytest.pdf, compresslevel 3,
objectcompreslevel 3
mkiv lua stats loaded fonts: 2 files: latinmodern-math.otf
lmroman12-regular.otf
mkiv lua stats fonts load time: 0.320 seconds
mkiv lua stats luatex banner: this is luatex, version