Re: [NTG-context] building from source

2023-03-21 Thread Rainer J.H. Brandt via ntg-context
Hans Hagen via ntg-context writes:
> On 3/21/2023 12:14 PM, Rainer J.H. Brandt via ntg-context wrote:
> > Dear Context developers,
> > 
> > I want to build Context MkXL from source and use that.  I went to the
[...]
> First define 'build from source'. The lmtx (mkxl) installation can be 

Building from source is the production of executables from source code
files, using the appropriate tools for the chosen type of source code,
e.g. compilers, linkers, and other build tools like GNU autotools,
make, cmake, or other build mechanisms.  With regard to complete
software packages, the process usually also takes care of moving other
support files to where they are expected at run-time.  (Coming from
LaTeX, I would expect e.g. formats, fonts, style files etc.)

> installed using an installer. If there is not one for the platform one 
> uses, then one can download the cont-lmt zip and build the binary in 
> /source/luametatex usign the build.sh script in there.

Thanks.  That's the first step of what I was looking for.
Using "bash build.sh", the build succeeded.

The output gives hints about what to put where.  I'll see if I can turn
it into something that resembles what you offer via the installer packages.

Thanks, Rainer
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] The same Table, im Math Modus?

2023-03-21 Thread Ursula Hermann via ntg-context
Von: Ursula Hermann
Gesendet: Montag, 13. März 2023 12:51
An: 'mailing list for ConTeXt users' 
Betreff: Table

I'd like to do a Table lik this one, is this possible with Math Modus?
[enter image description here]
I have no example. How can I do that?

Many thanks
Uschi


Von: Ursula Hermann
Gesendet: Montag, 13. März 2023 12:51
An: 'mailing list for ConTeXt users' 
Betreff: Table

I'd like to do a Table lik this one
[enter image description here]
I have no example. How can I do that?

Many thanks
Uschi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] building from source

2023-03-21 Thread Hans Hagen via ntg-context

On 3/21/2023 12:14 PM, Rainer J.H. Brandt via ntg-context wrote:

Dear Context developers,

I want to build Context MkXL from source and use that.  I went to the
download page http://www.pragma-ade.com/download-1.htm and downloaded
the 2023-03-20 version:
http://www.pragma-ade.com/context/latest/cont-tmf.zip

This contains README.adoc which tells me that information can be found
on https://wiki.contextgarden.net.

I don't find any further information about building from source, either
in the dowloaded material, or on the wiki or the pragma-ade.com site.

What am I overlooking?
First define 'build from source'. The lmtx (mkxl) installation can be 
installed using an installer. If there is not one for the platform one 
uses, then one can download the cont-lmt zip and build the binary in 
/source/luametatex usign the build.sh script in there.


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


Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
Sorry everyone, ignore me, it doesn't work.

(Got my test files mixed up - aargh!)

> On 21 Mar 2023, at 11:06, Bruce Horrocks via ntg-context  
> wrote:
> 
> 
> Thanks Julian - I tried a startstop environment originally but it didn't work.
> 
> The answer turns out to be trivial - just needed to use \long\def for 
> \stoptabulate so the following appears to work:
> 
> \def\startMyExample{\starttabulate[|r|c|l|p|]}
> \long\def\stopMyExample{\stoptabulate}  %% long def required here
> \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR}
> 
> \starttext
> Here are some examples...
> 
> \startMyExample
>  \MyExampleItem{before}{after}{change before into after}
>  \MyExampleItem{straw}{gold}{Rumpelstiltskin}
> \stoptabulate
> 
> \stoptext
> 
> 
>> On 21 Mar 2023, at 05:23, jbf via ntg-context  wrote:
>> 
>> Not sure if this helps, Bruce, but there is \definestartstop
>> 
>> Julian
>> 
>> On 21/3/23 10:34, Bruce Horrocks via ntg-context wrote:
>>> I have a technical manual style document that requires a lot of examples to 
>>> be included.
>>> 
>>> They can easily be typeset with a table so I thought I would save myself 
>>> some typing by defining macros for the various bits of a tabulate table. 
>>> Thus I have:
>>> 
>>> \def\startMyExample{\starttabulate[|r|c|l|p|]}
>>> \def\stopMyExample{\stoptabulate}
>>> \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR}
>>> 
>>> \starttext
>>> Here are some examples...
>>> 
>>> \startMyExample
>>>  \MyExampleItem{before}{after}{change before into after}
>>>  \MyExampleItem{straw}{gold}{Rumpelstiltskin}
>>> \stopMyExample
>>> %\stoptabulate
>>> 
>>> \stoptext
>>> 
>>> The problem is that \stopMyExample doesn't work - the \stoptabulate isn't 
>>> recognised and I get an end of file reached error. If use a straight 
>>> \stoptabulate then it works as expected. That's fine but it would be nice, 
>>> from an aesthetic point of view, to have start & stop 'paired' commands in 
>>> the source.
>>> 
>>> Presumably some sort of deep ConTeXt fu is going on - can anyone explain it 
>>> please?
>>> 
>>> Regards,
>>> —
>>> Bruce Horrocks
>>> Hampshire, UK
> 
> —
> Bruce Horrocks
> Hampshire, UK
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___


—
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] building from source

2023-03-21 Thread Rainer J.H. Brandt via ntg-context
Dear Context developers,

I want to build Context MkXL from source and use that.  I went to the
download page http://www.pragma-ade.com/download-1.htm and downloaded
the 2023-03-20 version:
http://www.pragma-ade.com/context/latest/cont-tmf.zip

