ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	"Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
Subject: Re: TeX capacity exceeded
Date: Wed, 19 May 2021 18:34:23 +0200	[thread overview]
Message-ID: <2b0fcbc0-a854-5b88-ff0b-d48fb7679d9e@xs4all.nl> (raw)
In-Reply-To: <109a5562-b863-1335-b6cd-db55399c7d6a@uni-bonn.de>

On 5/17/2021 11:43 PM, Thomas A. Schmitz wrote:
> 
> Hi all,
> 
> I have a rather large (almost 120,000 lines) xml file, processing pulls 
> in another large xml file. The project compiles under mkiv; with lmtx, I 
> get
> 
> tex error       > tex error on line 8 in file : TeX capacity exceeded, 
> sorry [reference count=32767]
Can you check the latest upload? You should be able to go way higher.

If you're worried about your lua macros performance you can always run 
with:

   --profile

and look at the luatex-profile.log file ... it gives a rough impression. 
be prepared for a slow run (although the latest greatest lmtx should 
perform some 2.5 times better when profiling).

There's also a new (yet unofficial) feature:

\starttext

\setupfonts
   [serif=dejavuserif*default,
    sans=dejavusans,
    mono=dejavusansmono]

    {    AAA\char1234 AAA}
    {\ss BBB\char1234 BBB}\par
    {    AAAAAA}
    {\ss BBBBBB}\par

    \dorecurse{1000}{ \char1234 }

\stoptext

You can set up a list of 'quick and dirty fallback' fonts (you can set a 
sequence for each style). This doesn't replace the normal fallback 
mechanisms but can be handy as catch.

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2021-05-19 16:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 21:43 Thomas A. Schmitz
2021-05-18 13:35 ` Hans Hagen
2021-05-18 16:44 ` Hans Hagen
2021-05-19 16:34 ` Hans Hagen [this message]
2021-05-19 16:49   ` Thomas A. Schmitz
2021-05-19 17:22     ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2022-03-17 22:43 Tex " jbf via ntg-context
2008-06-03  7:10 TeX " M.guravage
2008-06-03  9:11 ` Taco Hoekwater
2004-07-10 17:01 jimarin
2004-07-12  7:17 ` Willi Egger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2b0fcbc0-a854-5b88-ff0b-d48fb7679d9e@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=thomas.schmitz@uni-bonn.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).