Re: [NTG-context] \currentheadnumber does not work

2016-07-09 Thread Fabrice Couvreur
knuth \stopchapter \startchapter [title={Third chapter}] \input knuth \stopchapter \stoptext 2016-07-09 11:32 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 9. Juli 2016 um 11:12 > Hello, > In this comm

[NTG-context] \currentheadnumber does not work

2016-07-09 Thread Fabrice Couvreur
Hello, In this command, I have two problems : - \currentheadnumber does not work - the chapter number appears in black thank you, Fabrice \setuppagenumbering[location=footer] \startuseMPgraphic{head} pickup pencircle scaled 1mm ; drawoptions(withcolor lightgray) ; fill unitsquare scaled

Re: [NTG-context] \currentheadnumber does not work

2016-07-10 Thread Fabrice Couvreur
Hi Wolfgang, Thank you for the code and still as clear explanations. Fabrice 2016-07-09 12:45 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 9. Juli 2016 um 12:17 > Hi Wolfgang, > > In the first example, s

Re: [NTG-context] \currentheadnumber does not work

2016-07-11 Thread Fabrice Couvreur
Hello Wolfgang, When compiling the file with the macro, there is a lot of files that can be deleted (mpgraph.mpy, mpgraph.pdf ...) How to do ? thank you, Fabrice 2016-07-10 10:56 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi Wolfgang, > Thank you for the code and st

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
Oups, I forgot the name "ex", I am confused. Thanks Fabrice 2016-08-08 13:27 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 8. August 2016 um 13:11 > Hi Wolfgang, > In fact, I have a project

[NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
Hi, I use a counter for each "Exercises" section of each chapter (Wolfgang thank you !). How to reset the counter to 1 for each section ? thank you, Fabrice \defineprocessor[ACPROCESSOR][command=\EXFRAME] \defineconversionset[ACCONVERSION][][ACPR

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
Hi Wolfgang, In fact, I have a project "Lesson" with components chapter 1, chapter 2, ... If I add \setupenumeration [] [way=bysubsection] to each component that does not work. Fabrice 2016-08-08 12:30 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvr

Re: [NTG-context] Bug with the matrix library (TIKZ)

2016-07-21 Thread Fabrice Couvreur
Hi Hans, thanks Fabrice 2016-07-21 14:30 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 7/21/2016 11:50 AM, Fabrice Couvreur wrote: > >> Hi Hans, >> If I do this, the problem remains the same. >> >> \starttikzpicture >> \vbox{\matrix [

Re: [NTG-context] Question about headcommand

2016-07-22 Thread Fabrice Couvreur
Thanks Wolfgang Fabrice 2016-07-22 10:26 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 22. Juli 2016 um 09:48 > Hi Wolfgang, > It is clear, I think I understand (My English is not perfect !). So back > to

Re: [NTG-context] Question about \setupitemgroup

2016-07-22 Thread Fabrice Couvreur
Hi Wolfgang, Thank you for your time and your solutions Fabrice 2016-07-22 12:47 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 22. Juli 2016 um 12:32 > Hi, > I can not find any keyword must be used to g

[NTG-context] Question about \setupitemgroup

2016-07-22 Thread Fabrice Couvreur
Hi, I can not find any keyword must be used to get what I want. Thanks, Fabrice \setupbodyfont[pagella,11pt] \setupitemgroup [itemize] [each] [color=darkred] [packed] \starttext \startitemize[n] \item \input tufte \item \startitemize[a] \item \input tufte \stopitemize \stopitemize

Re: [NTG-context] Strange behavior with context standalone (pgfplots)

2016-08-16 Thread Fabrice Couvreur
Hi, Thanks Herbert and Hans, your solutions work both Fabrice 2016-08-16 20:35 GMT+02:00 Herbert Voss <herbert.v...@fu-berlin.de>: > Am 16.08.2016 um 16:52 schrieb Fabrice Couvreur: > > \usemodule[pgfplots] >> >> \pgfplotsset{compat=1.13} >> \usetikzlibrary[inte

[NTG-context] Strange behavior with context standalone (pgfplots)

2016-08-16 Thread Fabrice Couvreur
Hello, With context in distribution TeXLive 2016,no problem but with standalone context, I get the "0.01pt" text in the left corner of the graph. Thanks Fabrice ​ ___ If your question is of interest to othe

Re: [NTG-context] Strange behavior with context standalone (pgfplots)

2016-08-16 Thread Fabrice Couvreur
ale=0.4] at (4,1.5){}; \node[below] at (-1.5,-1.5) {\math{{\cal C}_f}}; \node[below] at (1,0) {1}; \node[left] at (0,1) {1}; \node[below left] at (0,0) {0}; \stopaxis \stoptikzpicture \stoptext 2016-08-16 16:34 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 8/16/2016 4:26 PM, Fabrice Co

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

Re: [NTG-context] Title without the parentheses

2017-01-31 Thread Fabrice Couvreur
Hi Kavian, Thank you very much for your help, your solution corresponds to what I was trying to do even if it uses another approach. Fabrice 2017-01-30 14:54 GMT+01:00 Otared Kavian <ota...@gmail.com>: > Hi Fabrice, > > In order to have the box aligned with the text, it i

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
Hello Kavian, Thank you for your answer, it's good for the parentheses. For the command, I found only this which does not exactly answer what I want to do. Fabrice \defineenumeration [ex] [text={Exercice}, headcommand=\EXFRAME, titleleft=, titleright=, title=yes, width=fit

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

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

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

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] Question about \startcombination \stopcombination

2016-08-18 Thread Fabrice Couvreur
Hello, The use of \startcombination ... \stopcombination does not work with my environment, I do not get all framed but only two and four Thank you Fabrice # \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \defineframedtext [MyFrame

Re: [NTG-context] Question about \startcombination \stopcombination

2016-08-18 Thread Fabrice Couvreur
Hi Hans Thank you, I do not know. Fabrice 2016-08-18 19:46 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 8/18/2016 7:12 PM, Fabrice Couvreur wrote: > >> Hello, >> The use of \startcombination ... \stopcombination does not work with my >> environment, I do not get al

Re: [NTG-context] Strange behavior with \definelabel[][] in context standalone

2016-08-29 Thread Fabrice Couvreur
Hi Wolgang, I updated standalone context, it works correctly. Fabrice 2016-08-29 12:13 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 29. August 2016 um 11:45 > Hello, > I noticed a problem

[NTG-context] Question about natural tables

2016-10-09 Thread Fabrice Couvreur
Hello, I do not succeed in having two sub-columns of the same width in the third column. Thank you. Fabrice \useMPlibrary[dum] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},offset=0.8ex] \setupTABLE[column][2][width=0.5\textwidth] \setupTABLE[column][3][width=0.4

[NTG-context] Center a framedtext

2016-09-23 Thread Fabrice Couvreur
Hello, How to make the algorithm is centered vertically and horizontally ? thank you, Fabrice \defineframedtext [algorithmframe] [width=fit, background=color, backgroundcolor=lightgray, framecolor=darkred, corner=round] \definelines [algorithm] [space=on, before

Re: [NTG-context] Bug with standalone ?

2016-08-27 Thread Fabrice Couvreur
Hello Wolfgang, This is an unfortunate forgetting on my part, sorry. However, I noticed another problem with standalone context and not with texlive 2016 2 Question 1 3 Question 2 instead of 1 Question 1 2 Question 2 Thank you Fabrice 2016-08-27 6:54 GMT+02:00 Wolfgang Schuster

[NTG-context] Bug with standalone ?

2016-08-26 Thread Fabrice Couvreur
Hello, If I compile the file with context from texlive 2016, no problem. But with context from standalone, I get an error ("tex error on line 1 in file /home/fab/ntg53.tex: ! Missing } inserted") thank you, Fabrice \defineframed [FRAME] [frame=off, offset=0pt, location=low

[NTG-context] Strange behavior with \definelabel[][] in context standalone

2016-08-29 Thread Fabrice Couvreur
Hello, I noticed a problem with standalone context and not with texlive 2016 2 Question 3 Question instead of 1 Question 2 Question Thanks fabrice \defineframed [FRAME] [frame=off, offset=0pt, location=low, width

Re: [NTG-context] [Dev-luatex] Luatex 1.0.0 announcement

2016-09-29 Thread Fabrice Popineau
Congratulations to the whole team and thank you very much for this fine piece of work ! Fabrice 2016-09-27 20:37 GMT+02:00 luigi scarso <luigi.sca...@gmail.com>: > Version 1.0.0 > > After some ten years of development and testing, today we have released > LuaTeX 1.0.0! Instea

Re: [NTG-context] Center a framedtext

2016-09-28 Thread Fabrice Couvreur
Hi Wolfgang, Thanks. Fabrice 2016-09-28 9:08 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 27. September 2016 um 22:02 > Hi Wolfgang, > Thank you for your suggestion, but I think I was not clear enough. In

Re: [NTG-context] Center a framedtext

2016-09-27 Thread Fabrice Couvreur
> > Hi Wolfgang, Thank you for your suggestion, but I think I was not clear enough. In fact, I want to place the algorithm as the image. Fabrice \defineframedtext [algorithmframe] [width=fit, background=color, backgroundcolor=lightgray, framecolor=darkred, corner

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

2016-10-29 Thread Fabrice Couvreur
nil (context-mode) :help "Run ConTeXt") t)) Thanks, Fabrice 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenb...@arch.ethz.ch>: > sorry that should be: > >

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

2016-10-28 Thread Fabrice Couvreur
Hi Mica, I added this (custom-set-variables ' (ConTeXt-Mark-version "IV")) in my .emacs and it seems to work, thank you. Another question : when I do a C-c C-c is texlive context of 2016 is called. How to be it standalone context ? Fabrice 2016-10-28 19:07 GMT+02:00 Mica

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

2016-10-30 Thread Fabrice Couvreur
ow to access Thanks Fabrice 2016-10-30 12:15 GMT+01:00 Tobias Berndt <tobiasber...@arcor.de>: > @ Fabrice: If you’re working under a Linux, use „home“ instead of „Users“ > (I’m under macOS, therefore I left „Users“) and forget about the > add-to-list line. So: > > (1) M-x co

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

2016-10-30 Thread Fabrice Couvreur
43813 of 65536 + 10 mkiv lua stats > lua properties: engine: lua, used memory: 78 MB (ctx: 77 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.587 seconds, 1 processed pages, 1 shipped pages, 1.704 pages/second system | total runtim

[NTG-context] A question about \startcombination[3*1] \stopcombination (again)

2016-10-25 Thread Fabrice Couvreur
Hello, I can not make three columns and one row. But three rows and one column, it is possible. Thank you Fabrice \defineframedtext [algorithmframe] [width=fit, bodyfont=8pt, background=color, location=middle, backgroundcolor=lightgray, framecolor=darkred, corner=round

Re: [NTG-context] A question about \startcombination[3*1] \stopcombination (again)

2016-10-25 Thread Fabrice Couvreur
Hi Wolfgang, Thank you for your suggestion. But why use rather framed than framedtext ? Fabrice 2016-10-25 17:15 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 25. Oktober 2016 um 16:14 > Hello, > I can not ma

[NTG-context] Question about structure

2016-10-21 Thread Fabrice Couvreur
Hello, How to compile the final chapter added (sequences/probabilites) without recompiling all the other chapters ? The command line is currently used context --purgeall cours.tex Thank you Fabrice \startproduct cours \project documents \startfrontmatter \component contents

[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] 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
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 the text. If I have to use the command several times with different content, how make ? Thank you Fabrice 2016-11-01 9:23 GMT+01:00 Piotr

[NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Fabrice Couvreur
, Fabrice % macros=mkvi \setupcolors[state=start] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor[MyColorA][c=0.00, m=0.10, y=0.20, k=0.00] \defineframedtext [MyDefinition] [before={\blank[line,halfline]}, after={\blank}, frame=off, background=MyFrame, width

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-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
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
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, 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-29 Thread Fabrice Couvreur
Hi, If I add this (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin") in the .emacs, one C-c C-c invokes the executable texlive, not the context of standalone. Fabrice 2016-10-29 1:23 GMT+02:00 Michael Eidenbenz <eidenb...@arch.ethz.ch>: > you can add any Te

Re: [NTG-context] Question about natural tables

2016-10-09 Thread Fabrice Couvreur
Hi Wolfgang, Thanks Fabrice 2016-10-09 21:58 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 9. Oktober 2016 um 10:42 > > Hello, > I do not succeed in having two sub-columns of the same width in the third &

[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

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

Re: [NTG-context] Real number with Lua

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

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

[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] 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 \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 [header=2

[NTG-context] About Layout

2017-07-29 Thread Fabrice Couvreur
, backspace=2cm, cutspace=0pt, width=middle] Is it correct ? 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

Re: [NTG-context] About \setupbackgrounds

2017-08-01 Thread Fabrice Couvreur
Hi Aditya, Neither command responds to what I'm trying to do. I will try to be clearer. If we look at the letter J, it touches the bottom line of the frame. I would like the space to be bigger between the header and the bottom line. Thank you Fabrice 2017-07-31 21:30 GMT+02:00 Aditya Mahajan

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 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
] [color=darkred] \starttext \startchapter[title={First Chapter}] \startsection[title={First section}] \dorecurse{5}{\input knuth} \stoptext Thank you Fabrice ___ If your question is of interest to others as well, please

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 <pmli...@free.fr>: > On Thu, Aug 10 2017, Aditya Mahajan wrote: > > > You need to remove the --once ca

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

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

[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] STIX Two Text and Math

2017-08-12 Thread Fabrice Couvreur
Hi Hans, I downloaded the fonts and it works perfectly. What do you think are the finest fonts for writing a book with mathematics ? Are Cambria fonts free ? If so where can they be downloaded ? Thank you Fabrice 2017-08-12 13:01 GMT+02:00 Hans Hagen <pra...@wxs.nl>: > On 8/12/2017

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

2017-08-10 Thread Fabrice Couvreur
Hi Otared, This works with Texlive context but this does not work with Standalone context that I use with Emacs. How to make the last page number interactive ? Thank you Fabrice 2017-08-10 11:47 GMT+02:00 Otared Kavian <ota...@gmail.com>: > I forgot to add that you can

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

2017-08-09 Thread Fabrice Couvreur
Hi Pablo Thank you very much. By combining the two codes, you get what I want. Fabrice """"""""""""""""""""""""""""""""""

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

2017-08-09 Thread Fabrice Couvreur
=, color=\darkred, contrastcolor=] \setuppagenumbering [alternative=, location={footer,right}, command={Page\,\pagenumber\,sur\,\lastpage } ] Thank you Fabrice ___ If your question

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

[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, bottomframe=on,framecolor=gray

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

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

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

[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 := textext.rt("\bf\tfx\white\framedtextpara

[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

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

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

2017-08-18 Thread Fabrice Couvreur
Hi, @Aditya and Henri Thank you for your suggestions. @Otared Maybe remove \showframe ? Fabrice 2017-08-18 11:45 GMT+02:00 Otared Kavian <ota...@gmail.com>: > Hi Aditya, > > I tried to typeset your example, but got an error: whether or not the > command > % mac

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

2017-08-18 Thread Fabrice Couvreur
Hi, It's okay for me Fabrice 2017-08-18 15:05 GMT+02:00 Jean-Pierre Delange <adeiman...@free.fr>: > Hi Otared and Aditya, > > I get the same mtx-context | fatal error: return code: 1 > > The log shows this : > > tex error > tex error on line 36 in file /home

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

2017-08-18 Thread Fabrice Couvreur
Hi, Thanks for your answers but I also get the same error Fabrice 2017-08-18 15:05 GMT+02:00 Jean-Pierre Delange <adeiman...@free.fr>: > Hi Otared and Aditya, > > I get the same mtx-context | fatal error: return code: 1 > > The log shows this : > > tex error >

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

<    1   2   3   4   5   6   7   8   9   >