[NTG-context] startup error

2023-07-20 Thread Roland Thiers via ntg-context
Hello everyone, I am coming back to Context after a while. I have updated ConTeXt LMTX, everything seemed to go well. I have the following problem: If I run: context Hello-world.tex I get the message "startup error : no format file given, quitting" I am clueless! Thanks in advance for your help, R

Re: [NTG-context] update fails

2014-01-06 Thread Roland Thiers
Le 6 janv. 2014 à 10:36, Hans Hagen a écrit : > On 1/5/2014 6:36 PM, Roland Thiers wrote: >> Hi everybody, >> First of all, my best wishes of a very happy new year to all users of this >> list ! >> >> I used to update context standalone with the scr

[NTG-context] update fails

2014-01-05 Thread Roland Thiers
Hi everybody, First of all, my best wishes of a very happy new year to all users of this list ! I used to update context standalone with the script ctx-update : cd /Users/rolandthiers/context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh ./first-setup.sh --modules=all --eng

Re: [NTG-context] Configure AUCTeX to run context not texec

2013-11-08 Thread Roland Thiers
Le 8 nov. 2013 à 18:47, Michael Ash a écrit : > > > Does anyone know how to change the command from "texexec" to "context" in > emacs/AUCTeX? > I have that in my preference.el (I use aquamacs) : --8<---cut here---start->8--- (defun rol-context () (intera

Re: [NTG-context] command for a MP graphic

2013-05-07 Thread Roland Thiers
Le 8 mai 13 à 06:56, Wolfgang Schuster a écrit : Am 07.05.2013 um 22:28 schrieb Roland Thiers : Thank you very much for this precision, Wolfgang. I tried with two variables and it works with this syntax : \startuniqueMPgraphic{polygoneregulier} numeric u ; u:=\MPvar{unite}*cm

Re: [NTG-context] command for a MP graphic

2013-05-07 Thread Roland Thiers
≥ Le 7 mai 13 à 13:05, Wolfgang Schuster a écrit : Am 07.05.2013 um 09:51 schrieb Marco Patzer : On 2013–05–07 Roland Thiers wrote: Hi, I did this code to get a regular polygon with metafun, it works but I would like to have an user command like \define or \def to be able to choose the

Re: [NTG-context] command for a MP graphic

2013-05-07 Thread Roland Thiers
Le 7 mai 13 à 09:51, Marco Patzer a écrit : \startuniqueMPgraphic{polygoneregulier}{sides} drawoptions (withpen pencircle scaled 2pt); numeric u ; u:=1*cm ; numeric n ; n:=\MPvar{sides}; pair a[]; a[0]:=(0,3u); path polygone[] ; for i=1 upto n : a[i]:=a[0] rotatedaround(origin,i*360/n)

[NTG-context] command for a MP graphic

2013-05-07 Thread Roland Thiers
ed 6u withcolor blue; \stopbuffer \define \polyreg {\processMPbuffer[largeurdeslignes,polygoneregulier,cercleunite]} \starttext \polyreg \stoptext Thanks, Roland Thiers ___ If your question is of interest to others as

Re: [NTG-context] text overlayed

2013-03-04 Thread Roland Thiers
Le 4 mars 13 à 12:37, Marco Patzer a écrit : On 2013–03–04 Roland Thiers wrote: I'm learning a little bit of metapost language, using metafun manual. I made some background for a title (surely the code is awful, thanks for suggestions of improvement) but it's static, i'd lik

[NTG-context] text overlayed

2013-03-04 Thread Roland Thiers
Hello all, I'm learning a little bit of metapost language, using metafun manual. I made some background for a title (surely the code is awful, thanks for suggestions of improvement) but it's static, i'd like to adapt it to the widthof the text. I don't know if it is possible from my code and if

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Roland Thiers
Le 28 janv. 13 à 10:11, Janne Junnila a écrit : Indeed it seems like the alignment is good with \dfrac, but this does not solve my problem, since I wish to also use fractions with script-size or scriptscript-size (\xfrac, \xxfrac). The specific formula I have is \startformula f_{B_t | B_s = S,

Re: [NTG-context] Math typesetting problems

2013-01-27 Thread Roland Thiers
Le 27 janv. 13 à 12:52, Janne Junnila a écrit : Hi all, Another problem I have is related to the positioning of minus signs in front of fractions. I would expect the minus sign to align with the horizontal line of the fraction, as it does on LaTeX. Below is an example formula to illust

Re: [NTG-context] \IncludePicture in SimpleSlides

2013-01-04 Thread Roland Thiers
Le 4 janv. 13 à 23:39, Thomas A. Schmitz a écrit : On 12/30/2012 03:05 AM, Roland Thiers wrote: Hello, I have tried the simpleslides module. Starting with it is very nice. I have get some trouble with \IncludePicture. Running : ConTeXt ver: 2012.12.28 20:30 MKIV fmt: 2012.12.29 int

[NTG-context] \IncludePicture in SimpleSlides

2012-12-29 Thread Roland Thiers
Hello, I have tried the simpleslides module. Starting with it is very nice. I have get some trouble with \IncludePicture. Running : ConTeXt ver: 2012.12.28 20:30 MKIV fmt: 2012.12.29 int: english/english \IncludePicture [horizontal] [riviere] {La Dumbéa} do not work. Maybe that problem is new (p

Re: [NTG-context] to pass an argument in a macro

2012-12-25 Thread Roland Thiers
Le 25 déc. 12 à 23:24, Hans Hagen a écrit : On 12/25/2012 9:36 AM, Roland Thiers wrote: - when one create a table doing this : userdata=userdata or {}, is it only to be sure that "userdata" is not actually a variable which exists (with a non nil value) ? Less safely we c

Re: [NTG-context] to pass an argument in a macro

2012-12-25 Thread Roland Thiers
Am 23.12.2012 um 02:58 schrieb Roland Thiers : Bonjour, I am new in ConTeXt. I love its features. I need some (or a lot of) help. I tried to get a macro which compute some values for a math function. Le 23 déc. 12 à 18:43, Wolfgang Schuster a écrit : \startluacode userdata

[NTG-context] to pass an argument in a macro

2012-12-22 Thread Roland Thiers
Bonjour, I am new in ConTeXt. I love its features. I need some (or a lot of) help. I tried to get a macro which compute some values for a math function. With help from the wiki ConTeXt Garden and some time I could do that - write my function userdata.f - write another function to put the values in

Re: [NTG-context] Numerical Calculations

2012-12-19 Thread Roland Thiers
Le 20 déc. 12 à 05:43, Troy Henderson a écrit : Do \luaexpr{1/3.8} and \ctxcommand{format("@0.3f",1/3.8)} return numbers or strings? That is, I would like to use these results in a \if or \ifnum command to exit a \doloop. Troy Bonjour, \ctxlua{context(type(\luaexpr{1/3.8}))} gives : num