[NTG-context] Something broke between 2021.07.23 and 2021.08.19

2021-08-23 Thread Bruce Horrocks via ntg-context
I re-processed a previous issue of a journal and found that it no longer 
compiled. It worked fine in versions up to and including 2021.07.23 but fails 
by version 2021.08.19 19:48. It may have failed a little earlier than this - I 
don't always refresh every release.

The error in the console log is:

[...]
open source > level 2, order 9, name 'covers/inside-front-cover.tex'
tex error   > tex error on line 24 in file covers/inside-front-cover.tex: 

lua error:

registered function call [396]: 
...-64/tex/texmf-context/tex/context/base/mkxl/anch-pos.lmt:1286: attempt to 
call a nil value (upvalue 'texgetparstate')
stack traceback:
...-64/tex/texmf-context/tex/context/base/mkxl/anch-pos.lmt:1286: in 
function <...-64/tex/texmf-context/tex/context/base/mkxl/anch-pos.lmt:1262>
(...tail calls...)  
[...]

Unfortunately I can't create an MWE any smaller than a project with about 3 
sub-directories and half a dozen files. I don't really want to post it all here 
but happy to send a zip to Hans. (When it works it only creates a two page PDF 
so 'minimal' in that sense.)


Secondly, something a bit specific to Macos also broke for the latest version. 
Previously I had:
  \definefont [RPN] [Menlo*bold at 12pt]

but had to change that to 
  \definefont [RPN][file:Menlo.ttc at 12pt]

to get it compile. I thought it was something odd about Menlo (which is a Macos 
system font) at first which is why I changed to using the name: syntax but when 
this other problem came up I realised it too had worked previously.

—
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 / 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] lmtx update/t-vim (again)

2021-08-23 Thread Hans Hagen via ntg-context

On 8/23/2021 7:42 PM, Aditya Mahajan wrote:

On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote:


This is the setup I have been using, but I'm unsure if the problem could be 
related to the other problem I had. (Not scaled to a MWE, but short enough.) I 
figured the issue by removing some of the lines.


I get the same error. Most likely due to some grouping issue because there is 
also this:

system  > invalid \starttext ... \stoptext structure

I'll look into it.

Hopefully I didn't mess up something.

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] lmtx update/t-vim (again)

2021-08-23 Thread Aditya Mahajan via ntg-context
On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote:

> This is the setup I have been using, but I'm unsure if the problem could be 
> related to the other problem I had. (Not scaled to a MWE, but short enough.) 
> I figured the issue by removing some of the lines.

I get the same error. Most likely due to some grouping issue because there is 
also this:

system  > invalid \starttext ... \stoptext structure

I'll look into it.

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] Curiosity about math.random in LuaTeX

2021-08-23 Thread Hans Hagen via ntg-context

On 8/23/2021 5:24 PM, Hans van der Meer via ntg-context wrote:
I guess the underlying library calls are from Lua5.4? Then it is perhaps 
useful to know that between 5.3 and 5.4 there is mentioned a new 
implementation for math.random. Perhaps it changes the sequence of 
random values generated? Someone who knows?
I suppose that usage is within a certain timeframe and therefore version 
of lua(meta)tex so then setting the seed should work ok.


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 Henri Menke via ntg-context
On Mon, 2021-08-23 at 17:24 +0200, Hans van der Meer via ntg-context
wrote:
> I guess the underlying library calls are from Lua5.4? Then it is
> perhaps useful to know that between 5.3 and 5.4 there is mentioned a
> new implementation for math.random. Perhaps it changes the sequence of
> random values generated? Someone who knows?

https://tex.stackexchange.com/questions/468466/tikz-graphdrawing-differences-between-luatex-versions

Cheers, Henri

> 
> dr. Hans van der Meer
> 
> 
> > On 23 Aug 2021, at 17:13, Hans Hagen via ntg-context <
> > ntg-context@ntg.nl> wrote:
> > 
> > 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
> > _
> > __
> 
> ___
> 
> 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
___


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

2021-08-23 Thread Hans van der Meer via ntg-context
I guess the underlying library calls are from Lua5.4? Then it is perhaps useful 
to know that between 5.3 and 5.4 there is mentioned a new implementation for 
math.random. Perhaps it changes the sequence of random values generated? 
Someone who knows?

dr. Hans van der Meer


> On 23 Aug 2021, at 17:13, Hans Hagen via ntg-context  
> wrote:
> 
> 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
> ___

___
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 Henri Menke via ntg-context
On Mon, 2021-08-23 at 16:46 +0200, 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 can immediately forget about that, because in the past Lua has
switched the random number generator (RNG) between releases and also
uses a different RNG depending on the operating system. In general it
is a really bad idea to depend on the exact sequence of random numbers.

As an alternative you can just pregenerate a list of random numbers and
copy that to other documents.

Cheers, Henri

> 
> 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
> _
> __


___
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 Hans Hagen via ntg-context

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
___


[NTG-context] Bug with mathalignment and columns

2021-08-23 Thread Jack Hill via ntg-context

Hi,

When a mathalignment is started at the end of a multi-column page ConTeXt 
places it at the start of the previous second column instead of placing it on a 
new page. Here's my code to test:

\starttext \startcolumns[n=4]
\startluacode
lorum = "Lorum ipsum dolor sit amet. "
for i = 1, 98, 1 do
context(lorum)
end
\stopluacode

\startformula \startmathalignment[n=1]
\NC y = ax \NR

\NC a^2 + b^2 = c^2 \NR

\NC x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \NR
\stopmathalignment \stopformula
\stopcolumns \stoptext

Adding text after the formula seems to fix the issue, but that means I can't 
finish the page with a formula.
It seems that it always places the formula at the top of the second column, 
regardless of how many columns there are.
It also does this even if there are still empty columns (try changing 98 to 100 
in the for loop).

