[NTG-context] Emacs with context lmtx

2019-04-08 Thread Fabrice Couvreur
ment symbolp (ConTeXt PATH=/home/viserion/data/context/tex/texmf-linux-64/bin:$PATH context --purgeall %s TeX-run-command t t :help Run context (LMTX))) Thank you. Fabrice ___ If your question is of interest to oth

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

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] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
Hi Joseph, Yes I did it as with standalone context export PATH = $HOME/home/viserion/context/tex/texmf-linux-64/bin:$ PATH but writing this time export PATH = $HOME/home/viserion/data/context/tex/texmf-linux-64/bin:$ PATH Thanks Fabrice Le dim. 7 avr. 2019 à 23:07, Joseph Canedo a écrit : >

[NTG-context] Can not update Context Standalone

2019-04-07 Thread Fabrice Couvreur
e/viserion/texlive/2018/bin/x86_64-linux/context: ligne 2: /home/viserion/bin/mtxrun: Aucun fichier ou dossier de ce type [viserion@archlinux context]$ Thanks Fabrice ___ If your question is of interest to others as we

[NTG-context] luametatex : command not found

2019-04-07 Thread Fabrice Couvreur
commande introuvable mtx-context | fatal error: return code: 32512 [viserion@archlinux ~]$ Thanks Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@n

Re: [NTG-context] getdocumentargument in Metafun

2019-02-22 Thread Fabrice L
Le 22 février 2019 à 11:08:51, Aditya Mahajan (adit...@umich.edu) a écrit: Untested. Add quotes around FileName: > string FileName ; > FileName := "\getdocumentargument{File}" ; And not tested successfully ! Thanks a lot A

[NTG-context] getdocumentargument in Metafun

2019-02-22 Thread Fabrice L
:= \getdocumentargument{File} ; ThePage := \getdocumentargument{Page} ; draw textext("\externalfigure[" & FileName &"][page=" & ThePage &"]") xysized (48in,48in) ; \stopMPpage \stoptext I can get in the MPpage the page number in entry (9 in my example), but n

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

2019-02-19 Thread Fabrice Couvreur
Hi Otared, No that's not what I want to talk about. Before I got this "27 février 2019" and now this d = 27 m = 02 y = 2019. Thank you. Fabrice Le lun. 18 févr. 2019 à 14:31, Otared Kavian a écrit : > Hi Fabrice, > > Do you mean the fact that the date is not in the

[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] About the macro path intersectionpoint path with Metapost

2019-02-04 Thread Fabrice L
, Fabrice Couvreur (fabrice1.couvr...@gmail.com) a écrit: 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

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=, rul

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

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

