Hi everybody
After some part of a tex file where there is some startMPcode section the color
of the text (e.g. blue) changes to black up until the next page in the pdf.
Is there something I am missing ?
Thank you.
Thierry
__
Hi everybody
Are there any type of files that is required by io.loaddata or/and
buffers.assign ?
The following code works pretty well if there is no compilation problem by g++.
But it fails, i.e. \typebuffer[Mybuffer], does not produce anything if g++
fails (due to some errors in the cpp)
I have
Thank you Hans.
For what I had in mind (compiling some c++ inside a tex file) it seems to work.
Anyway for this I am currently using the buffer and typebuffer solution you
provide.
T.
Le Saturday 04 Sep 2021 à 10:35:34 (+0200), Hans Hagen a écrit :
> there has always been
>
> \the\inputlineno
Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
--
------
Message: 6
Date: Fri, 3 Sep 2021 09:53:58 -0400 (EDT)
From: Aditya Mahajan
To: Thierry Horsin via ntg-context
Many thanks Hans.
Thierry
Le Friday 03 Sep 2021 à 14:16:40 (+0200), Hans Hagen a écrit :
> in this case, thinking a bit different is easier ...
>
> \starttext
>
> \startbuffer[MyBuffer]
> #include
>
> using namespace std;
> int mysum(int,int);
> int a; int b;
> int main () {
> a=2; b=9;
Hi everybody
Is there a way to have an automatic access to the current line number of a
specific place inside a tex file ? To be more precise, here is what I would
like to do.
I am currently trying to have some automatic external compilation by g++ of
some portion of my tex file as in the foll
Hi Ursula,
I tried your formula.
The reason might be because you have two \starttext...
Thierry
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / h
Hi again,
Many thanks to Hans and Hans and Henri.
The solution (going to low level) provided by Hans works fine.
Best
Thierry
Le Monday 23 Aug 2021 à 17:13:00 (+0200), Hans Hagen a écrit :
> On 8/23/2021 4:46 PM, Thierry Horsin via ntg-context wrote:
> > Hi everybody.
> >
> &
Hi everybody.
I wonder how does math.random() work in context. I found that this subject was
discussed more than ten years ago by Otared and Taco and Thomas. It is clear to
me how to obtain new results upon typesetting the same file by changing the
value of math.randomseed (with os.time()).
If