Re: [NTG-context] bug in lmtx

2021-03-10 Thread Hans Hagen

On 3/9/2021 10:36 PM, Jano Kula wrote:

Hi Thomas,

On Tue, Mar 9, 2021 at 9:44 PM Wolfgang Schuster 
> wrote:


Thomas A. Schmitz schrieb am 09.03.2021 um 21:37:
 >
 > Test \hskip1em ἀβ

Test \hskip1em\relax ἀβ


This is likely the side effect of new implementation of glues in LMTX, 
where you can switch the order (\hskip 3pt minus 1pt plus 2pt) and do 
some other tricks. And there are more differences to /The TeXbook /as we 
know it, see luametatex.pdf.
indeed, but the disappearence is somewhat strange .. sode effect of utf 
(second byte is zero) .. fixed in next upload



-
  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] bug in lmtx

2021-03-09 Thread Jano Kula
Hi Thomas,

On Tue, Mar 9, 2021 at 9:44 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> Thomas A. Schmitz schrieb am 09.03.2021 um 21:37:
> >
> > Test \hskip1em ἀβ
>
> Test \hskip1em\relax ἀβ
>

This is likely the side effect of new implementation of glues in LMTX,
where you can switch the order (\hskip 3pt minus 1pt plus 2pt) and do some
other tricks. And there are more differences to *The TeXbook *as we know
it, see luametatex.pdf.

Jano
___
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] bug in lmtx

2021-03-09 Thread Wolfgang Schuster

Thomas A. Schmitz schrieb am 09.03.2021 um 21:37:

Hi Hans,

I've found a very interesting bug in lmtx. The following MWE gives the 
expected result in mkiv; in lmtx, one character is missing. Perhaps 
you can figure out what's happening...


All best

Thomas

\setupbodyfont [gentium, 12pt]

\starttext

Test \hskip1em ἀβ


Test \hskip1em\relax ἀβ

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
___


[NTG-context] bug in lmtx

2021-03-09 Thread Thomas A. Schmitz

Hi Hans,

I've found a very interesting bug in lmtx. The following MWE gives the 
expected result in mkiv; in lmtx, one character is missing. Perhaps you 
can figure out what's happening...


All best

Thomas

\setupbodyfont [gentium, 12pt]

\starttext

Test \hskip1em ἀβ

Test \hskip1em ἁβ

\stoptext
___
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] Bug in lmtx bibliography (numerals in entry?)

2020-12-01 Thread Damien Thiriet
Hello,


My bibliography files compiles fine in mkiv, but hangs in lmtx
Here is the error message:

tex error   > tex error on line 30 in file ./Nation_rev_empire.mkiv:
Use of \btxshowentryinline doesn't match its definition




 \btxflushlisttext ...tyleandcolor \c!style \c!color
\ignorespaces \publ_fast_setup \plusfour \s!list \currentbtxcategory
\removeunwantedspaces
\endgroup
 \btxflushlisttext
\ifx \currentbtxcombis \empty \else \btxrenderingparameter
\c!separator \btxflushlistcombis \fi
 \btx:list:inject:text ...al \btxinteractivetext \ifx
\currentbtxinternal \empty #1\else \goto {#1} [\s!internal
(\currentbtxinternal )]\fi \else #1
\fi

 \btx_entry_inject ...onal \c_btx_list_texts
\dostarttagged \t!listtext \s!left \currentbtxbefore
\dostoptagged \fi \btx_entry_inject_list_text
\ifconditional \c_btx_list_pages \dostarttagged
\t!listpage \empty \btx_entry_inject_pages \dostoptagged
\fi \ifconditiona...

 \currentlistentrytitle \dostarttagged
\t!listcontent \empty \btx_list_reference_inject
\btx_entry_inject
\dostoptagged

 \22>:139>:paragraph ...\relax \fi \fi \fi
\begingroup \useliststyleandcolor \c!textstyle
\c!textcolor \setstrut \begstrut
\currentlistentrytitle
\endstrut \endgroup \ifconditional
\c_lists_has_page \ifconditional
\c_lists_show_page \nobreak \currentlistfiller
\beging...

[…]

If you say, e.g., '\def\a1{...}', then you must always put '1' after
'\a',
since control sequence names are made up of letters only. The macro here
has not
been followed by the required stuff, so I'm ignoring it.

I am using a custom biblio style, but the command \btxshowentryinline is
not directly called inside.
My ConTeXt version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file:
/usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2020.11.19 11:28
mtx-context | main context file:
/usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2020.11.19 11:28



AFAIU, it  means my entry shouldn’t have numbers, right? If so, this may
be a bug, since entry biblio files often have a number inside

Best regards,

Damien Thiriet 

___
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] Bug in lmtx bibliography (numerals in entry?)

2020-12-01 Thread Hans Hagen

On 12/1/2020 10:02 AM, Damien Thiriet wrote:

Hello,


My bibliography files compiles fine in mkiv, but hangs in lmtx
Here is the error message:

