Hi wizards,
if I use \showlayout in a project where I setup export=yes, ConTeXt
stops with a fatal error.
Minimal failing example:
\setupbackend[export=yes]
\starttext
\showlayout
\stoptext
Ixchel:konzept hraban$ context --purge context_test.tex
mtx-context | run 1: luatex --fmt="/Users/hraban/Library/texmf/tex/
texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/
formats/cont-en" --lua="/Users/hraban/Library/texmf/tex/texmf-cache/
luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-
en.lui" --backend="pdf" "./context_test.tex" \stoptext
This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
\write18 enabled.
(context_test.tex
ConTeXt ver: 2011.11.24 15:52 MKIV fmt: 2011.11.25 int: english/
english
system > cont-new.mkiv loaded
(/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/cont-
new.mkiv
system > beware: some patches loaded from cont-new.mkiv
)
system > context_test.top loaded
(context_test.top)
fonts > latin modern fonts are not preloaded
languages > language en is active
backend > export > enabling export to xml
{/Users/hraban/Library/texmf/tex/texmf-context/fonts/map/pdftex/
context/mkiv-base.map}
fonts > preloading latin modern fonts (second stage)
(/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/type-
siz.mkiv) (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/
base/type-otf.mkiv)
files > readfile > asked name: 'loc', not found
{/Users/hraban/Library/texmf/tex/texmf-fonts/fonts/map/dvips/lm/lm-
math.map}{/Users/hraban/Library/texmf/tex/texmf-fonts/fonts/map/dvips/
lm/lm-rm.map}
fonts > virtual math > unable to resolve name mapsfromchar
fonts > fallback modern rm 12pt is loaded
(/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/page-
run.mkiv
loading > ConTeXt Page Macros / Runtime Macros
)
interface > initialization > loading interface definitions from
'mult-def.lua'
interface > initialization > loading interface messages from
'mult-mes.lua'
metapost > initializing instance 'metafun' using format 'metafun'
metapost > loading 'metafun': /Users/hraban/Library/texmf/tex/
texmf-context/metapost/context/base/metafun.mpiv
backend > xmp > using file '/Users/hraban/Library/texmf/tex/
texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
pages > flushing realpage 2, userpage 2
pages > flushing realpage 3, userpage 3
pages > flushing realpage 4, userpage 4
pages > flushing realpage 5, userpage 5
)</Users/hraban/Library/texmf/tex/texmf/fonts/opentype/public/lm/
lmmono10-regular.otf></Users/hraban/Library/texmf/tex/texmf/fonts/
opentype/public/lm/lmmono12-regular.otf></Users/hraban/Library/texmf/
tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
! LuaTeX error ...exmf/tex/texmf-context/tex/context/base/back-exp.lua:
1203: attempt to index global 'c' (a nil value).
system > tex > error on line 0 in file : LuaTeX error ...
<empty file>
<*> ./context_test.tex
\stoptext
?
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________