ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* parbuilder in lua
@ 2014-09-25  7:57 Taco Hoekwater
  2014-09-25 10:35 ` Hans Hagen
  2014-09-25 10:36 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Taco Hoekwater @ 2014-09-25  7:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

Can you please try the code below? I found three issues with it:

1. node-ltp.lua is not completely ready for nuts mode, e.g. line 3148:

  elseif order == 0 and hlist.list and last_badness > tex.hbadness then

  where ‘hlist.list' should be 'getfield(hlist, "list”)’

2. with tracing on, I always get: 

   Lua linebreak_filter failed, reverting to default on line 1

   which makes me nervous. Does that mean it works ok without tracing, or does it
  just not report that it does not work?

3. with tracing on, there is a double-free of a glyph node (this could be specific to tufte)

TIA,
Taco

Code:

\tracingparagraphs=1
\tracingonline=1
\starttext
\startparbuilder[basic]
\input tufte
\stopparbuilder
\stoptext
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-25 10:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-25  7:57 parbuilder in lua Taco Hoekwater
2014-09-25 10:35 ` Hans Hagen
2014-09-25 10:36 ` Hans Hagen

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).