From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94487 Path: news.gmane.org!not-for-mail From: Brian Ballsun-Stanton Newsgroups: gmane.comp.tex.context Subject: Re: ntg-context Digest, Vol 142, Issue 52 Date: Tue, 19 Apr 2016 16:53:00 +1000 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4553709545946065894==" X-Trace: ger.gmane.org 1461048857 27783 80.91.229.3 (19 Apr 2016 06:54:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2016 06:54:17 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 19 08:54:05 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1asPXw-0002Xz-P3 for gctc-ntg-context-518@m.gmane.org; Tue, 19 Apr 2016 08:54:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C8EB0A93E; Tue, 19 Apr 2016 08:53:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l7NiyfMHRJT9; Tue, 19 Apr 2016 08:53:54 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 118DBA941; Tue, 19 Apr 2016 08:53:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CF427A93E for ; Tue, 19 Apr 2016 08:53:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MYhSUB2okiNA for ; Tue, 19 Apr 2016 08:53:51 +0200 (CEST) Original-Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 76137A93D for ; Tue, 19 Apr 2016 08:53:41 +0200 (CEST) Original-Received: by mail-ob0-f174.google.com with SMTP id n10so3465454obb.2 for ; Mon, 18 Apr 2016 23:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=y3zmjrvByfXolpcvH8+GLwQmbeUmRc9LXkYqnmvpyv4=; b=alPyGhh1p+xRx+AZYbl1vmhh5sJ1XLRD5b1VoowGXEyA0aOAXH1N3enStQ+SKPFUsP EAw9GjDzCEJzX0PFEEt0Z8++172z4vvk8o5wO5KuTzXCby/cepX+9WG5KK+OKEEzVT4p RTV0SeLuYAsFQT1fw1ZnT/gW6QkgVbBG1sSsaOL7XZyUKHZ00pD2oG03duqCeBkdP5ue HjO6oQ6MPlbD3/K/p4yCARKICrwvURMfPSKMpc9YTmdtYv0Ltego5NGXCsRkzMerX/pI 7SsfM/rQxcahj1K9xrwM0JAs48Ke0bjRtoF2vpYwcXiRTyazfZSezAM4kWYrhul8jazX /t5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drbbs-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=y3zmjrvByfXolpcvH8+GLwQmbeUmRc9LXkYqnmvpyv4=; b=j6AzPh5akhI8SuXQzX6u4yLrKqG0EQdWyNujqBrLS9GReYjQ7cIGLL3jp0HvGYhZU3 YnMwMdK4kGMh6Jw/mMxuyvgTzth2RJYR266J7SF1aOgAbDVEjWb3xUzrkoVzAF4/onM0 dA7maRdVrsxrKRSs6GnZiN6PX5nkTNSk4MTqssnzZ6xhXIMNWkCMR4SJ1LpfIK7uhdOD qliKp37/+rYiroODD19Is34k+xYsyqYSzmqnkcrMoMwmgotlVrEUYhQpDZJb0FWr6xg4 n0S0Eqp++Hd9Hqu1KjJYGWaN9l+YCkR7MKkeKuIPgvlSV5vlYeJHhKW7MGFvcy1TXsyh DJaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=y3zmjrvByfXolpcvH8+GLwQmbeUmRc9LXkYqnmvpyv4=; b=Lh4ElhEWZya8aVTS4GdlR8liK8VH4tghLUiV3cr6vDYJQbmQK6H8LKXHCXMNYw0IBO JtxTdFHbXqx2PhZjKhuctqKwX89ebZK/w7r0NXsGw4PMnGwzfroDTKt7z36Y+XByZ3le zxp7iWBicCvM+zdvuEM7+jHBIOcTpK2Mj3rmaCCLatCx1Mciknzv+s5jKgwk8XU91CJr laNvyJNBtUV/6id503xhQirZOqfa+vc/5duEeWW6gvaQSFOLkZlzta7yxd2jUHgnhsC1 xypnTPLKBnnCD4C7b1w8UW6Xv6BV3u8WFEtOOLr0vpHECTsMFZvrdlcGcRKwLOuGmI3j 5IGQ== X-Gm-Message-State: AOPr4FX9OqJIJ/c672hBqGkXTKy2dIFaHfYjkFrUUKhvzBQjMo5aWJMLcXqlyQfpys+Uw3pqd9wiXwDPVrm8LQ== X-Received: by 10.182.85.42 with SMTP id e10mr483893obz.14.1461048819957; Mon, 18 Apr 2016 23:53:39 -0700 (PDT) Original-Received: by 10.202.213.138 with HTTP; Mon, 18 Apr 2016 23:53:00 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: xUx6x9jCnnYMwuXAV9CszErp424 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94487 Archived-At: --===============4553709545946065894== Content-Type: multipart/alternative; boundary=f46d0446312ae9e7ac0530d0ef99 --f46d0446312ae9e7ac0530d0ef99 Content-Type: text/plain; charset=UTF-8 I'm dealing with a 500 page book (if you give me your github username, I'll happily add you to the repo) and many of these problems emerge only at scale. (when I render individual chapters, there are no issues, but when rendering the whole book, the tables just have all sorts of formatting issues.) Here's a working example % engine=luajittex \startenvironment env_trap \enableregime[utf-8] \setupcolors[state=start] \setupreferencing[autofile=yes] \setupinteraction[state=start, color=blue, contrastcolor=blue, style={\tf}] \usemodule[simplefonts] \usemodule[database] % Enable hyperlinks \setuppapersize [A4][A4] \definepapersize[standing][A4][A4] \definepapersize[lying][A4,landscape][A4] \setuplayout [width=middle, backspace=.75in, cutspace=.75in, height=middle, topspace=.5in, bottomspace=.5in] \setupbodyfont[11pt] \setupwhitespace[none] \setupcaption[table][location=top] \setupcaptions[style={\tfx}, width=.9\textwidth,align=middle] \unprotect \appendtoks \setupbackgrounds[\v!page][\c!background=\makeupparameter\c!background] \to \t_page_makeup_every_setup \protect \defineseparatedlist[CSV] [separator={,}, quotechar={"}, left=\bTD,right=\eTD, first=\bTR,last=\eTR, before=\bTABLE,after=\eTABLE] \setupTABLE[c][each][align=flushleft,style={\tfx},width=fit] \setupTABLE[r][1][background=color,backgroundcolor=gray,style={\tf}] \setupTABLE[align=middle] \setuppagenumbering[alternative=doublesided] \stopenvironment \starttext \placetable[here][tab01]{Kazanlak site numbers, aggregate area and average area through through time}{ \setupTABLE[c][each][align=middle,style={\tfx},alignmentcharacter={.},aligncharacter=yes] \chardef\characteralignmentmode=2 \startCSV Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,OTT Aggregate Area (ha),1.5,2.9,5.0,6.7,21.5,43.3,54.9,31.2,24.4,30.7,94.9 Site Count,3,6,10,7,23,38,23,19,15,21,15 Avg Area (ha),0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3 \stopCSV } \stoptext And I wasn't able to cause it to fail via a trivial 'making it a component' and calling it from a project. > ------------------------------ > > Message: 5 > Date: Mon, 18 Apr 2016 22:11:28 +0200 > From: Hans Hagen > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Table index is nil > Message-ID: <57153F70.6050505@wxs.nl> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 4/18/2016 3:59 AM, Brian Ballsun-Stanton wrote: > > I'm getting (suddenly) an error: > > ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table > > index is nil > > > > > > And I have a bunch of tables: > > > > > > \placetable[here][tab01]{Kazanlak site numbers, aggregate area and > > average area > > through through time}{ > > > \setupTABLE[c][each][align=middle,style={\tfx},alignmentcharacter={.},aligncharacter=yes] > > \chardef\characteralignmentmode=2 > > \startCSV > > Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,OTT > > Aggregate Area (ha),1.5,2.9,5.0,6.7,21.5,43.3,54.9,31.2,24.4,30.7,94.9 > > Site Count,3,6,10,7,23,38,23,19,15,21,15 > > Avg Area (ha),0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3 > > \stopCSV > > } > > > > The odd thing is that no other chapters of the book (all of which use > > the same environment, and many use the same table) > > > > When I comment out the series of tables, the errors go away. > > I've just rerun first-setup.sh just out of paranoia. mtx-context | > > current version: 2016.04.17 11:56 > > i really need a small *working* example for this > > > --f46d0446312ae9e7ac0530d0ef99 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I= 9;m dealing with a 500 page book (if you give me your github username, I= 9;ll happily add you to the repo) and many of these problems emerge only at= scale. (when I render individual chapters, there are no issues, but when r= endering the whole book, the tables just have all sorts of formatting issue= s.)

