* Grid lines color and disable
@ 2012-08-14 14:52 Xan
2012-08-14 17:32 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Xan @ 2012-08-14 14:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I want to change color to red to black in \showgrid. Is it possible?
By the other hand, I want to enable/disable the grid alternatively: I
want to have for example 5 blank new pages and then leave the grid:
\showgrid[nonumber]{{\dorecurse{80}\page[empty]}}
What command I have to run to disable grid in the next page?
I use MKIV with minimals
Thanks in advance,
Xan.
PS: Please, CCme
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Grid lines color and disable
2012-08-14 14:52 Grid lines color and disable Xan
@ 2012-08-14 17:32 ` Hans Hagen
2012-08-15 16:00 ` Xan
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-08-14 17:32 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Xan
On 14-8-2012 16:52, Xan wrote:
> Hi,
>
> I want to change color to red to black in \showgrid. Is it possible?
> By the other hand, I want to enable/disable the grid alternatively: I
> want to have for example 5 blank new pages and then leave the grid:
>
> \showgrid[nonumber]{{\dorecurse{80}\page[empty]}}
>
> What command I have to run to disable grid in the next page?
>
> I use MKIV with minimals
\starttext
\definepalet
[layout]
[grid=darkred,
page=darkgreen]
\dorecurse{3}{\page[empty]}
{\showgrid[nonumber]{{\dorecurse{3}{\page[empty]}}}}
\dorecurse{3}{\page[empty]}
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Grid lines color and disable
2012-08-14 17:32 ` Hans Hagen
@ 2012-08-15 16:00 ` Xan
0 siblings, 0 replies; 3+ messages in thread
From: Xan @ 2012-08-15 16:00 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
Al 14/08/12 19:32, En/na Hans Hagen ha escrit:
> On 14-8-2012 16:52, Xan wrote:
>> Hi,
>>
>> I want to change color to red to black in \showgrid. Is it possible?
>> By the other hand, I want to enable/disable the grid alternatively: I
>> want to have for example 5 blank new pages and then leave the grid:
>>
>> \showgrid[nonumber]{{\dorecurse{80}\page[empty]}}
>>
>> What command I have to run to disable grid in the next page?
>>
>> I use MKIV with minimals
>
> \starttext
>
> \definepalet
> [layout]
> [grid=darkred,
> page=darkgreen]
>
> \dorecurse{3}{\page[empty]}
> {\showgrid[nonumber]{{\dorecurse{3}{\page[empty]}}}}
> \dorecurse{3}{\page[empty]}
>
> \stoptext
Thank you very much for the color set.
Yesterday I found solution for enable/disable the grid:
\bgroup
\setuplayout[grid=yes]
\showgrid[nonumber]{{\dorecurse{10}{\page[yes, empty]\par\crlf}}}
\page[yes]
\setuplayout[grid=no]
\egroup
Is it equivalent?
By the other hand, can I put the grid only for example in half of the
height of the page? (the bottom half for example)
Thanks,
Xan.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-15 16:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-14 14:52 Grid lines color and disable Xan
2012-08-14 17:32 ` Hans Hagen
2012-08-15 16:00 ` Xan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).