[NTG-context] Loop and graphictext (Metafun)

2015-10-05 Thread Fabrice Couvreur
Hi, I tried to write a loop to display the title, but it does not. How to do ? Thank you, Fabrice \setuppagenumbering[location=] \setupcolors [state=start] \definecolor[pagecolor][s=.6] \definecolor[textcolor][r=.6] \startMPinclusions color pagecolor ; pagecolor := \MPcolor{pagecolor} ;

Re: [NTG-context] Space between both environments

2015-09-12 Thread Fabrice Couvreur
Hi Wolfgang, Thank you for your help, it works fine. Fabrice 2015-09-08 20:24 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 8. September 2015 18:29 > Hi, > @Otared I accept your answer until I can no

Re: [NTG-context] Space between both environments

2015-09-08 Thread Fabrice Couvreur
com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 7. September 2015 19:35 > Hi, > I can not insert a space between my two environments. > > There is a space but you can’t see it because the colored background of > your frames is placed too low (you can see it when y

[NTG-context] Sectioning and structure

2015-09-07 Thread Fabrice Couvreur
Hi, I'm about to write a book using a structure. The desire is to get this like contents of the table of contents : Chapter 1 Title Part 1 Title 1. 2. Part 2 Title 1. 2. Part 3 Title 1. 2. Chapter 2 Title Part 1 Title 1. 2. Part 2 Title 1. 2.

[NTG-context] Space between both environments

2015-09-07 Thread Fabrice Couvreur
Hi, I can not insert a space between my two environments. Thank you. Fabrice % macros=mkvi \setupcolors[state=start] \definecolor[MyColorA][c=0.00, m=0.10, y=0.20, k=0.00] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor[MyColorC][c=0.3, m=0.00, y=0.00, k=0.05]

[NTG-context] New beta

2015-09-02 Thread Fabrice Couvreur
Hi, If you compile the following file with new beta, the placement of the table and the figure is incorrect. Thank you, Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \startsetups[table:initialize]

[NTG-context] New beta

2015-09-02 Thread Fabrice Couvreur
Hi, If you compile the following file with new beta, the placement of the table and the figure is incorrect. Thank you, Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \startsetups[table:initialize]

[NTG-context] Bug with the command \blank ?

2015-08-30 Thread Fabrice Couvreur
Hi, It seems there is a bug with the command \blank in the latest standalone context. If you compile with ConTeXt (texlive 2015), the result is as expected. Thank you, Fabrice \setuppagenumbering[location=] \setupcolors [state=start] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]

[NTG-context] Left border of a rectangle (Metafun)

2015-08-29 Thread Fabrice Couvreur
Hi, I want to draw the left border of the rectangle, but it is drawn in the middle. Why ? Thank you, Fabrice \setupcolors[state=start] \definecolor[MyColorA][c=0.3, m=0.00, y=0.00, k=0.05] \defineoverlay [Funny] [\useMPgraphic{Funny}] \startuseMPgraphic{Funny} interim linecap :=

[NTG-context] Bug with the latest ConTeXt Standalone (TiKZ) ?

