From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115588 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?b?6buE5aSN6ZuEIHZpYSBudGctY29udGV4dA==?= Newsgroups: gmane.comp.tex.context Subject: Re: linebreak error: no leftinit or rightinit or leftfill or rigthfill expected Date: Fri, 29 Jul 2022 19:29:01 +0800 Message-ID: References: <7710e7ed-3c3e-1dc3-2235-e19560c1ddee@freedom.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8939553858423184044==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22743"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?B?6buE5aSN6ZuE?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 29 13:29:52 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oHOBk-0005kY-Aj for gctc-ntg-context-518@m.gmane-mx.org; Fri, 29 Jul 2022 13:29:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A2D7328A64C; Fri, 29 Jul 2022 13:29:23 +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 ePWix6p3wjPU; Fri, 29 Jul 2022 13:29:21 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7F04928A651; Fri, 29 Jul 2022 13:29:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C82A528A64C for ; Fri, 29 Jul 2022 13:29:18 +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 eaIKIVWiPh3g for ; Fri, 29 Jul 2022 13:29:17 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.170; helo=mail-yw1-f170.google.com; envelope-from=aahuaang@gmail.com; receiver= Original-Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8420A28A64A for ; Fri, 29 Jul 2022 13:29:17 +0200 (CEST) Original-Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-324293f1414so13253317b3.0 for ; Fri, 29 Jul 2022 04:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=CcKtMsadGc5rmoolyiiXQC/lv0laiOMuv1ICxGr3U9M=; b=ensW7YQz+rThyfrYUnZbfmU2FEgDpRsxLVHILqmY9vqxtY5wHanFesUmoBK93VrT7F oeb++7RMBWn9zAfBazXAD17LaiAKv5Z0mFHQ7CXRHHVeKUFgGNN0Bib7ia98a+WFZX1I XFOiUE06avfkh3KQJx6D3WgZ8zDWMpwcGl9vMDOT6Fqv1XGx8Yq4tiMPdff+ybbrjkaj hwCAkR11uR6KVlzBeqei5IKjzMMnGWeGGK/2cd3st9Y3uPixH2ag6Pnjj4L6yeQiztkL 8fbUG7rN9ShdwB1UNa9kJKHMtQg/fWIlrUvg3ynzUhaUpNeNhdxFPefGJour+6+X849a GMiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=CcKtMsadGc5rmoolyiiXQC/lv0laiOMuv1ICxGr3U9M=; b=w1cUIEH04crvYTTKv4O6ZclJ/JQ2s8xiKlZrg6KOuLvBnNWTPgkI9zfrrUo0DCk1o1 bnhQJ0edtnxM4479oOD8zoEuzXi9PueTJ62ipfRuaIfp+2jZF97qJhEUEl/oWUndsq6F BKamoZHZL55X0b0h2s+yer+FBxLfzRgALr/S20OhpdD+fVvlqbvB7kbDXlzFwt+rhpTs 8MjXsL3XNsJVc9rNCizcOkFfc10m8QTD07IyjG5yaWljCctptDSrObyBvPBvpmHWfSBp YvDzaPzIGSjR+fZgcrIAyr44RTlddcECZ+Pd8+HxfPxP2wJepwsSplF1xBRUCDaIg7iN kEmA== X-Gm-Message-State: ACgBeo1yQmyHHyAbz4TBHw+CTUlVdP4Mm+j9xss9iA7PvCiW97VTh3Uo TgacC7p6jrDXt0sYKoECbzqagY//Mnew759Qi2nhLVkgrcE= X-Google-Smtp-Source: AA6agR4cjSJoVmk5MfAYgHmR2tRFl5DjYyYkoRb1sYp3oJtzAodEyMM41r7gojqy/tiVdoOfdXOtyS/sTFJrGxR2Lg0= X-Received: by 2002:a81:f93:0:b0:31f:531c:5499 with SMTP id 141-20020a810f93000000b0031f531c5499mr2626941ywp.509.1659094152644; Fri, 29 Jul 2022 04:29:12 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:115588 Archived-At: --===============8939553858423184044== Content-Type: multipart/alternative; boundary="0000000000009e0c7f05e4eff558" --0000000000009e0c7f05e4eff558 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks=EF=BC=8C Hans. My module works again now, with the help of tex.preparelinebreak(). For potential readers: tex.preparelinebreak(list) modifyed my list for tex.linebreak(list) to: # by user in advance, necessary # by user in advance, necessary ... # The last glue here, in the end of the list, is removed # as same as parfillrightskip =E9=BB=84=E5=A4=8D=E9=9B=84 =E4=BA=8E2022=E5=B9=B47=E6= =9C=8816=E6=97=A5=E5=91=A8=E5=85=AD 10:02=E5=86=99=E9=81=93=EF=BC=9A > Thanks, Hans > > I modified my list to: > > 2873 : par vmodepar> > 3113 : glue indentskip> > 3119 : glue parinitleftskip> > 2879 : glue parinitrightskip> > 2891 : glyph unset> > ... > 639 : glyph unset> > 3089 : kern userkern> > 2334 : glue userskip> > 3095 : rule normal> > 3101 : glue spaceskip> > 642 : glue spaceskip> > 3107 : penalty userpenalty> > 645 : glue userskip> > 3125 : penalty userpenalty> > 3131 : glue parfillleftskip> > nil : glue parfillskip> > > but the error is the same, so I'll wait the tex.preparelinebreak(), and > observe it's work for more details. > > Huang Fusyong(=E9=BB=84=E5=A4=8D=E9=9B=84) > --0000000000009e0c7f05e4eff558 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks=EF=BC=8C Hans.
My module works again now, with the help of tex.preparelinebreak().
=
For potential readers:
tex.preparelinebreak(list) =C2=A0modifyed my= list for tex.linebreak(list) to:

