Re: [NTG-context] Numbering properties in a chapter

2018-07-24 Thread Fabrice Couvreur
Hi Pablo, Thank you Pablo for your answer that corresponds to what I seek to do. Small question: how to have a point at the end of the numbering that is to say : Property 1.1. Property 1.2. . Thanks Fabrice 2018-07-23 17:39 GMT+02:00 Pablo Rodriguez : > On 07/23/2018 05:11 PM, Fabr

Re: [NTG-context] Numbering properties in a chapter

2018-07-25 Thread Fabrice Couvreur
Hi Pablo, Thank you for the link, it is true that I have to read this manual more often. Fabrice 2018-07-24 17:09 GMT+02:00 Pablo Rodriguez : > On 07/24/2018 11:04 AM, Fabrice Couvreur wrote: > > Hi Pablo, > > Thank you Pablo for your answer that corresponds to what I seek t

[NTG-context] Set up a theorem style

2018-07-25 Thread Fabrice Couvreur
Hello, I used LaTeX for a long time before converting (with difficulty !) to ConteXt. For example, to define my new theorems, I used the amsthm package and I did this : \newtheoremstyle{theoremdd}% name of the style to be used {\topsep}% measure of space to leave above the theorem. E.g.: 3pt {

Re: [NTG-context] Set up a theorem style

2018-07-26 Thread Fabrice Couvreur
=chapter, way=bysection, *numberstopper={. ---},* style=italic, ] \defineenumeration[theorem] Fabrice 2018-07-25 12:15 GMT+02:00 Fabrice Couvreur : > Hello, > I used LaTeX for a long time before converting (with difficulty !) to > ConteXt. For example, to defi

[NTG-context] Placement of a figure made with TiKz

2018-07-29 Thread Fabrice Couvreur
Hello, I do not understand why figure 2 does not fit correctly like the other two. Thank you Fabrice \useMPlibrary[dum] \usemodule[tikz] \usemodule[pgfplots] \pgfplotsset{compat=newest} \usetikzlibrary{positioning} \usetikzlibrary{calc} \setuplayout [height=middle, width=middle, backsp

[NTG-context] Problem with an enumeration

2018-07-31 Thread Fabrice Couvreur
Hello, Wolfgang helped me to get this: 1.a. b. c. 2.a b. c. I have unfortunately lost the code he had proposed to me. I get this: 1.a. 1b 1 C 2.a 2.b 2.c Thanks Fabrice \setupitemgroup [itemize][1] [color=darkred, distance=\spaceamount, option={packed,fit,intext,n}] \setupitemg

Re: [NTG-context] Problem with an enumeration

2018-07-31 Thread Fabrice Couvreur
Hi Pablo, That's not what I'm looking for but rather this: *1.a.* blablablabla blablablabla *b.* blablablabla blablablabla *c.* blablablabla blablablabla Which explains the use of the key intext Fabrice 2018-07-31 13:31 GMT+02:00 Pablo Rodriguez : > On 07/31/2018 12:18 PM, Fab

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Fabrice Couvreur
gt; PS. If you want an answer from me you should add me to cc because I have > problems getting mails from the list. > > Wolfgang > > > Fabrice Couvreur schrieb am 31.07.18 um 23:58: > > Hi Pablo, > That's not what I'm looking for but rather this: > > *1.a.* blablabl

[NTG-context] Fwd: Problem of compiling a file with Emacs

2018-08-01 Thread Fabrice Couvreur
-- Forwarded message -- From: Fabrice Couvreur Date: 2018-08-02 0:07 GMT+02:00 Subject: Re: [NTG-context] Problem of compiling a file with Emacs To: Lizardo Reyna Hello, I tried this : \starttext \startMPcode draw outlinetext.f ("\bf 1")

[NTG-context] How to control the space between the bottom of the frame and the text?

2018-08-07 Thread Fabrice Couvreur
Hello, I find that the text is near the bottom line of the frame, how to add a little space ? Thanks Fabrice \defineframed [ACFRAME] [frame=on, width=fit, align=flushleft, location=low, background=color, backgroundcolor=lightgray] \defineenumeration [exercice] [text={Exerci

[NTG-context] Define the dimensions of a layout

2018-08-08 Thread Fabrice Couvreur
Hello, I want the text area to be surrounded by a margin of 20 mm (top, right, left and bottom). I have already done this to have a left and right margin of 20 mm. \setuplayout [height=middle, backspace=20mm, width=middle] I think that I must now have : topdistance + header + headerdist

[NTG-context] stix2-mathscr with ConTeXt

2018-08-09 Thread Fabrice Couvreur
Hello, Is it possible to get this type of letter with ConTeXt ? Thank you Fabrice [image: mathscr.png] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@n

[NTG-context] Enumerations in an environment

2018-08-13 Thread Fabrice Couvreur
Hello, How to have : Démonstration --- 1.one 2.two 3.three Thanks Fabrice \defineenumeration [proof] [text=Démonstration, alternative=serried, number=no, headcommand=\groupedcommand{}{~---~}, headstyle=bolditalic, %headcommand=\groupedcommand{}{:\,}, width=broad, closesy

[NTG-context] Scite + ConTeXt

2018-08-13 Thread Fabrice Couvreur
Hello, As I am having some problems with Emacs, I will try to use Scite ! 1. How to insert an environment ? That is with AUCTEX + Emacs, I was doing C-c C-e but how do with Scite ? 2. To compile, I do Alt + F12 (Run with jit) and it works but how to have the test.pdf output because F5 (go) gives

[NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Fabrice Couvreur
Hello, I wish to place a small logo at the bottom of the page. It works almost but it is not very well adjusted. How to cure it ? Thank you. fabrice \showframe \useMPlibrary[dum] \setuplayout [height=middle, width=middle, backspace=2cm, topspace=10mm, bottomspace=10mm, header=10mm

Re: [NTG-context] Scite + ConTeXt

2018-08-14 Thread Fabrice Couvreur
Hi Ken, In which file ? Fabrice Le mar. 14 août 2018 à 02:18, Ken Moffat a écrit : > On Tue, Aug 14, 2018 at 01:54:06AM +0200, Fabrice Couvreur wrote: > > > How to have evince as the default reader ? > > > perhaps > > xdg-mime default evince.desk

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Fabrice Couvreur
]}] \starttext \dorecurse{10}{\page[dummy]} \stoptext Le mar. 14 août 2018 à 12:18, Henri Menke a écrit : > > > On 14/08/18 22:13, Fabrice Couvreur wrote: > > Hello, > > I wish to place a small logo at the bottom of the page. > > It works almost but it is not ver

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Fabrice Couvreur
Hi Hraban, It seems a little more complicated but I have never used the layers. Fabrice Le mar. 14 août 2018 à 13:11, Henning Hraban Ramm a écrit : > Am 2018-08-14 um 12:13 schrieb Fabrice Couvreur < > fabrice1.couvr...@gmail.com>: > > > Hello, > > I wish to place a

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-16 Thread Fabrice Couvreur
dth,height=\footerheight]}] >[] >[{\externalfigure[dummy][width=\leftmarginwidth,height=\footerheight]}] > > \starttext > \dorecurse{10}{\page[dummy]} > \stoptext > > > On 14/08/18 22:50, Fabrice Couvreur wrote: > > Hi Henri, > > Thank you for your sug