tex error   > tex error on line 30 in file ./Nation_rev_empire.mkiv:
Use of \btxshowentryinline doesn't match its definition

I forgot the \tolerant prefix in:

\permanent\tolerant\protected\def\btxshowentryinline[#1]#*[#2]%

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] Bug with lmtx and color in table

2020-07-22 Thread Wolfgang Schuster

Fabrice Couvreur schrieb am 22.07.2020 um 17:09:

Hello,
With the latest version of lmtx, the background color of cells does not 
work.


Unrelated to tables.

You can reduce xtable and natural table based examples very often to a 
simple \framed because both tables types inherit many features from it.


\starttext

\startbuffer
\vrule width 4cm height 4cm depth 0pt\relax
\stopbuffer

\typebuffer \getbuffer

\startbuffer
\hrule width 4cm height 4cm depth 0pt\relax
\stopbuffer

\typebuffer \getbuffer

\startbuffer
\frule width 4cm height 4cm type fill\relax
\stopbuffer

\typebuffer \getbuffer

\stoptext

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
___


[NTG-context] Bug with lmtx and color in table

2020-07-22 Thread Fabrice Couvreur
Hello,
With the latest version of lmtx, the background color of cells does not
work.
Thank you.
Fabrice

\starttext
\startxtable
  [align={middle,lohi}, offset=0.8ex,background=color,
   backgroundcolor=red,frame=off]
  \startxrow
\startxcell
  \m{\displaystyle\binom{n-1}{k-1}}
\stopxcell
\startxcell[width=fit]
  \m{+}
\stopxcell
\startxcell
  \m{\displaystyle\binom{n-1}{k}}
\stopxcell
  \stopxrow
  \startxrow
\startxcell

\stopxcell
\startxcell[width=fit]
  \m{=}
\stopxcell
\startxcell
  \m{\displaystyle\binom{n}{k}}
\stopxcell
  \stopxrow
\stopxtable
\stoptext
___
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] Bug in lmtx or wrong setup?

2020-06-09 Thread Jan U. Hasecke
Hi all,

I encountered a very strange problem.

I want to have section headlines expanding the whole textarea, but the
following copy text of the section shall be typeset in columns.

I have this setup and it works fine.

\setuphead
  [section]
  [
   insidesection=\startcolumns,
   aftersection=\stopcolumns,
  ]


Except for one big problem. ConTeXt (current lmtx from 2020.05.18 16:50)
sometimes has problems to make a page break. And I get the weird result
shown on the attached screenshot.

After the page break the text of the section does not continue. Instead
a number is shown. In the log file I can't find something suspicious.

When I compile the source with current context (2020.01.30 14:13) I get
something like an infinite loop. ConTeXt hangs and has to be killed with
kill pid, Ctrl-C in terminal does not work

So, in my opinion my layout or setup causes a bad situation, where
ConTeXt does not know where to make a page break. While context hangs
and warns me, lmtx runs smoothly but places a number in the text, which
is bad as I might overlook it.

I tried to make mwe but I cannot reproduce the error.

Any ideas to improve my setup? Is this a bug or the intended behaviour?

juh
___
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] Bug in lmtx with \Bbb is back…

2019-08-19 Thread Hans Hagen

On 8/19/2019 9:21 AM, Otared Kavian wrote:

Hi Hans,

The issue with \Bbb is back again with the beta version 2019.08.18 22:27: lmtx 
uses math italic roman instead.
Again here is an example:

%%% begin bug-Bbb.tex
\starttext
Let $\beta \in {\Bbb R}$ and $k \in {\Bbb Z}$. For $z\in{\Bbb C}^*$ we define 
$f(z) := z^k +\beta$.

\stoptext
%%% end bug-Bbb.tex

ok, fixed in next ...

-
  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] Bug in lmtx with \Bbb is back…

2019-08-19 Thread Otared Kavian
Hi Hans,

The issue with \Bbb is back again with the beta version 2019.08.18 22:27: lmtx 
uses math italic roman instead.
Again here is an example:

%%% begin bug-Bbb.tex
\starttext
Let $\beta \in {\Bbb R}$ and $k \in {\Bbb Z}$. For $z\in{\Bbb C}^*$ we define 
$f(z) := z^k +\beta$.

\stoptext
%%% end bug-Bbb.tex

Best regards: OK

> On 10 Aug 2019, at 13:53, Otared Kavian  wrote:
> 
> Hi Hans,
> 
> Thanks a lot for having fixed the issue in the latest beta, version 
> 2019.08.09 19:59 …
> 
> Best regards: OK
> 
>> On 9 Aug 2019, at 14:48, Otared Kavian  wrote:
>> 
>> Hi Hans,
>> 
>> It seems that there is a bug in the handling of Blackboard Bold, in the 
>> latest lmtx (version 2019.08.02 19:40). The following gives the attached PDF 
>> file.
>> However the same file typesets correctly in the latest mkiv beta.
>> 
>> Thanks for your attention: OK
>> 
>> \starttext
>> 
>> The set of integers is denoted ${\Bbb N}$.
>> 
>> \stoptext
>> 
>> 
> 

