From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111114 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: context() does not ignore space in empty line Date: Mon, 19 Apr 2021 09:22:40 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7153555566150275918==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4632"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 19 09:26:28 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 1lYOIe-00017S-FC for gctc-ntg-context-518@m.gmane-mx.org; Mon, 19 Apr 2021 09:26:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A1006282974; Mon, 19 Apr 2021 09:22:57 +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 Oa6jLE2BPQkh; Mon, 19 Apr 2021 09:22:55 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AB49A28296C; Mon, 19 Apr 2021 09:22:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 763AA282972 for ; Mon, 19 Apr 2021 09:22:54 +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 Dq2ze0HHlcKp for ; Mon, 19 Apr 2021 09:22:53 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.169; helo=mail-il1-f169.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) (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 F082028296C for ; Mon, 19 Apr 2021 09:22:52 +0200 (CEST) Original-Received: by mail-il1-f169.google.com with SMTP id d2so28256336ilm.10 for ; Mon, 19 Apr 2021 00:22:52 -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=DQUVzxV6kNYdUtTbLzj/yl5GlceLfSIbp1YQw10dmPo=; b=uJMHhIrtO99gVH8H+WD/hCAY7ezDWV23HAZZ/LrLyaJwD7R38tcEZU8D9iliJjqnnP LUx1QoyPVk90MbR8kw0/WRLN7x8ilzAluJvegdIZnC3OTC6X4fXgh2majuRU8TYxOWJQ I2HZ+VuuVQ5nt+DPbXPYvYw9D/RemdVwUVfG1+Vb6tcH0nuXAa/Y80YpJ/i8Hdfk89fu NsGYzcD49H6yYu9ntrU7ljMt5tbUB4ieiBVwNtXpEmTnfgUs+sPYuRGOp44adckYFmjR NrVK4Wy3hpmgRCKhLznPOHot+PSi+6BcuRr2VmVrtmURfZZSeKxv47l7vd6IaNreBjTC 1hPw== 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=DQUVzxV6kNYdUtTbLzj/yl5GlceLfSIbp1YQw10dmPo=; b=SFw7D3ZUepV9uZtTQQpuE0WViDQbK+5gUpp1YDiqEM4T0Lmn5Gea0yoJd0EfSVvDSf EvHFBEUEU+VEt0WO//3MYuy+HX/yKaHLBaEyptPTCBQ1JplTMgzPoaoIjCaQOC8+y0Pg jQL3prKuK9xAjfArLV7HQMkji/J3wepmYCIc8EIAeG5Q6thxPJ2QkV0yyDgIsQ1eUwPR gU3w/ZJcMe+YRGmdXBrokxFeBtnknMmmCSokqeXEoTCcniN9wnXFc7BfFetx6CDCZ07x E5XdDry4QaQHUGQacF20uuc9DnLJopai6TR8fgQuIgmOSX9cB8MkFcRL6BuTsq1o/tz7 B5zg== X-Gm-Message-State: AOAM533WmG3sYd+2/+OvbDYze88IJoOyVg/r5Dqh5BOrqXgOXA/OQqPv TbrZ0BS0pgFz0wXHDUcGDYpf2dwPHjO9mk6yCOkX+ni3lqc= X-Google-Smtp-Source: ABdhPJySrMQSezFPZARPst9ZhVWAhu1dkuTI6ukRyb0+TJvWKI1Pwy1vcDwrBa9Pe6EUpj2S+C0JOxc0txpCqrrYGJU= X-Received: by 2002:a05:6e02:1686:: with SMTP id f6mr16435511ila.70.1618816971118; Mon, 19 Apr 2021 00:22:51 -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.io gmane.comp.tex.context:111114 Archived-At: --===============7153555566150275918== Content-Type: multipart/alternative; boundary="000000000000851b4e05c04e3286" --000000000000851b4e05c04e3286 Content-Type: text/plain; charset="UTF-8" Dear list, does anyone have an idea why, in the example below, context() starts a new paragraph at "\n\n" but not at "\n \n" with a space in between? Is there any way to fix it? \starttext Without using context(), inside the next parentheses is a new line: ( ) note that a space sits between the two line breaks. \startluacode context('Using context(), inside the next parentheses is also a new line: (\n\n) because there is *no* space between the two line breaks.\n\n') context('Using context(), inside the next parentheses is however *no* new line: (\n \n) because of the space between the two line breaks.\n\n') \stopluacode \stoptext Any help is appreciated. Best, Sylvain --000000000000851b4e05c04e3286 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear lis= t,

does anyone have an idea why, in the example below, context()= starts a new paragraph at=C2=A0"\n\n" but not at "\n \n&quo= t; with a space in between? Is there any way to fix it?

\starttext
Without using context(), inside the next pare= ntheses is a new line: (
=C2=A0
) note that a space=C2=A0sits betwe= en the two line breaks.

\startluacode
<= span style=3D"font-family:"Courier New",monospace">=C2=A0 context= ('Using context(), inside the next parentheses is also a new line: (\n\= n) because there is *no* space between the two line breaks.\n\n')
= =C2=A0 context('Using context(), inside the next parentheses is however= *no* new line: (\n \n) because of the space between the two line breaks.\n= \n')
\stopluacode
\stoptext

<= /div>
Any help is appreciated.
Best,
Sylvain
--000000000000851b4e05c04e3286-- --===============7153555566150275918== 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== --===============7153555566150275918==--