ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ramkumar KB via ntg-context <ntg-context@ntg.nl>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: Ramkumar KB <ramkumarkb@gmail.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indentation inside \framed won't go away
Date: Thu, 21 Oct 2021 23:25:13 +0800	[thread overview]
Message-ID: <CAMD5SRPPvwhXXcMX4u0smKjZE=gSB8BHzewqXLJbUTj0EWLBXQ@mail.gmail.com> (raw)
In-Reply-To: <fcde0479-57bb-a9e7-bfc2-465309552dac@xs4all.nl>


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

      reply	other threads:[~2021-10-21 15:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21  8:32 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMD5SRPPvwhXXcMX4u0smKjZE=gSB8BHzewqXLJbUTj0EWLBXQ@mail.gmail.com' \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@xs4all.nl \
    --cc=ramkumarkb@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).