He= re's a working example

% engine=3Dluajittex
<= div class=3D"gmail_quote">\startenvironment env_trap
\enableregime[utf-8] =C2=A0
\setu= pcolors[state=3Dstart]
\setupreferencing[au= tofile=3Dyes]
\setupinteraction[state=3Dsta= rt, color=3Dblue, contrastcolor=3Dblue, style=3D{\tf}]
\usemodule[simplefonts]

\usemodule[database]
% Enable hyperlinks

\setuppapersize [A4][A4]
\definepapersize[standing][A4][A4]
\def= inepapersize[lying][A4,landscape][A4]
\setu= playout =C2=A0 =C2=A0[width=3Dmiddle, =C2=A0backspace=3D.75in, cutspace=3D.= 75in,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0height=3Dmiddle, topspace=3D.5in, bottomspace=3D= .5in]

= \setupbodyfont[11pt]

\setupwhitespace[none]
\setupcaption[table][location=3Dtop]
\setupcaptions[style=3D{\tfx}, width=3D.9\textw= idth,align=3Dmiddle]

=C2=A0 =C2=A0\unprotect
= =C2=A0 =C2=A0\appendtoks
=C2=A0 =C2=A0 =C2= =A0\setupbackgrounds[\v!page][\c!background=3D\makeupparameter\c!background= ]
=C2=A0 =C2=A0\to \t_page_makeup_every_set= up
=C2=A0 =C2=A0\protect