___
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] Bug in lmtx in display mathmode

2019-08-19 Thread Hans Hagen

On 8/19/2019 12:20 AM, Otared Kavian wrote:

Hi Hans,

I have a long document which typesets correctly with mkiv, but I get a (cryptic 
for me…) fatal error message when I try to typeset it in lmtx:

! error:  (nodes): trying to delete an attribute reference of a non attribute 
list node 4476mtx-context | fatal error: return code: 256

I could finally find the origin of the error, which is exposed in the following 
example: if you comment out the part from \startformula ... \stopformula, the 
file typesets correctly.
But with this part, one gets the above error message, the culprit being 
\liminfbar which is defined in the first line. Note that \liminfbar is accepted 
when it is inline math.

Best regards: OK

%%% begin bug-math-lmtx.tex

\definemathcommand[liminfbar][limop] {\underline{\mfunctionlabeltext{lim}}}

\starttext
If $(u_{n})_{n}$ is a sequence of real numbers, we define its {\it limit 
inferior}, denoted $\liminfbar$ by setting:
\startformula
a_{n} := \inf\{u_{k} \; ; \; k \geq n \},
\qquad\text{and then}\quad
\liminfbar_{n\to\infty} u_{n} := \sup_{n \geq 1} a_{n}.
\stopformula

\stoptext

%%% end bug-math-lmtx.tex

also in yesterdays beta?

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
___


[NTG-context] Bug in lmtx in display mathmode

2019-08-18 Thread Otared Kavian
Hi Hans,

I have a long document which typesets correctly with mkiv, but I get a (cryptic 
for me…) fatal error message when I try to typeset it in lmtx:

! error:  (nodes): trying to delete an attribute reference of a non attribute 
list node 4476mtx-context | fatal error: return code: 256

I could finally find the origin of the error, which is exposed in the following 
example: if you comment out the part from \startformula ... \stopformula, the 
file typesets correctly.
But with this part, one gets the above error message, the culprit being 
\liminfbar which is defined in the first line. Note that \liminfbar is accepted 
when it is inline math.

Best regards: OK

%%% begin bug-math-lmtx.tex

\definemathcommand[liminfbar][limop] {\underline{\mfunctionlabeltext{lim}}}

\starttext
If $(u_{n})_{n}$ is a sequence of real numbers, we define its {\it limit 
inferior}, denoted $\liminfbar$ by setting:
\startformula
a_{n} := \inf\{u_{k} \; ; \; k \geq n \},
\qquad\text{and then}\quad
\liminfbar_{n\to\infty} u_{n} := \sup_{n \geq 1} a_{n}.
\stopformula 

\stoptext

%%% end bug-math-lmtx.tex
___
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] Bug in lmtx with \Bbb

2019-08-10 Thread Otared Kavian
Hi Hans,

Thanks a lot for having fixed the issue in the latest beta, version 2019.08.09 
19:59 …

Best regards: OK

> On 9 Aug 2019, at 14:48, Otared Kavian  wrote:
> 
> Hi Hans,
> 
> It seems that there is a bug in the handling of Blackboard Bold, in the 
> latest lmtx (version 2019.08.02 19:40). The following gives the attached PDF 
> file.
> However the same file typesets correctly in the latest mkiv beta.
> 
> Thanks for your attention: OK
> 
> \starttext
> 
> The set of integers is denoted ${\Bbb N}$.
> 
> \stoptext
> 
> 

___
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] Bug in lmtx with \Bbb

2019-08-09 Thread Otared Kavian
Hi Hans,

It seems that there is a bug in the handling of Blackboard Bold, in the latest 
lmtx (version 2019.08.02 19:40). The following gives the attached PDF file.
However the same file typesets correctly in the latest mkiv beta.

Thanks for your attention: OK

\starttext

The set of integers is denoted ${\Bbb N}$.

\stoptext



bug-lmtx.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 / 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] Bug in LMTX: Color is lost after linebreak

2019-08-07 Thread Hans Hagen

On 8/7/2019 12:36 PM, Henri Menke wrote:

Dear devs,

there seems to be a bug in LMTX.  In the MWE below, the letter right
after the linebreak is black instead of gray.  I'm using the latest
beta.

fixed in next lmtx update

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
___


[NTG-context] Bug in LMTX: Color is lost after linebreak

2019-08-07 Thread Henri Menke
Dear devs,

there seems to be a bug in LMTX.  In the MWE below, the letter right
after the linebreak is black instead of gray.  I'm using the latest
beta.

mtx-context | main context file: 
/opt/context-lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2019.07.24 11:31
mtx-context | main context file: 
/opt/context-lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2019.08.02 19:50

Cheers, Henri

---

\starttext

\startstandardmakeup[align=middle]

\tfd\setupinterlinespace
\color[middlegray]{%
  Why is the letter right after the linebreak not gray?}

\stopstandardmakeup

\stoptext
___
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
___