I just added 20 cross sections and now my map fails to process with: converting scraps ... done making map ... done This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex) (./th_fontdef.tex{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}) (./th_formdef.tex Runaway text? ! TeX capacity exceeded, sorry [main memory size=1000000]. l.47627 \PL{ 249.81 181.74 250.44 181.80 250.46 182.14 c}% If you really absolutely need more capacity, you can ask a wizard to enlarge me. Here is how much of TeX's memory you used: 292 strings out of 97341 2961 string characters out of 1211748 1000001 words of memory out of 1000000 Do I really need to change this (how?) or is it probably something else that has gone wrong? That 'runaway text?' looks suggestive. What I really need to know is how to debug it. I ran therion -d so now I have a /tmp/thTMPDIR full of mysterious stuff. Attached is data.tex from there, which seems likely to be relevant. Is that enough to determine what broke? The current full dataset is in svn at wookware.org, which MartinS now has access to. And whilst I'm here: I would also note that adding scraps in a 900-line file is almost unbearably slow on a 900Mhz machine. It feels like something in the code does a linear search so it gets slower and slower to add each line/item. ctrl-r produces about a 15-second wait. I supppose I should just have put all the x-sects in another file. Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://wookware.org/