ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] Provide showgrid as a PDF layer
@ 2013-11-29 23:04 Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2013-11-29 23:04 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

Dear All,

it would be nice to have a possibility to interactively disable/enable a
grid rendered via \showgrid command. Whereas this grid is helpful for
debugging, it disturbs when the page is evaluated as the whole. Using layers
could make this process more efficient (not requiring to generate both
variants).

I've noticed something like this is already implemented for the body area
(visualizer vbox layer).

Or is there any option for this already?

Thanks, Jan

___________________________________________________________________________________
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: [***SPAM***] Provide showgrid as a PDF layer
  2013-11-30  9:15 ` Hans Hagen
@ 2013-11-30  9:42   ` Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2013-11-30  9:42 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

On 2013-11-30 Hans Hagen wrote:
> On 11/30/2013 12:04 AM, Jan Tosovsky wrote:
> >
> > it would be nice to have a possibility to interactively
> > disable/enable a  grid rendered via \showgrid command. 
> >
> 
> \setupinteraction[state=start]
> \showgrid  \showframe \showmakeup \showlayoutcomponents
> 
> \starttext
>      \input tufte \placefigure{}{}
> \stoptext

Wow, thanks! 

So to show grids as a layer at least \showlayoutcomponents must be set as
well. To be honest, I'd expect displaying the grid directly without this
dependency...

Anyway, it works fine in Adobe Reader.

Jan

___________________________________________________________________________________
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: [***SPAM***] Provide showgrid as a PDF layer
       [not found] <003d01ceed57$64a0f1d0$2de2d570$@tosovsky@email.cz>
@ 2013-11-30  9:15 ` Hans Hagen
  2013-11-30  9:42   ` Jan Tosovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-11-30  9:15 UTC (permalink / raw)
  To: ntg-context

On 11/30/2013 12:04 AM, Jan Tosovsky wrote:
> Dear All,
>
> it would be nice to have a possibility to interactively disable/enable a
> grid rendered via \showgrid command. Whereas this grid is helpful for
> debugging, it disturbs when the page is evaluated as the whole. Using layers
> could make this process more efficient (not requiring to generate both
> variants).
>
> I've noticed something like this is already implemented for the body area
> (visualizer vbox layer).
>
> Or is there any option for this already?

\setupinteraction[state=start]
\showgrid  \showframe \showmakeup \showlayoutcomponents

\starttext
     \input tufte \placefigure{}{}
\stoptext

but you need a viewer that supports layers (can turn them on and off)

Hans

-----------------------------------------------------------------
                                           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

end of thread, other threads:[~2013-11-30  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-29 23:04 [***SPAM***] Provide showgrid as a PDF layer Jan Tosovsky
     [not found] <003d01ceed57$64a0f1d0$2de2d570$@tosovsky@email.cz>
2013-11-30  9:15 ` Hans Hagen
2013-11-30  9:42   ` Jan Tosovsky

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).