Perfect!
 Thanks Wolfgang (and Hraban).

Matthias



> On Sep 16, 2025, at 12:48 PM, Wolfgang Schuster 
> <wolfgang.schuster.li...@gmail.com> wrote:
> 
> Am 16.09.2025 um 07:31 schrieb Matthias Weber:
>> Dear All,
>> I am trying to set up block quotes within a frame as below.
>> How can I make the frame fit the block quote?
>> The parameter location=… doesn’t seem to have any effect, regardless of what 
>> I put there.
>> Thanks!
>> Matthias
>> \setupcolors[state=start]
>> \setupcolor[rgb]
>> \definecolor[quotecolor][r=.95,g=.99,b=.99]
>> \definecolor[quotetxt][r=.2,g=.2,b=.1]
>> \defineframedtext    [quotebackground]
>>                              [backgroundcolor=quotecolor,
>>                              location=paragraph,
>>                              background=color,
>>                              corner=round,
>>                              width=broad,
>>                              frame=on,
>>                              framecolor=black,
>>                              color=quotetxt] 
>> \setupdelimitedtext[blockquote][style=\slx,
>>      leftmargin=.5\textwidth,
>>      rightmargin=no,
>>      before={\startquotebackground},
>>      after={\stopquotebackground\blank[2cm]}]
>> \starttext
>> \startsubject[title={Introduction}]
>> \startblockquote
>> \quotation{Need must find,} said the sea-thing child.
>> \\
>> \quotation{Find what?} said the crab.
>> \\
>> \quotation{Whatever there is,} said the sea-thing child.
>> \\
>> \SmallCapped{Russel Hoban},  {\em The Sea-Thing Child}
>> \par
>> \stopblockquote
>> \input{tufte}
>> \stopsubject
>> \stoptext
> 
> Like this?
> 
> %%%% begin example
> \definecolor [quotecolor] [r=.95,g=.99,b=.99]
> \definecolor [quotetxt]   [r=.2,g=.2,b=.1]
> 
> \defineframedtext
>  [EpigraphFrame]
>  [width=fit,
>   corner=round,
>   location=right,
>   background=color,
>   backgroundcolor=quotecolor,
>   foregroundcolor=quotetxt,
>   after={\blank[2*line]}]
> 
> \definelines
>  [Epigraph]
>  [before=\startEpigraphFrame,
>   after=\stopEpigraphFrame]
> 
> \starttext
> 
> \startsubject[title={Introduction}]
> 
> \startEpigraph
> \quotation{Need must find,} said the sea-thing child.
> \quotation{Find what?} said the crab.
> \quotation{Whatever there is,} said the sea-thing child.
> \SmallCapped{Russel Hoban},  {\em The Sea-Thing Child}
> \stopEpigraph
> 
> \input{tufte}
> 
> \stopsubject
> 
> \stoptext
> %%%% end example
> 
> Wolfgang
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to