<par vmodepa= r> # by user in advance, necessary
<glue parinitleftskip>
&l= t;glue parinitrightskip>
<glue indentskip>=C2=A0 =C2=A0# by user in advance, necessary
...
<penalty linepenalty>= # The last glue here, in the end of the list, is removed
<glue parfi= llleftskip>
<glue parfillskip> # as same as parfillrightskip


=E9=BB=84=E5=A4=8D=E9=9B=84 <aahuaang@gmail.com> =E4=BA=8E2022=E5=B9=B47=E6=9C=8816=E6=97=A5= =E5=91=A8=E5=85=AD 10:02=E5=86=99=E9=81=93=EF=BC=9A
Thanks, Hans

I = modified my list to:

<node : =C2=A0 =C2=A0nil <=3D =C2=A0 2371= =3D> =C2=A0 2873 : par vmodepar>
<node : =C2=A0 2371 <=3D = =C2=A0 2873 =3D> =C2=A0 3113 : glue indentskip>
<node : =C2=A0 = 2873 <=3D =C2=A0 3113 =3D> =C2=A0 3119 : glue parinitleftskip> <node : =C2=A0 3113 <=3D =C2=A0 3119 =3D> =C2=A0 2879 : glue pari= nitrightskip>
<node : =C2=A0 3119 <=3D =C2=A0 2879 =3D> =C2= =A0 2891 : glyph unset>
...
<node : =C2=A0 =C2=A0636 <=3D = =C2=A0 3077 =3D> =C2=A0 =C2=A0639 : glyph unset> =C2=A0
<node := =C2=A0 3077 <=3D =C2=A0 =C2=A0639 =3D> =C2=A0 3089 : kern userkern&g= t;
<node : =C2=A0 =C2=A0639 <=3D =C2=A0 3089 =3D> =C2=A0 2334 := glue userskip>
<node : =C2=A0 3089 <=3D =C2=A0 2334 =3D> = =C2=A0 3095 : rule normal>
<node : =C2=A0 2334 <=3D =C2=A0 3095= =3D> =C2=A0 3101 : glue spaceskip>
<node : =C2=A0 3095 <=3D= =C2=A0 3101 =3D> =C2=A0 =C2=A0642 : glue spaceskip>
<node : = =C2=A0 3101 <=3D =C2=A0 =C2=A0642 =3D> =C2=A0 3107 : penalty userpena= lty>
<node : =C2=A0 =C2=A0642 <=3D =C2=A0 3107 =3D> =C2=A0 = =C2=A0645 : glue userskip>
<node : =C2=A0 3107 <=3D =C2=A0 =C2= =A0645 =3D> =C2=A0 3125 : penalty userpenalty>
<node : =C2=A0 = =C2=A0645 <=3D =C2=A0 3125 =3D> =C2=A0 3131 : glue parfillleftskip>= ;
<node : =C2=A0 3125 <=3D =C2=A0 3131 =3D> =C2=A0 =C2=A0nil := glue parfillskip>

but the error is the same, so I'll wait t= he =C2=A0tex.preparelinebreak(), and observe it's work for more details= .

Huang Fusyong(=E9=BB=84=E5=A4=8D=E9=9B=84)
--0000000000009e0c7f05e4eff558-- --===============8939553858423184044== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8939553858423184044==--