2015-08-28 Thread Fabrice Couvreur
Hi, If I compile this simple file with context (TeXLive 2015), no problems. \setupcolors[state=start] \usemodule[tikz] \starttext \starttikzpicture \draw[-,red] (0,0) -- (3,3); \stoptikzpicture \stoptext If I compile with the latest version of context Standalone, I get the following message :

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Fabrice Couvreur
pmli...@free.fr: On Thu, Aug 27 2015, Fabrice Couvreur wrote: I did not know it because, before migrating to context, I used latex with this : \newcommand{\repere}{$\bigl(O\,;I,J\bigr)$. In LaTeX there is no space neither: --8---cut here---start-8

Re: [NTG-context] About graphictext macro (Metafun)

2015-08-27 Thread Fabrice Couvreur
[state=start] \setMPtext{text}{MATH\'{E}MATIQUES} \starttext \startuseMPgraphic{test} picture pic ; pic := image(graphictext \MPstring{text} withdrawcolor red withpen pencircle scaled 1pt ; ) ; \stopuseMPgraphic \stoptext 2015-08-27 10:23 GMT+02:00 Fabrice Couvreur fabrice1.couvr...@gmail.com

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Fabrice Couvreur
behaviour of TeX macro commands. You should use your command by invoking it like the following: \repere\ blabla blabal Best regards: OK On 27 Aug 2015, at 10:06, Fabrice Couvreur fabrice1.couvr...@gmail.com wrote: Hi, The macro \repere does not create a space between the closing

[NTG-context] No space after a closing delimiter

2015-08-27 Thread Fabrice Couvreur
Hi, The macro \repere does not create a space between the closing delimiter and the following text, why ? Thanks, Fabrice \def\repere{$\bigl(O\,;I,J\bigr)$} \starttext \dorecurse{2}{blabla} \repere \dorecurse{2}{blabla} \dorecurse{2}{blabla} $\bigl(O\,;I,J\bigr)$ \dorecurse{2}{blabla}

Re: [NTG-context] About graphictext macro (Metafun)

2015-08-27 Thread Fabrice Couvreur
pra...@wxs.nl: On 8/26/2015 7:12 PM, Fabrice Couvreur wrote: Hi, I try to understand how this macro by testing a simple example. Why pdf file is empty? This question follows my question Cover page (Metafun) http://www.ntg.nl/pipermail/ntg-context/2015/083078.html Thank you

[NTG-context] About graphictext macro (Metafun)

2015-08-26 Thread Fabrice Couvreur
Hi, I try to understand how this macro by testing a simple example. Why pdf file is empty ? This question follows my question Cover page (Metafun) http://www.ntg.nl/pipermail/ntg-context/2015/083078.html Thank you. \setuppagenumbering[location=] \setupcolors [state=start]

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 cont...@rik.users.panix.com: 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

[NTG-context] Cover page (Metafun)

2015-08-14 Thread Fabrice Couvreur
Hi Hans, To progress in the use of Metafun, I try to do the same cover page as your document 'Metafun . Without looking at the code (but using the definitions of your colors), I managed to get the mosaic. I would write the word MATHÉMATIQUES as you did with the word CONTEXTEN. Thank you, Fabrice

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-13 Thread Fabrice Couvreur
\setupfootertexts[text][{\getmarking[section]}][{\getmarking[chapter]}] 2015-08-12 23:10 GMT+02:00 Fabrice Couvreur fabrice1.couvr...@gmail.com: 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

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

[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] 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 schuster.wolfg...@gmail.com: Fabrice

[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

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 pra...@wxs.nl: On 8/12/2015 12:42 PM, Fabrice Couvreur wrote: Hi, My product lesson contains the componentchapter-1 which itself

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 schuster.wolfg...@gmail.com: Fabrice Couvreur fabrice1.couvr...@gmail.com 12. August 2015 14:22 Hi Hans, I think my initial

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
2015, at 00:49, Fabrice Couvreur fabrice1.couvr...@gmail.com wrote: 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

[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
Fabrice Couvreur fabrice1.couvr...@gmail.com: 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 adit...@umich.edu: On Tue, 4 Aug 2015, Fabrice Couvreur wrote: How

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

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

2015-08-04 Thread Fabrice Couvreur
Hans Hagen pra...@wxs.nl: On 8/4/2015 5:04 PM, Fabrice Couvreur wrote: 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 ? \startuseMPgraphic{MyFrame} picture p ; p := textext.rt(\MPstring

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

[NTG-context] Structure : problem with an environment

2015-07-30 Thread Fabrice Couvreur
Hi, In my project, there is an env-03.tex file that contains this : \startenvironment env-03 \defineenumeration [def] [text={Définition}, headstyle={\bf\feature[+][f:smallcaps]}, width=fit, alternative=left, stopper={.}] \stopenvironment If I compile, I get this : open

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

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

[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

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

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

[NTG-context] Problem after updating TeXlive 2014

2015-03-27 Thread Fabrice Couvreur
Hi, Following an update TeXlive 2014, the compilation of my old files causes the same error : loading : ConTeXt File Macros / Helpers ! LuaTeX error ...ab/texlive/2014/texmf-dist/tex/context/base/file-ini.lua:49: attempt to call local 'implement' (a nil value) stack traceback:

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

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

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

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

[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

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

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

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

2015-01-17 Thread Fabrice Couvreur
Hi, I went from PSTricks to Metapost (Metafun) gradually. For positioning arrows between two values in an array of variations, I used a command like this \ ncline {A}{B}, which avoids fumbling. Can we do the same with Metapost ? The idea would be to convert the value into a path or an image, much

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

[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

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

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

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

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

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

[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

[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

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

[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
Hi, The following code compiles with pdflatex : \documentclass{article} \usepackage{tikz} \usepackage{tikz-cd} \usetikzlibrary{3d,shapes} \begin{document} \tikzset{xzplane/.style={canvas is xz plane at y=#1, thick,shading=ball,ball color=red,draw=black}} \tikzset{yzplane/.style={canvas is yz

[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

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

[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

[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

[NTG-context] Using \startframedtext with \startcombination

2014-09-29 Thread Fabrice Couvreur
Hi, Why the second frame is not displayed ? Best regards, Fabrice \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \starttext \startcombination[2*1] {% \startframedtext[ width=0.45\textwidth, frame=on, framecolor=H1prime, location=left, background=color,

[NTG-context] Change linewidth of a table

2014-09-17 Thread Fabrice Couvreur
Hi, How to complete the grid ? Thank you. Fabrice \setuppapersize[A4] \setuplayout[ backspace=5mm, width=middle, topspace=5mm, height=middle, header=0pt, footer=0pt, ] \definetypeface [me] [rm] [serif] [pagella] [default]

[NTG-context] Placement of a figure

2014-09-02 Thread Fabrice Couvreur
Hi, In this code, the figure is placed on the base line. How to make the numbering at the top of the figure ? \starttext \startitemize[n][stopper=),style=bf] \item \midaligned{\externalfigure[figure1_reperage.pdf]} \startitemize[a][stopper=),style=bf] \item Donner les coordonnées des points $A$

[NTG-context] Itemize and framed

2014-08-29 Thread Fabrice Couvreur
Hi, Is this the best way to insert a list in a frame ? thank you, Fabrice \setupcolors[state=start] \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] \starttext

[NTG-context] Strange behavior in a table.

2014-08-29 Thread Fabrice Couvreur
Everything is in the title, thank you. \starttext \`A l'aide du graphique, compléter les tableaux de correspondance suivants. \blank[small] {\setupTABLE[row][even][height=0.6cm] \setupTABLE[row][odd][height=0.6cm] \setupTABLE[1][1,2][width=3.2cm]

[NTG-context] Problem with embedding code TikZ code

2014-08-29 Thread Fabrice Couvreur
In the code below, I do not understand why the label Arbre 2 does not have the color you want, that is to say the same as the label Arbre 1. Thank you. \usemodule[tikz] \usetikzlibrary[calc] \definecolor[A2][c=0.60, m=0.00, y=0.00, k=0.10] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00]

[NTG-context] Strange behavior with Metapost

2014-05-27 Thread Fabrice Couvreur
Hello, Why curve drawn is not that expected ? Fabrice \starttext \startMPcode input hvdm; l:=2.8mm; r:=0.6; alfa:=45; beta:=0; gamma:=0; defineDefaultArrow (l, r, alfa, beta, gamma); numeric xmin, xmax, ymin, ymax; xmin :=-2; xmax := 4; ymax :=5 ;ymin:=-1; u := 1cm;

[NTG-context] Edit the arrows default Metapost

2014-05-22 Thread Fabrice Couvreur
Hello, Is it possible to change the appearance Metafun arrows default to make them resemble those of PSTricks that I find most beautiful. Regards, Fabrice ___ If your question is of interest to others as well, please

[NTG-context] Metapost and Metafun

2014-05-21 Thread Fabrice Couvreur
Hi, As PSTricks (which I prefer) is not yet well integrated, I decided to learn Metapost starting with a simple code. \starttext \startMPcode numeric xmin, xmax, ymin, ymax; xmin := -2.5; xmax := 2.5; ymax :=2.5 ;ymin:=-2.5; u := 2cm; vardef f(expr x) = -x*x+1 enddef; xinc := 0.001; path pts_f;

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

2014-05-20 Thread Fabrice Couvreur
Hi, Is it possible to redefine the command \periods[n] to have a line that goes from the end of the word to the edge of the page without having to play on the number n ? Regards, Fabrice \starttext \startitemize[a][stopper=),style=bold] \item $x\mapsto -x^2+x+1$ : \periods[66] \item $x\mapsto

[NTG-context] Bug with TikZ module ?

2014-05-15 Thread Fabrice Couvreur
Hi, Why the three words are not aligned on the baseline ? Regards, Fabrice \usemodule[tikz] \starttext \starttikzpicture[level/.style={sibling distance=10mm}] \node{}[grow=right] child{node{J}} child{node{R}} child{node{B} child{node{J}} child{node{R}} child{node{B} child{node{J}} child{node{R}}

[NTG-context] Some problems with a new style for the sections

2014-05-04 Thread Fabrice Couvreur
Hi, I encounter two problems : - Section numbers are not red ; - Calling the second section does not cause the creation of a new paragraph. Regards, Fabrice \setupcolors[state=start] \def\MySectionCommand#1#2% {\framed [frame=off, width=\textwidth, align={right},

[NTG-context] Subsection number independant of section

2014-05-02 Thread Fabrice Couvreur
Hi, I would get a dial like this : A. Section one 1. Subsection one With the code below, I get : A. Section one A. A. Subsection one \setupsection [section] [conversion=Character] \setuplabeltext [section={{},{.}}, subsection={{},{.}}] \setupsection [subsection]

[NTG-context] Numbering in a frame with a new environment

2014-04-27 Thread Fabrice Couvreur
Hello, How to make the numbering is in the frame and red ? \defineenumeration [ac] [text={ \inframed[frame=off, width=fit, align={right}, background=color, backgroundcolor=lightgray]{Activité}}, headstyle={\bf\feature[+][f:smallcaps]},

[NTG-context] Text and figure side by side

2014-04-24 Thread Fabrice Couvreur
Hi, Is it possible to put side by side text and a figure created in a TikZ environment ? Thank you, Fabrice \usemodule[tikz] \usetikzlibrary[calc] \starttext \def\smiley{% \starttikzpicture[baseline=-0.75ex,black] \filldraw[fill=orange] circle (2mm); \node[fill,circle,inner sep=0.5pt] (left eye)

[NTG-context] The spacing of the float interferes with the spacing of the itemgroup

2014-04-24 Thread Fabrice Couvreur
Why the vertical spacing is not observed between item 2 and item 3 ? Thank you, Fabrice \starttext \startitemize[n][stopper=),style=bold] \item \input knuth \item \input knuth \placefigure[right,none]{}{% \setupTABLE[c][1] [width=2.25cm] \setupTABLE[row][1,2][width=1.5cm]

[NTG-context] Problem with \starthanging ...\ stophanging

2014-04-24 Thread Fabrice Couvreur
Hello, I can not run text around the figure. thank you, Fabrice \starttext \starthanging[location=right] {\externalfigure[image.pdf][width=8cm]} \input knuth \input knuth \stophanging \stoptext ___ If your question

[NTG-context] Two figures are side by side

2014-04-16 Thread Fabrice Couvreur
Hi, How do the two figures are side by side ? \setupTABLE[row][1,2][width=1.5cm,align={middle,lohi}] \setupTABLE[c][1][width=3cm,align={middle,lohi}] \starttext \startcombination[2*1] {% \bTABLE[align={middle,lohi}] \bTR\bTD{}\eTD\bTD{$A$}\eTD\bTD{$\overline{A}$}\eTD\bTD{Total}\eTD\eTR

[NTG-context] Table next to a text in an environment of type list

2014-03-29 Thread Fabrice Couvreur
Hi, How to improve this code to make the table to the right of the text in the environment list ? \midaligned{\tfb Cadres en entreprise} \blank On compte 67 femmes dans une entreprise de 160 personnes. Parmi les personnes de cette entreprise, il y a 32 cadres dont 15 femmes.

[NTG-context] Index notation in math mode

2014-03-24 Thread Fabrice Couvreur
Hi, I would like the f in \math{\cal C_f} is identical to that obtained with \math{f}. Regards, Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] PSTricks with ConTeXT

2014-03-20 Thread Fabrice Couvreur
Hi, After searching, it seems it is not possible to compile a file containing a PSTricks environment ? Is that correct ? Regards, Fabrice ___ If your question is of interest to others as well, please add an entry to

[NTG-context] Problem with an environment

2014-03-06 Thread Fabrice Couvreur
I'm trying to built a template for evaluations of my students. I have a problem with the head environment that does not take into account the selected font and size. Regards, Fabrice \environment environ-2 \environment environ-3 \environment header \starttext \MyOtherHeader{Seconde

[NTG-context] Presentation template

2014-03-03 Thread Fabrice Couvreur
Hi, I will try to rewrite some of my classes with ConTeXt. I would like to draw inspiration from this model http://www.pragma-ade.com/general/manuals/cont-eni.pdf How to start ? Is it possible to have the source code to understand ? Thank you.

[NTG-context] Problem with Module Units

2014-02-27 Thread Fabrice Couvreur
Hi, I see that there is no space between the words pourand km. Regards, Fabrice \usemodule[units] \definetypeface [me] [rm] [serif] [pagella] [default] \definetypeface [me] [ss] [sans] [dejavu] [default] \definetypeface [me] [mm] [math] [xits][default] \setupbodyfont[me,12pt] \starttext

[NTG-context] Symbol euro

2014-02-27 Thread Fabrice Couvreur
Hi, I try to define the EURO symbol with : \definesymbol [euro] [\ getglyph{Euro} {\ char160}], but it does not work. Regards, Fabrice ___ If your question is of interest to others as well, please add an entry to the

<    2   3   4   5   6   7   8   >