[NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Willi Egger
Good evening! I am trying to make use of the userpagenumber counter. I have a book at hand, where I need to adjust the start of the pagenumbering. It appears to me, that the \setupcounter[userpagenumber[state=stop] and later the \setupcounter[userpagenumber][state=start,start=7] is not giving

Re: [NTG-context] Is there a bug in lmt_shade[...=...,...=...]

2020-07-29 Thread Keith McKay
Thanks again Hans, lmt_shade now works as before. Keith On 29/07/2020 16:13, Keith McKay wrote: Thanks Hans! Much appreciated. Keith On 29/07/2020 16:04, Hans Hagen wrote: On 7/29/2020 3:43 PM, Keith McKay wrote: Has a bug appeared in the command lmt_shade[ ]? Looks that way. I'll fix it

Re: [NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Wolfgang Schuster
Willi Egger schrieb am 29.07.2020 um 21:43: Good evening! I am trying to make use of the userpagenumber counter. I have a book at hand, where I need to adjust the start of the pagenumbering. It appears to me, that the \setupcounter[userpagenumber[state=stop] and later the

[NTG-context] About testing rest of space on a page

2020-07-29 Thread Willi Egger
Good evening! I have a bookproject in which sections are ended with a small graphical element. Now as usual this graphic might be moved to a new page which is of course unwanted. At this moment I have: \startsetups endsection \vfil

Re: [NTG-context] Installing VSCode extension?

2020-07-29 Thread Alasdair McAndrew
Thanks again, I've fiddled with SciTE, but when I attempted to compile a context file, I was told that "texexec" wasn't in my path, so somehow, somewhere, I must have picked up an old version of the compile command. Also, there doesn't seem to be an easy way of getting SciTE to use a monospaced

Re: [NTG-context] Lua related change in LuaMetaTeX?

2020-07-29 Thread Hans Hagen
On 7/29/2020 6:22 AM, Marcel Fabian Krüger wrote: Hi, starting with LuaMetaTeX 2.07.01, a C library I load from Lua started to segfault and valgrind indicates that it accesses invalid memory in multiple places in the middle of Lua internal functions?! The whole thing looks almost like the Lua

Re: [NTG-context] Installing VSCode extension?

2020-07-29 Thread Alasdair McAndrew
Thank you very much, but in fact that script file "vscode-context.cmd" really just contains the same command for installing extensions as I quoted above - and so produces the same errors. Maybe I'll go back to trying SciTe - I gave it a bit of a go, but wasn't successful. Of all the information

[NTG-context] no reference output for \namedstructurevariable

2020-07-29 Thread Damien Thiriet
Hello, I am facing some issue with \usernamedvariable. Consider this MWE \starttext \startsection[title={Mammals and eggs},reference={mammals}] \namedstructurevariable{section}{title} \namedstructurevariable{section}{reference} and \currentstructurereference \stopsection \stoptext

[NTG-context] Is there a bug in lmt_shade[...=...,...=...]

2020-07-29 Thread Keith McKay
Hi Has a bug appeared in the command lmt_shade[ ]? This used to work before I upgraded. \setuppapersize [A5, portrait][A4, landscape] \setuparranging[2UP] \starttext \startMPpage StartPage; width := PaperWidth ; height := PaperHeight ; unit := cm ; definecolor [ name = "MyColor1", r =

Re: [NTG-context] Lua related change in LuaMetaTeX?

2020-07-29 Thread Marcel Fabian Krüger
> there have been a couple of bug fixes after the formal 5.4.0 release but > afaik not in the virtual machine code (which normally is the most sensitive); > i used to mark low level changes so that it got signaled (in context) but the > byte code version info changed late in 5.4 dev so i no

Re: [NTG-context] Lua related change in LuaMetaTeX?

2020-07-29 Thread Hans Hagen
On 7/29/2020 6:11 PM, Marcel Fabian Krüger wrote: there have been a couple of bug fixes after the formal 5.4.0 release but afaik not in the virtual machine code (which normally is the most sensitive); i used to mark low level changes so that it got signaled (in context) but the byte code

[NTG-context] tabulate inside itemize

2020-07-29 Thread Mike Cooper
I would normally use tab stops and line breaks to achieve the following in a numbered list: 1. DC = 3.20 bbl = 420 ft HWDP = 3.90 bbl = 450 ft DP = 34.63 bbl = 2,037 ft Totals = 41.73 bbl = 2,907 ft 2. [next step …] This is what I tried, but the output has a

Re: [NTG-context] Is there a bug in lmt_shade[...=...,...=...]

2020-07-29 Thread Hans Hagen
On 7/29/2020 3:43 PM, Keith McKay wrote: Has a bug appeared in the command lmt_shade[ ]? Looks that way. I'll fix it (upload later today). We now have some better (potentially more efficient) ways to feed back results into mp so that's where the cycle property seems to get lost. Hans

Re: [NTG-context] Installing VSCode extension?

2020-07-29 Thread Henning Hraban Ramm
> Am 29.07.2020 um 14:19 schrieb Alasdair McAndrew : > > Thank you very much, but in fact that script file "vscode-context.cmd" really > just contains the same command for installing extensions as I quoted above - > and so produces the same errors. Maybe I'll go back to trying SciTe - I gave

Re: [NTG-context] Is there a bug in lmt_shade[...=...,...=...]

2020-07-29 Thread Keith McKay
Thanks Hans! Much appreciated. Keith On 29/07/2020 16:04, Hans Hagen wrote: On 7/29/2020 3:43 PM, Keith McKay wrote: Has a bug appeared in the command lmt_shade[ ]? Looks that way. I'll fix it (upload later today). We now have some better (potentially more efficient) ways to feed back

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Wolfgang Schuster
Mike Cooper schrieb am 29.07.2020 um 18:38: I would normally use tab stops and line breaks to achieve the following in a numbered list: 1. DC=3.20 bbl =420 ft HWDP= 3.90 bbl =450 ft DP= 34.63 bbl = 2,037 ft Totals = 41.73 bbl = 2,907 ft 2. [next step …] This is what I tried, but the output

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Hans Hagen
On 7/29/2020 6:38 PM, Mike Cooper wrote: > I would normally use tab stops and line breaks to achieve the following > in a numbered list: I know this looks terrible: \define\MyTabulateHack{\vskip-\lineheight\blank[disable]} \startitemize[n] \startitem \MyTabulateHack

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Aditya Mahajan
On Wed, 29 Jul 2020, Mike Cooper wrote: I would normally use tab stops and line breaks to achieve the following in a numbered list: 1. DC = 3.20 bbl = 420 ft HWDP = 3.90 bbl = 450 ft DP = 34.63 bbl = 2,037 ft Totals = 41.73 bbl = 2,907 ft 2. [next step …] This is

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Hans Hagen
On 7/29/2020 7:09 PM, Wolfgang Schuster wrote: Mike Cooper schrieb am 29.07.2020 um 18:38: I would normally use tab stops and line breaks to achieve the following in a numbered list: 1. DC=3.20 bbl =420 ft HWDP= 3.90 bbl =450 ft DP= 34.63 bbl = 2,037 ft Totals = 41.73 bbl = 2,907 ft 2. [next

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Mike Cooper
THANKS HANS! I got Wolfgang's solution first and it works great. > -Original Message- > From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Hans Hagen > Sent: Wednesday, July 29, 2020 11:11 AM > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] tabulate

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Mike Cooper
THANKS ADITYA! I got Wolfgang's solution first and it works great. But I think there are some things in your solution that I should try to learn about. :) > -Original Message- > From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Aditya > Mahajan > Sent: Wednesday, July

Re: [NTG-context] Lua related change in LuaMetaTeX?

2020-07-29 Thread Marcel Fabian Krüger
On Wed, Jul 29, 2020 at 09:37:13PM -0700, Hans Hagen wrote: > > One other question about LuaMetaTeX 2.7.1: I noticed that the > > terminal_input callback is gone. Does this mean that the current > > behaviour of basically freezing when previously terminal input was > > requested is hardcoded or is