From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>
Subject: Re: Indentation inside \framed won't go away
Date: Thu, 21 Oct 2021 11:10:34 +0200 [thread overview]
Message-ID: <fcde0479-57bb-a9e7-bfc2-465309552dac@xs4all.nl> (raw)
In-Reply-To: <CAMD5SRP6d6TZoF6u73hH0DasyB7gg+7NxDmjKGtYivCcORxdSw@mail.gmail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-10-21 9:10 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 [this message]
2021-10-21 15:25 ` Ramkumar KB via ntg-context
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=fcde0479-57bb-a9e7-bfc2-465309552dac@xs4all.nl \
--to=ntg-context@ntg.nl \
--cc=j.hagen@xs4all.nl \
/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).