This contains README.adoc which tells me that information can be found
on https://wiki.contextgarden.net.

I don't find any further information about building from source, either
in the dowloaded material, or on the wiki or the pragma-ade.com site.

What am I overlooking?

Thanks, Rainer
-- 
Rainer J.H. Brandt
Email: r...@bb-c.de
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context

Thanks Julian - I tried a startstop environment originally but it didn't work.

The answer turns out to be trivial - just needed to use \long\def for 
\stoptabulate so the following appears to work:

\def\startMyExample{\starttabulate[|r|c|l|p|]}
\long\def\stopMyExample{\stoptabulate}  %% long def required here
\def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR}

\starttext
Here are some examples...

\startMyExample
  \MyExampleItem{before}{after}{change before into after}
  \MyExampleItem{straw}{gold}{Rumpelstiltskin}
\stoptabulate

\stoptext


> On 21 Mar 2023, at 05:23, jbf via ntg-context  wrote:
> 
> Not sure if this helps, Bruce, but there is \definestartstop
> 
> Julian
> 
> On 21/3/23 10:34, Bruce Horrocks via ntg-context wrote:
>> I have a technical manual style document that requires a lot of examples to 
>> be included.
>> 
>> They can easily be typeset with a table so I thought I would save myself 
>> some typing by defining macros for the various bits of a tabulate table. 
>> Thus I have:
>> 
>> \def\startMyExample{\starttabulate[|r|c|l|p|]}
>> \def\stopMyExample{\stoptabulate}
>> \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR}
>> 
>> \starttext
>> Here are some examples...
>> 
>> \startMyExample
>>   \MyExampleItem{before}{after}{change before into after}
>>   \MyExampleItem{straw}{gold}{Rumpelstiltskin}
>> \stopMyExample
>> %\stoptabulate
>> 
>> \stoptext
>> 
>> The problem is that \stopMyExample doesn't work - the \stoptabulate isn't 
>> recognised and I get an end of file reached error. If use a straight 
>> \stoptabulate then it works as expected. That's fine but it would be nice, 
>> from an aesthetic point of view, to have start & stop 'paired' commands in 
>> the source.
>> 
>> Presumably some sort of deep ConTeXt fu is going on - can anyone explain it 
>> please?
>> 
>> Regards,
>> —
>> Bruce Horrocks
>> Hampshire, UK

—
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Hans Hagen via ntg-context

On 3/21/2023 12:34 AM, Bruce Horrocks via ntg-context wrote:

I have a technical manual style document that requires a lot of examples to be 
included.

They can easily be typeset with a table so I thought I would save myself some 
typing by defining macros for the various bits of a tabulate table. Thus I have:

\def\startMyExample{\starttabulate[|r|c|l|p|]}
\def\stopMyExample{\stoptabulate}
\def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR}

\starttext
Here are some examples...

\startMyExample
   \MyExampleItem{before}{after}{change before into after}
   \MyExampleItem{straw}{gold}{Rumpelstiltskin}
\stopMyExample
%\stoptabulate

\stoptext

The problem is that \stopMyExample doesn't work - the \stoptabulate isn't 
recognised and I get an end of file reached error. If use a straight \stoptabulate 
then it works as expected. That's fine but it would be nice, from an aesthetic 
point of view, to have start & stop 'paired' commands in the source.

Presumably some sort of deep ConTeXt fu is going on - can anyone explain it 
please?

\definetabulate[MyExample][|r|c|l|p|]

\def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR}

\startMyExample
  \MyExampleItem{before}{after}{change before into after}
  \MyExampleItem{straw}{gold}{Rumpelstiltskin}
\stopMyExample


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


[NTG-context] wtf ligature

2023-03-21 Thread Henning Hraban Ramm via ntg-context

example:
https://chaos.social/@stralau/110045470196046463

We need this urgently in all the fonts!

;)
Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Bug in tabulate

2023-03-21 Thread Hans Hagen via ntg-context

On 3/21/2023 7:20 AM, Li Yanrui (李延瑞) via ntg-context wrote:

Hi,

Please see the following example:

\startTEXpage[offset=5mm]
\starttabulate[|c|c|c|]
\VL 1 \VL 2 \VL 3\VL\NR
\stoptabulate
\blank
\starttabulate[|c|c|c|]
\NC 1 \NC 2 \NC 3\NR
\stoptabulate
\stopTEXpage

In its result, there is a rule in the left side of the second tabulate. 
The result is attached. My lmtx version is 2023.03.20 17:07.

in tabl-tbl.mkxl you can patch this

\def\tabl_tabulate_vrule_reset_step % undefined or relax
  {\gletcsname\??tabulatevrule0\endcsname\undefined
   \gletcsname\??tabulatevrule\the\fastloopindex\endcsname\undefined}

after that remake the format,

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


[NTG-context] Bug in tabulate

2023-03-21 Thread 李延瑞
Hi,

Please see the following example:

\startTEXpage[offset=5mm]
\starttabulate[|c|c|c|]
\VL 1 \VL 2 \VL 3\VL\NR
\stoptabulate
\blank
\starttabulate[|c|c|c|]
\NC 1 \NC 2 \NC 3\NR
\stoptabulate
\stopTEXpage

In its result, there is a rule in the left side of the second tabulate. The
result is attached. My lmtx version is 2023.03.20 17:07.

-- 
Best regards,

Li Yanrui


foo.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___