[NTG-context] Indenting on all TEXpages

Hans Hagen j.hagen at xs4all.nl
Sun Feb 28 16:31:36 CET 2021


On 2/28/2021 4:13 PM, Jacob Kauffmann wrote:
> Dear list,
> 
> is it possible to enable indenting globally for TEXpage environments?
> Or is it recommended to create a separate environment for that purpose?
> Please find a MWE below. It seems to me that \setupindenting must be set explicitly for every page that needs indenting.
> 
> Best,
> Jacob Kauffmann
> 
> \setupTEXpage[width=10cm]
> \setupindenting[yes,medium]
> 
> % not working
> \starttext
> \startTEXpage
> \input knuth
> \stopTEXpage
> 
> % working

^^^ not working because you introduce a space:

> \startTEXpage
> \setupindenting[yes,medium]% add a percent here 
> \input knuth
> \stopTEXpage
> \stoptext
There's is often a way:

\setupTEXpage[width=10cm,setups=whatever]

\startsetups whatever
     \setupindenting[yes,medium]
\stopsetups

\starttext

\startTEXpage
     \input knuth
\stopTEXpage

\startTEXpage
     \input knuth
\stopTEXpage

\stoptext



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list