From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111217 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: Re: \setupalign[height] and \setupalign[line] in LMTX Date: Wed, 28 Apr 2021 10:28:21 +0000 Message-ID: <7da30d20822843a2a752e78921a83ceb@ub.unibe.ch> References: <667c09b2ed6240ab9e79dc5a1b96f34f@ub.unibe.ch> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1187806475486633492==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29806"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 28 12:28:55 2021 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 1lbhR8-0007cr-Eu for gctc-ntg-context-518@m.gmane-mx.org; Wed, 28 Apr 2021 12:28:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F00D0282B50; Wed, 28 Apr 2021 12:28:27 +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 oI3eKySkFL8z; Wed, 28 Apr 2021 12:28:25 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D58CC282DCB; Wed, 28 Apr 2021 12:28:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 39444282DC9 for ; Wed, 28 Apr 2021 12:28:25 +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 MAgRGYS-ZC8W for ; Wed, 28 Apr 2021 12:28:23 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.84; helo=mailhub-lb3.unibe.ch; envelope-from=denis.maier@ub.unibe.ch; receiver= Original-Received: from mailhub-lb3.unibe.ch (mailhub-lb3.unibe.ch [130.92.0.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 47804282B50 for ; Wed, 28 Apr 2021 12:28:23 +0200 (CEST) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-01.campus.unibe.ch [130.92.13.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb3.unibe.ch (Postfix) with ESMTPS id CC5E45000BE for ; Wed, 28 Apr 2021 12:28:21 +0200 (CEST) Thread-Topic: \setupalign[height] and \setupalign[line] in LMTX Thread-Index: Adc3d8yYw+D41G29TveYo9PqNmolKADBpgGgAGZN4aA= In-Reply-To: <667c09b2ed6240ab9e79dc5a1b96f34f@ub.unibe.ch> Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] 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:111217 Archived-At: --===============1187806475486633492== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_7da30d20822843a2a752e78921a83cebubunibech_" --_000_7da30d20822843a2a752e78921a83cebubunibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Ok, after dabbling around a bit more, I can now come up with the following = example =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D \setuppapersize[A5][A5] \showframe \setuptolerance[vertical,stretch] %\setupalign[line] %\setupinterlinespace[stretch=3D0.1] % vertical stretching seems to kick in= for stretch !=3D0, no matter how small \setupalign[height] \setupinterlinespace[stretch=3D0.001] % vertical stretching seems to kick i= n for stretch !=3D0, no matter how small \setupdelimitedtext[blockquote] [style=3D{\switchtobodyfont[= x]}, spacebefore=3D{medium,flexib= le}, leftmargin=3Dno] \starttext \dorecurse{10}{ \input knuth \startblockquote \input knuth \stopblockquote \input knuth } \stoptext =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Two noteworthy things: 1. In LMTX you'll need \setupinterlinespace[stretch=3DX] with X not 0 fo= r vertical to kick in. 2. \setupalign[line] insists to fill the last page completely. Denis Von: Maier, Denis Christian (UB) Gesendet: Montag, 26. April 2021 11:34 An: 'mailing list for ConTeXt users' Betreff: AW: \setupalign[height] and \setupalign[line] in LMTX Hi, sorry to be such a nuisance, but i'd still love to hear if I'm missing some= thing or if something is going off the rails in LMTX. Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Donnerstag, 22. April 2021 15:07 An: 'mailing list for ConTeXt users' > Betreff: \setupalign[height] and \setupalign[line] in LMTX Hi, \setupalign[height] and \setupalign[line] seem to have no effect in a LMTX= . Do I need to change something? Best, Denis ``` \setuppapersize[A5][A5] \showframe %\setupalign[line] \setupalign[height] \setupdelimitedtext[blockquote] [ before=3D{\s= etupindenting[yes]\tfx\setupinterlinespace}, spacebefore= =3Dmedium, indentnext= =3Dno, leftmargin= =3Dno, rightmargin= =3Dno, ] \starttext \dorecurse{10}{ \input knuth \startblockquote \input knuth \stopblockquote \input knuth } \stoptext ``` --_000_7da30d20822843a2a752e78921a83cebubunibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Ok, after dabbling around a bit more, I can now come= up with the following example

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

\setuppapersize[A5][A5]

\showframe

 

\setuptolerance[vertical,stretc= h]

 

%\setupalign[line]

%\setupinterlinespace[stretch=3D0.1] % vertical stre= tching seems to kick in for stretch !=3D0, no matter how small

 

\setupalign[height]

\setupinterlinespace[stretch=3D0.001] % vertical str= etching seems to kick in for stretch !=3D0, no matter how small<= /p>

 

\setupdelimitedtext[blockquote]

        &nbs= p;            &= nbsp;           &nbs= p;             = [style=3D{\switchtobodyfont[x]},

        &nbs= p;            &= nbsp;           &nbs= p;             = spacebefore=3D{medium,flexible},

        &nbs= p;            &= nbsp;           &nbs= p;             = leftmargin=3Dno]

 

\starttext

 

\dorecurse{10}{

\input knuth

 

\startblockquote

\input knuth

\stopblockquote

 

\input knuth

}

 

\stoptext

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

Two noteworthy things:

  1. In LMTX you’ll need \setupinterlinespace[stretch=3DX] with X no= t 0 for vertical to kick in.
  2. \set= upalign[line] insists to fill the last page completely.

 

Denis

 

Von: Maier, Denis Christian (UB)
Gesendet: Montag, 26. April 2021 11:34
An: 'mailing list for ConTeXt users' <ntg-context@ntg.nl>
Betreff: AW: \setupalign[height] and \setupalign[line] in LMTX<= /o:p>

 

Hi,

 

sorry to be such a nuisance, but i'd still love to h= ear if I'm missing something or if something is going off the rails in LMTX= .

 

Best,

Denis

 

 

Von: Maier, Denis Christian (UB)
Gesendet: Donnerstag, 22. April 2021 15:07
An: 'mailing list for ConTeXt users' <ntg-context@ntg.nl>
Betreff: \setupalign[height] and \setupalign[line] in LMTX

 

Hi,

 

\setupalign[height] and \setupalign[line] seem to ha= ve no effect in a  LMTX. Do I need to change something?

 

Best,

Denis

 

 

```

\setuppapersize[A5][A5]

\showframe

%\setupalign[line]

\setupalign[height]<= /span>

 

\setupdelimitedtext[blockquote]=

     &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;       [

     &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;       before=3D{\setupindenting[yes]\tf= x\setupinterlinespace},

     &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;       spacebefore=3Dmedium,

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;    indentnext=3Dno,

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;    leftmargin=3Dno,

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;    rightmargin=3Dno,

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;    ]

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;   

 

\starttext

 

\dorecurse{10}{

\input knuth

 

\startblockquote

\input knuth

\stopblockquote

 

\input knuth

}

 

\stoptext

```

--_000_7da30d20822843a2a752e78921a83cebubunibech_-- --===============1187806475486633492== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1187806475486633492==--