Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Ramkumar KB via ntg-context
FV / Massi / Hans,

Thank you so much for the valuable tips.

I will find a suitable place in the Wiki and add this information / nugget.

best regards,
Ramkumar

On Thu, Oct 21, 2021 at 5:10 PM Hans Hagen  wrote:

> On 10/21/2021 10:32 AM, Ramkumar KB via ntg-context wrote:
> > Hello,
> >
> > I have this nagging issue of indentation (in the 1st line) showing up
> > inside \framed in spite of all the commands to skip indentation (see
> > attached PDF).
> >
> > It appears that *\setupindenting[no]* is not playing any role here and
> > some other parameter is overriding  this.
> >
> > Any tips would be appreciated.
> >
> > best regards,
> > Ramkumar
> >
> > \definepapersize[a4-portrait][A4][A4]
> > \setuppapersize[a4-portrait]
> >
> \setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]
> >
> > \starttext
> >
> > \offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax]
> > {\framed[frame=on,offset=none,align=flushleft]
> > {
> > % \startparagraph[align=high]
> > \setupindenting[no]
> > Chief Vitalstatistix\\
> > Getafix\\
> > Dogmatix\\
> > Asterix\\
> > Obelix\\
> > }
> > }
> > \stoptext
> you get what you ask for: spaces
>
> {\framed[frame=on,offset=none,align=flushleft]
> {%
> \setupindenting[no]%
> Chief Vitalstatistix\\
>
> or
>
> \offset[x=11mm,y=23mm] \bgroup
>  \framed[frame=on,offset=none,align=flushleft] \bgroup
>  \setupindenting[no]%
>  Chief Vitalstatistix\\
>  Getafix\\
>  Dogmatix\\
>  Asterix\\
>  Obelix\\
>  \egroup
> \egroup
>
>
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Hans Hagen via ntg-context

On 10/21/2021 10:32 AM, Ramkumar KB via ntg-context wrote:

Hello,

I have this nagging issue of indentation (in the 1st line) showing up 
inside \framed in spite of all the commands to skip indentation (see 
attached PDF).


It appears that *\setupindenting[no]* is not playing any role here and 
some other parameter is overriding  this.


Any tips would be appreciated.

best regards,
Ramkumar

\definepapersize[a4-portrait][A4][A4]
\setuppapersize[a4-portrait]
\setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]

\starttext

\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax]
{\framed[frame=on,offset=none,align=flushleft]
{
% \startparagraph[align=high]
\setupindenting[no]
Chief Vitalstatistix\\
Getafix\\
Dogmatix\\
Asterix\\
Obelix\\
}
}
\stoptext

you get what you ask for: spaces

{\framed[frame=on,offset=none,align=flushleft]
{%
\setupindenting[no]%
Chief Vitalstatistix\\

or

\offset[x=11mm,y=23mm] \bgroup
\framed[frame=on,offset=none,align=flushleft] \bgroup
\setupindenting[no]%
Chief Vitalstatistix\\
Getafix\\
Dogmatix\\
Asterix\\
Obelix\\
\egroup
\egroup



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread mf via ntg-context

\definepapersize[a4-portrait][A4][A4]
\setuppapersize[a4-portrait]
\setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]

\starttext

\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax]
{\framed[frame=on,offset=none,align=flushleft]
{% percent sign here, otherwise you get a space
Chief Vitalstatistix\\
Getafix\\
Dogmatix\\
Asterix\\
Obelix\\
}
}
\stoptext

Massi

Il 21/10/21 10:32, Ramkumar KB via ntg-context ha scritto:

Hello,

I have this nagging issue of indentation (in the 1st line) showing up 
inside \framed in spite of all the commands to skip indentation (see 
attached PDF).


It appears that *\setupindenting[no]* is not playing any role here and 
some other parameter is overriding  this.


Any tips would be appreciated.

best regards,
Ramkumar

\definepapersize[a4-portrait][A4][A4]
\setuppapersize[a4-portrait]
\setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]

\starttext

\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax]
{\framed[frame=on,offset=none,align=flushleft]
{
% \startparagraph[align=high]
\setupindenting[no]
Chief Vitalstatistix\\
Getafix\\
Dogmatix\\
Asterix\\
Obelix\\
}
}
\stoptext


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread fv leung via ntg-context
I use

\removeunwantedspaces

in this case.

Ramkumar KB via ntg-context  於 2021年10月21日 週四 下午4:32寫道:

> Hello,
>
> I have this nagging issue of indentation (in the 1st line) showing up
> inside \framed in spite of all the commands to skip indentation (see
> attached PDF).
>
> It appears that *\setupindenting[no]* is not playing any role here and
> some other parameter is overriding  this.
>
> Any tips would be appreciated.
>
> best regards,
> Ramkumar
>
> \definepapersize[a4-portrait][A4][A4]
> \setuppapersize[a4-portrait]
> \setuplayout
> [topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]
>
> \starttext
>
> \offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax]
> {\framed[frame=on,offset=none,align=flushleft]
> {
> % \startparagraph[align=high]
> \setupindenting[no]
> Chief Vitalstatistix\\
> Getafix\\
> Dogmatix\\
> Asterix\\
> Obelix\\
> }
> }
> \stoptext
>
>
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Ramkumar KB via ntg-context
Hello,

I have this nagging issue of indentation (in the 1st line) showing up
inside \framed in spite of all the commands to skip indentation (see
attached PDF).

It appears that *\setupindenting[no]* is not playing any role here and some
other parameter is overriding  this.

Any tips would be appreciated.

best regards,
Ramkumar

\definepapersize[a4-portrait][A4][A4]
\setuppapersize[a4-portrait]
\setuplayout
[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]

\starttext

\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax]
{\framed[frame=on,offset=none,align=flushleft]
{
% \startparagraph[align=high]
\setupindenting[no]
Chief Vitalstatistix\\
Getafix\\
Dogmatix\\
Asterix\\
Obelix\\
}
}
\stoptext


indent_in_framed.pdf
Description: Adobe PDF document
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___