Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
Hi Pablo, I printed the file at my high school yesterday and the output is not the one expected. I get a document in portrait format and the mathematical formulas overflow in the other column. Fabrice 2017-10-16 20:53 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi Pab

Re: [NTG-context] Page printed upside down

2017-10-16 Thread Fabrice Couvreur
= 400\times \frac{1-1,05^{12}}{1-1,05}\approx 6\,367.\NR \stopmathalignment \stopformula \dorecurse{6}{\input knuth} \stopMyColumns \stoptext 2017-10-16 19:35 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 10/16/2017 05:59 PM, Fabrice Couvreur wrote: > > Hello, >

[NTG-context] Page printed upside down

2017-10-16 Thread Fabrice Couvreur
Hello, I have printed this document and the page on the back is printed upside down in fact you have to turn the page to read it. How to correct this ? Thank you Fabrice \setuppapersize[A4,landscape] \setuppagenumbering[alternative=,location=] \definemixedcolumns [MyColumns] [ n=2,

Re: [NTG-context] Strange behavior with TikZ

2017-10-07 Thread Fabrice Couvreur
Hi, Thank you so much for this help, I would not have found it. Fabrice 2017-10-07 15:59 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 10/7/2017 2:44 PM, Aditya Mahajan wrote: > >> On Sat, 7 Oct 2017, Aditya Mahajan wrote: >> >> On Sat, 7 Oct 2017, Fabrice Couvreur wro

Re: [NTG-context] Strange behavior with TikZ

2017-10-07 Thread Fabrice Couvreur
:51 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > HI Hans, > > like this ? > > \placefigure[none,right]{}{ > \hbox{\switchtobodyfont[8pt]% > > Fabrice > > 2017-10-05 22:35 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > >> On 10/5/2017 7:26 P

Re: [NTG-context] Strange behavior with TikZ

2017-10-05 Thread Fabrice Couvreur
HI Hans, like this ? \placefigure[none,right]{}{ \hbox{\switchtobodyfont[8pt]% Fabrice 2017-10-05 22:35 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 10/5/2017 7:26 PM, Fabrice Couvreur wrote: > > If I put any image, there is no problem : the title of the section is in >&g

[NTG-context] Strange behavior with TikZ

2017-10-05 Thread Fabrice Couvreur
Hello, If I put any image, there is no problem : the title of the section is in color and the text in black. With a graphic made with TikZ, the title and the text are in color. Thank you for your help. Fabrice \usemodule[tikz] \usemodule [graph] \usemodule[pgfplots] \pgfplotsset{compat=newest}

[NTG-context] Centering an algorithm

2017-09-23 Thread Fabrice Couvreur
Hello, Wolfgang offered me a way to present an algorithm. Can not I center it ? Thank you. Fabrice \definecolor[MyBlue][c=0.06 , m=0.03, y=0.00, k=0.00] \defineframedtext [algorithmframe] [width=fit, background=color, foregroundstyle={\tt}, backgroundcolor=MyBlue,

Re: [NTG-context] Increment the section counter

2017-09-12 Thread Fabrice Couvreur
n 1} > > \section{5}{Section 1} > > \section{6}{Section 1} > > \stoptext > > > or use a custom conversion > > > \defineconversion[drunk][3,5,6] > > \setuphead[section][conversion=drunk] > > \starttext > > \dorecurse{3}{\expanded{\section{Section \recurselev

[NTG-context] Increment the section counter

2017-09-12 Thread Fabrice Couvreur
Hello, The number of the sections is 1 2 3 ... How to make it 3 5 6 ... ? 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 /

Re: [NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-09 Thread Fabrice Couvreur
Hi Pablo, In fact, I looked up after asking my question and found the answer. I should not have asked my question ! Fabrice 2017-09-07 17:31 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 09/07/2017 04:43 PM, Fabrice Couvreur wrote: > > Hi Pablo, > > Thanks but I'm con

Re: [NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-07 Thread Fabrice Couvreur
HI Pablo, Hi Pablo, Thanks but I'm confused because I found the answer on the wiki. Fabrice 2017-09-07 6:35 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 09/06/2017 11:04 PM, Fabrice Couvreur wrote: > > Hello, > > I would like that on the pages with the title of t

[NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-06 Thread Fabrice Couvreur
Hello, I would like that on the pages with the title of the chapter the header is empty. Fabrice \setupheadertexts[{\getmarking[section]}][pagenumber] [{\getmarking[chapter]}][pagenumber] \setuppagenumbering[alternative=,location=] \starttext

Re: [NTG-context] Font DejaVu with a font for Mathematics

2017-09-06 Thread Fabrice Couvreur
Sorry for the noise ! It is true that \math{\cal N}, it is not very beautiful, so I will associate another font even if it should avoid, I believe, to write documents with different fonts Fabrice 2017-09-06 18:53 GMT+02:00 Herbert Voss <herbert.v...@fu-berlin.de>: > > Fabrice Couv

[NTG-context] Font DejaVu with a font for Mathematics

2017-09-06 Thread Fabrice Couvreur
Hello, I use for the documents of my students the font DejaVu because I find that it is very readable on paper. Unfortunately, this is not a font for writing Mathematics. I would like to use DejaVu font for text and a font to write mathematical formulas. What do you recommend ? Thank you. Fabrice

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-30 Thread Fabrice Couvreur
Hi Pablo, I speak of the text in the frame as in the image https://mail.google.com/mail/u/0/?ui=2=d5d294e54c=att=15e0c2d8c5b8cf7c=0.1=safe=f_j6o6zsx20 Fabrice 2017-08-30 22:45 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 08/30/2017 06:07 PM, Fabrice Couvreur wrote: > > Hi Adit

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-30 Thread Fabrice Couvreur
, ] to have my text wrapped around the ornament as in the figure but it does not work. Thanks Fabrice 2017-08-23 1:20 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Sorry 'corner=00' ! > > 2017-08-23 1:01 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.co

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-27 Thread Fabrice Couvreur
Is this an impression but, of equal size, it seems smaller than other fonts. 2017-08-27 13:10 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi, > Here's what I get, is this correct ? > Thank you > Fabrice > > fab@debian:~$ pdff

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-27 Thread Fabrice Couvreur
+GaramondNo8-Regular CID Type 0C Identity-H yes yes yes 10 0 fab@debian:~$ 2017-08-25 12:03 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi Aditya, > The first time I have downloaded since http://wiki. > contextgarden.net/URW_Garamond with the

Re: [NTG-context] Some questions about my document

2017-08-27 Thread Fabrice Couvreur
Hi Pablo, Thank you, it's very clear and it finally corresponds to what I want. The road is long in the learning of this formidable tool ! Fabrice 2017-08-27 12:43 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 08/27/2017 12:29 PM, Fabrice Couvreur wrote: > > Hi Pablo, >

Re: [NTG-context] Some questions about my document

2017-08-27 Thread Fabrice Couvreur
and I want this : Remark 1.1. Fabrice 2017-08-27 11:03 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 08/27/2017 12:14 AM, Fabrice Couvreur wrote: > > " I would like to have this : > > > > Chapitre I : Espaces probabilisés > > > >

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
r=Chapitre ] But for this Remark 1.1. Remark 1.2 Remark 1.3 I do not find ! Fabrice 2017-08-26 12:27 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi, > I have simplified the code, but I get : > > Remark I.1. > Remark I.2. > Remark I.3. > > instead : > > Remark 1.1.

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
[title={First section}] \dorecurse{3}{\startremark \input ward \stopremark} \stopsection \stopchapter \stoptext % 2017-08-24 14:53 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hello, > I would

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-25 Thread Fabrice Couvreur
edu>: > On Fri, 25 Aug 2017, Fabrice Couvreur wrote: > > Hello, >> I reinstalled the fonts in : >> >> fab@debian:~$ ls -l /home/fab/texmf/fonts/opentype/ >> total 16 >> drwxr-xr-x 2 fab fab 4096 août 25 02:14 ebgaramond >> drwxr-xr-x 5 fab fab 4096

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-24 Thread Fabrice Couvreur
ID - --- --- --- - AHYUQI+GaramondNo8-Regular CID Type 0C Identity-H yes yes yes 10 0 It still does not work ! Fabrice 2017-08-18 23:41 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.

Re: [NTG-context] Draw a line under the headertext in ConTeXt except some pages

2017-08-24 Thread Fabrice Couvreur
-24 18:12 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 08/24/2017 05:10 PM, Fabrice Couvreur wrote: > > Hi, > > How to proceed so that the text of the head is not on the page with the > > table of contents and pages with the title of the chapter ? > > Hi F

[NTG-context] Draw a line under the headertext in ConTeXt except some pages

2017-08-24 Thread Fabrice Couvreur
Hi, How to proceed so that the text of the head is not on the page with the table of contents and pages with the title of the chapter ? Thanks Fabrice \setuplayout [ header=\lineheight, headerdistance=\lineheight, ] \setupbackgrounds[header][text][bottomframe=on]

[NTG-context] Some questions about my document

2017-08-24 Thread Fabrice Couvreur
Hello, I would like to have this : Chapitre I : Espaces probabilisés I.1 - Expérience aléatoire et univers Définition 1.1 Définition 1.2 Thank you Fabrice % \definestructureconversionset [structure] [numbers,

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Fabrice Couvreur
Sorry 'corner=00' ! 2017-08-23 1:01 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi Aditya, > Sorry I forgot to attach the image of what I want to do. I know corner=number > parameter of framed and framed text but I wanted to do it with Metafun. > Thank you >

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Fabrice Couvreur
With your solution 'corner=01' 2017-08-23 1:01 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi Aditya, > Sorry I forgot to attach the image of what I want to do. I know corner=number > parameter of framed and framed text but I wanted to do it with Metafun. > T

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Fabrice Couvreur
Hi Aditya, Sorry I forgot to attach the image of what I want to do. I know corner=number parameter of framed and framed text but I wanted to do it with Metafun. Thank you Fabrice 2017-08-23 0:50 GMT+02:00 Aditya Mahajan <adit...@umich.edu>: > On Wed, 23 Aug 2017, Fabrice Couvr

[NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Fabrice Couvreur
Hello, I would like to have three corners rounded as in the figure. Thank you Fabrice \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00] \startuseMPgraphic{MyFrame} path b ; picture p ; p :=

[NTG-context] Problem with placing a float and a tab

2017-08-22 Thread Fabrice Couvreur
Hello, How should the table be placed correctly ? Thanks Fabrice \unexpanded\def\pcent#1{\math{#1\,\%}} \startsetups [table:one] \setupTABLE[start][align={middle,lohi},width=2.2cm,offset=0.8ex] \setupTABLE[column][first][width=2cm,align={right}] \setupTABLE[1][1][frame=off]

[NTG-context] Alignment problem in a table

2017-08-22 Thread Fabrice Couvreur
Hello, How to align the text of the seventh line to the left ? Thanks Fabrice \unexpanded\def\pcent#1{\math{#1\,\%}} \startsetups [table:one] \setupTABLE[start][align={middle,lohi},width=2.2cm,offset=0.8ex] \setupTABLE[column][first][width=2.5cm,align={right}]

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Fabrice Couvreur
Hi Aditya, Thank you very much !! I did not know that it was necessary to use \environment instead of \component, it is probably in the documentation Fabrice 2017-08-19 12:35 GMT+02:00 Aditya Mahajan <adit...@umich.edu>: > On Sat, 19 Aug 2017, Fabrice Couvreur wrote: > > Hello,

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Fabrice Couvreur
Hello, I have tried many approaches, but it still does not work. Everything is passed to the dm-1.tex file (font, footer) but not the header. Have you tested the files, does it work for you ? Sorry to insist, but I really need this way of doingThank you Fabrice ## MyLayout.mkvi ##

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
I turn around !! It does not work 2017-08-19 1:15 GMT+02:00 Rik <r...@panix.com>: > On 2017-08-18 19:01, Fabrice Couvreur wrote: > > If I test this file, it does not work > > % macros=mkvi > > \startcomponent dm-1 > > \environment MyLayout > >

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
Hi Aditya it does not work 2017-08-19 1:01 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > If I test this file, it does not work > > % macros=mkvi > > \startcomponent dm-1 > > \environment MyLayout > > \MyHeader{Seconde}{17}{08}{2

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
ont...@rik.users.panix.com>: > On 2017-08-18 18:14, Fabrice Couvreur wrote: > > Hi Rik, > Can you clarify by editing my files ? > Fabrice > > 2017-08-18 23:57 GMT+02:00 Rik Kabel <cont...@rik.users.panix.com>: > >> On 2017-08-18 17:34, Fabrice Couvreur wrote: >> >>

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
Hi Rik, Can you clarify by editing my files ? Fabrice 2017-08-18 23:57 GMT+02:00 Rik Kabel <cont...@rik.users.panix.com>: > On 2017-08-18 17:34, Fabrice Couvreur wrote: > > Hello, > It's ok for me if I compile the Aditya file. > I have another problem with a simple structur

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-18 Thread Fabrice Couvreur
-Regular CID Type 0C Identity-H yes yes yes 10 0 2017-08-18 20:17 GMT+02:00 Aditya Mahajan <adit...@umich.edu>: > On Thu, 17 Aug 2017, Fabrice Couvreur wrote: > > When I speak of non-readable, I mean it looks like "hieroglyphics". >> &g

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
Hello, It's ok for me if I compile the Aditya file. I have another problem with a simple structure. I created the file MyLayout.tex containing the macro and I want to call this macro in the dm1.tex file, but it does not work. Thank you Fabrice # MyLayout.tex # % macros=mkvi

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
attention: OK > > > On 18 Aug 2017, at 06:25, Aditya Mahajan <adit...@umich.edu> wrote: > > > > On Fri, 18 Aug 2017, Henri wrote: > > > >> On Thu, 2017-08-17 at 15:25 +0200, Fabrice Couvreur wrote: > >>> Hello, > >>> To get the alignment, I had to

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
at 06:25, Aditya Mahajan <adit...@umich.edu> wrote: > > > > On Fri, 18 Aug 2017, Henri wrote: > > > >> On Thu, 2017-08-17 at 15:25 +0200, Fabrice Couvreur wrote: > >>> Hello, > >>> To get the alignment, I had to create three \vbox. Can we sim

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
; On 18 Aug 2017, at 06:25, Aditya Mahajan <adit...@umich.edu> wrote: > > > > On Fri, 18 Aug 2017, Henri wrote: > > > >> On Thu, 2017-08-17 at 15:25 +0200, Fabrice Couvreur wrote: > >>> Hello, > >>> To get the alignment, I had to create three \vb

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-17 Thread Fabrice Couvreur
aramondno8 vngaramondno8reg ugmr8v.afm fab@debian:~$ Thanks Fabrice 2017-08-17 21:03 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 08/17/2017 08:28 PM, Fabrice Couvreur wrote: > > Hello, > > I compiled the following document with Context Standalone and

[NTG-context] Strange behavior with the Garamond font

2017-08-17 Thread Fabrice Couvreur
Hello, I compiled the following document with Context Standalone and viewed the file with Evince, it is not readable ! Thanks Fabrice \loadtypescriptfile[mathdesign] \setupbodyfont[garamond] \starttext \input knuth \stoptext

[NTG-context] Strange behavior with enumeration

2017-08-17 Thread Fabrice Couvreur
Hi, Level two items are not on the same baseline. Thank you Fabrice \starttext \startitemize[n] \item 15\,\% d'un stock de 12\,000 jouets sont des jouets \quotation{1\high{\tfxx er} âge}. Le nombre de jouets \quotation{1\high{\tfxx er} âge} est : \startitemize[columns,a,three] \item

[NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Fabrice Couvreur
Hello, To get the alignment, I had to create three \vbox. Can we simplify this code a bit ? Thank you Fabrice % macros=mkvi \setuplayout [header=3\lineheight, headerdistance=\lineheight] \setupbackgrounds[header][text] [frame=off, bottomframe=on,

Re: [NTG-context] About formatting the "Fonts out of ConTEXT" manual

2017-08-16 Thread Fabrice Couvreur
Hi Henri, Thanks for the information. Fabrice 2017-08-16 2:16 GMT+02:00 Henri <henrime...@gmail.com>: > On Tue, 2017-08-15 at 12:35 +0200, Fabrice Couvreur wrote: > > Hi Hans, > > I love the style used for this manual. I tried to do the same thing, but > it's a lo

[NTG-context] About formatting the "Fonts out of ConTEXT" manual

2017-08-15 Thread Fabrice Couvreur
Hi Hans, I love the style used for this manual. I tried to do the same thing, but it's a long way off ! I tried to find the source code to inspire me :-) I did this : \startuniqueMPgraphic{titled} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; pickup pencircle

Re: [NTG-context] STIX Two Text and Math

2017-08-12 Thread Fabrice Couvreur
11:49 AM, Fabrice Couvreur wrote: > > Has anyone ever used these fonts ? >> > > not me > > If so, do you need to write a script to use them ? >> > > no, you

[NTG-context] STIX Two Text and Math

2017-08-12 Thread Fabrice Couvreur
Hi, Hello, Has anyone ever used these fonts ? If so, do you need to write a script to use them ? Thank you Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-11 Thread Fabrice Couvreur
Hi Peter and Aditya, "You run the command "ConTeXt Full" instead of "ConTeXt" It works ! Thank you Fabrice 2017-08-11 9:30 GMT+02:00 Peter Münster : > On Thu, Aug 10 2017, Aditya Mahajan wrote: > > > You need to remove the --once call from the context call. (Not sure > > how

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
Hi, @Aditya "You need multiple runs to resolve \lastpage" What you propose does not solve the problem @Pablo Very nice job ! Thanks Merci 2017-08-10 18:54 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 08/10/2017 12:35 PM, Fabrice Couvreur wrote: > > [...] > > H

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
g[alternative=] > > \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] > > \starttext > > \dorecurse{5}{\input knuth.tex \page} > > \stoptext > > Best regards: OK > > On 10 Aug 2017, at 11:28, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote:

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Fabrice Couvreur
Hi Hans and Pablo, \setuppagenumbering[alternative=] \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] The behavior is not that expected: Page 1 sur 0 Page 2 sur 0 Page 3 sur 0 Thanks Fabrice 2017-08-10 9:57 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 8/9/2017 11:42 PM

[NTG-context] How can I add “page # of ##” on my document ?

2017-08-09 Thread Fabrice Couvreur
Hello, With Latex, I did this : \usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} \rfoot{\scriptsize{\textsf{Page~\thepage{}~sur~\pageref{LastPage With Context, I tried this unsuccessfully ; \setupinteraction [state=start, style=,

Re: [NTG-context] Space from bottom footer to bottom rim of paper

2017-08-09 Thread Fabrice Couvreur
bottomframe=on, framecolor=gray, rulethickness=2pt] \defineframed[headerframed] [frame=off, location=depth, bottomoffset=\lineheight, align=middle,

[NTG-context] Space from bottom footer to bottom rim of paper

2017-08-09 Thread Fabrice Couvreur
I want topspace=bottomspace=2cm It works for topspace but not for bottomspace How to do ? Thanks Fabrice \setuplayout [header=26pt, headerdistance=25pt, backspace=2cm, width=middle, topspace=\dimexpr 2cm-\headerheight-\headerdistance\relax, footer=16pt, bottomspace=\dimexpr

Re: [NTG-context] About \setupbackgrounds (again)

2017-08-09 Thread Fabrice Couvreur
HI Pablo, This works perfectly Thank you Fabrice 2017-08-09 16:23 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 08/09/2017 02:59 PM, Fabrice Couvreur wrote: > > Hello, > > How do I make the header appear on the first page only ? > > Thank you > > Fabrice &g

[NTG-context] About \setupbackgrounds (again)

2017-08-09 Thread Fabrice Couvreur
Hello, How do I make the header appear on the first page only ? Thank you Fabrice \setuplayout [header=2\lineheight, headerdistance=\lineheight, backspace=2cm, width=middle, topspace=\lineheight] \setupbackgrounds[header,state=start][text][frame=off,

Re: [NTG-context] About \setupbackgrounds

2017-08-02 Thread Fabrice Couvreur
Hi Aditya, \defineframed [headerframed] [ ..., location=depth, ..., ] Fabrice 2017-08-01 12:21 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi Aditya, > Neither command responds to what I'm trying to do. I will try to be > clea

Re: [NTG-context] About \setupbackgrounds

2017-08-01 Thread Fabrice Couvreur
<adit...@umich.edu>: > On Mon, 31 Jul 2017, Fabrice Couvreur wrote: > > https://tex.stackexchange.com/questions/84425/fancyhdr-equiv >> alent-in-context >> >> Hello, >> I considered the solution proposed by Aditya. How to have a larger space >> between the t

[NTG-context] About \setupbackgrounds

2017-07-31 Thread Fabrice Couvreur
https://tex.stackexchange.com/questions/84425/fancyhdr-equivalent-in-context Hello, I considered the solution proposed by Aditya. How to have a larger space between the title and the bottomframe ? Thank you Fabrice \setupbodyfont[11pt] \setupcolors[state=start] \setuplayout

Re: [NTG-context] About Layout

2017-07-31 Thread Fabrice Couvreur
inch + \ voffset 10 \ topmargin = -52pt 11 \ headsep = 25pt 12 \ textwidth = 483pt 13 \ marginparwidth = 50pt 14 \ marginparpush = 5pt (not shown) 15 \ voffset = 0pt 16 \ paperheight = 845pt Fabrice 2017-07-29 13:03 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 07/29/2017 12:07 PM

[NTG-context] About Layout

2017-07-29 Thread Fabrice Couvreur
Hello, With Latex, for my layout, I used this : \documentclass[a4paper,11pt]{article} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} With Context, I did this : \setuppapersize[A4][A4] \setuplayout [ topspace=2cm, header=0pt, footer=1.5cm, bottomspace=0pt,

Re: [NTG-context] Package esvect and Context

2017-05-27 Thread Fabrice Couvreur
Thanks Hans Fabrice 2017-05-27 0:09 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 5/26/2017 12:53 PM, Fabrice Couvreur wrote: > >> Hello, >> Hans suggested a macro to draw the vectors . It works well but I find >> that in some situations, the

[NTG-context] Package esvect and Context

2017-05-26 Thread Fabrice Couvreur
Hello, Hans suggested a macro to draw the vectors . It works well but I find that in some situations, the arrow is too big. thank you, Fabrice https://mailman.ntg.nl/pipermail/ntg-context/2016/085828.html \useMPlibrary[mat] \startMPextensions vardef math_stacker_arrow_shape =

[NTG-context] Bug with Enumeration and \dfrac{}{} with Standalone ?

2017-05-14 Thread Fabrice Couvreur
Hello, I am posting again on the same subject but with more precision. I use Standalone Context in its latest version. We can observe that the alignment is not correct with \dfrac{}{} but it is with {}\ over{}. But if I use Texlive 2016 there are no problems. Thank you Fabrice

Re: [NTG-context] Strange behavior with Enumerations

2017-05-10 Thread Fabrice Couvreur
Hello, I just updated Context Standalone, but the problem still exists. With Texlive Context, it works. Fabrice Le 8 mai 2017 à 12:27, Fabrice Couvreur <fabrice1.couvr...@gmail.com> a écrit : > Hello, > The alignment of the third level is in

[NTG-context] Strange behavior with Enumerations

2017-05-08 Thread Fabrice Couvreur
Hello, The alignment of the third level is incorrect, why ? ## \starttext \startitemize[n][stopper={.},style=bold,color=darkred] \item Soit \math{f} la fonction définie pour tout réel \m{x} différent de \m{-1} par

Re: [NTG-context] Real number with Lua

2017-04-19 Thread Fabrice Couvreur
2017-04-19 16:04 GMT+02:00 Otared Kavian : > > \starttext > \ctxlua{x = math.floor(10^3*math.pi)/10^3; context(x)} > \stoptext > ​Hi Kavian (or Otared ?), ​Thank you very much, it works. Fabrice

[NTG-context] Real number with Lua

2017-04-19 Thread Fabrice Couvreur
Hello, I do not know Lua but I'll learn later. How to display only 3 digits after the decimal point ? thank you, Fabrice \starttext \startlinecorrection[blank] \startmidaligned \bTABLE[width=2cm,offset=0.8ex,align={lohi,middle}] \bTR \bTD \math{P} \eTD \bTD

[NTG-context] Align an item with the top of a picture

2017-04-17 Thread Fabrice Couvreur
Hello, How to align item a. With the top of the picture? Thank you Fabrice \useMPlibrary[dum] \starttext \startlinecorrection[blank] \startmidaligned \startcombination[2*1] {\externalfigure[dummy][height=6cm]}{} {\framedtext[location=hang,width=5cm,frame=off]{\startitemize[a] \item \item \item

Re: [NTG-context] Text around a figure

2017-04-15 Thread Fabrice Couvreur
Hi Rik, Thank you, I did not follow the forum this week, I should have seen it. Fabrice 2017-04-14 18:44 GMT+02:00 Rik Kabel <cont...@rik.users.panix.com>: > On 2017-04-14 10:36, Fabrice Couvreur wrote: > > Is it possible that the first line of text starts at the to

[NTG-context] Text around a figure

2017-04-14 Thread Fabrice Couvreur
Is it possible that the first line of text starts at the top of the figure? Blablablablablablablablablablablabla ## blablablablablablablabla Fig blablablablablablablabla ## blablablablablablablabla \starttext \placefigure [left,none] {}

Re: [NTG-context] Customize a table with Metafun

2017-02-15 Thread Fabrice Couvreur
Hi Lutz, Thank you Fabrice 2017-02-14 17:04 GMT+01:00 Lutz Haseloff <lu...@toppkieker.net>: > linecap:=butt ; > > > Am 14. Februar 2017 16:53:04 MEZ schrieb Fabrice Couvreur < > fabrice1.couvr...@gmail.com>: >> >> Hello, >> In the code below, t

[NTG-context] Vertical spacing in enumerations

2017-02-14 Thread Fabrice Couvreur
In the code below, the vertical spacing of the second level should be like that of the first level Thank you Fabrice \definecolor[MyBlue][c=0.06 , m=0.03, y=0.00, k=0.00] \defineframed [algorithmframe] [width=\textwidth, align=normal, strut=no, offset=1ex,

[NTG-context] Customize a table with Metafun

2017-02-14 Thread Fabrice Couvreur
Hello, In the code below, the red vertical line extends beyond the edges of the cell. Thank you Fabrice \startuniqueMPgraphic{Vertical} linecap:=squared ; path p ; p := unitsquare xyscaled (OverlayWidth,OverlayHeight) ; drawoptions (withpen pencircle withcolor \MPcolor{red}) ; draw

Re: [NTG-context] sqrt(3)/2 with metafun

2017-02-02 Thread Fabrice Couvreur
Hi Michael, Thanks, it's ok. Fabrice 2017-02-02 22:02 GMT+01:00 Rogers, Michael K <mrog...@emory.edu>: > This seems to work in place of 0.866cm: sqrt(3)/2*cm > > Michael > > On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > >

[NTG-context] sqrt(3)/2 with metafun

2017-02-02 Thread Fabrice Couvreur
Hello, I wanted to use sqrt(3)/2 but without success. Instead, I replaced this value with an approximate value 0.866 How should it be done ? Thank you Fabrice \starttext \startMPcode draw fullcircle scaled 1cm withcolor magenta ; draw fullcircle scaled 1cm shifted (1cm,0) withcolor

Re: [NTG-context] Title without the parentheses

2017-01-31 Thread Fabrice Couvreur
gt; numbercommand=\MyExoCommand] > > > \showgrid > \starttext > > \startex{Pour tous les candidats \hfill 5 points} > \input ward > \stopex > > \stoptext > %% end > > On 29 Jan 2017, at 23:04, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > > H

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
pecial command, for instance \MyTextCommand and the say text = > \MyTextCommand > > Best regrads: OK > > On 29 Jan 2017, at 09:07, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > > Hello, > I would like a title without the parentheses and the text &qu

[NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
Hello, I would like a title without the parentheses and the text "Exercice" in the frame with the number. Thank you. Fabrice \defineframed [EXFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white,

[NTG-context] Table on two pages (natural tables)

2017-01-10 Thread Fabrice Couvreur
Hello, My table does not fit on the first page that contains the title of the evaluation and I would like it to continue on the second page. I tried using the key split = yes but my table moves to the second page and there is more than the title of the first. thank you, Fabrice

Re: [NTG-context] integral symbol

2016-12-29 Thread Fabrice Couvreur
Hi Hans, Thanks for your solution. I created a macro, is it "robust" ? Fabrice \setupmathextensible[integral][rightoffset=-3mu,exact=yes,factor=2] \def\integ#1#2#3{\math{\autointegral{#1}{#2}{#3}\diff x}} \starttext \integ{4}{1}{g(x)} \stoptext 2016-12-28 18:40 GMT+01:00 Hans Hagen

Re: [NTG-context] integral symbol

2016-12-28 Thread Fabrice Couvreur
Hi Henri, Thank you for your suggestion. Fabrice 2016-12-28 12:19 GMT+01:00 Henri Menke <henrime...@gmail.com>: > On 12/28/2016 11:39 AM, Fabrice Couvreur wrote: > > Hello, > > The integral symbol is little in inline math mode. Is it possible to > have it bigger ? &g

[NTG-context] integral symbol

2016-12-28 Thread Fabrice Couvreur
Hello, The integral symbol is little in inline math mode. Is it possible to have it bigger ? thank you, Fabrice \definetypeface [mainface] [rm] [serif] [palatino][default] [encoding=texnansi] \definetypeface [mainface] [ss] [sans] [helvetica] [default] [encoding=texnansi]

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-19 Thread Fabrice Couvreur
Hello, I do not answer the question, but I'm interested because I also use Asymptote. The following code works with context in texlive 2016 but does not work with standalone context. thank you, Fabrice % macros=mkvi \usemodule[filter] \defineexternalfilter [ASY] [ filter={asy -tex

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Fabrice Couvreur
t; > 2016-11-01 10:47 GMT+01:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > > Hello, > > The option align = tolerant rule one of the problems I may encounter. > But I > > wonder if it's possible that I should not choose myself width = 6cm to > fit >

Re: [NTG-context] Framedtext in a float

2016-11-01 Thread Fabrice Couvreur
Kopszak <kops...@gmail.com>: > Just use > ... > \startMyFrame[Title=Info] > \setupalign[hyphenated,morehyphenation,verytolerant] > ... > > Piotr > > 2016-11-01 0:12 GMT+01:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > > Hello, > > How t

[NTG-context] Framedtext in a float

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

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
Hi Peter, Thank you very much. 2016-10-31 15:22 GMT+01:00 Peter Münster <pmli...@free.fr>: > On Mon, Oct 31 2016, Fabrice Couvreur wrote: > > > how to add the option -- purgeall ? > > (setq ConTeXt-mode-hook > (lambda () (setq TeX-comman

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
Sorry, but I have one question: how to add the option -- purgeall ? Fabrice 2016-10-31 14:16 GMT+01:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi Peter, > It seems to work ! > Thank you to Peter, Tobias, Michael and Mica for your help > Fabrice > > 2016-10-

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
Hi Peter, It seems to work ! Thank you to Peter, Tobias, Michael and Mica for your help Fabrice 2016-10-31 11:59 GMT+01:00 Peter Münster <pmli...@free.fr>: > On Mon, Oct 31 2016, Fabrice Couvreur wrote: > > > /home/fab/context/tex/texmf-linux-64/bin/context:... > > Please

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
/home/fab/context/tex/texmf-linux-64/bin/context:/home/fab/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/texmf/tex/latex/tex4ebook-master/tex4ebook:/home/fab/texlive/2016/bin/x86_64-linux 2016-10-31 10:18 GMT+01:00 Peter Münster <pmli...@free.fr>: > On Mon, Oct 31 2016

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
d generally provide support to ConTeXt Mark IV. To compile > tex-files comfortable right out of Emacs via C-c C-c add: > > (9) (setenv "PATH" "/home/fab/tex/texmf-linux-64/bin/:$PATH" t) to your > .emacs and > (10) (setq ConTeXt-Mark-version "IV“) if you want

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Fabrice Couvreur
/fab/tex/texmf-linux-64/bin/:$PATH“ > t) > (4) ;; (add-to-list 'load-path "/home/fab/context/tex/texmf- > linux-64/bin/context“) > (5) Restart Emacs > > C-c C-c should work, now. > > > ALOHA, tobber > > > > > > > > Am 29.10.2016 um 23:41 schri

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Fabrice Couvreur
e: 0.831 seconds TeX Output finished at Sun Oct 30 10:09:20 ​Fabrice​ 2016-10-30 2:36 GMT+02:00 Michael Eidenbenz <eidenb...@arch.ethz.ch>: > the command should be: > > (eval-after-load "tex" > '(add-to-list 'TeX-command-list > '("context&q

<    1   2   3   4   5   6   7   8   >