Re: [NTG-context] [***SPAM***] Provide showgrid as a PDF layer
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 -----------------------------------------------------------------
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
participants (2)
-
Hans Hagen
-
Jan Tosovsky