From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97431 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: Re: Question on "back" key in \blank Date: Sun, 26 Feb 2017 14:09:44 +0100 Message-ID: <58b2d393.50a4df0a.a884b.f5a7@mx.google.com> References: <58b1c70c.061d1c0a.a2167.3dc4@mx.google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5639802994119669766==" X-Trace: blaine.gmane.org 1488114632 31816 195.159.176.226 (26 Feb 2017 13:10:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2017 13:10:32 +0000 (UTC) To: Hans Hagen , "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 26 14:10:27 2017 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 esmtp (Exim 4.84_2) (envelope-from ) id 1chyam-0007K1-8t for gctc-ntg-context-518@m.gmane.org; Sun, 26 Feb 2017 14:10:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8E0218014F; Sun, 26 Feb 2017 14:09:54 +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 R7Oz5f25MNgH; Sun, 26 Feb 2017 14:09:53 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id C586F80165; Sun, 26 Feb 2017 14:09:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CF04F80153 for ; Sun, 26 Feb 2017 14:09: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 NLzvg0RxSK4b for ; Sun, 26 Feb 2017 14:09:50 +0100 (CET) Original-Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) (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 C3D2E8014F for ; Sun, 26 Feb 2017 14:09:40 +0100 (CET) Original-Received: by mail-wr0-f176.google.com with SMTP id m5so17587530wrm.0 for ; Sun, 26 Feb 2017 05:09:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance:in-reply-to :references; bh=qmjXgEyWbUqwDsWFNtjLC5xlj8ARRs0HG0BKMFsLB/Q=; b=My56/PzPuyDig8odkz3dlOs0R1dK+HaXiWnuTR2cIey6eKPs+rf6+j+fTAOfKnP13G Nw0ud3FMfZ7/MTD7B5FcGQXY1Qw5ntS+Q5Iggn6UhrycCnVaFqR7QlvlHjK7xUntZJbi Hhsl2OgKcdp6zId5qKtm69nDlRaCwlAoq6/ZVzgo0PGJk0/pZoAKeK/c2ecAc2mtYf9X hX2Iw/qUChKaxFfYa28/l5LL2PA9K0HQZT6wrYGJJiZHrVC7fUrOu47r8mBWQ7SbqMhS qPh32kkeEuWRo2+FsRXzJXgFgPpQp49NL2Q/CoNRsIu3cfQZ48pb0qk07kIZHCeS+A5U 3i+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance:in-reply-to:references; bh=qmjXgEyWbUqwDsWFNtjLC5xlj8ARRs0HG0BKMFsLB/Q=; b=gjQw8kvoew1FeZ/QLrLld4NUsiR8fI3assBhOL3wlURpwIRwCNflg7gr+3g9H91XER sLYIaSzU/ZgpL26hgzO0qpUyY70ora/ewoUSxtWHozBgOaPo978IE5+EA55dDWBiKeTL ChqJ4vQ8ZJsIyNFjGM9Fr5nz9V2UgSF0mc0Rro69XU65lWhwyfle0gR+sQe8oUaw/I2H slG2XrzElIIrR24CPB0GMb4+BYLoGENOXaM75fx1aO3YUOer4mjamWjv+dif4oQBv/a0 ObM8922WTzvcsi+5A/6Cmc5KOo3FVvN4oa/QFJ3PvblRAvo1wo47xWtjnb0jkNboyHcj 2eyQ== X-Gm-Message-State: AMke39m9qEFUFnMDNWElDbJNbr3GDt5FahVz5c+9PUcCd3r5Q2wO9heTyr0g/5bP4mvT0Q== X-Received: by 10.223.182.133 with SMTP id j5mr633227wre.19.1488114580025; Sun, 26 Feb 2017 05:09:40 -0800 (PST) Original-Received: from ?IPv6:2a01:cb00:6ae:7f00:7447:68b:7054:9dd8? (2a01cb0006ae7f007447068b70549dd8.ipv6.abo.wanadoo.fr. [2a01:cb00:6ae:7f00:7447:68b:7054:9dd8]) by smtp.gmail.com with ESMTPSA id e16sm18251841wra.36.2017.02.26.05.09.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Feb 2017 05:09:39 -0800 (PST) Importance: normal X-Priority: 3 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:97431 Archived-At: --===============5639802994119669766== Content-Type: multipart/alternative; boundary="_D875A967-6818-4EBA-A243-73128CADDDBF_" --_D875A967-6818-4EBA-A243-73128CADDDBF_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Thanks Hans for having replied. My message was a bit confusing, sorry about that. I think the problem is th= at =E2=80=98back=E2=80=99 (or \blank generally) does not seem to work the s= ame with negative blank as it does with positive blank. The following=C2=A0= : \showgrid\setuplayout[grid=3Dboth] \starttext Title. \blank[2*line]\blank[back]\blank[line] Line. \stoptext Outputs 1 blank line between Title and Line, so that \blank[2*line] is effe= ctively ignored, as expected. But \showgrid\setuplayout[grid=3Dboth] \starttext Title. \blank[2*line]\blank[back]\blank[-line] Line. \stoptext Outputs Title and Line in 2 consecutive lines (instead of being on same lin= e). So \blank[2*lines] is effectively ignored as expected but the \blank[-l= ine] is also ignored too. Is the latter expected=C2=A0or not ? Thanks again, Best regards Joseph De=C2=A0: Hans Hagen Envoy=C3=A9 le=C2=A0:samedi 25 f=C3=A9vrier 2017 21:53 =C3=80=C2=A0: ntg-context@ntg.nl Objet=C2=A0:Re: [NTG-context] Question on "back" key in \blank On 2/25/2017 7:04 PM, josephcanedo@gmail.com wrote: > Dear list, > > > > Sorry if question is trivial but I=E2=80=99d like to use =C2=AB back =C2= =BB key in \blank > to discard a \blank just before. The following MWE illustrates : > > it goes back when there's something to go back there is also \blank[disable] to disable the next one > \starttext > > > > Title. > > \blank[none] > > \blank[back, -line] %% I=E2=80=99d expect this one to discard the \blank[= none] > (as if it was not present) > > \startalignment[broad, flushright, hanging]Right.\stopalignment > > > > \stoptext > > > > I=E2=80=99d expect that Title and Right words to be on the same line, but= they > are not. Did I misunderstood the meaning of =E2=80=98back=E2=80=99 key ? > > Thanks a lot for help and time, > > > > Best regards > > > > Joseph Canedo > > > > > > > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > --=20 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________= ________ --_D875A967-6818-4EBA-A243-73128CADDDBF_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Thanks Hans for having replied.

 

My message was = a bit confusing, sorry about that. I think the problem is that =E2=80=98bac= k=E2=80=99 (or \blank generally) does not seem to work the same with negati= ve blank as it does with positive blank. The following :

 

\showgrid\setuplayou= t[grid=3Dboth]

\starttext

T= itle.

\blank[2*line]\blank[back]\blank[line]

Line.

\stoptext

 

Outputs 1 blank line betwe= en Title and Line, so that \blank[2*line] is effectively ignored, as expect= ed. But

 

\= showgrid\setuplayout[grid=3Dboth]

\starttext

Title.

\blank[2*line]\blank[back]= \blank[-line]

Line.

\stopte= xt

 

Output= s Title and Line in 2 consecutive lines (instead of being on same line). So= \blank[2*lines] is effectively ignored as expected but the \blank[-line] i= s also ignored too. Is the latter expected or not ?

 

Thanks again,

Best regards

 

Joseph

 

De : Hans Hagen=
Envoy=C3=A9 le :samedi 25 f=C3=A9vrier 2017 21:53
=C3= =80 : ntg-context@ntg.nl=
Objet :Re: [NTG-context] Question on "back" key i= n \blank

 

On 2/25/2017 7:04 PM, josephcanedo@gmail.com wrote:

> Dear list,

> 

> 

>&n= bsp;

> Sorry if question is trivial but I= =E2=80=99d like to use =C2=AB back =C2=BB key in \blank

> to discard a \blank just before. The following MWE illustrates :<= /p>

> 

><= o:p> 

 

it goes back when there's something to go back

 

there is also \blank[disable]= to disable the next one

 

> \starttext

> 

> 

&g= t; 

> Title.

> 

> \blank[none]

> 

> \blank= [back, -line] %% I=E2=80=99d expect this one to discard the \blank[none]

> (as if it was not present)

> 

> \startalignment[broad= , flushright, hanging]Right.\stopalignment

> 

> 

> 

> \stoptext

> 

>&= nbsp;

> 

> I=E2=80=99d expect that Title and Right words to be on the same= line, but they

> are not. Did I misunderstood t= he meaning of =E2=80=98back=E2=80=99 key ?

> 

> Thanks a lot for help and time,<= /p>

> 

><= o:p> 

> 

> Best regards

> 

> 

>= ; 

> Joseph Canedo

> 

> <= /o:p>

> 

> 

> 

> 

>&n= bsp;

> ___________________________________= ________________________________________________

&g= t; If your question is of interest to others as well, please add an entry t= o the Wiki!

> 

> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listi= nfo/ntg-context

> webpage=C2=A0 : http://www.pra= gma-ade.nl / http://context.aanhet.net

> archive= =C2=A0 : https://bitbucket.org/phg/context-mirror/commits/

> wiki=C2=A0=C2=A0=C2=A0=C2=A0 : http://contextgarden.net

> ____________________________________________________= _______________________________

> 

 

&= nbsp;

--

 =

--------------------------------------------= ---------------------

=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Hans Hagen | PRAGMA ADE

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ridderstraat 2= 7 | 8061 GH Hasselt | The Netherlands

=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www= .pragma-pod.nl

------------------------------------= -----------------------------

_____________________= ______________________________________________________________

If your question is of interest to others as well, please add = an entry to the Wiki!

 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list= info/ntg-context

webpage=C2=A0 : http://www.pragma-= ade.nl / http://context.aanhet.net

archive=C2=A0 : = https://bitbucket.org/phg/context-mirror/commits/

w= iki=C2=A0=C2=A0=C2=A0=C2=A0 : http://contextgarden.net

_______________________________________________________________________= ____________

 

= --_D875A967-6818-4EBA-A243-73128CADDDBF_-- --===============5639802994119669766== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5639802994119669766==--