Re: [NTG-context] Framedtext in a float

2016-11-05 Thread Wolfgang Schuster
Fabrice Couvreur 1. November 2016 um 12:09 Okay, so to change locally, I do this: \placerecipe{}{ \setupframedtexts[MyFrame][width=10cm] \startMyFrame[Title=One] You can set the width with \startMyFrame, e.g. \startMyFrame[Title=One,width=10cm]

Re: [NTG-context] Framedtext in a float

2016-11-05 Thread Alan Braslau
Sounds something like how PowerPoint works (but adjusting point size to fit a frame...). Alan > On 1 Nov 2016, at 04:17, Piotr Kopszak wrote: > > You mean, you effectively want ConTeXt to choose best proportions for > the framed text on its own? I guess very few designers

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Fabrice Couvreur
Okay, so to change locally, I do this : \placerecipe{}{ \setupframedtexts[MyFrame][width=10cm] \startMyFrame[Title=One] \stopMyFrame} \placerecipe{}{ \setupframedtexts[MyFrame][width=8cm] \startMyFrame[Title=Two] \stopMyFrame} \placerecipe{}{

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Piotr Kopszak
You mean, you effectively want ConTeXt to choose best proportions for the framed text on its own? I guess very few designers would agree for that, if any. 2016-11-01 10:47 GMT+01:00 Fabrice Couvreur : > Hello, > The option align = tolerant rule one of the problems I

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Fabrice Couvreur
Hello, The option align = tolerant rule one of the problems I may encounter. But I wonder if it's possible that I should not choose myself width = 6cm to fit the text. If I have to use the command several times with different content, how make ? Thank you Fabrice 2016-11-01 9:23 GMT+01:00 Piotr

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Piotr Kopszak
Just use ... \startMyFrame[Title=Info] \setupalign[hyphenated,morehyphenation,verytolerant] ... Piotr 2016-11-01 0:12 GMT+01:00 Fabrice Couvreur : > Hello, > How to make the width of framedtext automatically adapts to its contents. > Fabrice > > \definefloat >

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Marco Patzer
On Tue, 1 Nov 2016 00:12:37 +0100 Fabrice Couvreur wrote: > How to make the width of framedtext automatically adapts to its > contents. > > […] > > \defineframedtext > [MyFrame] > [before={\blank}, >after={\blank}, >frame=off, >background=MyFrame, >

[NTG-context] Framedtext in a float

2016-10-31 Thread Fabrice Couvreur
Hello, How to make the width of framedtext automatically adapts to its contents. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00]