[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
/ startparagraphs Command/ startparallel Command/ startplacefloat Command/ startplacepairedbox Command/ startsection Command/ startsectionblock Command/ startstartstop Command/ startstop Command/ startstyle Command/ starttabulate Command/ starttextbackground Command/ starttyping Command/ startviewerl

[NTG-context] viewer layers (optional content groups, OCG)

2023-06-19 Thread Henning Hraban Ramm via ntg-context
orts JS to control OCGs (\overlayrollbutton in the MWE) Hraban \setupinteraction[state=start]% needed for JS \defineviewerlayer[Gebuesch][ state=stop, ] \defineviewerlayer[Versteck] \setupviewerlayer[Versteck][ % doesn’t work state=stop, ] \starttext Hier fängt der Wald an. \startviewerlaye

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-12 Thread fv leung via ntg-context
You can also consider using viewerlayer: \setupinteraction[state=start] \defineviewerlayer[solution] \setupcolors[state=start] \usecolors[xwi] \definecolor[keyColor][1.0(maroon)] \starttext \startitemize[n] \but[ToggleLayer{solution}] \samplefile{tufte} \blank[big] \startviewerlayer

Re: [NTG-context] layers and \llap

2019-11-19 Thread Henri Menke
=no] > > \starttext > \startviewerlayer[view]\color[red]{\TeX}\stopviewerlayer% > \startviewerlayer[print]\llap{\ConTeXt}\stopviewerlayer% > > \input zapf > \stoptext > > If the layer with \llap is placed last, disabling the view layer > disables

[NTG-context] layers and \llap

2019-11-19 Thread Pablo Rodriguez
Hi Hans, this comes from a previous message about an issue with \llap and layers. Here is the sample: \defineviewerlayer[print][state=stop,printable=yes] \defineviewerlayer[view][state=start,printable=no] \starttext \startviewerlayer[view]\color[red]{\TeX}\stopviewerlayer

Re: [NTG-context] PDF layer links

2019-11-13 Thread Pablo Rodriguez
ere you have a minimal sample: \setupinteractionscreen[option=layer] \defineviewerlayer[blue] \starttext \startviewerlayer[blue] %~ Previous comment. \color[blue]{\llap{This is print.}} \stopviewerlayer \stoptext Uncommenting the first line maker everything ok. Co

[NTG-context] PDF layer links

2019-11-06 Thread Philipp A.
] \def\viewcolor#1#2{% \startviewerlayer[view]\color[#1]{#2}\stopviewerlayer% \startviewerlayer[print]\llap{#2}\stopviewerlayer% } \starttext Hi! \viewcolor{red}{This is only red on screen}. More text. \stoptext

Re: [NTG-context] Fwd: issue: multiple viewer layers

2019-01-07 Thread Hans Hagen
ntable=yes,] \defineviewerlayer[view][state=start,printable=no,] \starttext     \startviewerlayer[view]{first}     \samplefile{knuth}     \startviewerlayer[print]{second} \stoptext missing \stop's there .. the next at first sight looks ok here so what version are you running? \nopdfcompression \define

[NTG-context] Fwd: issue: multiple viewer layers

2019-01-07 Thread User 19087
than \viewerlayer: \defineviewerlayer[print][state=stop,printable=yes,] \showallmakeup \starttext \startviewerlayer[print] And then: \stopviewerlayer \samplefile{knuth} \stoptext Rather than two independent layers, the print layer (along with other content) belongs to the view laye

Re: [NTG-context] Question to covers

2018-07-28 Thread Wolfgang Schuster
\defineviewerlayer[Ebene] \setupviewerlayer[Ebene][ state=start, visible=no, title=Test, ] \starttext Text \startviewerlayer[Ebene] {\bfa TOP SECRET} \stopviewerlayer More Text \stoptext AFAIK completely undocumented, I found them at http://source.contextgarden.net/tex/context/bas

Re: [NTG-context] Question to covers

2018-07-28 Thread Henning Hraban Ramm
TeXt: \defineviewerlayer[Ebene] \setupviewerlayer[Ebene][ state=start, visible=no, title=Test, ] \starttext Text \startviewerlayer[Ebene] {\bfa TOP SECRET} \stopviewerlayer More Text \stoptext AFAIK completely undocumented, I found them at http://source.contextgarden.net/tex/context/b

