From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104432 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Luca Donetti Newsgroups: gmane.comp.tex.context Subject: grid+formulas: bug or expected behavior? Date: Fri, 31 May 2019 20:46:19 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0780103990144504636==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="183061"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 31 20:46:51 2019 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 blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hWmYE-000lPK-Be for gctc-ntg-context-518@m.gmane.org; Fri, 31 May 2019 20:46:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 88FC514CAE9; Fri, 31 May 2019 20:46:33 +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 ZTKOtGA4NFL3; Fri, 31 May 2019 20:46:32 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A938414CADA; Fri, 31 May 2019 20:46:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 00D9D14CADA for ; Fri, 31 May 2019 20:46:32 +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 xzW2-M7tTS86 for ; Fri, 31 May 2019 20:46:31 +0200 (CEST) Original-Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 57EFE14C402 for ; Fri, 31 May 2019 20:46:31 +0200 (CEST) Original-Received: by mail-lj1-f179.google.com with SMTP id v29so734230ljv.0 for ; Fri, 31 May 2019 11:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dHq9jubxViRusz0FvBInNFFpi5f2qjfBbUcr0vVfYos=; b=TAIjQWMZbBpN17TbDSwVqxfdQpb1OUm3vMXs7e9MQ6e19sYyurs87LCASXXG9mkwvq WGeXmkUGgZy6iT65nQMflpR6UDy8evU4JVrnoYyJ01MjfKD+8lUTO6iXCRx7yEbWFPn6 dfopH7C9qMtfkxe2e//Elf+CsVmRXDB1r5y+wBsbYwrGIfZnCXVIQngyqABHv6JiZqaH kQQuUt2ZJBem3sIlzyj/aGNBVL0m6/WUH4+S+PhLKOQZ7cTt2hz4fJ4zRaV2ELkjHwnv w8vKmYwvW4QT1R0UywmIiZpqz2u47ScGEM0api9qI8trbJeMB5HOLGUQo8DmgrE3zQ8r 7ZUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dHq9jubxViRusz0FvBInNFFpi5f2qjfBbUcr0vVfYos=; b=jFUQjlErz1OAjA4gD15aKXlEs4RSdwJsXZvdWGsYv9Fq10gRxpF6gHRXH07bOxtlQN 2pjLELapo9dGs/UFO9rb0PPyGtOxOZaS2Bc1lIYg6eocyDZVZyOqpqqtfxJLsG3AOzep BYktlehS+D52SAoTmtqPIHwVEvxbhF9KnOHLv6Macmx+AHZGEuSeSaiNw2KX96V1NKwd qJ6zsjDPVo4t/ly1KMDhqM70oX/1uujDw4Sc3alHiXmIjbJWgOhcefSPqXaJT6h/MSLw CzYLVKlz0ZDPqlHmI82nzxF3ivyzsAdR7xiqSSEKPXI/xijb7Mbvv3hIx55kFqn5ExlN TXVA== X-Gm-Message-State: APjAAAV9VwAB6h6rFcgxLxUlj/dYADuOt/6oslpJmh9maKs4pRDdxD83 onCrBNIrmtaHAosRyOz7l85SOTiwztDEG72bD7SsU7to X-Google-Smtp-Source: APXvYqyPgbZAR5bSfIkWtzzBibr2U1+FwGhcwPndbZYrq8SRxs6bP9FQGUpPSHnP1jDB06s84wtftvX8dOzyfGW5bz8= X-Received: by 2002:a2e:9cd5:: with SMTP id g21mr6020745ljj.39.1559328390176; Fri, 31 May 2019 11:46:30 -0700 (PDT) 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.org gmane.comp.tex.context:104432 Archived-At: --===============0780103990144504636== Content-Type: multipart/alternative; boundary="000000000000c8e5f4058a336e33" --000000000000c8e5f4058a336e33 Content-Type: text/plain; charset="UTF-8" Dear all, I'm typesetting a document with grid layout and some formulas, like in the minimal example below: %%%%%%%%%%%%%%%%%%%%%%%%%%%% \setuplayout[grid=yes] \showgrid \starttext \input knuth %\blank \startformula a = b + c \stopformula \input knuth \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%% I don't have any specific need for the alignment of the formula with respect to the grid, but I expect the text below the formula to be on the grid. However, I've not been able to achieve that with any of the layout options described in the latest "details.pdf" manual: in all cases I've tried the text below the formula doesn't "sit" on the grid. While I do not understand this behavior, I've thought that it could be the intended one, because this is what happens in chapter 4 of the "details" manual. Then, I noticed that in older versions of the same manual (for example the one included in texlive 2017) the behavior shown in chapter 4 is the one I expect: the text after formulas is aligned to the grid. So I'm a bit puzzled: should the text after formulas be aligned to the grid or not? Is this a (known?) bug or intended behavior? If this is the expected behavior, I can live with that because by trial and error I found a workaround. If I employ a \blank command before the formula (as in the commented line in the above example), the text after the formula is "correctly" aligned. Thank you in advance. LD --000000000000c8e5f4058a336e33 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear all,
I'm typesetting a document wi= th grid layout and some formulas, like in the minimal example below:
<= div>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setuplayout[= grid=3Dyes]
\showgrid

\starttext
\input knuth
%\blank
\s= tartformula
=C2=A0 a =3D b + c
\stopformula
\input knuth
\stopt= ext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I don&#= 39;t have any specific need for the alignment of the formula with respect t= o the grid, but I expect the text below the formula to be on the grid. Howe= ver, I've not been able to achieve that with any of the layout options = described in the latest "details.pdf" manual: in all cases I'= ve tried the text below the formula doesn't "sit" on the grid= .

While I do not understand this behavior, I'v= e thought that it could be the intended one, because this is what happens i= n chapter 4 of the "details" manual. Then, I noticed that in olde= r versions of the same manual (for example the one included in texlive 2017= ) the behavior shown in chapter 4 is the one I expect: the text after formu= las is aligned to the grid. So I'm a bit puzzled: should the text after= formulas be aligned to the grid or not? Is this a (known?) bug or intended= behavior?

If this is the expected behavior, I can= live with that because by trial and error I found a workaround. If I emplo= y a \blank command before the formula (as in the commented line in the abov= e example), the text after the formula is "correctly" aligned.

Thank you in advance.

LD
--000000000000c8e5f4058a336e33-- --===============0780103990144504636== 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== --===============0780103990144504636==--