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-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] 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 control the vertical alignment with a

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

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

[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

[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

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

[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

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

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

[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

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

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

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-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] 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=10mm

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

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

[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

[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

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
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] 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}} \setupenume

Re: [NTG-context] Problem with pagella font (beta)

2018-07-23 Thread Fabrice Couvreur
les) and put them in your local > tex directory in your home folder, e.g. > > ~/texmf/fonts/data/texgyre/ > > or you put them in your tex installation, e.g. > > texmf-fonts/fonts/data/texgyre/ > > [1] http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole > &

[NTG-context] Problem with pagella font (beta)

2018-07-23 Thread Fabrice Couvreur
Hello, I only use the standalone version of ConteXt with Emacs. I can not use the pagella font anymore because the text is in bold type. Wolfgang told me a discussion about this problem that still does not seem to be resolved. By cons, no problem with ConteXt of Texlive 2018. Thank you Fabrice

Re: [NTG-context] Some questions about the presentation of a book

2018-07-21 Thread Fabrice Couvreur
​ 2018-07-20 23:55 GMT+02:00 Fabrice Couvreur : > Hello, > I would like to modify the file below to : > > - center the title "Sommaire" > - delete the line of the first page > - center the title of each chapter > - delete the line on each page with the title of the c

[NTG-context] Some questions about the presentation of a book

2018-07-20 Thread Fabrice Couvreur
Hello, I would like to modify the file below to : - center the title "Sommaire" - delete the line of the first page - center the title of each chapter - delete the line on each page with the title of the chapter Thanks for your help Fabrice ###

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

2018-07-19 Thread Fabrice Couvreur
Hello, I'm starting a new discussion about compiling a file with Emacs. I will try to be clear: 1. Compilation without Emacs in a terminal (Xterm): /home / aragorn / texlive / 2018 / bin / x86_64-linux / context Test.tex Ok! / home / aragorn / context / tex / linux-64 / bin / context Test.tex

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-18 Thread Fabrice Couvreur
7/2018 16:40, Hans Hagen wrote: > >> On 7/17/2018 10:30 PM, Rik wrote: > >>> On 7/16/2018 10:24, Fabrice Couvreur wrote: > >>>> % macros=mkvi > >>>> > >>>> \setuppagenumbering[location=footer] > >>>> > >>

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Fabrice Couvreur
problem comes from Emacs ? Fabrice 2018-07-17 21:03 GMT+02:00 Pablo Rodriguez : > On 07/17/2018 12:36 PM, Fabrice Couvreur wrote: > > Hi Hans, > > In fact, the file compiles well with the beta version but only from a > > terminal by running the > > /home/aragorn/con

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Fabrice Couvreur
es/";) t) (Package-initialize)) (setenv "PATH" "/home/aragorn/context/tex/texmf-linux-64/bin: $ PATH" t) (setq ConTeXt-mode-hook (lambda () (setq TeX-command-extra-options "--purgeall"))) Thank you Fabrice 2018-07-16 19:42 GMT+02:00 Fabrice Cou

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Fabrice Couvreur
The chapter number does not appear. My editor is emacs and I compile with Context Full. 2018-07-16 19:27 GMT+02:00 Hans Hagen : > On 7/16/2018 4:24 PM, Fabrice Couvreur wrote: > >> Hello, >> The idea is to make a chapter header as with the "titlesec" package. My &g

[NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Fabrice Couvreur
Hello, The idea is to make a chapter header as with the "titlesec" package. My code compiles under texlive context 2018 but does not compile with last beta contest standalone. Thank you Fabrice % macros=mkvi \setuppagenumbering[location=footer] \star

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Fabrice Couvreur
not in bold face. > > Best regards: OK > > On 15 Jul 2018, at 23:39, Fabrice Couvreur > wrote: > > Good evening, > In the code below, why is the text in bold ? > Thank you > Fabrice > > \setupbodyfont[pagella,11pt] > > \defineframed >[ACFRAME] >

[NTG-context] Strange behavior !

2018-07-15 Thread Fabrice Couvreur
Good evening, In the code below, I get frames filled in black ​ ​ ! Thank you Fabrice \setupbodyfont [palatino,11pt] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor[MyColorA][.75(MyColorB,white)] \defineframedtext [MyText] [frame=off, background=MyFrame, width=\

[NTG-context] Strange behavior with font pagella

2018-07-15 Thread Fabrice Couvreur
Good evening, In the code below, why is the text in bold ? Thank you Fabrice \setupbodyfont[pagella,11pt] \defineframed [ACFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=black, foregroundcolor=white, forgroundsty

[NTG-context] Compile problem after update

2018-07-15 Thread Fabrice Couvreur
Hello, I just updated context standalone and this file does not compile anymore, but I do not see why. Thank you Fabrice \switchtobodyfont[11pt] \definelayout [noheader] [header=26pt, headerdistance=25pt, backspace=2cm, width=middle, topspace=\dimexpr 2

Re: [NTG-context] Horizontal line after text in an environment

2018-04-26 Thread Fabrice Couvreur
Hi Hans, Thank you it works perfectly. I know this command but I never know when to use it. Fabrice 2018-04-25 21:22 GMT+02:00 Hans Hagen : > On 4/25/2018 4:59 PM, Fabrice Couvreur wrote: > >> Hello, >> In this environment, when the text has sufficient height, the horizont

[NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Fabrice Couvreur
Hello, In this environment, when the text has sufficient height, the horizontal line is well below the figure. However when the height of text is not sufficient, the position of the line is not correct and I would like it also below the figure. Thanks Fabrice \setuptolerance[stretch,verytolerant]

Re: [NTG-context] Strange behavior with cambria font

2018-04-21 Thread Fabrice Couvreur
Hi Ulrike, It does not work Fabrice 2018-04-22 0:19 GMT+02:00 Fabrice Couvreur : > Hi Wolfgang, > The text is not in italic but the font is not the one expected : > LMRoman10-Regular > Fabrice > > 2018-04-21 15:07 GMT+02:00 Ulrike Fischer : > >> Am Sat, 21 Apr 2018 11:

Re: [NTG-context] Strange behavior with cambria font

2018-04-21 Thread Fabrice Couvreur
Hi Wolfgang, The text is not in italic but the font is not the one expected : LMRoman10-Regular Fabrice 2018-04-21 15:07 GMT+02:00 Ulrike Fischer : > Am Sat, 21 Apr 2018 11:41:36 +0200 schrieb Fabrice Couvreur: > > > Hello, > > I got the cambria font and installed it : > &g

[NTG-context] Strange behavior with cambria font

2018-04-21 Thread Fabrice Couvreur
Hello, I got the cambria font and installed it : The text is in italic ! Thanks Fabrice # fab@debian:~$ mtxrun --script font --list "cambria*" --all resolvers | trees | analyzing 'home:texmf' identifier familynamefontnamefilen

Re: [NTG-context] Text overflowing on a figure included in a float

2018-04-09 Thread Fabrice Couvreur
Hi Hans, It's true I wanted to talk about style and not class. I added \mainlanguage [fr]. Fabrice 2018-04-09 19:44 GMT+02:00 Hans Hagen : > On 4/9/2018 6:33 PM, Fabrice Couvreur wrote: > >> Hi Hans, >> The solution you propose fixes the problem with the attached file,

Re: [NTG-context] Text overflowing on a figure included in a float

2018-04-09 Thread Fabrice Couvreur
Hi Hans, The solution you propose fixes the problem with the attached file, thanks. However, the problem is not solved if I use the class you created for the document ​ fonts-mkiv.​ Fabrice 2018-04-08 11:54 GMT+02:00 Hans Hagen : > On 4/8/2018 11:08 AM, Fabrice Couvreur wrote: > &g

Re: [NTG-context] Macro to write the euro symbol

2018-04-09 Thread Fabrice Couvreur
Hi Hans, Thank you for the clarification. Fabrice 2018-04-08 11:50 GMT+02:00 Hans Hagen : > On 4/8/2018 9:09 AM, Otared Kavian wrote: > >> Hi Fabrice, >> >> I don't know about the \symbol[EUR], but you can use directly the € >> symbol as in: >> >> \unexpanded\def\euros#1{#1\,€} >> \starttext >> >

[NTG-context] Text overflowing on a figure included in a float

2018-04-08 Thread Fabrice Couvreur
Hello, Sorry if the example is not minimal but otherwise it would be difficult to explain the problem. The text overflows on the figure and I do not know how to correct this. Thank you Fabrice \usemodule[pgfplots] \pgfplotsset{compat=newest} \starttext \placefigure[right,none]{}{ \hbox{\framed{

Re: [NTG-context] Macro to write the euro symbol

2018-04-08 Thread Fabrice Couvreur
ut you can use directly the € symbol > as in: > > \unexpanded\def\euros#1{#1\,€} > \starttext > > \euros{100} > > \stoptext > > Best regards: OK > > > > On 7 Apr 2018, at 23:56, Fabrice Couvreur > wrote: > > Hello, > This macro does not work

[NTG-context] Macro to write the euro symbol

2018-04-07 Thread Fabrice Couvreur
Hello, This macro does not work anymore and I do not understand why. Thank you \unexpanded\def\euros#1{#1\,\symbol[EUR]} \starttext \euros{100} \stoptext ___ If your question is of interest to others as well, please

Re: [NTG-context] Fwd: Macro to write a vector (Metafun) is broken

2018-03-22 Thread Fabrice Couvreur
0, 4 instances, load time 0.115 seconds mkiv lua stats > metapost processing time: 0.006 seconds, loading: 0.018, execution: 0.003, n: 8, average: 0.003, instances: 1, memory: 2.519 M mkiv lua stats > used platform: linux-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats > us

[NTG-context] Macro to write a vector (Metafun) is broken

2018-03-20 Thread Fabrice Couvreur
Hello Hans, The macro you wrote to draw the arrows of the vectors does not seem to work anymore. Thank you Fabrice \useMPlibrary[mat] % will be in meta-imp-mat.mkiv \startMPextensions vardef math_stacker_arrow_shape = image ( drawarrow (OverlayWidth,Ov

[NTG-context] Space between lines with mathematical writings

2018-03-17 Thread Fabrice Couvreur
Hello, When I write text with mathematics, I find that the space between two lines is not enough because the formulas overflow one over the other. How to correct this ? Thank you Fabrice \switchtobodyfont[asana,12pt] \definemixedcolumns [Mycolumns] [ n=2, separator=rule, rulecolor

Re: [NTG-context] Problem with a macro

2018-02-25 Thread Fabrice Couvreur
Wolfgang Schuster : > > Fabrice Couvreur > 22. Februar 2018 um 22:15 > Hi, > How to make the numbers of the integral are on the right with the macro of > Hans ? > > The position of the limits are fixed for the \autointegr

Re: [NTG-context] Problem with a macro

2018-02-22 Thread Fabrice Couvreur
Hi, How to make the numbers of the integral are on the right with the macro of Hans ? Thanks Fabrice \setupmathdelimiter[integral][rightoffset=-3mu,exact=yes,factor=2] \unexpanded\def\integ#1#2#3{\math{\autointegral{#1}{#2}{#3}\,\diff x}} \starttext \setupmathematics[integral=nolimits] \startf

Re: [NTG-context] Bug with the "class" used to create the fonts-mkiv document

2018-02-21 Thread Fabrice Couvreur
> > the size of the titles and the font that is in bold Problems with font xits ... Fabrice 2018-02-21 20:19 GMT+01:00 Wolfgang Schuster : > > Hans Hagen > 21. Februar 2018 um 19:36 > > i don't generate / touch manuals when i'm in the middle of something (as > they can end up in the distribu

Re: [NTG-context] Bug with the "class" used to create the fonts-mkiv document

2018-02-21 Thread Fabrice Couvreur
Would not it be easier if you recompile your document to see if there is a problem ? 2018-02-21 18:19 GMT+01:00 Hans Hagen : > On 2/21/2018 6:04 PM, Fabrice Couvreur wrote: > >> Hi Hans, >> I used for personal documents some of the macros you wrote to create the >> fonts

[NTG-context] Bug with the "class" used to create the fonts-mkiv document

2018-02-21 Thread Fabrice Couvreur
Hi Hans, I used for personal documents some of the macros you wrote to create the fonts-mkiv document. I wanted to modify one of my documents and there are problems with the floats that are more in the right place, the size of the titles and the font that is in bold since my update of context stand

[NTG-context] Bug with module pgfplots ?

2018-02-11 Thread Fabrice Couvreur
Hello, Following a standalone context update, all files that use the pgfplots module produce the following error message : tex error > tex error on line 85 in file /home/fab/ntg77.tex: ! You can't use `the character 7' after \the 7 \pdflastobj ->\pdffeedback lastobj /pgfpat4\space \the

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Fabrice Couvreur
mu,exact=yes, > factor=2] > then your example typesets well with the last beta version 2018.02.09 00 > :04. > > Best regards: OK > > > On 11 Feb 2018, at 09:35, Fabrice Couvreur > wrote: > > > > Hi Hans, > > The macro that you proposed me worked very well

[NTG-context] Problem with a macro

2018-02-11 Thread Fabrice Couvreur
Hi Hans, The macro that you proposed me worked very well but since my update of context standalone, it does not work any more. Thank you. Fabrice \setupmathextensible[integral][rightoffset=-3mu,exact=yes,factor=2] \unexpanded\def\integ#1#2#3{\math{\autointegral{#1}{#2}{#3}\diff x}} \starttext \i

Re: [NTG-context] Question about an environment

2018-02-04 Thread Fabrice Couvreur
Hello Wolfgang, Thanks. Fabrice 2018-02-03 14:29 GMT+01:00 Wolfgang Schuster : > > Fabrice Couvreur > 3. Februar 2018 um 11:20 > Hi Wolfgang, > Thank you, we get almost what I want. > With your suggestion, we have this : > > 1. First > Second > Third &

Re: [NTG-context] Question about an environment

2018-02-03 Thread Fabrice Couvreur
Hi Wolfgang, Thank you, we get almost what I want. With your suggestion, we have this : 1. First Second Third Is it possible to have this : 1. First Second Third Thank you. Fabrice 2018-02-02 18:17 GMT+01:00 Wolfgang Schuster : > > > Fabrice Couvreur > 28. Januar 2

Re: [NTG-context] Question about an environment

2018-01-31 Thread Fabrice Couvreur
. 2. 3. Thank you. Fabrice 2018-01-28 22:54 GMT+01:00 Fabrice Couvreur : > Hello, > How to make the first item on the baseline of the numbering as in the > first exercise ? > Thanks. > Fabrice > > \defineframed > [ACFRAME] > [frame=off, >boffset=0pt, >

[NTG-context] Question about an environment

2018-01-28 Thread Fabrice Couvreur
Hello, How to make the first item on the baseline of the numbering as in the first exercise ? Thanks. Fabrice \defineframed [ACFRAME] [frame=off, boffset=0pt, width=fit, align=flushleft, location=low, background=color, backgroundcolor=MyColorA] \defineframed [EXFRAME] [f

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Fabrice Couvreur
Very great job, I will save a lot of time ! Fabrice 2018-01-18 19:12 GMT+01:00 Aditya Mahajan : > On Thu, 18 Jan 2018, Fabrice Couvreur wrote: > > Hello, >> Thank you. >> @Adytan This module is not part of context standalone, in which directory >> is it better to put

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Fabrice Couvreur
Hello, Thank you. @Adytan This module is not part of context standalone, in which directory is it better to put it ? Fabrice 2018-01-18 4:53 GMT+01:00 Aditya Mahajan : > On Wed, 17 Jan 2018, Fabrice Couvreur wrote: > > Hello, >> This macro that is not mine worked very well. I

[NTG-context] Problem with \definemathmatrix

2018-01-17 Thread Fabrice Couvreur
Hello, This macro that is not mine worked very well. I just tested the following file and there is a problem. Thank you Fabrice \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] \starttext \math{M^3=\startpmatrix \NC 2 \NC 3 \NC 6 \NC 4 \NC 2 \NC 7 \NC 3 \NC 1 \NR

Re: [NTG-context] Problem with string.format (Lua)

2018-01-14 Thread Fabrice Couvreur
rote: > >> Hi Fabrice, >> >> string.format behaves more or less as C printf. You probably need to >> specify %.4g in 1st argument. >> >> Hope this helps >> >> Best >> >> Joseph >> >> *De : *Fabrice Couvreur <mailto:fabrice1.c

[NTG-context] Problem with string.format (Lua)

2018-01-14 Thread Fabrice Couvreur
Hello, I start with Lua and I try to display my result with 4 decimal places without success. Thank you Fabrice \startluacode function Binomial(n,k,p) if k > n then return nil end if k > n/2 then k = n - k end numer, denom = 1, 1 for i = 1, k do numer = numer * ( n - i + 1

Re: [NTG-context] Multicolumn enumeration in a column

2018-01-02 Thread Fabrice Couvreur
Hi Jan Willem, Thank you, it's a good idea ! Fabrice 2018-01-02 18:06 GMT+01:00 Jan Willem Flamma : > Fabrice, > > Please have a look at: > https://www.mail-archive.com/ntg-context@ntg.nl/msg86189.html > > Kind regards, > Jan Willem Flamma > > > On 31 D

Re: [NTG-context] Fwd: Re: Multicolumn enumeration in a column

2017-12-31 Thread Fabrice Couvreur
two > \stopitem > \stopitemize > > \column > > \startitemize[packed] > \startitem > one > \stopitem > \startitem > two > \stopitem > \stopitemize > > \column > > \startitemize[packe

[NTG-context] Multicolumn enumeration in a column

2017-12-30 Thread Fabrice Couvreur
Hello, How to modify the code for an enumeration on three columns in a column ? Thank you Fabrice \definemixedcolumns [Mycolumns] [ n=2, separator=rule, rulecolor=, balance=, grid=strut, ] \setupalign[verytolerant,stretch,hanging] \setuppapersize[A4,landscape] \setupin

Re: [NTG-context] Strange behavior with itemize

2017-12-18 Thread Fabrice Couvreur
Hello Hans, It works well with context in Texlive but not with context in Standalone. Thank you. Fabrice 2017-12-17 21:56 GMT+01:00 Hans Hagen : > On 12/16/2017 11:44 PM, Fabrice Couvreur wrote: > >> Hello, >> Why are the second level items not on the same baseline ? >&g

[NTG-context] Strange behavior with itemize

2017-12-16 Thread Fabrice Couvreur
Hello, Why are the second level items not on the same baseline ? Thank you. Fabrice \starttext \startitemize[n] \item Donner l'ensemble de définition \math{\cal D} de la fonction \math{f}. \item Comparer, lorsque c'est possible, les images : \blank \startitemize[a,columns,three,joinedup][gri

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
/Asymptote/share/asymptote/plain_shipout.asy: 87.10: runtime: shipout failed 2017-11-02 12:45 GMT+01:00 Fabrice Couvreur : > Sorry test-2.asy compile with OpenGL output > > 2017-11-02 12:43 GMT+01:00 Fabrice Couvreur : > >> I check if the installation of Asymptote is correct. >

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
Sorry test-2.asy compile with OpenGL output 2017-11-02 12:43 GMT+01:00 Fabrice Couvreur : > I check if the installation of Asymptote is correct. > If I compile the file test-1.asy it works with a pdf output but if I > compile the file test-2.asy it does not work and the pdf file is empt

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
): WARNING **: Unimplemented annotation: POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla ( http://bugzilla.gnome.org) with a testcase. (evince:8297): Poppler-WARNING **: Unsupported Annot Type fab@debian:~$ 2017-11-02 11:26 GMT+01:00 Fabrice Couvreur : > I will first specify t

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
work because some libraries were missing https://sourceforge.net/p/asymptote/discussion/409349/thread/d208bdcc/ fab@debian:~$ which asy /home/fab/Asymptote/bin/asy fab@debian:~$ Fabrice 2017-11-02 10:14 GMT+01:00 Mojca Miklavec : > On 2 November 2017 at 09:54, Fabrice Couvreur wrote: >

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
Hi Aditya > Are you using context minimals or texlive? With Emacs, I work with context minimals and command 'ConTeXt Full' but I also tried with texlive 2017. If you compile the attach ntg71.tex file, do you get ntg71-macro.pdf? No Fabrice 2017-11-01 16:49 GMT+01:00 Mojca Miklavec : > On

Re: [NTG-context] Asymptote with Context

2017-11-01 Thread Fabrice Couvreur
Hi Aditya, I continue to test files, some work (ntg70.tex) and some do not (ntg71.tex). This seems to depend on imported modules but why ? Thank you. Fabrice 2017-10-28 12:38 GMT+02:00 Fabrice Couvreur : > Hi Aditya, > > What happens when you run >> >> asy -tex "contex

Re: [NTG-context] Asymptote with Context

2017-10-28 Thread Fabrice Couvreur
e yes, some no. For example the one who is attached does not work Thanks Fabrice 2017-10-27 13:38 GMT+02:00 Aditya Mahajan : > On Fri, 27 Oct 2017, Fabrice Couvreur wrote: > > I enclose the files you requested >> > > 1. What happens when you run > > asy -tex "co

<    1   2   3   4   5   6   7   8   >