\defineseparatedlist[CSV]
=C2= =A0 [separator=3D{,},
=C2=A0 =C2=A0quotecha= r=3D{"},
=C2=A0 =C2=A0left=3D\bTD,righ= t=3D\eTD,
=C2=A0 =C2=A0first=3D\bTR,last=3D= \eTR,
=C2=A0 =C2=A0before=3D\bTABLE,after= =3D\eTABLE]


\setupTABLE[c][each][align=3Dflu= shleft,style=3D{\tfx},width=3Dfit]
\setupTA= BLE[r][1][background=3Dcolor,backgroundcolor=3Dgray,style=3D{\tf}]
\setupTABLE[align=3Dmiddle]
\setuppagenumbering[alternative=3Ddoublesided]

\stopenvironment

\star= ttext

= \placetable[here][tab01]{Kazanlak site numbers, aggregate area and average = area
through through time}{
\setupTABLE[c][each][align=3Dmiddle,style=3D{\tfx},alignme= ntcharacter=3D{.},aligncharacter=3Dyes]
\ch= ardef\characteralignmentmode=3D2
\startCSV<= /div>
Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,= OTT
Aggregate Area (ha),1.5,2.9,5.0,6.7,21.= 5,43.3,54.9,31.2,24.4,30.7,94.9
Site Count,= 3,6,10,7,23,38,23,19,15,21,15
Avg Area (ha)= ,0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3
\stopCSV
}

\stoptext

And I wasn't able to cause i= t to fail via a trivial 'making it a component' and calling it from= a project.=C2=A0

=C2=A0
------------------------------

Message: 5
Date: Mon, 18 Apr 2016 22:11:28 +0200
From: Hans Hagen <pra= gma@wxs.nl>
To: ntg-context@ntg= .nl
Subject: Re: [NTG-context] Table index is nil
Message-ID: <57153F70.6050505@wxs.nl>
Content-Type: text/plain; charset=3Dutf-8; format=3Dflowed

On 4/18/2016 3:59 AM, Brian Ballsun-Stanton wrote:
> I'm getting (suddenly) an error:
> ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table=
> index is nil
>
>
> And I have a bunch of tables:
>
>
> \placetable[here][tab01]{Kazanlak site numbers, aggregate area and
> average area
> through through time}{
> \setupTABLE[c][each][align=3Dmiddle,style=3D{\tfx},alignmentcharacter= =3D{.},aligncharacter=3Dyes]
> \chardef\characteralignmentmode=3D2
> \startCSV
> Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,OTT
> Aggregate Area (ha),1.5,2.9,5.0,6.7,21.5,43.3,54.9,31.2,24.4,30.7,94.9=
> Site Count,3,6,10,7,23,38,23,19,15,21,15
> Avg Area (ha),0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3
> \stopCSV
> }
>
> The odd thing is that no other chapters of the book (all of which use<= br> > the same environment, and many use the same table)
>
> When I comment out the series of tables, the errors go away.
> I've just rerun first-setup.sh just out of paranoia. mtx-context= =C2=A0 =C2=A0 =C2=A0|
> current version: 2016.04.17 11:56

i really need a small *working* example for this



--f46d0446312ae9e7ac0530d0ef99-- --===============4553709545946065894== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4553709545946065894==--