From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106608 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 11:50:42 -0400 Message-ID: References: <9a25061a-85f6-770c-450d-d4e78220f039@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7017405697553462714==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90638"; 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 16:51:36 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 1jGPMW-000NTd-6B for gctc-ntg-context-518@m.gmane-mx.org; Mon, 23 Mar 2020 16:51:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5D766182BF2; Mon, 23 Mar 2020 16:50:59 +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 kGln86J7oO_Y; Mon, 23 Mar 2020 16:50:57 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B6471182BEC; Mon, 23 Mar 2020 16:50:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 26AC6182BE8 for ; Mon, 23 Mar 2020 16:50:57 +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 VWEiZxbEs3ui for ; Mon, 23 Mar 2020 16:50:55 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.181; helo=mail-il1-f181.google.com; envelope-from=tkurtbond@gmail.com; receiver= Original-Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) (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 422C5182BE2 for ; Mon, 23 Mar 2020 16:50:55 +0100 (CET) Original-Received: by mail-il1-f181.google.com with SMTP id g15so4437289ilj.10 for ; Mon, 23 Mar 2020 08:50:55 -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=qrowz+acmuRlVy1mXgjE+7frF+hJLGt/aRyHoQ4k1rU=; b=K6U+WSOkJ/5RdSyFudkytQ3ZcTiqB/ZEeerZyXxVJLshk0yGIxt66Vcpu610MjyWy+ qSmojuK2VuTKxakGVE/SkguFQr5ppObtnAPPlvAYt+0k2bIu4z4nNK+6JY+dmf64REY1 ldqyVXmCYlQt/zSaThl0BoXe48lL8uu969ecB0TqGMkkSQKuZVQ79aBleILLWrJO6/Ye H1tMfvIxFfB2oIiEwEIquT5zOpqslwUCEVzveEVaPXTVJnX8jJL40o4vpPEpjRcsGIjJ //nKBnXKrOY4S4/veHdld8zJzcRnK0L4fL1FCwEZk61XpTcOBoVJIeDvEat/y0GDkkXb Xing== 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=qrowz+acmuRlVy1mXgjE+7frF+hJLGt/aRyHoQ4k1rU=; b=ezUc1Uwc3p3VoAS+WgPPvyJa3djMuQFP2jznZJz8BsV13KTgItFkKxxWn9Y8jIpKQ+ hyclL5oE1s8P3zVHnJgJa5wTAMNYx7vd+wlWj9le00eDvbu01gPLwE+OXb+LfQJsjlsG yNePDIbBF7JDepM1L1dH2nJMsWvc2LTZBGFzpTWa7ovwtMoYWgnaaR1Q1nqhUVXxSDsh DF0A1kTluZ1UdnAbGzhGxHMuLvYdbR3O+BUy7Z7Rmbl1mX5kklXBypS96V4l1LYMVRFJ 0DFKMj+qrB1Lev4/GurJ3jLiMd7iP9pZemqWhRi24XSR8GCEiFjexin9EoiDuQGA/X7a ffIA== X-Gm-Message-State: ANhLgQ0lCyRoo7c87dEtpZHtGI8iLeO9sJCETBC+Xr08+HQDK8AePadW j4S9KbnGUWA+iZY+YiKzSwdd4H0S71Vb/WjFxaehQEmc X-Google-Smtp-Source: ADFU+vuFvo421Qc7FjjgEqIZvu6BmwyGo0XhDbAWLZOcK9xTXzXMfQqzXxnRqqf1m2wq+SdPHKDkiiArdvzGHQvzr1g= X-Received: by 2002:a92:6501:: with SMTP id z1mr22164059ilb.235.1584978653698; Mon, 23 Mar 2020 08:50:53 -0700 (PDT) In-Reply-To: <9a25061a-85f6-770c-450d-d4e78220f039@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:106608 Archived-At: --===============7017405697553462714== Content-Type: multipart/alternative; boundary="000000000000a1600c05a18799aa" --000000000000a1600c05a18799aa Content-Type: text/plain; charset="UTF-8" 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 \setuphead [chapter,section,subsection,subsubsection] [before={\blank[nowhite]}, after={\blank[nowhite]}] \setupwhitespace [medium] %\showgrid \starttext \startcolumns[n=2] \completecontent \chapter{Chapter} \samplefile{knuth} \section{Section} \samplefile{weisman} \subsection{Subsection} \samplefile{weisman} \subsubsection{Subsubsection} \samplefile{weisman} \stopcolumns \stoptext %%%% end example On Sun, Mar 22, 2020 at 10:07 PM Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> wrote: > T. Kurt Bond schrieb am 22.03.2020 um 23:37: > > I got LMTX running on macOS Catalina. I followed the directions here > > for > > versions prior to Catalina, including authorizing the mtxrun script > > through Security & Privacy General tab. The first run of install.sh > > stopped with the errors: > > > > cp: cannot stat > > > '/Users/tkb/context-osx-64/tex/texmf-context/scripts/context/lua/mtxrun.lua': > > No such file or directory > > cp: cannot stat > > > '/Users/tkb/context-osx-64/tex/texmf-context/scripts/context/lua/mtx-install.lua': > > No such file or directory > > > > > > So I ran install.sh again. This time it said a bunch of things were > > missing and downloaded them. It seemed to finish ok, so I ran context > > on my document and it produced a PDF! (The ConTexT with TeXLive 2018 > > and TeXLive 2019 both died on this document with different unhelpful > > errors, by the way.) > > > > Both LMTX and TeXLive 2019 ran 5 to 10 times slower than TeXLive 2018, > > and both complain about "fuzzy paragraphs" with a list of U+XXXX > > codepoints. What's that mean? > > > > However, the PDF has unwanted whitespace in many areas. > > > > * It has unwanted whitespace between the entries in the Table of > > Contents. > > * It has unwanted whitespace before and after section headings, > > despite me having "before={},after={}" in the \setuphead commands > > for all the levels of sections. > > * And it had a large unwanted white space between paragraphs until I > > \setupwhitespace[none]. I'd prefer a little bit of white space > > between paragraphs, but I tried \setupwhitespace[0.5ex] and > > \definemeasure[between][0.25ex] with > > \setupwhitespace[\measure{between}], and \setupwhitespace[5pt] but > > all those went back to way too much white space between paragraphs. > > > > Any ideas? > > Do you have a working minimal example for the problem because when I run > the following example on my machine there is no extra whitespace. > > %%%% begin example > \setuphead > [chapter,section,subsection,subsubsection] > [before={\blank[nowhite]}, > after={\blank[nowhite]}] > > \setupwhitespace > [medium] > > %\showgrid > > \starttext > > \completecontent > > \chapter{Chapter} > > \samplefile{knuth} > > \section{Section} > > \samplefile{weisman} > > \subsection{Subsection} > > \samplefile{weisman} > > \subsubsection{Subsubsection} > > \samplefile{weisman} > > \stoptext > %%%% end example > > Wolfgang > > -- T. Kurt Bond, tkurtbond@gmail.com --000000000000a1600c05a18799aa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It turns out that the extra whitespace before and after th= e section headers in the body appears when I put \startcolumns[n=3D2] befor= e the body text and \stopcolumns=C2=A0after it.=C2=A0 Here's the MWE, j= ust slightly modified from your example:

%%%% begin exam= ple
\setuphead
=C2=A0 =C2=A0[chapter,section,subsection,subsubsection= ]
=C2=A0 =C2=A0[before=3D{\blank[nowhite]},
=C2=A0 =C2=A0 after=3D{\b= lank[nowhite]}]

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

%\s= howgrid

\starttext

\startcolumns[n=3D2]

\completeconte= nt

\chapter{Chapter}

\samplefile{knuth}

\section{Secti= on}

\samplefile{weisman}

\subsection{Subsection}

\samp= lefile{weisman}

\subsubsection{Subsubsection}

\samplefile{wei= sman}

\stopcolumns

\stoptext
%%%% end example

On = Sun, Mar 22, 2020 at 10:07 PM Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wro= te:
T. Kurt Bond= schrieb am 22.03.2020 um 23:37:
> I got LMTX running on macOS Catalina.=C2=A0 I followed the directions = here
> <https://wiki.contextgarden.n= et/Installing_ConTeXt_LMTX_on_MacOS> for
> versions prior to Catalina, including authorizing the mtxrun script > through Security & Privacy General=C2=A0tab.=C2=A0 The first run o= f install.sh
> stopped with the errors:
>
>=C2=A0 =C2=A0 =C2=A0cp: cannot stat
>=C2=A0 =C2=A0 =C2=A0'/Users/tkb/context-osx-64/tex/texmf-context/sc= ripts/context/lua/mtxrun.lua':
>=C2=A0 =C2=A0 =C2=A0No such file or directory
>=C2=A0 =C2=A0 =C2=A0cp: cannot stat
>=C2=A0 =C2=A0 =C2=A0'/Users/tkb/context-osx-64/tex/texmf-context/sc= ripts/context/lua/mtx-install.lua':
>=C2=A0 =C2=A0 =C2=A0No such file or directory
>
>
> So I ran install.sh again.=C2=A0 This time it said a bunch of things w= ere
> missing and downloaded them.=C2=A0 It seemed to finish ok, so I ran co= ntext
> on my document and it produced a PDF!=C2=A0 (The ConTexT with TeXLive = 2018
> and TeXLive 2019 both died on this document with different unhelpful <= br> > errors, by the way.)
>
> Both LMTX and TeXLive 2019 ran 5 to 10 times slower than TeXLive 2018,=
> and both complain about "fuzzy paragraphs" with a list of U+= XXXX
> codepoints.=C2=A0 What's that mean?
>
> However, the PDF has unwanted whitespace in many areas.
>
>=C2=A0 =C2=A0* It has unwanted whitespace between the entries in the Ta= ble of
>=C2=A0 =C2=A0 =C2=A0Contents.
>=C2=A0 =C2=A0* It has unwanted whitespace before and after section head= ings,
>=C2=A0 =C2=A0 =C2=A0despite me having "before=3D{},after=3D{}"= ; in the \setuphead commands
>=C2=A0 =C2=A0 =C2=A0for all the levels of sections.
>=C2=A0 =C2=A0* And it had a large unwanted white space between paragrap= hs until I
>=C2=A0 =C2=A0 =C2=A0\setupwhitespace[none]. I'd prefer a little bit= of=C2=A0white space
>=C2=A0 =C2=A0 =C2=A0between paragraphs, but I tried \setupwhitespace[0.= 5ex] and
>=C2=A0 =C2=A0 =C2=A0\definemeasure[between][0.25ex] with
>=C2=A0 =C2=A0 =C2=A0\setupwhitespace[\measure{between}], and \setupwhit= espace[5pt] but
>=C2=A0 =C2=A0 =C2=A0all those went back to way too much white space bet= ween paragraphs.
>
> Any ideas?

Do you have a working minimal example for the problem because when I run the following example on my machine there is no extra whitespace.

%%%% begin example
\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]}]

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

%\showgrid

\starttext

\completecontent

\chapter{Chapter}

\samplefile{knuth}

\section{Section}

\samplefile{weisman}

\subsection{Subsection}

\samplefile{weisman}

\subsubsection{Subsubsection}

\samplefile{weisman}

\stoptext
%%%% end example

Wolfgang



--
T. K= urt Bond,=C2=A0tku= rtbond@gmail.com
--000000000000a1600c05a18799aa-- --===============7017405697553462714== 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== --===============7017405697553462714==--