ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Indentation inside \framed won't go away
@ 2021-10-21  8:32 Ramkumar KB via ntg-context
  2021-10-21  8:42 ` fv leung via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ramkumar KB via ntg-context @ 2021-10-21  8:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Ramkumar KB


[-- Attachment #1.1: Type: text/plain, Size: 751 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3298 bytes --]

[-- Attachment #2: indent_in_framed.pdf --]
[-- Type: application/pdf, Size: 7762 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Indentation inside \framed won't go away
  2021-10-21  8:32 Indentation inside \framed won't go away Ramkumar KB via ntg-context
@ 2021-10-21  8:42 ` fv leung via ntg-context
  2021-10-21  8:46 ` mf via ntg-context
  2021-10-21  9:10 ` Hans Hagen via ntg-context
  2 siblings, 0 replies; 5+ messages in thread
From: fv leung via ntg-context @ 2021-10-21  8:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: fv leung


[-- Attachment #1.1: Type: text/plain, Size: 1532 bytes --]

I use

\removeunwantedspaces

in this case.

Ramkumar KB via ntg-context <ntg-context@ntg.nl> 於 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4626 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Indentation inside \framed won't go away
  2021-10-21  8:32 Indentation inside \framed won't go away Ramkumar KB via ntg-context
  2021-10-21  8:42 ` fv leung via ntg-context
@ 2021-10-21  8:46 ` mf via ntg-context
  2021-10-21  9:10 ` Hans Hagen via ntg-context
  2 siblings, 0 replies; 5+ messages in thread
From: mf via ntg-context @ 2021-10-21  8:46 UTC (permalink / raw)
  To: Ramkumar KB via ntg-context; +Cc: mf

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Indentation inside \framed won't go away
  2021-10-21  8:32 Indentation inside \framed won't go away Ramkumar KB via ntg-context
  2021-10-21  8:42 ` fv leung via ntg-context
  2021-10-21  8:46 ` mf via ntg-context
@ 2021-10-21  9:10 ` Hans Hagen via ntg-context
  2021-10-21 15:25   ` Ramkumar KB via ntg-context
  2 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-21  9:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Indentation inside \framed won't go away
  2021-10-21  9:10 ` Hans Hagen via ntg-context
@ 2021-10-21 15:25   ` Ramkumar KB via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Ramkumar KB via ntg-context @ 2021-10-21 15:25 UTC (permalink / raw)
  To: Hans Hagen; +Cc: Ramkumar KB, mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1940 bytes --]

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 <j.hagen@xs4all.nl> 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
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 2812 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-21 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21  8:32 Indentation inside \framed won't go away Ramkumar KB via ntg-context
2021-10-21  8:42 ` fv leung via ntg-context
2021-10-21  8:46 ` mf via ntg-context
2021-10-21  9:10 ` Hans Hagen via ntg-context
2021-10-21 15:25   ` Ramkumar KB via ntg-context

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