[NTG-context] changes of color

2021-09-21 Thread Thierry Horsin via ntg-context
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
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] io.loaddata() or buffer.assigns()

2021-09-08 Thread Thierry Horsin via ntg-context
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 checked that err.cpp is well and truly created when g++ fails. 
\startluacode
io.savedata("complx.h",buffers.getcontent("MyBuffer1"))
io.savedata("complx.cpp",buffers.getcontent("MyBuffer2"))
io.savedata("testcomplx.cpp",buffers.getcontent("MyBuffer3"))
local l=os.execute("g++ -O3 -Wall -o testcomplx testcomplx.cpp 
complx.cpp 2> err.cpp")
if l==0 then
os.execute("./testcomplx > testcomplx.tmp")
buffers.assign("MyBuffer",io.loaddata("testcomplx.tmp"))
else
buffers.assign("Mybuffer",io.open("err.cpp","r"))

end
\stopluacode

Many thanks
Thierry
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] getting line numbers

2021-09-04 Thread Thierry Horsin via ntg-context
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
> 
> but it is not always accurate (because content can come from anyplace, e.g.
> lua)
> 
> 
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] getting line numbers

2021-09-04 Thread thierry horsin via ntg-context

Hi and thank you Aditaya and again Hans.

By the way, just for fun , is there a(n easy) way to get the linenumber 
in the tex file ?


Thanks


On 03/09/2021 18:04, ntg-context-requ...@ntg.nl wrote:


--

Message: 4
Date: Fri, 3 Sep 2021 14:16:40 +0200
From: Hans Hagen 
To: mailing list for ConTeXt users 
Cc: Thierry Horsin 
Subject: Re: [NTG-context] getting line numbers
Message-ID: <807e4b7c-97ae-e20e-3207-28393544c...@xs4all.nl>
Content-Type: text/plain; charset=utf-8; format=flowed

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;
  cout << mysum(a,b) << endl;
  return 0;
}
int mysum(int a, int b) {
  return a+b;
}
\stopbuffer

We compile and run:

\typebuffer[MyBuffer][option=C]

\startluacode
io.savedata("test.cpp",buffers.getcontent("MyBuffer"))
--os.execute("g++ -o test test.cpp")
--os.execute("./test > test.tmp")
os.execute("echo done > test.tmp")
buffers.assign("MyBuffer",io.loaddata("test.tmp"))
\stopluacode

And get:

\typebuffer[MyBuffer]

Or just:

\typefile{test.tmp}

\stoptext


-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH 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 
Subject: Re: [NTG-context] getting line numbers
Message-ID:

Content-Type: text/plain; charset=US-ASCII

On Fri, 3 Sep 2021, Thierry Horsin via ntg-context wrote:


 https://github.com/adityam/filter

Behind the scenes, it works by saving the content in an external file and then
running it through any external program. It also allows for caching the
result, and has many options for customizing the behavior.

Aditya



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] getting line numbers

2021-09-03 Thread 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;
> cout << mysum(a,b) << endl;
> return 0;
> }
> int mysum(int a, int b) {
> return a+b;
> }
> \stopbuffer
> 
> We compile and run:
> 
> \typebuffer[MyBuffer][option=C]
> 
> \startluacode
> io.savedata("test.cpp",buffers.getcontent("MyBuffer"))
> --os.execute("g++ -o test test.cpp")
> --os.execute("./test > test.tmp")
> os.execute("echo done > test.tmp")
> buffers.assign("MyBuffer",io.loaddata("test.tmp"))
> \stopluacode
> 
> And get:
> 
> \typebuffer[MyBuffer]
> 
> Or just:
> 
> \typefile{test.tmp}
> 
> \stoptext
> 
> 
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] getting line numbers

2021-09-03 Thread Thierry Horsin via ntg-context
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 following example below. \startC \stopC 
defines a framed part of text written between lines 538 and 549. Of course, if 
I add something before or inbetween my framed code, 538 and/or 549 will change. 
Thus I would like to get these two numbers automatically.

Thank you.
Thierry

