[NTG-context] Cover page (Metafun)

2015-08-14 Thread Fabrice Couvreur
uot;CONTEXTEN". Thank you, Fabrice \setuppagenumbering[location=] \setupcolors [state=start] \definecolor[maincolor][g=.6] \definecolor[pagecolor][s=.6] \definecolor[darkcolor][s=.2] \definecolor[textcolor][r=.6] \startMPinclusions color maincolor ; maincolor := \MPcolor{maincolor} ;

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

2015-08-14 Thread Fabrice Couvreur
\ placefigure !!! 2015-08-14 3:38 GMT+02:00 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 > > >

Re: [NTG-context] Title of the section that begins

2015-08-13 Thread Fabrice Couvreur
\setupfootertexts[text][{\getmarking[section]}][{\getmarking[chapter]}] 2015-08-12 23:10 GMT+02:00 Fabrice Couvreur : > Hi Wolfgang, > There is no question, I'm confused ! > I will try to be clearer. At the bottom, I wish the title of the current > chapter and title of the cur

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 : > Hi, > Sorry to revive this discussion (which I initiated), but the text in the > following code does not wrapped around the figure. > Why

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] Title of the section that begins

2015-08-12 Thread Fabrice Couvreur
Hi Wolfgang, There is no question, I'm confused ! I will try to be clearer. At the bottom, I wish the title of the current chapter and title of the current section much like in the document Metafun. Fabrice 2015-08-12 18:15 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 12. Aug

[NTG-context] Title of the section that begins

2015-08-12 Thread Fabrice Couvreur
Hi, The first section begins, so the title appears footer on each page as the second section does not start. Then the second section starts and was the title of the second section as the third section does not start and so on. Thanks, Fabrice \setuppagenumbering [alternative=doublesided

Re: [NTG-context] Output compilation

2015-08-12 Thread Fabrice Couvreur
-modules \environment my-styles \environment my-commands \startproject manual \product lesson \stopproject Thank you. 2015-08-12 14:43 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 12. August 2015 14:22 > Hi Hans, > I think my initial request was unclear. > In fact

Re: [NTG-context] Output compilation

2015-08-12 Thread Fabrice Couvreur
Hi Hans, I think my initial request was unclear. In fact, I want to get output only content activities.tex file. Fabrice 2015-08-12 13:18 GMT+02:00 Hans Hagen : > On 8/12/2015 12:42 PM, Fabrice Couvreur wrote: > >> Hi, >> My product lesson contains the componentchapter-1 whi

[NTG-context] Output compilation

2015-08-12 Thread Fabrice Couvreur
Hi, My product lesson contains the component chapter-1 which itself contains the components activities and synthesis. Is it possible to compile lesson.tex and have the output that activities.pdf file ? Thanks, Fabrice \project manual \startproduct lesson \startfrontmatter \component

[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

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 : > Fabrice Couvreur > 10. August 2015 09:13 > Dear

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

[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 : > Fabrice Couvreur > 8. August 2015 00:49 > Hi, > Why the text does not move in the first framedtext like the second > framedtext

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 : > Hi, > > You should use the same width if you want to o

[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 : > On 8/6/2015 11:38 PM, Fabrice Couvreur wrote: > >> Hi, >

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

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

2015-08-04 Thread Fabrice Couvreur
Hi Aditya, Thank you, I have already thought of this solution, but I do not know to use with the environment that I created. Fabrice 2015-08-04 18:02 GMT+02:00 Aditya Mahajan : > On Tue, 4 Aug 2015, Fabrice Couvreur wrote: > > How to have Definition 1, Definition 2, Def

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

[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

[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
ntation as document http://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] 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

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

[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

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

[NTG-context] Structure : problem with an environment

2015-07-30 Thread Fabrice Couvreur
>1 \dostepwiserecurse ...on \recursedepth \endcsname ##1##2{#4}\global \expanda... ...numerationsub {\v!sub \currentenumerationsub }} \else \let \currentenumera... \define_enumeration ...he \everydefineenumer

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

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

[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 "/hom

Re: [NTG-context] Color in an environment

2015-03-30 Thread Fabrice
st 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 : http://www.pragma-ade

[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

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] 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@n

[NTG-context] Problem after updating TeXlive 2014

2015-03-27 Thread Fabrice Couvreur
chunk' ...ab/texlive/2014/texmf-dist/tex/context/base/luat-cod.lua:45: in function 'registercode' [\directlua]:1: in main chunk. \registerctxluafile ...ua.registercode("#1","#2")

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

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

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

[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

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

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

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

[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-15 Thread Fabrice
Hi John, Sorry for the late reply! Thank you for this new example. Try the mpost variable lableoffset := ? to adjust. This does not seem to workwith lableoffset := 2mm. Fabrice ___ If your question is of interest

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

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.

[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! mai

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

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 :

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 : http://www.pra

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

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

[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
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-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 / http://www.ntg.nl/mailman/listinfo/ntg

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

2015-01-05 Thread Fabrice
omage râpé \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 ques

Re: [NTG-context] Steps in presentation

2015-01-02 Thread Fabrice L.
ps \stoptext Also, here is the contextHarden link: http://wiki.contextgarden.net/RawSteps If somebody know another solution to show content by step in a page, I would be happy to know about it. Thanks, Fabrice. __

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

[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

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

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

[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
um, I try to correct 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/

[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

[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

[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

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

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

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

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

2014-11-06 Thread Fabrice
ce/.append 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

<    3   4   5   6   7   8   9   10   >