From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106611 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "T. Kurt Bond" Newsgroups: gmane.comp.tex.context Subject: Re: LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace Date: Mon, 23 Mar 2020 17:20:36 -0400 Message-ID: References: <9a25061a-85f6-770c-450d-d4e78220f039@gmail.com> <2439a687-1478-ce26-8021-c4b6fbcdd2d1@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2932454054715203983==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="130262"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 23 22:21:14 2020 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 1jGUVW-000Xkn-1C for gctc-ntg-context-518@m.gmane-mx.org; Mon, 23 Mar 2020 22:21:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 532F0182A30; Mon, 23 Mar 2020 22:20:52 +0100 (CET) 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 L6YiT61zXZS9; Mon, 23 Mar 2020 22:20:51 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6F88B182BFF; Mon, 23 Mar 2020 22:20:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 28D78182BFD for ; Mon, 23 Mar 2020 22:20:50 +0100 (CET) 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 tZ_8f0x6RMVE for ; Mon, 23 Mar 2020 22:20:49 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.42; helo=mail-io1-f42.google.com; envelope-from=tkurtbond@gmail.com; receiver= Original-Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (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 68EFC182A30 for ; Mon, 23 Mar 2020 22:20:49 +0100 (CET) Original-Received: by mail-io1-f42.google.com with SMTP id d15so15956404iog.3 for ; Mon, 23 Mar 2020 14:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t411WVJXHClZnQS/fsdOmw1Eopn8wJJRb2sOhnFwBRI=; b=U8/kNRuusyDJ6I+9r/T0cFOj/VWbPP8x25DeOQ0AfYEx6ew5/CiOUcVq2WSjRKwdUb aNq9lNBck84UnEJxeXaFpTELCaMHUWfVvax7/rWwHnTlng+ZN4V3p0jvlnKLhB5zUSg/ MMhZsVTMyY3m9otsymmPtpB/lH97GKaeskoE1c5kBZ8TTESxR5ZBePceGKhZYXdlwGTW vRoNdEgZz2AZEozdd8VREfwUaJ3eTg5DeBkYNie+ezOrtstGA+3Sc2Nb0kHVA4ozt4kh HDw9VElOmZ9UgmSdy8HL6sOxni/rGULWHfcfrnIQDY9wpi6/sR1D4M/hfjDPXh8SwmpG RotQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t411WVJXHClZnQS/fsdOmw1Eopn8wJJRb2sOhnFwBRI=; b=qTfRZzJeZpFtp33CBq5D45bbFC/jXklpIyfIE9OgKDwnNtRwa6Oi4C1V/ezyxTUlHP eM+psndY8htFFL3UQQJxpMRMHqfMFV6z15Qcw7sMtRsR1070bo2o4/nj0XtT4z5RNk2P vbXN+Vwgi/UdocSRv92ljsCSYn+vISlvJzSUo0J5ZRc8u/rejiR58N+tz3Tw+zmx2hlH WgSAsA7uKc0rsUW2lQwNPJGPEF48PfV4S5I6ShjNhk4omGyVZ2NXB+yWghI4Xy/FIBh/ /RUaEcw08xs5czM46nXyjbf8OUn8b4IZ5teZNlLnnHLYqv71op5EcIk8qdMvj711L8MW xfMQ== X-Gm-Message-State: ANhLgQ1clv4LkkjnNd14S6tdrTkZvEmW2T4svtSsLuapUWuFnvB3tDZs tS7Uzoidhx/6QPxXeo7AIilfC/H4Bf/m/5URBBs= X-Google-Smtp-Source: ADFU+vuJVsNVc6o6a73KThL4i22qJK0AHIxzoS3PntvmzJJ3tICX6ehTEOIcbhH+9CtoFO8pDicQjl8AAFfVtVp8qP0= X-Received: by 2002:a02:93c1:: with SMTP id z59mr10989799jah.11.1584998447673; Mon, 23 Mar 2020 14:20:47 -0700 (PDT) In-Reply-To: <2439a687-1478-ce26-8021-c4b6fbcdd2d1@gmail.com> 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:106611 Archived-At: --===============2932454054715203983== Content-Type: multipart/alternative; boundary="000000000000717c1d05a18c3501" --000000000000717c1d05a18c3501 Content-Type: text/plain; charset="UTF-8" Yes, that did the trick! Thanks! On Mon, Mar 23, 2020 at 3:15 PM Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> wrote: > T. Kurt Bond schrieb am 23.03.2020 um 16:50: > > It turns out that the extra whitespace before and after the section > > headers in the body appears when I put \startcolumns[n=2] before the > > body text and \stopcolumns after it. Here's the MWE, just slightly > > modified from your example: > > > > %%%% begin example > > [...] > > %%%% end example > > The old columns environment was replaced a while ago with the newer > (although available since a few years) mixedcolumns environment. > > A big difference between the old columns code and new code is that the > new code relies on a page grid which can lead to extra lines in the > output, because ConTeXt adds extra space to put text on the grid. > > When you don't care about the grid you can disable it for the columns > environment but this has to be done also for headers which have their > own grid option. > > Another option is to try the pagecolumns environment, which is another > environment for multi columns text but it's a very recent addition and > lacks some features like column balancing. > > %%%% begin columns > \setuphead > [chapter,section,subsection,subsubsection] > [before={\blank[nowhite]}, > after={\blank[nowhite]}, > grid=no] > > \setupwhitespace > [medium] > > \setuplist > [chapter,section,subsection,subsubsection] > [before={\blank[nowhite]}, > after={\blank[nowhite]}] > > \setupcolumns > [grid=no] > > \starttext > > \startcolumns > > \completecontent > > \chapter{Chapter} > > \samplefile{knuth} > > \section{Section} > > \samplefile{weisman} > > \subsection{Subsection} > > \samplefile{weisman} > > \subsubsection{Subsubsection} > > \samplefile{weisman} > > \stopcolumns > > \stoptext > %%%% end columns > > Wolfgang > -- T. Kurt Bond, tkurtbond@gmail.com --000000000000717c1d05a18c3501 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, that did the trick!=C2=A0 Thanks!

On Mon, Mar 23, 2020= at 3:15 PM Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wro= te:
T. Kurt Bond= schrieb am 23.03.2020 um 16:50:
> It turns out that the extra whitespace before and after the section > headers in the body appears when I put \startcolumns[n=3D2] before the=
> body text and \stopcolumns=C2=A0after it.=C2=A0 Here's the MWE, ju= st slightly
> modified from your example:
>
> %%%% begin example
> [...]
> %%%% end example

The old columns environment was replaced a while ago with the newer
(although available since a few years) mixedcolumns environment.

A big difference between the old columns code and new code is that the
new code relies on a page grid which can lead to extra lines in the
output, because ConTeXt adds extra space to put text on the grid.

When you don't care about the grid you can disable it for the columns <= br> environment but this has to be done also for headers which have their
own grid option.

Another option is to try the pagecolumns environment, which is another
environment for multi columns text but it's a very recent addition and =
lacks some features like column balancing.

%%%% begin columns
\setuphead
=C2=A0 =C2=A0[chapter,section,subsection,subsubsection]
=C2=A0 =C2=A0[before=3D{\blank[nowhite]},
=C2=A0 =C2=A0 after=3D{\blank[nowhite]},
=C2=A0 =C2=A0 grid=3Dno]

\setupwhitespace
=C2=A0 =C2=A0[medium]

\setuplist
=C2=A0 =C2=A0[chapter,section,subsection,subsubsection]
=C2=A0 =C2=A0[before=3D{\blank[nowhite]},
=C2=A0 =C2=A0 after=3D{\blank[nowhite]}]

\setupcolumns
=C2=A0 =C2=A0[grid=3Dno]

\starttext

\startcolumns

\completecontent

\chapter{Chapter}

\samplefile{knuth}

\section{Section}

\samplefile{weisman}

\subsection{Subsection}

\samplefile{weisman}

\subsubsection{Subsubsection}

\samplefile{weisman}

\stopcolumns

\stoptext
%%%% end columns

Wolfgang


--
T. Kurt Bond,=C2=A0tkurtbond@gmail.com
--000000000000717c1d05a18c3501-- --===============2932454054715203983== 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== --===============2932454054715203983==--