\startC
#include 

using namespace std;
int mysum(int,int); int a; int b;
int main () { a=2; b=9;
  cout << mysum(a,b) << endl;
  return 0; 
}
int mysum(int a, int b)
{ return a+b; }
\stopC

\startluacode
myout = io.open("test.cpp", "w")
myin = io.open(tex.jobname..".tex", "r")
local n=0
for line in myin:lines() do
n=n+1
if n>539 and n<550 then
myout:write(line.."\n")
 end   
end
myout:close()
myin:close()
os.execute("g++ -o test test.cpp")
os.execute("./test > tmp")
local file=assert(io.open("tmp","r"))
local t = file:read("*all")
tex.print(t)
\stopluacode





___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] No formula in the pdf (Ursula Hermann)

2021-09-01 Thread Thierry Horsin via ntg-context
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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Thierry Horsin via ntg-context
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.
> > 
> > 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 you don't change the seed, you get the same result upon each 
> > typesetting, and a seed is given in the .tuc file.
> > 
> > For example I have this:
> > ["randomseed"]=0x1.0741c18b8a4ep-6
> > 
> > How do I use (and is it possible to) this value to have the same result of 
> > math.random() upon typesetting another file (with a different name) ?
> > 
> > I could provide a same fixed seed in both files, but for some reasons I 
> > would like to re-use some previous results of math.random() for which no 
> > seed was initially given in another .tex file.
> You have to go low level ...
> 
> % \ctxlua{utilities.randomizer.setseed(0x1.0741c18b8a4ep-6)}
> % \ctxlua{utilities.randomizer.setseed(0x1.6822232009d5p-5)}
> 
> \setrandomseed{123}
> 
> \starttext
> test \randomnumber{1}{100}
> test \randomnumber{1}{100}
> test \randomnumber{1}{100}
> \stoptext
> 
> btw, the 0x representation is lua's low level binary representation of a
> double.
> 
> Hans
> 
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Curiosity about math.random in LuaTeX

2021-08-23 Thread Thierry Horsin via ntg-context
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 you don't change the seed, you get the same result upon each typesetting, 
and a seed is given in the .tuc file.

For example I have this:
["randomseed"]=0x1.0741c18b8a4ep-6

How do I use (and is it possible to) this value to have the same result of 
math.random() upon typesetting another file (with a different name) ?

I could provide a same fixed seed in both files, but for some reasons I would 
like to re-use some previous results of math.random() for which no seed was 
initially given in another .tex file.

Thank you
Thierry
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin

Hi Hans,

and thanks

I tried your suggestion (I guess you mean cont-new.mkxl instead of 
cont-new.mlxl)


It is still giving some errors. Besides, there is also now an error with 
xfrac (which was ok without modifying cont-new.mkxl)


Thierry

On 19/04/2021 10:36, Hans Hagen wrote:

On 4/19/2021 9:39 AM, thierry horsin wrote:

For instance:

\switchtobodyfont[21pt]

\startformula
\frac{MTC}{MTE}
\stopformula

is OK.

While

\switchtobodyfont[22pt]

\startformula
\frac{MTC}{MTE}
\stopformula

gives an error

but

\switchtobodyfont[22pt]

$\frac{MTC}{MTE}$ works fine.

Thanks

Below: part of the error message

tex error   > tex error on line 75 in file chapter8.tex: 
Dimension too large

can you test with this in cont-new.mlxl:

\unprotect

\protected\def\math_strut_htdp#1% nasty!