[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

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 start

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

[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

[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

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

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

2019-01-26 Thread Fabrice Couvreur
Hi Henry, Thank you for your proposition. I tested both : the first work but not the second. Fabrice lua error > lua error on line 13 in file /home/viserion/Ntg_7.tex: ...ext/tex/texmf-context/tex/context/base/mkiv/tabl-xtb.lua:1269: attempt to index a nil value (upvalue 'data') 3

[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", &qu

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

2019-01-05 Thread Fabrice Couvreur
Hi Wolfgang and OK, > What is the result you get with LaTeX? > > > > Is this what you are looking for? > This is the expected result, thank you. Fabrice Le sam. 5 janv. 2019 à 16:45, Otared Kavian a écrit : > Hi Fabrice, > > I think you have to use >

[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

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

2019-01-03 Thread Fabrice Couvreur
\stopMPpage \stoptext Le jeu. 3 janv. 2019 à 07:12, Alan Braslau a écrit : > On Thu, 3 Jan 2019 16:22:06 +1300 (UTC) > Henri Menke wrote: > > > z is a MetaPost intrinsic, something along the lines of > > > > vardef z@#=(x@#,y@#) enddef; > > >

[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

[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

[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

[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

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

2018-11-11 Thread Fabrice Couvreur
Hi Wolfgang and Henri, Thank you so much. What is the document that allows me to find more information about context and lua ? Fabrice Le dim. 11 nov. 2018 à 09:57, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > > > Henri Menke schrieb am 11.11.18 um 01:25: &

[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

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

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

[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

[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

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

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

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”? &

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

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

[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

Re: [NTG-context] Variable instance identifiers exhausted

2018-09-21 Thread Fabrice L
Le 19 septembre 2018 à 15:47:07, Fabrice L (fabrice.al...@gmail.com) a écrit: Le 19 septembre 2018 à 15:28:54, Alan Braslau (braslau.l...@comcast.net (mailto:braslau.l...@comcast.net)) a écrit: > On Tue, 18 Sep 2018 19:21:31 -0700 > Fabrice L wrote: > > > The problem is that t

Re: [NTG-context] Variable instance identifiers exhausted

2018-09-18 Thread Fabrice L
Le 18 septembre 2018 à 03:11:40, Taco Hoekwater (t...@elvenkind.com) a écrit: > On 17 Sep 2018, at 21:17, Fabrice L wrote: > > Dear List, > > I’m running into a problem in Metapost (using Context of course!) > creating (I think) too many objects; I got this error message: >

Re: [NTG-context] Variable instance identifiers exhausted

2018-09-18 Thread Fabrice L
Le 18 septembre 2018 à 01:15:36, luigi scarso (luigi.sca...@gmail.com) a écrit: On Mon, Sep 17, 2018 at 9:18 PM Fabrice L wrote: > Dear List, > > I’m running into a problem in Metapost (using Context of course!) > creating (I think) too many objects; I got this error message:

[NTG-context] Variable instance identifiers exhausted

2018-09-17 Thread Fabrice L
, Fabrice. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http

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

[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

[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

Re: [NTG-context] Emacs + latest beta

2018-08-30 Thread Fabrice Couvreur
't use Archlinux package ? > I do not know ! What is the difference between both ? If it's better to do it with Arch Linux, I do it ! Is it necessary to add this at the end of each file ? %%% Local Variables: %%% mode: context %%% TeX-master: t %%% End: Thanks, Fabrice Le mer. 29 août

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-29 Thread Fabrice Couvreur
texlive/2018/texmf-dist/asymptote") (autoload 'asy-mode "asy-mode.el" "Asymptote major mode." t) (autoload 'lasy-mode "asy-mode.el" "hybrid Asymptote/Latex major mode." t) (autoload 'asy-insinuate-latex "asy-mode.el" "Asymptote insin

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
hat 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 écrit :

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

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
t; 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 context ins

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

[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

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 2

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Fabrice Couvreur
df 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, > ** Fabrice Couvreur [201

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Fabrice Couvreur
\processMPheadnumber#1% 9 {\useMPgraphic{NumberHead}} 10 >> 11 \setuphead 12[chapter] 13[command=\HeadTitle, 14 headstyle=\ss, 15 numbercommand=\processMPheadnumber, 16] 17 18 19 \unexpanded\def\HeadTitle#1#2% 20 {\framed ? Fabrice Le je

[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

[NTG-context] Emacs + latest beta

2018-08-22 Thread Fabrice Couvreur
] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber, ] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \startchapter[title=First

Re: [NTG-context] Textadept with ConTeXt

2018-08-21 Thread Fabrice Couvreur
e empty! The specified Application package is not valid. / usr / bin / xdg-open: line 881: x-www-browser: command not found > exit status: 0 Thanks Fabrice Le mar. 21 août 2018 à 02:00, Lars a écrit : > Hi there, thanks for your interest in Textadept. It's a great editor and I > am sure t

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

[NTG-context] Textadept with ConTeXt

2018-08-20 Thread Fabrice Couvreur
automatic output in pdf at the end of the process (as with Scite !) What to do with files in /home /aragorn/context/tex /texmf-context/context/data /textadept/ context/ ? Thank you. Fabrice ___ If your question is o

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

2018-08-20 Thread Fabrice Couvreur
Hi Hans, I made the following change but unfortunately without success : if PLAT_GTK name.context.console=rxvt name.context.gsview=gv name.context.acrobat=acroread name.flag.pdfopen=--autopdf name.flag.pdfopen=--autopdf=evince Fabrice Le lun. 20 août 2018 à 08:26, Hans

[NTG-context] Change PDF viewer with Scite

2018-08-19 Thread Fabrice Couvreur
. $ (File.patterns.context) = $ (name.context.evince) $ (FileDir) / $ (FileName) .pdf It does not work . Thank you. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

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, Fabrice Couvr

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, Fabrice Couvreur wr

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, sorry! &

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

[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

[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

[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

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

2018-08-16 Thread Fabrice Couvreur
Hi Henry, Sorry for the late response. In fact, I want a margin of 20 mm around the text box. In addition, playing with the options weight = and height = some images are distorted, including the one that I join. Thank you Fabrice \setuppagenumbering[alternative=doublesided,location

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

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

2018-08-14 Thread Fabrice Couvreur
Hi Henri, Thank you for your suggestion. However, I believe that my way of doing should not be the best because fixing width=\marginwidth the image is cropped. Fabrice \showframe \useMPlibrary[dum] \setuplayout [height=middle, width=middle, backspace=2cm, topspace=10mm, bottomspace

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

[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

[NTG-context] Scite + ConTeXt

2018-08-13 Thread Fabrice Couvreur
me > gv test.pdf then RET but nothing ... How to have evince as the default reader ? 3. How to have highlighting of context code with Scite ? Thanks Fabrice ___ If your question is of interest to others as w

[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

[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

[NTG-context] Define the dimensions of a layout

2018-08-08 Thread Fabrice Couvreur
+ headerdistance = 20mm footerdistance + footer + bottomdistance + bottom = 20 mm How to do ? Thanks Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

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

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

Re: [NTG-context] Problem with an enumeration

2018-08-01 Thread Fabrice Couvreur
Hi Wolfgang, Thank you very much ! Fabrice 2018-08-01 21:21 GMT+02:00 Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Hi Fabrice, > > I found the following example in my mail archive. > > %% > \define\ItemCommand > {\hskip\zeropoint\relax\autoinsertnex

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, Fabrice Couvr

[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

[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

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] Set up a theorem style

2018-07-25 Thread Fabrice Couvreur
st Section}] \dorecurse{2}{ \starttheorem \input ward \stoptheorem} \stopsection \stopchapter \startchapter[title={Second Chapter}] \startsection[title={Second Section}] \dorecurse{2}{ \starttheorem \input ward \stoptheorem} \stopsection \stopchapter \stoptext Than

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

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

[NTG-context] Numbering properties in a chapter

2018-07-23 Thread Fabrice Couvreur
Hello, I would like the numbering of the properties to be like this : First chapter Property 1.1 Property 1.2 Second chapter Property 2.1 Property 2.2 I thought it was enough to use the key way = bychapter Thanks Fabrice \define[1]\ProprieteHeadcommand {\textrule[top]{#1

<    1   2   3   4   5   6   7   8   9   10   >