Re: [NTG-context] \blank[force, halfline] at top page issue

2016-10-01 Thread josephcanedo
Tried the following putting a \vbox before the \blank. There is probably better 
solution for this.

\setuplayout[grid=both]
\showgrid
\starttext
\endgraf\vbox to \lineheight{}\blank[samepage, -halfline]
HalfLine
\blank[halfline]
Text
\page
Text
\endgraf\vbox to \lineheight{}\blank[samepage, -halfline]
HalfLine
\blank[halfline]
Text
\stoptext

De : Marcus Vinicius Mesquita
Envoyé le :vendredi 30 septembre 2016 23:08
À : mailing list for ConTeXt users
Objet :Re: [NTG-context] \blank[force, halfline] at top page issue

Try

\blank[force,halfline,depth]


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \blank[force, halfline] at top page issue

2016-09-30 Thread josephcanedo
Hi Marcus, 

Thanks for the tip, somewhat better in terms of alignment to the grid (but 
there is now larger space before exactly 1 line in excess). Unfortunately if 
the \blank[force, halfine, depth] is not first in page the vertical alignment 
is now wrong, and I do not know if a given \blank will be first or not in the 
page.

Best regards

Joseph Canedo

De : Marcus Vinicius Mesquita
Envoyé le :vendredi 30 septembre 2016 23:08
À : mailing list for ConTeXt users
Objet :Re: [NTG-context] \blank[force, halfline] at top page issue

Try

\blank[force,halfline,depth]


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \blank[force, halfline] at top page issue

2016-09-30 Thread Marcus Vinicius Mesquita
Try

\blank[force,halfline,depth]
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] \blank[force, halfline] at top page issue

2016-09-29 Thread josephcanedo
Dear list,

I think this issue has been already reported (or a similar one 
http://www.mail-archive.com/ntg-context@ntg.nl/msg77729.html) but not resolved.
It seems that if \blank[force, etc … is first in page there is additional 
spacing due to topskip. I’ve checked that this unwanted spacing disappears if 
topskip is set to 0, but I doubt it’s really good idea to mess up with this low 
level TeX setting (or is it good idea ?).

Moreover browsing the spac-ver.* files I noticed the existence of a no_topskip 
mechanism which I guess would allow to remove (in lua code) the topskip glue 
node but there is no way to enable this from \blank command or at least could 
not figure it out. Is there an easy way to enable this no topskip feature ? 
Alternative I found is to use a \vbox etc… but wondered if there were some 
simpler way using \blank.

Thanks,
Best regards

Joseph Canedo

MWE :

\setuplayout[grid=both] % not really needed 
\showgrid

\starttext

\blank[force, halfline]
HalfLine
\blank[halfline]

Text

\stoptext

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___