[NTG-context] The dimensions of the first page are not taken into account Hello, I want to create a template with a header on the first page for student testing. If the document contains text that is

2018-08-16 Thread Fabrice Couvreur
Hello, I want to create a template with a header on the first page for student testing. If the document contains text that is on more than one page, it works perfectly. On the other hand, if the document has text on one page, it does not work. Thanks. Fabrice \setuppagenumbering[alternative=,locat

[NTG-context] The dimensions of the first page are not taken into account

2018-08-17 Thread Fabrice Couvreur
Hello, I want to create a template with a header on the first page for student testing. If the document contains text that is on more than one page, it works perfectly. On the other hand, if the document has text on one page, it does not work. Thanks. Fabrice \setuppagenumbering[alternative=,locat

[NTG-context] Text wrapped with an ornement

2018-08-17 Thread Fabrice Couvreur
Hello, Aditya offered me the following code to insert comments with an ornament. I notice that the option alternative= serried does not seem to work. 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] \defineornament

Re: [NTG-context] Text wrapped with an ornement

2018-08-17 Thread Fabrice Couvreur
Hello, That's true Wolfgang, I just checked right now, sorry! What I would like to do is on the image below. Fabrice [image: IMG_0690.JPG] Le ven. 17 août 2018 à 17:31, Pablo Rodriguez a écrit : > On 08/17/2018 11:24 AM, Fabrice Couvreur wrote: > > Hello, > > Aditya offe

Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Fabrice Couvreur
Hi Pablo, These options are to be added to \defineframedtext [] [] ? Without success at home ! Fabrice Le sam. 18 août 2018 à 10:17, Pablo Rodriguez a écrit : > On 08/18/2018 01:08 AM, Fabrice Couvreur wrote: > > Hello, > > That's true Wolfgang, I just checked right now, sor

Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Fabrice Couvreur
Hi Palbo, In fact I want the text '' Coming back ... '' to start on the same baseline as the title of the ornament as in the photo. Thanks. Fabrice Info Coming back ... blablablablabla Le sam. 18 août 2018 à 13:26, Pablo Rodriguez a écrit : > On 08/18/2018 11:11 AM,

Re: [NTG-context] Text wrapped with an ornement

2018-08-19 Thread Fabrice Couvreur
Hi Hans, It's great and with alternative =serried, that's exactly what I'm trying to do ! Thanks. Fabrice PS : @Pablo Thanks for your help. Le dim. 19 août 2018 à 12:40, Hans Hagen a écrit : > On 8/19/2018 11:47 AM, Pablo Rodriguez wrote: > > On 08/18/2018 11:51 PM

[NTG-context] Change PDF viewer with Scite

2018-08-19 Thread Fabrice Couvreur
Hello, The default viewer is GhostView. I would like to replace it with Evince. In user mode, I edited the /usr/share/scite/scite-context.properties file to replace the command.2 line. $ (File.patterns.context) = $ (name.context.gsview) $ (FileDir ) / $ (FileName) .pdf by command.2. $ (File.pattern

Re: [NTG-context] Change PDF viewer with Scite

2018-08-20 Thread Fabrice Couvreur
Hagen a écrit : > On 8/20/2018 12:11 AM, Fabrice Couvreur wrote: > > Hello, > > The default viewer is GhostView. I would like to replace it with Evince. > > In user mode, I edited the /usr/share/scite/scite-context.properties > > file to replace the command.2 lin

[NTG-context] Textadept with ConTeXt

2018-08-20 Thread Fabrice Couvreur
Hello, In order to use another editor than Emacs and after testing Scite, I installed Textadept and modified the init.lua file as follows : textadept.run.compile_commands.tex = 'mtxrun --autogenerate --script context --autopdf --purge --synctex = -1 "% f"' The compilation works but no automatic o

[NTG-context] Latest beta

2018-08-20 Thread Fabrice Couvreur
Hello, Compile error after context standalone update Thanks Fabrice Running `ConTeXt' on `Test' with ``context --once --texutil --purgeall --nonstop Test.tex'' resolvers | trees | analyzing 'home:texmf' mtx-context | run 1: luatex --fmt="/home/aragorn/context/tex/texmf-cache/luatex-cache

Re: [NTG-context] Textadept with ConTeXt

2018-08-21 Thread Fabrice Couvreur
to use it with ConTeXt. It's more detailed than the > Textadept site on the wiki. > > http://wiki.contextgarden.net/User_talk:Koenich > I have to say though that I wrote it with Windows in mind. But TA's config > files are all written in Lua so the OS should not be a proble

[NTG-context] Emacs + latest beta

2018-08-22 Thread Fabrice Couvreur
Hello, Sorry to insist, but could anyone help me understand the problem I'm having in using Emacs with standalone context ? The following file compiles perfectly from a terminal : /home/aragorn/texlive/2018/bin/x86_64-linux/context test.tex /home/aragorn/context/tex/texmf-linux-64/bin/context t

[NTG-context] Blocks in margin with overflow of text

2018-08-22 Thread Fabrice Couvreur
Hello, The idea is to put all the examples of the course in the margin. I see that the text is sometimes overflowing. How to improve the code ? Thanks. Fabrice \definemeasure[Margin][3.5cm] \setuplayout [ backspace=20mm, width=120mm, height=middle, footer=\bodyfontsize, hea

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Fabrice Couvreur
ableMPgraphic{NumberHead} 2 draw outlinetext.f 3 ("\bf\namedheadnumber{chapter}") 4 (withcolor "lightgray") 5 ysized 50pt ; 6 \stopusableMPgraphic 7 8 \unexpanded\def\processMPheadnumber#1% 9 {\useMPgraphic{NumberHea

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Fabrice Couvreur
rns a damaged pdf file that I can not open. I installed texlive 2018 and context standalone in my home directory and emacs in the /usr/share/emacs directory with Arch Linux ; can that explain my problems ? Fabrice Le ven. 24 août 2018 à 04:21, Vladimir Lomov a écrit : > Hello, > ** Fabric

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Fabrice Couvreur
But if I compile from a terminal without using emacs it works ! [aragorn@fab ~]$ /home/aragorn/context/tex/texmf-linux-64/bin/context vladimir.tex Are we sure it is context standalone that is used by emacs rather than context texlive 2018 ? When reading the file vladimir.log, I doubt

[NTG-context] Some questions about an extreme table

2018-08-25 Thread Fabrice Couvreur
Hello, In the table, how to have a. b. c. in each line instead of a. a. a ? Is the macro to place the figures on the baseline of the labels to be improved ? Thanks. Fabrice \useMPlibrary[dum] \switchtobodyfont[pagella,12pt] \unexpanded\def\Item#1{\framed[frame=off,location=hanging]{#1}} \setupl

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Fabrice Couvreur
Hello, Thank you for your suggestions. Fabrice Le dim. 26 août 2018 à 15:19, Aditya Mahajan a écrit : > On Sun, 26 Aug 2018, Wolfgang Schuster wrote: > > > The normal alignment of figures is with the bottom of the figure on the > > baseline. > > > > You can control the vertical alignment with a

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
/aragorn/texlive/2018/bin/x86_64-linux export PATH=$PATH:/home/aragorn/bin Thanks Fabrice Le lun. 27 août 2018 à 06:07, Vladimir Lomov a écrit : > Hello, > ** Fabrice Couvreur [2018-08-25 01:23:28 +0200]: > > > Hi Vladimir, > > I use ConTeXt Full following this question asked o

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
Hi Vladimir, I just realized that does not work anymore ! (setq ConTeXt-mode-hook (lambda () (setq TeX-command-extra-options "--purgeall"))) Thanks Fabrice Le lun. 27 août 2018 à 11:51, Fabrice Couvreur a écrit : > Hi Vladimir, > I just made a new standalone context i

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
x" as ConTeXt root. [aragorn@fab ~]$ which context /home/aragorn/context/tex/texmf-linux-64/bin/context [aragorn@fab ~]$ Fabrice Le lun. 27 août 2018 à 16:36, Aditya Mahajan a écrit : > On Mon, 27 Aug 2018, Fabrice Couvreur wrote: > > > I just made a new standalone contex

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Fabrice Couvreur
Hi Mikael, I do not know this way yet. Can you attach a complete example ? Regards, Fabrice Le lun. 27 août 2018 à 20:47, Henning Hraban Ramm a écrit : > Am 2018-08-27 um 16:37 schrieb Mikael P. Sundqvist : > > > > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist > wrote: > > > > > > Hi! > > > > >

Re: [NTG-context] Emacs + latest beta

2018-08-28 Thread Fabrice Couvreur
me/aragorn/context/tex/setuptex export PATH = $ PATH: /home/aragorn/texlive/2018/bin/x86_64-linux export PATH = $ PATH: /home/aragorn /bin Regards, Fabrice Le mar. 28 août 2018 à 07:57, Vladimir Lomov a écrit : > Hello, > ** Fabrice Couvreur [2018-08-27 15:47:41 +0200]: > > > Le

Re: [NTG-context] Question on enabling/disabling modes

2018-08-28 Thread Fabrice Couvreur
%%% %%% test2.tex ??? %%% Fabrice Le mar. 28 août 2018 à 11:05, Mikael P. Sundqvist a écrit : > On Tue, Aug 28, 2018 at 10:54 AM Fabrice Couvreur < > fabrice1.couvr...@gmail.com> wrote: > >> Hi Mikael, >> I do not know this way yet. Can you attach a complete example ? >>

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
that commands run in terminal worked fine, but you > invoked them by full path; > To be able to test with the texlive context binary and context standalone context binary . The next in the next message after restarting my PC ... Fabrice Le mer. 29 août 2018 à 04:58, Vladimir Lomov a écr

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
--purgeall %s" TeX-run-command nil t :help "Run context (MarkIV)") TeX-command-list)) ) ;;(add-hook 'ConTeXt-mode-hook ;;(lambda() ;; (setq TeX-command-default "ConTeXt Full"))) (setq-default cursor-type 'bar) (set-cursor-color

Re: [NTG-context] Question on enabling/disabling modes

2018-08-30 Thread Fabrice Couvreur
Hello Mikael, I read the documentation that I think I partly understood; I was really off topic. Fabrice Le mar. 28 août 2018 à 12:58, Mikael P. Sundqvist a écrit : > On Tue, Aug 28, 2018 at 11:59 AM Fabrice Couvreur < > fabrice1.couvr...@gmail.com> wrote: > >> Hi Mikael, &

Re: [NTG-context] Emacs + latest beta

2018-08-30 Thread Fabrice Couvreur
. 29 août 2018 à 16:12, Vladimir Lomov a écrit : > Hello, > ** Fabrice Couvreur [2018-08-29 12:01:46 +0200]: > > > Hello, > > Here is the content of my file ~/.profile : > > > > export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH > > export PATH=$HOME/tex

[NTG-context] Adjust the dimensions of a sub-table in an extreme table ?

2018-08-30 Thread Fabrice Couvreur
Hello, In the main table there are three sub-tables. How to adapt the dimensions of the second and third sub-tables to that of the first sub-table ? Thank you Fabrice \unexpanded\def\euros#1{#1\,€} \setuplayout [height=middle, width=middle, backspace=2cm, topspace=10mm, bottomspace

[NTG-context] Draw an ink imprint with Metafun

2018-08-30 Thread Fabrice Couvreur
Hello, The idea is to reproduce the ink mark of the figure below with Metafun [image: IMG_0691.jpg] Thank you Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Adjust the dimensions of a sub-table in an extreme table ?

2018-08-31 Thread Fabrice Couvreur
Hi Pablo, Thank you for the solution. Fabrice Le jeu. 30 août 2018 à 22:49, Pablo Rodriguez a écrit : > On 08/30/2018 10:16 PM, Fabrice Couvreur wrote: > > Hello, > > In the main table there are three sub-tables. How to adapt the > > dimensions of the second and third sub-

[NTG-context] Notation of an arc

2018-09-26 Thread Fabrice Couvreur
Hello, How to improve the notation of an arc ? Thank you Fabrice \starttext \m{\overset{\frown}{\rm AB}} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

Re: [NTG-context] Notation of an arc

2018-09-27 Thread Fabrice Couvreur
Hi Henri and Alan, Thank you for your answers. Fabrice Le mer. 26 sept. 2018 à 23:52, Alan Braslau a écrit : > On Thu, 27 Sep 2018 09:22:00 +1200 > Henri Menke wrote: > > > On 27/09/18 09:15, Fabrice Couvreur wrote: > > > Hello, > > > How to improve the not

Re: [NTG-context] Notation of an arc

2018-09-27 Thread Fabrice Couvreur
I just tested both solutions and that of Alan does not work as expected. \useMPlibrary[mat] \definemathstackers [mp] [alternative=mp] \definemathextensible [mp] [overparent] ["FE3DC] \starttext \m{\overparent{ AB}} \stoptext Le jeu. 27 sept. 2018 à 21:47, Fabrice Couvreur a

[NTG-context] xtables with lua

2018-09-30 Thread Fabrice Couvreur
Hi, Is it possible to fill columns A, B and C using a loop with lua ? Thank you. Fabrice \starttext \startxtable[align={lohi,middle},bodyfont=8pt,width=0.8cm] \startxrow \startxcell \stopxcell \startxcell A \stopxcell \startxcell

Re: [NTG-context] xtables with lua

2018-10-01 Thread Fabrice Couvreur
Hi, Thank you Aditya for the link. I knew that with natural tables, but I hoped it could be done with xtables too. Fabrice Le lun. 1 oct. 2018 à 05:50, Aditya Mahajan a écrit : > On Mon, 1 Oct 2018, Jeong Dal wrote: > > > What do you mean “does not typeset correctly as expected”? > > As I said,

[NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
Hello, Why is the text wrapping around the board or far too far ? Thank you. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \placerecipe{}{% \startxtable[align={middle,lohi},width=1.7 cm] \startxrow[background=color,bac

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
Hi Pablo, Thank you, I thought that indicating width = 1.7cm, the size of the cells would have been 1.7cm. Fabrice Le mer. 10 oct. 2018 à 19:46, Pablo Rodriguez a écrit : > On 10/10/18 7:26 PM, Fabrice Couvreur wrote: > > Hello, > > Why is the text wrapping around the board

[NTG-context] Construct a matrix with Metafun

2018-10-14 Thread Fabrice Couvreur
Hi, I tried to use Metafun and \definemathmatrix [pmatrix] [matrix: parentheses] [simplecommand = MATRIX] to create two matrices, but that does not work. Thank you. Fabrice [image: matrice.jpg] ___ If your question is

[NTG-context] Construct a matrice with Metafun and \MATRIX{}

2018-10-14 Thread Fabrice Couvreur
Hi, I tried to use Metafun and \definemathmatrix [pmatrix] [matrix: parentheses] [simplecommand = MATRIX] to create two matrices, but that does not work. Thank you. http://image.noelshack.com/fichiers/2018/41/7/1539507927-matrice.jpg

[NTG-context] Use \framedtext to write an algorithm (again)

2018-10-17 Thread Fabrice Couvreur
Hi Wolfgang, You offered me the following code to write algorithms. It seems that this does not function very well because the withdrawal of the text no longer exists. Thank you Fabrice \defineframedtext [algorithmframe] [width=fit, background=color, backgroundcolor=lightgray, fr

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

2018-10-22 Thread Fabrice Couvreur
Hi, When I use the \inframed{} command twice, they are not on the same baseline. Thank you. Fabrice \starttext \inframed{\m{I\times X=A^{-1}\times B}} ; \inframed{\m{A^{-1}\times A \times X=A^{-1}\times B}} \stoptext

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

2018-10-23 Thread Fabrice Couvreur
Hi Aditya, Thanks. Fabrice Le lun. 22 oct. 2018 à 12:45, Aditya Mahajan a écrit : > On Mon, 22 Oct 2018, Fabrice Couvreur wrote: > > > Hi, > > When I use the \inframed{} command twice, they are not on the same > baseline. > > Thank you. > > Fabrice > &g

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

2018-10-23 Thread Fabrice Couvreur
Hi Aditya, Sorry but with this file, there are some problems, especially with the last item. Thanks. Fabrice Le mar. 23 oct. 2018 à 09:46, Fabrice Couvreur a écrit : > Hi Aditya, > Thanks. > Fabrice > > Le lun. 22 oct. 2018 à 12:45, Aditya Mahajan a écrit : > >> On M

[NTG-context] Table, xtable and lua

2018-11-10 Thread Fabrice Couvreur
Hi, I can not complete the first line of the table with the letters of the alphabet. Thank you. Fabrice \starttext \startlinecorrection[blank] \startmidaligned \startluacode context.startxtable({"align=middle, width=1.25cm"}) context.startxrow() context.startxcell({"width=0.5cm"}) context(

Re: [NTG-context] Table, xtable and lua

2018-11-11 Thread Fabrice Couvreur
gt; > > > On 11/11/18 12:33 PM, Fabrice Couvreur wrote: > >> Hi, > >> I can not complete the first line of the table with the letters of the > >> alphabet. > >> Thank you. > >> Fabrice > >> > >> \starttext > >> \startlin

[NTG-context] Replace dashed lines with a solid line

2018-12-01 Thread Fabrice Couvreur
Hello, I would like to replace the dashed lines with a solid line much like with the \hairline command Thank you. Fabrice \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \starttext \input knuth \dorecurse{5}{\filler[dots]} \input knuth \dorecurse{5}{\hairline} \stoptext

[NTG-context] Macro to write a vector with Metafun (again)

2018-12-04 Thread Fabrice Couvreur
Hello Hans,The macro to draw a vector does not work even with the latest version of context standalone. Thank you Fabrice \useMPlibrary[mat] % will be in meta-imp-mat.mkiv \startMPextensions vardef math_stacker_arrow_shape = image ( drawarrow (OverlayW

[NTG-context] Question about defining a path with Metapost

2018-12-20 Thread Fabrice Couvreur
Hi, I need to make a figure with shaded areas and I found this code proposed by Hans. Why does the definition of the r path that Hans proposed give the same result as what I propose ? Thank you. Fabrice \starttext \startMPpage[offset=2pt] path p, q, r ; pair z ; p := unitsquare scaled 4c

[NTG-context] ! Declared variable conflicts with previous vardef [Metapost]

2019-01-02 Thread Fabrice Couvreur
Hi, I have a problem compiling this file. Thanks. Fabrice ## test file \starttext \setupbodyfont [pagella,9pt] \startMPpage[offset=2pt] path p, q, r, b ; pair z[]; p := unitsquare xyscaled (9cm,5cm) ; z[0] = (2cm,0cm) ; z[1] = (2cm,2cm)

Re: [NTG-context] ! Declared variable conflicts with previous vardef [Metapost]

2019-01-03 Thread Fabrice Couvreur
Hi, It is true that Alan has already answered this question but I was misled because the file that I compiled without problem is this one, even leaving pair z[ ] (I can think that it is because of this instruction z := point 3.6 of p ;) \starttext \startMPpage[offset=2pt] path p, q, r, b ;

[NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Fabrice Couvreur
Hi, I'm trying to get the same result for this file compiled with latex. Thanks. Fabrice \documentclass{article}\usepackage{amsmath} \begin{document} \begin{alignat*}{2}&\qquad& \frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert} &=\frac{\lvert\overline{DC}\rvert}{\lvert\overline{CE'

Re: [NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Fabrice Couvreur
ne{CD}\rvert} \NC > =\frac{\lvert\overline{DC}\rvert}{\lvert\overline{CE'}\rvert}\NR >\NC \iff \NC \frac{1}{x} \NC =\frac{x}{1-x} \NR >\NC \iff \NC 1-x \NC =x^2 \NR >\NC \iff \NC 0\NC =x^2+x-1 \NR > \stopalign > \stopformula > \stoptext > > Best regards: OK

[NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
Hi, How to color the first column as I did for the first line ? Thank you Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startluacode local letters_1 = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J" } local letters_2 = { "A", "0", "1", "1", "0", "", "", "", "", "" } context.st

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
t;, "J" } 20 local letters_2 = { "A", "0", "1", "1", "0", "", "", "", "", "" } 21 context.startxtable({"align={middle,lohi}, width=1.25cm,offset=0.8ex"}) 22 23 context.start

[NTG-context] How to pass a parameter with \definedescription[]

2019-01-27 Thread Fabrice Couvreur
Hi, Hans and Wolfgang helped me to design this framed text. How to pass in text parameter as we can for the length? The text is set to "Note" and I would like it to be "Vocabulary" for the second framed text. Thank you Fabrice \definecolor[MyColorA][s=0.8784] \definecolor[MyColorB][m=0.27,y=1] \d

[NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Fabrice Couvreur
Hi, I just updated context standalone and if I compile the following file, the date does not appear anymore. Thank you Fabrice \mainlanguage[fr] \setupbackgrounds [header] [text] [frame=off, topframe=off, bottomframe=on, framecolor=, rulethickness=1pt] \defi

[NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-02 Thread Fabrice Couvreur
The idea is to display the first 25 letters of the alphabet. The code below shows the letter a to show what I want to do. Thank you. Fabrice \starttext \startMPcode for i=0 upto 3 : for j=0 upto 3 : draw unitsquare scaled 4cm shifted (4*i*cm,4*j*cm) ; endfor ; endfor ;

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-02 Thread Fabrice Couvreur
Hi Henri, Great ! I would also like these letters to be randomly colored. Thank you. Fabrice Le sam. 2 févr. 2019 à 11:16, Henri Menke a écrit : > On 2/2/19 10:47 PM, Fabrice Couvreur wrote: > > The idea is to display the first 25 letters of the alphabet. The code > below > >

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-03 Thread Fabrice Couvreur
Hi Henry Thank you for everything. Fabrice Le sam. 2 févr. 2019 à 20:58, Henri Menke a écrit : > On 2/2/19 11:49 PM, Fabrice Couvreur wrote: > > Hi Henri, > > Great ! I would also like these letters to be randomly colored. > > You should play with randomseed, the starting c

[NTG-context] About the macro path intersectionpoint path with Metapost

2019-02-03 Thread Fabrice Couvreur
Hi, I would like to reproduce the attached figure. My problem is to create the points of intersection between the circles. It seems that my approach is not the right one. Thank you. Fabrice \starttext \startMPcode path p, q, r, b ; p:= fullcircle scaled 6cm ; q:= fullcircle scaled 4cm shifte

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-03 Thread Fabrice Couvreur
Sorry Henri, but I still have a question : how to have the letters in bold type ? Thank you. Fabrice Le dim. 3 févr. 2019 à 10:12, Fabrice Couvreur a écrit : > Hi Henry > Thank you for everything. > Fabrice > > Le sam. 2 févr. 2019 à 20:58, Henri Menke a écrit : > >

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-04 Thread Fabrice Couvreur
Hi, @ Henri Thank you @ Alan How to use it in my code ? Thank you Fabrice Le dim. 3 févr. 2019 à 21:26, Alan Braslau a écrit : > On Mon, 4 Feb 2019 09:19:26 +1300 > Henri Menke wrote: > > > Use the infont operator. > > Easier yet, the string can contain the font switch \bf: > > draw textext("\b

Re: [NTG-context] Issue with the latest beta of context standalone

2019-02-04 Thread Fabrice Couvreur
Hi, I added the patch but the output is not that expected because I get d = 4m = 02 y = 2019 instead of "4 février 2019" Thank you Fabrice \mainlanguage[fr] \setupbackgrounds [header] [text] [frame=off, topframe=off, bottomframe=on, framecolor=, rulethickness=1p

[NTG-context] Macro for a header does not work as well

2019-02-18 Thread Fabrice Couvreur
Hi, Aditya offered me this macro some time ago for my header. I updated context standalone, and the display of the date I want to do the evaluation (different from the current date) is no longer the same. Thank you. Fabrice \setupbackgrounds [header] [text] [frame=off, topframe=off,

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Fabrice Couvreur
usual French format? In > that case you should add > > \mainlanguage[fr] > > to the beginning of your file. > > Best regards: OK > > > On 18 Feb 2019, at 12:04, Fabrice Couvreur > wrote: > > > > Hi, > > Aditya offered me this macro some time ago

[NTG-context] luametatex : command not found

2019-04-07 Thread Fabrice Couvreur
Hi, My system is unix and my platform is linux-64. I installed ConTeXt LMTX as described, namely in my home and in the directory /data /context/ I then tried to compile but without success a file : [viserion@archlinux ~]$ /home/viserion/data/context/tex/texmf-linux-64/bin/context area.tex mtx-cont

[NTG-context] Can not update Context Standalone

2019-04-07 Thread Fabrice Couvreur
Hi, I have just updated context standalone and I get the following errors : When you want to use context, you need to initialize the tree by typing: . /home/viserion/context/tex/setuptex in your shell or add "/home/viserion/context/tex/texmf-linux-64/bin" to PATH variable if you want to set

Re: [NTG-context] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
Hi Fabrice, > > > > Have you added /home/viserion/data/context/tex/texmf-linux-64/bin to your > PATH environment variable? > > > > Joseph > > > > *De : *Fabrice Couvreur > *Envoyé le :*dimanche 7 avril 2019 13:13 > *À : *mailing list for ConTeXt user

Re: [NTG-context] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
You only have to write export PATH = $HOME/data/context/tex/texmf-linux-64/bin:$ PATH Le lun. 8 avr. 2019 à 10:04, Fabrice Couvreur a écrit : > Hi Joseph, > Yes I did it as with standalone context > export PATH = $HOME/home/viserion/context/tex/texmf-linux-64/bin:$ PATH > but writi

Re: [NTG-context] Can not update Context Standalone

2019-04-08 Thread Fabrice Couvreur
Hi, I just updated this morning and it works well now ! Fabrice Le dim. 7 avr. 2019 à 13:23, Fabrice Couvreur a écrit : > Hi, > I have just updated context standalone and I get the following errors : > > When you want to use context, you need to initialize the tree by typing: &

[NTG-context] Emacs with context lmtx

2019-04-08 Thread Fabrice Couvreur
Hi, I compile all my files with Emacs and standalone context. I would like to compare context lmtx. I added this in my .emacs file but it does not work. # (eval-after-load "context" '(setq TeX-command-list (cons '

Re: [NTG-context] Emacs with context lmtx

2019-04-08 Thread Fabrice Couvreur
/ data / context / tex / texmf-linux-64 / bin: $ PATH context -purgeall% s TeX-run-command nil t : help Run context (LMTX))) Fabrice Le lun. 8 avr. 2019 à 14:01, Vladimir Lomov a écrit : > Hello, > ** Fabrice Couvreur [2019-04-08 12:08:44 +0200]: > > > Hi, > > I compile all

Re: [NTG-context] Emacs with context lmtx

2019-04-09 Thread Fabrice Couvreur
# Thank you so much. Fabrice Le mar. 9 avr. 2019 à 09:04, Vladimir Lomov a écrit : > Hello, > ** Fabrice Couvreur [2019-04-09 00:58:46 +0200]: > > > Hi Vladimir, > > I use AUCTeX and I compile with the command C-c C-c. The configuration > y

[NTG-context] Text in the margin

2019-04-10 Thread Fabrice Couvreur
Hi, Wolfgang suggested this to put text in the margin but since some updates it does not work anymore : \setuplayout [width=12cm, rightmargin=5cm] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext] [renderingsetup=userdata:margintext] \startsetups

[NTG-context] Strange behavior with \usetikzlibrary [matrix]

2019-04-18 Thread Fabrice Couvreur
Hi, If I compile the following code, the result is not the one expected. \usemodule[tikz] \usetikzlibrary[matrix,decorations.pathreplacing, calc, positioning,fit] \starttext \starttikzpicture[>=stealth,thick,baseline, every right delimiter/.append style={name=rd}, ] \matrix [matrix of math nodes,

Re: [NTG-context] Strange behavior with \usetikzlibrary [matrix]

2019-04-18 Thread Fabrice Couvreur
t; a_{i,1} \& a_{i,2} \& \dots \& a_{i,j} \& \dots \& a_{i,n}\\ > \vdots \& \vdots \& \& \vdots \& \& \vdots\\ > a_{n,1} \& a_{n,2} \& \dots \& a_{n,j} \& \dots \& a_{n,n}\\ > }; > > \draw[<-] (rd)--++(0:6mm) nod

Re: [NTG-context] Strange behavior with \usetikzlibrary [matrix]

2019-04-18 Thread Fabrice Couvreur
Hi Henry, I am confused because I forgot to replace & by \& in the definition of the matrix. Thank you. Fabrice Le jeu. 18 avr. 2019 à 12:31, Henri Menke a écrit : > On 4/18/19 10:22 PM, Fabrice Couvreur wrote: > > Hi Henry, > > This has no effect, the problem is the

[NTG-context] Filling the diamond in enumeration

2019-04-20 Thread Fabrice Couvreur
Hi, Is it possible to fill the diamond ? Thank you. Fabrice \starttext \startitemize[4][color=red] \item One \item Two \stopitemize \stoptext ___ If your question is of interest to others as well, please add an entry t

[NTG-context] Strange behavior with offset key in a xtable

2019-04-22 Thread Fabrice Couvreur
Hi, Why is the height of the cells of the third line different ? Thank you. Fabrice \starttext \startxtable[align={lohi,middle},offset=0.8ex,width=3cm] \startxrow \startxcell \m{x} \stopxcell \startxcell[nx=3] \math{-\infty} \hfill \ma

<    1   2   3   4   5   6   7   8   >