ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* indenting in framedtext
@ 2017-05-10 11:39 Mikael P. Sundqvist
  2017-05-10 12:40 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael P. Sundqvist @ 2017-05-10 11:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

Dear list,

I'm trying to have indentation inside a framed text, but I do not
succeed. Test file below, and result after compiling with latest
standalone. Is this the intended behavior?

Best regards, Mikael

\setupindenting[yes,medium]

\defineframedtext
[MyFrame]
[
frame=on,
width=broad,
indenting=yes,
]


\starttext

Indenting works here: \input knuth

\startMyFrame
But indenting does not work here: \input knuth
\stopMyFrame

\stoptext

[-- Attachment #2: ctx-example18.pdf --]
[-- Type: application/pdf, Size: 10123 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 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] 3+ messages in thread

* Re: indenting in framedtext
  2017-05-10 11:39 indenting in framedtext Mikael P. Sundqvist
@ 2017-05-10 12:40 ` Hans Hagen
  2017-05-10 12:45   ` Mikael P. Sundqvist
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2017-05-10 12:40 UTC (permalink / raw)
  To: ntg-context

On 5/10/2017 1:39 PM, Mikael P. Sundqvist wrote:
> Dear list,
>
> I'm trying to have indentation inside a framed text, but I do not
> succeed. Test file below, and result after compiling with latest
> standalone. Is this the intended behavior?
>
> Best regards, Mikael
>
> \setupindenting[yes,medium]
>
> \defineframedtext
> [MyFrame]
> [
> frame=on,
> width=broad,
> indenting=yes,
> ]
>
>
> \starttext
>
> Indenting works here: \input knuth
>
> \startMyFrame
> But indenting does not work here: \input knuth
> \stopMyFrame
>
> \stoptext

\defineframedtext
[MyFrame]
[frame=on,
  width=broad,
  indenting={yes,medium},
]



-----------------------------------------------------------------
                                           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] 3+ messages in thread

* Re: indenting in framedtext
  2017-05-10 12:40 ` Hans Hagen
@ 2017-05-10 12:45   ` Mikael P. Sundqvist
  0 siblings, 0 replies; 3+ messages in thread
From: Mikael P. Sundqvist @ 2017-05-10 12:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, May 10, 2017 at 2:40 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 5/10/2017 1:39 PM, Mikael P. Sundqvist wrote:
>>
>> Dear list,
>>
>> I'm trying to have indentation inside a framed text, but I do not
>> succeed. Test file below, and result after compiling with latest
>> standalone. Is this the intended behavior?
>>
>> Best regards, Mikael
>>
>> \setupindenting[yes,medium]
>>
>> \defineframedtext
>> [MyFrame]
>> [
>> frame=on,
>> width=broad,
>> indenting=yes,
>> ]
>>
>>
>> \starttext
>>
>> Indenting works here: \input knuth
>>
>> \startMyFrame
>> But indenting does not work here: \input knuth
>> \stopMyFrame
>>
>> \stoptext
>
>
> \defineframedtext
> [MyFrame]
> [frame=on,
>  width=broad,
>  indenting={yes,medium},
> ]
>
>
>
> -----------------------------------------------------------------
>                                           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
> ___________________________________________________________________________________

Ah, many thanks!

I don't know why I thought it would suffice with "yes" at this point
when it does not in the \setupindenting command.

I think I have had "indenting=yes" in my documents for years without
really bothering to ask why it has not worked...

Thanks again.

/Mikael
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2017-05-10 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-10 11:39 indenting in framedtext Mikael P. Sundqvist
2017-05-10 12:40 ` Hans Hagen
2017-05-10 12:45   ` Mikael P. Sundqvist

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