Re: [NTG-context] Command that does not give the expected result (Metafun)

2015-08-11 Thread Fabrice Couvreur
Hi Wolfgang, I will follow your advice but I will try to understand, when I have the time , the difference between \unexpanded\def\ChapterCommand#1#2% et \def\ChapterCommand#1#2%. Fabrice 2015-08-10 22:38 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com: Fabrice Couvreur fabrice1.couvr

[NTG-context] Strange behavior (TikZ)

2015-08-11 Thread Fabrice Couvreur
Hi, Strange behavior: why is the colored text ? Thanks, Fabrice \usemodule[tikz] \startuniqueMPgraphic{titled} path p ; p := unitsquare xscaled OverlayWidth yscaled OverlayHeight ; pickup pencircle scaled 1mm ; drawoptions(withcolor .625yellow) ; draw llcorner p--lrcorner p ; setbounds

[NTG-context] About fonts

2015-08-10 Thread Fabrice Couvreur
Hi, I want to have the title of the chapters, sections and sub-sections in sans serif Helvetica, body text and mathematics in Palatino. Is this the right approach ? Thanks, Fabrice \definetypeface [me] [rm] [serif][palatino] [default] \definetypeface [me] [ss] [sans] [helvetica

Re: [NTG-context] Command that does not give the expected result (Metafun)

2015-08-10 Thread Fabrice Couvreur
Dear Hans, I tested without understanding what \unexpanded, and of course it works ! Thank you, Fabrice 2015-08-09 15:40 GMT+02:00 Hans Hagen pra...@wxs.nl: On 8/9/2015 1:27 PM, Fabrice Couvreur wrote: Hi Hans, In the document Metafun, you use commands that I like, and I try to understand

[NTG-context] Command that does not give the expected result (Metafun)

2015-08-09 Thread Fabrice Couvreur
Hi Hans, In the document Metafun, you use commands that I like, and I try to understand the definition and operation, which is not always easy with TeX commands. Also, in the following code, this does not give the expected result. Thank you. Fabrice \showframe \setupcolors [state=start

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

[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] Some questions about an environment (Metafun)

2015-08-07 Thread Fabrice Couvreur
Hi Hans, Thank you for responding to my request, it's really nice. By cons I do not understand what you mean some day textext might handle it okay Fabrice 2015-08-07 14:26 GMT+02:00 Hans Hagen pra...@wxs.nl: On 8/6/2015 11:38 PM, Fabrice Couvreur wrote: Hi, The following code (Metafun

Re: [NTG-context] Some questions about an environment (Metafun)

2015-08-06 Thread Fabrice Couvreur
, \startMyText ... \ stopMyText ... this return Définition 1, Définition 2 ... Thank you, Fabrice \setupbodyfont [palatino,11pt] \setupcolors[state=start,cmyk=yes] \definecolor[MyColor][c=0.00, m=0.10, y=0.20, k=0.00] \definecolor[myColor][c=0.00, m=0.62, y=1.00, k=0.00] \defineoverlay[MyFrame

[NTG-context] Some questions about an environment (Metafun)

2015-08-04 Thread Fabrice Couvreur
Hi, How to have Definition 1, Definition 2, Definition 3 ... ? Is it possible to translate the image p until the left edge of the text area ? Thank you, Fabrice \showframe \setupcolors[state=start,cmyk=yes] \definecolor[MyColor][c=0.00, m=0.10, y=0.20, k=0.00] \definecolor[myColor][c=0.00, m

Re: [NTG-context] Some questions about an environment (Metafun)

2015-08-04 Thread Fabrice Couvreur
Hi Hans, Thank you for your suggestion, but it's not what I want, but I probably misstated my request. For me, the image p contains the text Définition 1, and this is what I want orange rectangle translate to the left edge of the text area. Am I more clearly ? Fabrice 2015-08-04 20:08 GMT+02:00

[NTG-context] Questions around my page design

2015-08-03 Thread Fabrice Couvreur
Hi, I wish the numérotion pages is reversed at each new page: right left right ... I wish the bottom of the title page of each section of the current page. Thanks for your help, Fabrice \setuppagenumbering [location=] \setupheadertexts [margin] [][\hfill\pagenumber\hfill

[NTG-context] Floating dimensions that adapts automaticall

2015-08-03 Thread Fabrice Couvreur
Hi, In the code below, we can see that the table overflows. Of course, one can play on the table dimensions to adjust its position. However it is possible to define a floating whose dimensions automatically adapt to the available space ? Thank you, Fabrice \definefloat [MyFloat] [figure

Re: [NTG-context] Questions around my page design

2015-08-03 Thread Fabrice
://www.pragma-ade.nl/general/manuals/cont-enp.pdf. Thank you very much, Fabrice ___ 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

Re: [NTG-context] Small problems with my columns

2015-07-31 Thread Fabrice
Hi Wolfgang and Pablo, Thank you for your suggestions, it works perfectly. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Numbered page template

2015-07-30 Thread Fabrice
Thank you Calum, but this command is used to number the pages, and it does not answer my question. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Structure : problem with an environment

2015-07-30 Thread Fabrice Couvreur
alternative=left, 9stopper={.}] 10 11 \stopenvironment 12 Thanks, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Structure : problem with an environment

2015-07-30 Thread Fabrice
Hi Wolfgang, You're right, thank you. Fabrice ___ 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

[NTG-context] Numbered page template

2015-07-30 Thread Fabrice Couvreur
In this manual, I like the numbered pages indicating each chapter. I suppose they are made with Metafun. Is it possible to have an explanation ? Thank You, Fabrice http://www.pragma-ade.nl/general/manuals/cont-enp.pdf

[NTG-context] Small problems with my columns

2015-07-30 Thread Fabrice Couvreur
Hi, In the code below, how to make the line hyphenation is in the first column and not in the second. Thank You. Fabrice \setupcolors[state=start] \definemixedcolumns [mycolumn] [ n=2, separator=rule, rulecolor=gray, rulethickness=1pt, balance=yes, ] \setuppapersize[A4

[NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Fabrice Couvreur
Hi, Why the command \placerecipe{}{} does not with an environment \ starttikzpicture \stoptikzpicture ? Fabrice \setupexternalfigures[location={local,global,default}] \setuppagenumbering[location=] \usemodule[tikz] \usemodule[pgfplots] \pgfplotsset{compat=1.8} \definefloat [recipe

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Fabrice
Thank you for your suggestions, it works. Fabrice ___ 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

[NTG-context] Latest beta : command that no longer works

2015-04-03 Thread Fabrice Couvreur
With the latest version of Context Standalone, this command \filler[dots] no longer works. Best regards, Fabrice \definefiller[dots][left=\dontleavehmode, right=\hskip\ZeroPoint\par] \starttext \dorecurse{4}{\filler[dots]} \stoptext fab@debian:~$ source context/tex/setuptex Setting /home/fab

Re: [NTG-context] Latest beta : command that no longer works

2015-04-03 Thread Fabrice
Sorry for the mistake. Fabrice ___ 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

Re: [NTG-context] Color in an environment

2015-03-30 Thread Fabrice
, Fabrice ___ 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

Re: [NTG-context] Frame and rulethickness

2015-03-29 Thread Fabrice
Hi Wolfgang, Initially, I wanted to use Metapost, but I told myself that you or Hans would stand to be told to use the command \framed :-) thank you, Fabrice ___ If your question is of interest to others as well

[NTG-context] Color in an environment

2015-03-29 Thread Fabrice Couvreur
Hi, 1. In the following code, the color is not included in the \startframedtext \stopframedtext environment 2. How can the height of the red square adapts to the height of the text ? 3. Can we improve the code ? Best regards, Fabrice \setupcolors[state=start] \definecolor[mycolor][c=0.00, m

[NTG-context] Frame and rulethickness

2015-03-28 Thread Fabrice Couvreur
Hi, Is it possible to have a different line thickness right and bottom ? Best regards, Fabrice \defineframed [ACFRAME] [topframe=off, bottomframe=on, rightframe=off, leftframe=on, framecolor=green, rulethickness=2pt, width=fit, align=flushleft, location=low

Re: [NTG-context] Problem after updating TeXlive 2014

2015-03-28 Thread Fabrice
Hi Hans, I use the latest context standalone distribution, and it's ok. Best regards, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Problem after updating TeXlive 2014

2015-03-27 Thread Fabrice Couvreur
-dist/tex/context/base/luat-cod.lua:45: in function 'registercode' [\directlua]:1: in main chunk. \registerctxluafile ...ua.registercode(#1,#2)} l.31 \registerctxluafile{file-ini}{1.001} ? Best regards, Fabrice

Re: [NTG-context] Alignment on the baseline in a itemize environment with \dfrac{}{}

2015-03-23 Thread Fabrice
Hi Wolfgang, Thank you for these three solutions. One thing I'm missing is the role of grid I did not know. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Alignment on the baseline in a itemize environment with \dfrac{}{}

2015-03-22 Thread Fabrice Couvreur
The alignment of the second item on the baseline is not correct if I use the command \dfrac{}{}. How to solve this problem without using the command \framed ? Best regards, Fabrice \starttext \startitemize[columns,A,joinedup,three][stopper={)},style=bold] \item $f^{\prime}(x) = \dfrac{- 1}{(x

Re: [NTG-context] Problem in using vlingrid() and hlingrid() macros (Metafun)

2015-03-15 Thread Fabrice
Hi, To solve my problem, I finally used a loop to draw a grid. Fabrice \starttext \start \switchtobodyfont[small] \startMPcode path p ; u := 2cm ; v:= 1cm ; p := (-u,-5v)--(3u,-5v)--(3u,4v)--(-u,4v)--cycle ; drawoptions(withpen pencircle scaled 0.5pt withcolor \MPcolor

[NTG-context] Problem in using vlingrid() and hlingrid() macros (Metafun)

2015-03-14 Thread Fabrice Couvreur
Hi, I encounter some problems in the use of vlingrid() and hlingrid() macros. In the code below, we see that the grid is not correct. Does the code can be improved ? thank you, Fabrice \starttext \startMPcode path p ; u := 2cm ; v:= 1cm ; p := (-u,-5v)--(3u,-5v)--(3u,4v)--(-u,4v

Re: [NTG-context] Change the dots of the macro \periods[n]

2015-03-07 Thread Fabrice
Hi Hans and Wolfgang, Thank you for your suggestions. It meets my expectations, but I'll try to understand the codes later! Fabrice ___ If your question is of interest to others as well, please add an entry

[NTG-context] Add labels to a grid (Metafun)

2015-03-06 Thread Fabrice Couvreur
To add labels to a grid, Hans wrote a macro hlintext (Min, Max, Step, Lenght , Format). I do not know what to put in Format. Best regards, Fabrice \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \start \switchtobodyfont[small] \startMPcode input tex; numeric xmin, xmax, ymin, ymax

Re: [NTG-context] Add labels to a grid (Metafun)

2015-03-06 Thread Fabrice
thank you very much Alain, I think I understood for the format @d but for other formats, I will need documentation. Fabrice \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \start \switchtobodyfont[small] \startMPcode xmin := 0; xmax := 22; ymax :=460 ;ymin:=0; u := 0.5cm; v:= 0.025cm

[NTG-context] Change the dots of the macro \periods[n]

2015-03-06 Thread Fabrice Couvreur
Hi, Is it possible to change the shape of the dots of macro \periods[n] to be like the dots of macro \definefiller[dots][left=\dontleavehmode, right=\hskip\ ZeroPoint\par] ? Best regards, Fabrice ___ If your question

Re: [NTG-context] Hatch an area with Metapost (Metafun)

2015-02-17 Thread Fabrice
Hi John, That's what I thought, some macros work indifferently in Metafun or Metapost, others not. Thank you for the interest in my question. Fabrice ___ If your question is of interest to others as well, please add

[NTG-context] Bug with macro tightfunction (Metafun)

2015-02-16 Thread Fabrice Couvreur
Hi, This code generates an error while it was working fine a month ago. Best regards, Fabrice \definecolor[mycolor][c=.4,m=0,y=0,k=0] \starttext \start \switchtobodyfont[small] \startMPcode input hvdm; input tex; l:=3mm; r:=0.6; alfa:=45; beta:=0; gamma:=0

Re: [NTG-context] Hatch an area with Metapost (Metafun)

2015-02-16 Thread Fabrice
Hi, This does not work with : labeloffset := 2mm; Fabrice ___ 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

Re: [NTG-context] Hatch an area with Metapost (Metafun)

2015-02-10 Thread Fabrice
Hi John, Thank you for that other solution with Metapost. I am in front of learning Metapost and Metafun, I'm still far from mastering! Fabrice ___ If your question is of interest to others as well, please add

Re: [NTG-context] Hatch an area with Metapost (Metafun)

2015-02-10 Thread Fabrice
Metafun Metapost: I think the labels are too near to the corners of the square with the macro Metafun. thank you, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Hatch an area with Metapost (Metafun)

2015-02-09 Thread Fabrice
Hi Hans, Great, but I did not know the macro numberstriped. Is it a Metapostor Metafun macro? Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Hatch an area with Metapost (Metafun)

2015-02-09 Thread Fabrice Couvreur
Hi, How hatched trapezoid MBCD ? Best regards, Fabrice \starttext \startMPcode path p ; p=unitsquare scaled 4cm ; draw p ; pair z ; z=point 3.6 of p ; draw z--urcorner p ; label.llft(btex B etex,llcorner p) ; label.lrt(btex C etex,lrcorner p) ; label.ulft(btex A etex,ulcorner p) ; label.urt(btex

Re: [NTG-context] How to place text to the right of a brace

2015-02-02 Thread Fabrice
Hi Pablo, By searching, I found this : Some commands like \framed http://wiki.contextgarden.net/Command/framed cause line breaks to happen if used in vertical mode, e.g. at the beginning of a line. This explains my problem and soultion you propose. Thanks, Fabrice

[NTG-context] How to place text to the right of a brace

2015-02-01 Thread Fabrice Couvreur
Hi, Wolfgang wrote, there was some time already, a nice macro to draw a brace. In the code below, how to have the arrow and the text to the right of the brace ? Best regards, Fabrice \startuseMPgraphic{accolade} z1 = (-233,0) ; z2 = (-220,22) ; z3 = (-155,211) ; z4 = (-200,690) ; z5

Re: [NTG-context] Indentation inside environment

2015-01-31 Thread Fabrice
Hi Wolfgang, It is very clear, as usual. Thank you again, Fabrice ___ 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

Re: [NTG-context] Indentation inside environment

2015-01-30 Thread Fabrice
Hi Wolfgang, For the first option, it's ok, thank you. Can you clarify for the second option? Best regards, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Indentation inside environment

2015-01-30 Thread Fabrice Couvreur
Hi, I would have no indentation for the text (ward) thank you, Fabrice \starttext \startitemize[A][stopper={.},style=bold] \iem \blank[big] \input ward \startitemize[n][stopper={.},style=bold] \item \item \item \stopitemize \item \blank[big] \input ward \startitemize[n][stopper={.},style=bold

Re: [NTG-context] Positioning an arrow between two values (Metapost)

2015-01-21 Thread Fabrice
Hi Troy, Thank you, this macro is very nice ; it matches what I want to do even if I would like a smaller space between the arrow and labels. Best regards, Fabrice ___ If your question is of interest to others

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-19 Thread Fabrice
Hi Hans, It works perfectly, thank you. Fabrice ___ 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

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-18 Thread Fabrice
Hi Hans, The size of the float does not center the frame unless I replace by \dorecurse{5}{\filler[dots]} by \dorecurse{10}{\filler[dots]}. Is there a better way ? Thanks, Fabrice % macros=mkvi \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \definefloat [recipe

[NTG-context] Positioning an arrow between two values (Metapost)

2015-01-17 Thread Fabrice Couvreur
like in the code below. \starttext \startMPcode u:=1cm ; path p, q ; p=fullsquare scaled u ; q=fullsquare scaled u shifted (4u,-2u) ; draw p ; draw q ; drawarrow center p--center q ; label(btex $5$ etex,center p) ; label(btex $-2 $ etex,center q) ; \stopMPcode \stoptext Best regards, Fabrice

Re: [NTG-context] Center two frames

2015-01-14 Thread Fabrice
Dear Pablo, Following a post to which you had already answered, I have been able to do using a XTABLE. But I wanted to know if it was possible to do otherwise. But apparently not, so I'll hold your solution. Dear Wolfgang, Why is it better to use a framed text environment?

[NTG-context] Center two frames

2015-01-13 Thread Fabrice Couvreur
Hi, I wish the second frame is centered with the first frame. I guess this is the figure that prevents this. However, even by reducing the value of u, it does not work. Best regards, Fabrice \definecolor[Border][c=0.00, m=0.00, y=0.00, k=0.25] \defineframed [Myframed] [width=0.6\textwidth

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-10 Thread Fabrice
You're right Pablo. Fabrice ___ 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

[NTG-context] About the macro ulcircle

2015-01-09 Thread Fabrice Couvreur
Hi, I discovered some macro Metafun particular. I then wanted to outline, but it does not fit with the boundary of the quadrant. Can I have some explanation ? Best regards, Fabrice \starttext \startMPcode u:=1cm ; pickup pencircle scaled 1pt ; fill ulcircle scaled 8u withcolor lightgray ; fill

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice
Hi Pablo, Thank you for your cooperation. That's what I want except the frame. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] About the macro ulcircle

2015-01-09 Thread Fabrice
Dear Hans, I do not have enough back from Metapost to think differently and I'm not you! :) Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice
\startxcell[frame=off] ___ 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 :

[NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice Couvreur
Hi, Is it possible to center horizontally and vertically the table with the graphics ? Best regards, Fabrice \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=0.45\textwidth] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-06 Thread Couvreur Fabrice
I am impressed ! Best regards, Fabriçe Envoyé de mon iPad ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-06 Thread Couvreur Fabrice
Hi Alan, What should I include ? Fabrice Envoyé de mon iPad ___ 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

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-05 Thread Fabrice
\item \unit{25 Centiliter} de crème fraîche \stopitemize \stopframedtext } \item \filler[dots] \filler[dots] \filler[dots] \filler[dots] \stopitemize \stoptext Best regards, Fabrice ___ If your question is of interest

Re: [NTG-context] Title and defineenumeration

2015-01-02 Thread Fabrice
Hi Wolfgang, Thank you and Happy New Year 2015 to all members. Fabrice ___ 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

Re: [NTG-context] Steps in presentation

2015-01-02 Thread Fabrice L.
content by step in a page, I would be happy to know about it. Thanks, Fabrice. ___ 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

[NTG-context] Title and defineenumeration

2014-12-31 Thread Fabrice Couvreur
Dear list, Is it possible to remove the parentheses of the title ? Best regards, Fabrice \defineframed [ACFRAME] [frame=off, width=fit, align=flushleft, location=low, background=color, backgroundcolor=lightgray] \defineenumeration [ac] [text={Activité}, headstyle={\bf

Re: [NTG-context] Define a new type section with metafun

2014-12-29 Thread Fabrice
Hi Hans, Thank you for your answer, text placement is correct as long as the policy is not too great. For cons, I'll remove the red line separation because its placement is random. Best regards, Fabrice ___ If your

Re: [NTG-context] Define a new type section with metafun

2014-12-28 Thread Fabrice
Thank you to Akira and Hans for these solutions. How do now to the numbering and the title text are equidistant from the red line separation ? Fabrice ___ If your question is of interest to others as well, please

Re: [NTG-context] Define a new type section with metafun

2014-12-28 Thread Fabrice
Another worry: when the title is too long, there is a line break, which is normal, but what follows is under the dial. Thanks, Fabrice % macros=mkvi \setuppapersize[A4][A4] \setuphead [section] [sectionstopper={}, conversion=Characters, sectionsegments=section:section

[NTG-context] Define a new type section with metafun

2014-12-26 Thread Fabrice Couvreur
Hi, I wish red separation is exactly in the middle of the dial and the title of the section. Then, the line is too long, it should not exceed the boundary of the ellipse. Best regards, Fabrice % macros=mkvi \setuppapersize[A4][A4] \setupcolors[state=start,cmyk=yes,mpcmyk=yes] \definecolor

Re: [NTG-context] Parameters of a table that interfere on another table

2014-12-12 Thread Fabrice
the problems one by one. Best regards, Fabrice ___ 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

[NTG-context] Parameters of a table that interfere on another table

2014-12-09 Thread Fabrice Couvreur
Hi, I do not understand why the parameters of the first table apply to the second table. Best regards, Fabrice \setuppapersize[A4][A4] \setuplayout[ backspace=15mm, width=middle, topspace=15mm, height=middle, header=0pt, footer=0pt

Re: [NTG-context] Strange behavior with itemize

2014-12-07 Thread Fabrice
Hi, I updated it works perfectly. thank you, Fabrice ___ 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

[NTG-context] Strange behavior with itemize

2014-12-06 Thread Fabrice Couvreur
Hi, Why the first two items are not there ? Best regards, Fabrice \starttext \startitemize[n][stopper={.},style=bold] \item \startitemize[a][stopper={.},style=bold] \item Étudier le signe de $B^{\prime}(x)$ sur l'intervalle $\left[0\,;40\right]$. \item Dresser le tableau de variation de la

[NTG-context] Table and framedtext

2014-12-05 Thread Fabrice Couvreur
Hi, In the following code, I would like columns that contain the figures have a white background. Best regards, Fabrice \definecolor[mycolor][c=0.1, m=0.00, y=0.00, k=0.00] \setupcaptions[number=no] \starttext \startframedtext[ width=\textwidth, frame=on, location=middle

[NTG-context] Space around a figure in a table

2014-11-28 Thread Fabrice Couvreur
Hi, Why up space and down space is not the same around each figure ? Best regards, Fabrice \definecolor[FondTableaux][c=0.00, m=0.00, y=0.20, k=0.00] \startsetups[table:initialize] \setupTABLE[column][1,2][offset=1ex,width=2cm] \setupTABLE[column][3][offset=1ex,width=10cm] \setupTABLE[row

Re: [NTG-context] Strange behavior of a macro with ConTeXt ver : 2014.11.12 9:46 p.m. MKIV beta

2014-11-16 Thread Fabrice
HiRik, Sorry, I do not know how I could replace b with B! I did not think to check because this macro worked very well so far Thank you, Fabrice ___ If your question is of interest to others as well, please add

[NTG-context] Strange behavior of a macro with ConTeXt ver : 2014.11.12 9:46 p.m. MKIV beta

2014-11-15 Thread Fabrice Couvreur
Hi, Macro written by Hans does not work. Best regards, Fabrice % macros=mkvi \starttext \starttexdefinition MyOtherHeader #where #day #month #year #title \defineoverlay[whatever][\useMPgraphic{whatever}] \startuseMPgraphic{whatever} path p; p:=fullsquare xyscaled (\overlaywidth

[NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Fabrice Couvreur
Hi, With the book Metafun I created a marker with metapost. How to add a counter ? Best regards, Fabrice \startuseMPgraphic{itemize:fuzzy} numeric u; u:=0.5cm; save p; path p; p := fullcircle xyscaled (u,u) randomized 2pt; pickup pencircle scaled 1pt; fill p withcolor green; draw p withcolor blue

Re: [NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Fabrice
Hi, Thank you for all your suggestions, especially for the beautiful work of adityam. In fact, you do a fantastic job all. Fabrice ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Fabrice
Hi Wolfgang, I want to number the second line of the first column*a.* then the third line of the first column *b**.* ... Best regards, Fabrice \setupitemize[1][stopper={.},style=\bf,color=red] \starttext \startsetups[table:initialize] \setupTABLE[height=0.8cm,align={middle,lohi

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Fabrice
I did not know this macro, ConTeXt is really amazing ! Thank you very much Wolfgang, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-07 Thread Fabrice
Hi, The latest t-tikz.tex form Hans solves the problems both in TL 2014 and standalone. The same for me, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Numbering in a Table

2014-11-07 Thread Fabrice Couvreur
Hi, Is it possible to use an itemize environment in a table ? Best regards, Fabrice \starttext \startsetups[table:initialize] \setupTABLE[height=0.8cm,align={middle,lohi}] \setupTABLE[row][1][background=color,backgroundcolor=cyan] \setupTABLE[1][1][background=color,backgroundcolor=white

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Fabrice
style={ball color=red}] at ( 1, 1) {cube={} with $B$}; \stoptikzpicture \eTD \bTD La valeur de $A$ est \color[green]{3} et $B$ n'a pas encore de valeur \eTD \eTR \eTABLE{} \stoptext Best regards, Fabrice ___ If your

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-05 Thread Fabrice
Hi Hans, For spaces parasites, it is my fault because I copy and paste my code. However, I do not understand why this code does not work : \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[cd] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning]

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-04 Thread Fabrice
Hi, The problem is the \setupTABLE [column] [1] [[width = 4cm, align = {right, lohi}, frame = on, FrameColor = H1prime]. We must not put FrameColor = H1prime. Fabrice ___ If your question is of interest to others

[NTG-context] Strange behavior with the command \color[]{}

2014-11-02 Thread Fabrice Couvreur
Hi, In the code below, if I comment the two lines, it's okay, but if I uncomment those two lines, the number of faces of the cubes is not white but black, and there are pieces of text green. Best regards, Fabrice \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[cd] \usetikzlibrary[3d

[NTG-context] Package {tikz-cd} with ConTeXt

2014-10-28 Thread Fabrice Couvreur
; \draw[xyplane=2] (0,0)--(2,0)--(2,2)--(0,2) --cycle; \draw[xyplane=2] node[white] at (1,1){ 17}; \draw[xyplane=2] node[below=0.25cm] at (1,0){X};} \stoptikzcd \stoptext Best regards, Fabrice ___ If your question

[NTG-context] Extra line in a list

2014-10-21 Thread Fabrice Couvreur
Hi, In the code below, why is there an extra line in the first item ? Best regards, Fabrice \usesymbols[mvs] \setupsymbolset[europe] \starttext \startitemize[n][stopper={.},style=bold] \item \startitemize[a][stopper={.},style=bold] \item On pose $P_A=9$ et $P_B=7$. On a alors $\frac{1}{2}P_A

[NTG-context] Module algorithmic

2014-10-18 Thread Fabrice Couvreur
Hi Wolfgang, How to reduce the size of the float ? Best regards, Fabrice \usemodule[algorithmic] \definefloat[algorithm][algorithms] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \setupfloat [algorithm] [background=color, frame

Re: [NTG-context] Module algorithmic

2014-10-18 Thread Fabrice
Thanks Wolfgang, Fabrice ___ 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

Re: [NTG-context] Stopper and itemize

2014-10-15 Thread Fabrice
Hi Mikael, Thank you, but I should have known!! ___ 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

Re: [NTG-context] Stopper and itemize

2014-10-14 Thread Fabrice
Hi, My English is not perfect ! I mean bracket, that is to say, 1) instead of 1. Best regards, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] (no subject)

2014-10-13 Thread Fabrice Couvreur
hi, In the following code, the default stopper is the point. \starttext \startitemize[columns,a,joinedup] \item $f(0)$ \item $g(0,3)$ \item $f(\sqrt 2)$ \item $g(-4)$ \stopitemize \stoptext How to have a break ? Best regards, Fabrice

Re: [NTG-context] Stopper and itemize

2014-10-13 Thread Fabrice
___ 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 /

[NTG-context] Stopper and itemize

2014-10-13 Thread Fabrice Couvreur
hi, In the following code, the default stopper is the point. \starttext \startitemize[columns,a,joinedup] \item $f(0)$ \item $g(0,3)$ \item $f(\sqrt 2)$ \item $g(-4)$ \stopitemize \stoptext How to have a break ? Best regards, Fabrice

<    3   4   5   6   7   8   9   10   >