Thanks Hans for having replied.
My message was a bit confusing, sorry about that. I think the problem is that ‘back’ (or \blank generally) does not seem to work the same with negative blank as it does with positive blank. The following :
\showgrid\setuplayout[grid=both]
\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 effectively ignored, as expected. But
\showgrid\setuplayout[grid=both]
\starttext
Title.
\blank[2*line]\blank[back]\blank[-line]
Line.
\stoptext
Outputs 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] is also ignored too. Is the latter expected or not ?
Thanks again,
Best regards
Joseph
De : Hans Hagen
Envoyé le :samedi 25 février 2017 21:53
À : ntg-context@ntg.nl
Objet :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’d like to use « back » 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’d expect this one to discard the \blank[none]
> (as if it was not present)
>
> \startalignment[broad, flushright, hanging]Right.\stopalignment
>
>
>
> \stoptext
>
>
>
> I’d expect that Title and Right words to be on the same line, but they
> are not. Did I misunderstood the meaning of ‘back’ 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-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
--
-----------------------------------------------------------------
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 the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________