Re: [NTG-context] Support for Optional Content Groups

2016-05-22 Thread Meer, Hans van der
ntable=yes,state=stop] > \defineviewerlayer[notvisibleandnotprint][printable=no, state=stop] > > \setupinteraction[state=start] > > \starttext > > \startviewerlayer[visibleandprint] visible and print \stopviewerlayer > \blank > \startviewerlayer[visibleandnotprint]

Re: [NTG-context] Support of PDF Optional Content Groups (Layers)

2014-11-17 Thread Hans Hagen
> > Optional" in the PDF Reference 1.7 available at > > > http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/pdf_reference_1-7.pdf > > > > > > I cannot find anything on the Wiki nor in the ntg-context emails and > > > grepping through

Re: [NTG-context] Support of PDF Optional Content Groups (Layers)

2014-11-17 Thread Christoph Reller
able at > > > http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/pdf_reference_1-7.pdf > > > > > > I cannot find anything on the Wiki nor in the ntg-context emails and > > > grepping through the source code for "ocg" does not give rea

Re: [NTG-context] Support of PDF Optional Content Groups (Layers)

2014-11-16 Thread Hans Hagen
xt emails and grepping through the source code for "ocg" does not give reasonable results. You have to look for \defineviewerlayer and \startviewerlayer. A quick test if your pdf viewer supports is is: \showlayo

Re: [NTG-context] Support of PDF Optional Content Groups (Layers)

2014-11-16 Thread Wolfgang Schuster
rence_1-7.pdf> > > I cannot find anything on the Wiki nor in the ntg-context emails and grepping > through the source code for "ocg" does not give reasonable results. You have to look for \defineviewerlayer and \startviewerlayer. Wolfgang __

Re: [NTG-context] Support for Optional Content Groups

2014-07-03 Thread Chris Chapman
\defineviewerlayer[visibleandprint] [printable=yes,state=start] > \defineviewerlayer[visibleandnotprint] [printable=no, state=start] > \defineviewerlayer[notvisibleandprint] [printable=yes,state=stop] > \defineviewerlayer[notvisibleandnotprint][printable=no, state=stop]

Re: [NTG-context] Support for Optional Content Groups

2014-07-03 Thread Hans Hagen
][printable=no, state=stop] \setupinteraction[state=start] \starttext \startviewerlayer[visibleandprint] visible and print \stopviewerlayer \blank \startviewerlayer[visibleandnotprint]visible and not print \stopviewerlayer \blank \startviewerlayer[notvisibleandprint]not visible and

Re: [NTG-context] Support for Optional Content Groups

2014-07-03 Thread Wolfgang Schuster
because you can only hide the background together with the text \setupbackgrounds[page][background=PageBackground] \setupviewerlayer[printable=no] \defineviewerlayer[mylayer] %\showlayoutcomponents % use this to enable/disable certain text areas \starttext \input knuth \startviewerlayer[mylayer] \input

Re: [NTG-context] showing and hiding layers

2011-02-01 Thread Wolfgang Schuster
> can show and hide this layer in acrobat, but it always opens up > hidden. I am also not sure how to place the letterhead exactly on the > page using this method. > > Any suggestions? In MkIV \startproperty is obsolete and you should use \startviewerlayer: \defineviewer

Re: [NTG-context] beta

2010-11-13 Thread Erik Margraf
t least this > implementation has more potential > > - the properties mechanism is obsolete and replaced by three mechanism that > used them (originally properties dealt with specific engine/backend > functionality); the most important ones are > > \defineviewerlayer[name][options] &

Re: [NTG-context] beta

2010-11-12 Thread views63
and replaced by three mechanism that > used them (originally properties dealt with specific engine/backend > functionality); the most important ones are > > \defineviewerlayer[name][options] > \startviewerlayer[name]\stopviewerlayer > \viewerlayer[name]{...} > > and > &

[NTG-context] beta

2010-11-12 Thread Hans Hagen
at least this implementation has more potential - the properties mechanism is obsolete and replaced by three mechanism that used them (originally properties dealt with specific engine/backend functionality); the most important ones are \defineviewerlayer[name][options] \startviewerlayer[name