Jack
___
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] lmtx update/t-vim (again)

2021-08-23 Thread Benjamin Buchmuller via ntg-context
This is the setup I have been using, but I'm unsure if the problem could be 
related to the other problem I had. (Not scaled to a MWE, but short enough.) I 
figured the issue by removing some of the lines.

\usemodule[vim]

\definetextbackground[codebkg]
[
frame=on, 
framecolor=black,
background=,
location=paragraph,
]

\definevimtyping[vimR]
[
syntax=r,
space=off,
lines=split,
numbering=yes,
numberstep=5,
alternative=pscolor,
margin=.5em,
style={\switchtobodyfont[type,small]\setupinterlinespace},
before={\blank[white,small]\startcodebkg},  % a bit of extra space 
after={\stopcodebkg},
directory=vimout/,  % note: you must create this folder yourself!
]

\starttext

\startvimR
#!/usr/bin/env R
included_aa <- list(
  `6d1t` = 2:81,
  `6cnq` = 146:225,
  `6ccg` = 2:81,
  `4lg7` = 76:167,
  `3c2i` = 90:181) %>% enframe() %>% unnest(cols = "value") %>% 
  rename(protein = "name", aa_pos = "value") %>%
  mutate(chain = "A") %>% mutate(include_aa = TRUE)
\stopvimR

\stoptext

So, the first "i", "n" etc. come from "include_aa" after I remove the shebang 
statement. 

The lines with "#" and "$" (in other pieces not shown) cause the complaints.

I also realized that I get output for each vim block, but instead of a 
"vimout", I get a "pdf" (error) and a "log" (some attached) now.

Also, the blocks get recompiled with each run even if their content doesn't 
change which was the previous behavior.




xxx-temp-vimR-0-error.log
Description: Binary data


xxx-temp-vimR-0.log
Description: Binary data


xxx-temp-vimR-1.log
Description: Binary data


> On Aug 23, 2021, at 08:19, Hans Hagen  wrote:
> 
> On 8/23/2021 12:10 AM, Benjamin Buchmuller via ntg-context wrote:
>> Hi,
>> Thanks for having had a look into the t-vim.
>> At least the document compiles fine (I get a PDF), although multiple 
>> complaints from the lua end when I use "$" or "#" in my source, for example
>> #!/usr/bin/bash
>> etc. culminating in
>> Sorry, but I'm not programmed to handle this case;
>> I'll just pretend that you didn''t ask for it.
>> If you're in the wrong mode, you might be able to
>> return to the right one by typing 'I}' or 'I$' or 'I\par'.
>> Seems as if LMTX tried to interpret something literally here …
>> Further, I get a lot of
>> fonts   > beware: no fonts are loaded yet, using 'lm mono' in box
>> fonts   > checking > char i (U+00069) in font '' with id 0: missing
>> fonts   > checking > char n (U+0006E) in font '' with id 0: missing
>> warnings. Maybe some things need to be adjusted?
> THis normally means that you have someting before the \starttext that gets 
> typeset (here the word "in")
> 
> 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] lmtx update

2021-08-23 Thread Hans Hagen via ntg-context

On 8/23/2021 12:55 AM, Benjamin Buchmuller via ntg-context wrote:

Hi,

Here is another thing which worked previously for me:

ConTeXt  ver: 2021.07.30 00:57 LMTX  fmt: 2021.8.8  int: english/english

Now:

ConTeXt  ver: 2021.08.22 11:54 LMTX  fmt: 2021.8.22  int: english/english

Error:

lua error:

registered function call [396]: 
...eXt/tex/texmf-context/tex/context/base/mkxl/anch-pos.lmt:1286: attempt to 
call a nil value (upvalue 'texgetparstate')
stack traceback:
...eXt/tex/texmf-context/tex/context/base/mkxl/anch-pos.lmt:1286: in function 
<...eXt/tex/texmf-context/tex/context/base/mkxl/anch-pos.lmt:1262>
(...tail calls...)  

129 \NC \unit{0.88 angstrom}
130 \NC \unit{2.02 angstrom}
131 \NC \unit{2.03 angstrom}
132 \NC \unit{1.90 angstrom}
133 \NC \unit{4.99 angstrom} % rmsd #1/a:14-61 & backbone to 
#5/a:103-150 & backbone
134 \NC \unit{1.88 angstrom}
135 \NC \unit{5.20 angstrom} % rmsd #1/a:46-55 & backbone to 
#5/a:135-144 & backbone
136 \NC \NR
137 \HL
138 \stoptabulate

The difficulty here is that when I copy the "faulty" part (my table) to another 
document (including all relevant defs etc.) it just works fine. So, I think it must have 
to do something with the placement of the float on the page.

Any hints what has changed?
your luametatex binary seems older than in the lmtx distribution .. what 
platform?


-
  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] lmtx update/t-vim (again)

2021-08-23 Thread Hans Hagen via ntg-context

On 8/23/2021 12:10 AM, Benjamin Buchmuller via ntg-context wrote:

Hi,

Thanks for having had a look into the t-vim.

At least the document compiles fine (I get a PDF), although multiple complaints from the lua end 
when I use "$" or "#" in my source, for example

#!/usr/bin/bash

etc. culminating in

Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn''t ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing 'I}' or 'I$' or 'I\par'.

Seems as if LMTX tried to interpret something literally here …

Further, I get a lot of

fonts   > beware: no fonts are loaded yet, using 'lm mono' in box
fonts   > checking > char i (U+00069) in font '' with id 0: missing
fonts   > checking > char n (U+0006E) in font '' with id 0: missing

warnings. Maybe some things need to be adjusted?
THis normally means that you have someting before the \starttext that 
gets typeset (here the word "in")


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
___