{\s!height\dimexpr(\fontcharht#1\c_math_strut/\glyphscale)*\mathscale#1\relax 

   \s!depth 
\dimexpr(\fontchardp#1\c_math_strut/\glyphscale)*\mathscale#1\relax}


\protect

this sort of excessive scaling has to do with the new (more efficient) 
low level scaling model that we're going to switch to later this year, 
you can test that by putting this at the top of the file (document 
wide setting) which for math is kind of complex because of the 
additional sizes (so we operate on several axis)


\enableexperiments[fonts.compact]

Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin

For instance:

\switchtobodyfont[21pt]

\startformula
\frac{MTC}{MTE}
\stopformula

is OK.

While

\switchtobodyfont[22pt]

\startformula
\frac{MTC}{MTE}
\stopformula

gives an error

but

\switchtobodyfont[22pt]

$\frac{MTC}{MTE}$ works fine.

Thanks

Below: part of the error message

tex error   > tex error on line 75 in file chapter8.tex: Dimension 
too large



 \math_strut_htdp #1->\s!height \dimexpr \mathscale #1\fontcharht 
#1\c_math_strut
    /\glyphscale \relax \s!depth \dimexpr \mathscale #1\fontchardp 
#1\c_math_strut /\glyphscale \relax
 \commalistcommand \vrule \s!width \zeropoint \normalexpanded 
{\math_strut_htdp {\mathstylefont \normalmathstyle }}

    \relax
 \math_fraction_inner_normal #1#2->\Ustack {\math_frac_command_u 
{\usemathstyleparameter \mathfractionparameter {\m_fractions_strut_top
    #1}}{\usemathstyleparameter \mathfractionparameter 
{\m_fractions_strut_bot #2}}}\math_frac_wrapup


 \frac{MTC}{MTE}

On 19/04/2021 09:35, Hans Hagen wrote:

On 4/19/2021 9:21 AM, thierry horsin wrote:

Hi again everybody

I have tested some more examples. This error occurs when I fix the 
current font size to 22 pt (for some slide purposes). For sizes lower 
than 22pt, I have no error messages.

can you make a MWE

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin

Hi again everybody

I have tested some more examples. This error occurs when I fix the 
current font size to 22 pt (for some slide purposes). For sizes lower 
than 22pt, I have no error messages.


Best

Thierry


On 19/04/2021 05:17, thierry horsin wrote:

Hi everybody

Since I updated to the last version of context , I cannot use \frac 
anymore in \startformula.


I get the following message "I can't work with sizes bigger than about 
19 feet. Continue and I'll use the

largest value I can."

Yet, between $ $ it is fine.



Any ideas ?

Many thanks.



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] \frac error

2021-04-18 Thread thierry horsin

Hi everybody

Since I updated to the last version of context , I cannot use \frac 
anymore in \startformula.


I get the following message "I can't work with sizes bigger than about 
19 feet. Continue and I'll use the

largest value I can."

Yet, between $ $ it is fine.



Any ideas ?

Many thanks.


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Running mtxrun in a continuous batch mode

2020-11-06 Thread thierry horsin

Hi Ramkumar,

Maybe you could have some scripts that check when the JSON file is 
modified and if so launches the compilation. I did that sort of script 
in order to have a continuous compilation process by checking every 
second if my current .tex file is modified.


Best

Thierry

On 06/11/2020 09:38, Ramkumar KB wrote:

Hans,

Thank you for the suggestions. Let me try them out and feedback back 
to you (as the batch set-up involves > 10,000 docs).


Best,
Ramkumar

On Wed, Nov 4, 2020 at 7:24 PM Hans Hagen > wrote:


On 11/4/2020 4:48 AM, Ramkumar KB wrote:
> Hans,
>
> Thank you so much for the kind response.
>
> Apologies that I was not very clear in my initial query. I have -
>
>  1. MyStatement.tex, with all the necessary fonts, static text,
images,
>     header, footer etc
>  2. MyStatement.tex reads from a JSON file for certain sections
of the
>     document for the dynamic content
>  3. context MyStatement.tex produces MyStatement.pdf
>
> How do I do the above steps 1 to 3 in a continuous fashion such
that -
>
>   * Output is MyStatement_1.pdf (reads from data_1.json),
>     MyStatement_2.pdf (reads from data_2.json) and so on
>   * The tex processing is fast as fonts etc are loaded once (as
the Tex
>     template is same for all the MyStatement_n.pdf)
>
>  From the sample code that you gave, I get a hint that this can be
> possibly done using ConTeXt Lua Document approach. Is this correct?
i'd just write a script that calls context like

context mystatement.tex --myjsonsection=1 --batch
context mystatement.tex --myjsonsection=2 --batch
context mystatement.tex --myjsonsection=3 --batch

etc .. maybe --once if no multipass is needed, or --runs=2 if you
know
how many runs are needed

to stay in a run and kind of restart is asking for troubles
because what
should be reset? of course i could context make do that buit it
doesn't
pay off

an alternative that you generate one document with all statements and
use mutool to split of the pages

but anyway, nowadays machines are fast enough to have separate
runs (and
one can run them in parallel)

Hans


-
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl
 | www.pragma-pod.nl

-


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] lmt_axis

2020-11-06 Thread thierry horsin

Dear list,

I am currently trying to test the lmt_axis exemple in luametafont.pdf. I 
am working on linux/ubuntu. The exemple leads to compilation errors 
below. The current version of context that I am using is from last july.


I have succeeded with other examples, e.g. surfaces or lmt_text

Any insight about this issue ?

Many thanks.

Thierry


metapost log    > >> unknown path p
metapost log    > >> 0
metapost log    > ! Equation cannot be performed (unknown path=numeric).
metapost log    > 
metapost log    >    (path)
metapost log    > 
metapost log    >    ;
metapost log    >  ...nts"(getparameterdefault"close"false);
metapost log > draw.p.withcolor.c;pushpar...
metapost log    >  ...i;popparameters;popparameters;endfor
metapost log > ;popparameters;fi;popparam...
metapost log    >
metapost log    > image->...ture;currentpicture:=nullpicture;(TEXT3)
metapost log > ;currentpicture.if.str(SUF...
metapost log    >
metapost log    > lmt_do_axis->...r;popparameters;fi;popparameters;)
metapost log > xyscaled(getparameter"axis...
metapost log    >  lmt_do_axis
metapost log    >
metapost log    > <*> ...gment 1", "segment 2", "segment 3" } ] }, ]
metapost log >    ; ;
metapost log    >
close source    > level 2, order 3, name './CoursCSC214.tex'
pages   > flushing realpage 78, userpage 131, subpage 78
close source    > level 1, order 3, name 'cont-yes.mkiv'

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] --silent and so on

2020-07-22 Thread thierry horsin

Thanls a lot.

Thierry

Le 22/07/2020 à 18:08, Wolfgang Schuster a écrit :

thierry horsin schrieb am 22.07.2020 um 17:57:

Hi everybody

I am a current context user since now many years and in particular I 
use it on linux with automatic compilation with a bash script 
detecting any modifications of the .tex file. In order for this to 
work I used with previous versions


the "--nonstopmode --batchmode --silent --noconsole" compilation 
options.


With these options with a new error in the .tex files with old 
versions of mkiv the previous pdf produced was not changed. Now with 
lmtx, appears a single page pdf file with ERROR written on it. Are 
there compulations options with lmtx in order to have something 
similar as before ?


context --nodummy 

Wolfgang
___ 

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___ 


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] --silent and so on

2020-07-22 Thread thierry horsin

Hi everybody

I am a current context user since now many years and in particular I use 
it on linux with automatic compilation with a bash script detecting any 
modifications of the .tex file. In order for this to work I used with 
previous versions


the "--nonstopmode --batchmode --silent --noconsole" compilation options.

With these options with a new error in the .tex files with old versions 
of mkiv the previous pdf produced was not changed. Now with lmtx, 
appears a single page pdf file with ERROR written on it. Are there 
compulations options with lmtx in order to have something similar as 
before ?


Any ideas ?

Thanks

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] --silent and so on

2020-05-04 Thread Thierry Horsin

Hi everybody

I am a current context user since now many years and in particular I use 
it with automatic compilation with a bash script detecting any 
modifications of the .tex file. In order for this to work I used with 
previous versions


the --nonstopmode --batchmode --silent --noconsole options

With these options when an error occured the previous pdf produced was 
not changed. Now  with the last version appears a single page pdf file 
with ERROR written on it. Is there a way to have something similar as 
before ?


Any ideas.

Thanks



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___