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

Re: [NTG-context] Textadept with ConTeXt

2018-08-21 Thread Fabrice Couvreur
//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 problem. > > > Am 21/08/2018 um 00:55 schrieb Fabrice Couvreur: > > Hello, > In order to use anoth

[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

[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

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

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

[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

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

2018-08-16 Thread Fabrice Couvreur
eight=\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 suggesti

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

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,

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

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

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

[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.* blablablabla >

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

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
that the 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
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 Couvreur : > T

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]

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

2018-07-16 Thread Fabrice Couvreur
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,

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

[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

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 <j.ha...@xs4all.nl>: > On 4/25/2018 4:59 PM, Fabrice Couvreur wrote: > >> Hello, >> In this environment, when the text has sufficien

[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

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 <fabrice1.couvr...@gmail.com>: > 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 <

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 <ne...@nililand.de>: > Am Sat, 21 Apr 2018 11:41:36 +0200 schrieb Fabrice Couvreur: > > > Hello, > > I got the ca

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

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 <j.ha...@xs4all.nl>: > On 4/9/2018 6:33 PM, Fabrice Couvreur wrote: > >> Hi Hans, >> The solution you propose fixes the problem with t

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 <j.ha...@xs4all.nl>: > On 4/8/2018 11:08 AM, Fabrice Couvr

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

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

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

2018-04-08 Thread Fabrice Couvreur
the \symbol[EUR], but 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 <fabrice1.couvr...@gmail.com>

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

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

2018-03-22 Thread Fabrice Couvreur
ntrol sequences: 46427 of 65536 + 10 mkiv lua stats > lua properties: engine: lua 5.3, used memory: 83 MB (ctx: 83 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.457 seconds, 1 processed pages, 1 shipped pages, 2.188 pages/second mtx

[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

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

Re: [NTG-context] Problem with a macro

2018-02-25 Thread Fabrice Couvreur
Wolfgang Schuster <schuster.wolfg...@gmail.com>: > > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 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

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]

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

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 <pra...@wxs.nl>: > On 2/21/2018 6:04 PM, Fabrice Couvreur wrote: > >> Hi Hans, >> I used for personal documents some of the macros you wrote to

[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

[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
xtensible[integral][rightoffset=-3mu,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 <fabrice1.couvr...@gmail.com> > wrote: > > > > Hi Hans

[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

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 <schuster.wolfg...@gmail.com>: > > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 3. Februar 2018 um 11:20 > Hi Wolfgang, > Thank you, we get almost what I want. > With your suggestio

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 <schuster.wolfg...@gmail.com>: > > > F

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 <fabrice1.couvr...@gmail.com>: > Hello, > How to make the first item on the baseline of the numbering as in the > first exercise ? > Thanks. > Fabrice > > \defineframed > [ACFRAME] &g

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

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 <adit...@umich.edu>: > On Thu, 18 Jan 2018, Fabrice Couvreur wrote: > > Hello, >> Thank you. >> @Adytan This module is not part of context standalone, in which direc

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 <adit...@umich.edu>: > On Wed, 17 Jan 2018, Fabrice Couvreur wrote: > > Hello, >> This macro that is not min

[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
3 PM, Joseph Canedo wrote: > >> 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 Couv

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

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

2018-01-02 Thread Fabrice Couvreur
; > > On 31 Dec 2017, at 11:57, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > > Hello, > Thank you for your solution that works on the proposed example, but that > does not work on a more complex example. > Fabrice > > \definemixedcolumns >

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

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

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

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 <pra...@wxs.nl>: > On 12/16/2017 11:44 PM, Fabrice Couvreur wrote: > >> Hello, >> Why are the second level items not on the same

[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

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
/share/asymptote/plain_shipout.asy: 87.10: runtime: shipout failed 2017-11-02 12:45 GMT+01:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Sorry test-2.asy compile with OpenGL output > > 2017-11-02 12:43 GMT+01:00 Fabrice Couvreur <fabrice1.couvr...@gmail.

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 <fabrice1.couvr...@gmail.com>: > 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 i

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 <fabrice1.couvr...@gmail.

Re: [NTG-context] Asymptote with Context

2017-11-02 Thread Fabrice Couvreur
at 09:54, Fabrice Couvreur wrote: > > 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. > > A more relevant question woul

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

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 <fabrice1.couvr...@gmail.com>: > Hi Aditya, > > What happens when you run

Re: [NTG-context] Asymptote with Context

2017-10-28 Thread Fabrice Couvreur
e no. For example the one who is attached does not work Thanks Fabrice 2017-10-27 13:38 GMT+02:00 Aditya Mahajan <adit...@umich.edu>: > On Fri, 27 Oct 2017, Fabrice Couvreur wrote: > > I enclose the files you requested >> > > 1. What happens when you run > > as

Re: [NTG-context] Undesirable space with mixedcolumns

2017-10-27 Thread Fabrice Couvreur
14:32, Fabrice Couvreur <fabrice1.couvr...@gmail.com> a écrit : > Hello, > I notice a space when I use the command \math{\lim\limits_{n \to +\infty} > 0,8^n=0} and mixedcolumns. > Thanks. > Fabrice > # > > \de

Re: [NTG-context] Asymptote with Context

2017-10-27 Thread Fabrice Couvreur
Hi Aditya, I enclose the files you requested Thank you Fabrice 2017-10-26 17:09 GMT+02:00 Aditya Mahajan <adit...@umich.edu>: > On Thu, 26 Oct 2017, Fabrice Couvreur wrote: > > https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html >> >> Hi, >>

[NTG-context] Asymptote with Context

2017-10-26 Thread Fabrice Couvreur
https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html Hi, I tested the file and the figure is not drawn but I get the following message "[[output file missing" Thanks Fabrice ___ If your question is of

[NTG-context] Undesirable space with mixedcolumns

2017-10-25 Thread Fabrice Couvreur
Hello, I notice a space when I use the command \math{\lim\limits_{n \to +\infty} 0,8^n=0} and mixedcolumns. Thanks. Fabrice # \definemixedcolumns [sectioncolumns] [ n=2, separator=rule, rulecolor=, balance=yes, ]

Re: [NTG-context] Page printed upside down

2017-10-24 Thread Fabrice Couvreur
Hi Pablo, I like to separate so that students concentrate their reading, but it's my point of view that is not scientific. Fabrice 2017-10-23 17:22 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 10/23/2017 12:34 PM, Fabrice Couvreur wrote: > > Hi Pablo, > > Thank you for t

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
Hi Pablo, Thank you for the links and for your help. I'm going to look at Metafun for the vertical line. Fabrice 2017-10-22 9:48 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 10/21/2017 11:45 PM, Fabrice Couvreur wrote: > > Hi Pablo, > > Sorry for the late response. I

Re: [NTG-context] Page printed upside down

2017-10-21 Thread Fabrice Couvreur
-18 18:44 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 10/18/2017 06:00 PM, Fabrice Couvreur wrote: > > Hi, > > With this > > > > \setuppapersize[A4,landscape] > > \setupinteractionscreen[option=landscape] > > > > I get a double-sided page th

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
| 4 1 | 2 Difficult to explain without showing. Is it possible ? Thank you Fabrice 2017-10-18 9:05 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>: > Hi Pablo, > I printed the file at my high school yesterday and the output is not the > one expected. I get a docum

<    1   2   3   4   5   6   7   8   >