Re: [NTG-context] Text around a figure in a framedtext

2015-08-14 Thread Fabrice Couvreur
Hi Rik, I actually read that Wolfgang had written, but there is some confusion for me. Indeed, my environment uses a frame and Wolfgang said to be used \ starthanging ... \stophanging rather than \placefigure. But my text contains a blank line which is to create a new paragraph and so I should use

Re: [NTG-context] Text around a figure in a framedtext

2015-08-13 Thread Fabrice Couvreur
Hi, Sorry to revive this discussion (which I initiated), but the text in the following code does not wrapped around the figure. Why ? Fabrice \setupcolors [state=start] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor[MyColorA][.75(MyColorB,white)] \defineframedtext

Re: [NTG-context] Text around a figure in a framedtext

2015-08-13 Thread Fabrice Couvreur
Hi, Well, I think I have solved the problem : it is because of the blank line. Why ? Fabrice 2015-08-13 17:19 GMT+02:00 Fabrice Couvreur fabrice1.couvr...@gmail.com: Hi, Sorry to revive this discussion (which I initiated), but the text in the following code does not wrapped around the figure.

Re: [NTG-context] Text around a figure in a framedtext

2015-08-13 Thread Rik Kabel
On 2015-08-13 11:19, Fabrice Couvreur wrote: Hi, Sorry to revive this discussion (which I initiated), but the text in the following code does not wrapped around the figure. Why ? Fabrice \setupcolors [state=start] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]

Re: [NTG-context] Text around a figure in a framedtext

2015-08-09 Thread Fabrice Couvreur
Hi Wolfgang, Thank you for all these explanations that make me progress in the use of Context. Fabrice 2015-08-08 10:40 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com: Fabrice Couvreur fabrice1.couvr...@gmail.com 8. August 2015 00:49 Hi, Why the text does not move in the first

Re: [NTG-context] Text around a figure in a framedtext

2015-08-09 Thread Jeong Dal
Dear Otared and Wolfgang, It works fine after replacing the text itself. Thank you for the info. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Text around a figure in a framedtext

2015-08-08 Thread Fabrice Couvreur
Hi Otared, A small mistake on your part : do not write \input knuth.tex but \input knuth. Then I want the text in the first framedtext wrapped around the figure as in the second. Fabrice 2015-08-08 6:18 GMT+02:00 Otared Kavian ota...@gmail.com: Hi, You should use the same width if you want to

Re: [NTG-context] Text around a figure in a framedtext

2015-08-08 Thread Wolfgang Schuster
Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com 8. August 2015 00:49 Hi, Why the text does not move in the first framedtext like the second framedtext? You have to use \starthanging instead of \placefgure when you’re in a frame. \starttext \startframedtext[width=max]

Re: [NTG-context] Text around a figure in a framedtext (Wolfgang Schuster)

2015-08-08 Thread Jeong Dal
Dear Wolfgang, You have to use \starthanging instead of \placefgure when you’re in a frame. \starttext \startframedtext[width=max] \starthanging[location=right] {\startMPcode draw unitsquare scaled 2cm ; \stopMPcode} \input tufte \stophanging

Re: [NTG-context] Text around a figure in a framedtext (Wolfgang Schuster)

2015-08-08 Thread Otared Kavian
Hi Jeong, You are right, but probably this is due to the way the source file knuth.tex is encoded: if you replace \input knuth by the text itself, that is by the following Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first

Re: [NTG-context] Text around a figure in a framedtext (Wolfgang Schuster)

2015-08-08 Thread Wolfgang Schuster
Jeong Dal mailto:hak...@me.com 8. August 2015 15:49 Dear Wolfgang, Thank you for letting me know the command “starthanging”. I tried the command “\startfiguretext … \stopfiguretext”, and found that there is no text below the square. \startframedtext[width=\textwidth]{

[NTG-context] Text around a figure in a framedtext

2015-08-07 Thread Fabrice Couvreur
Hi, Why the text does not move in the first framedtext like the second framedtext ? Thank you. Fabrice \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor[MyColorA][.75(MyColorB,white)] \defineframedtext [MyText] [frame=off, background=MyFrame, width=\textwidth,

Re: [NTG-context] Text around a figure in a framedtext

2015-08-07 Thread Otared Kavian
Hi, You should use the same width if you want to obtain the same result (by the way, you have to say also \stopframedtext in your source file): \startframedtext[width=\textwidth]{ \placefigure[right,none]{}{% \startMPcode draw unitsquare scaled 2cm ; \stopMPcode} \input knuth.tex }