Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread jdh
I get no difference using criterium=previous versus criterium=local. Kerry Sainsbury wrote: > Thanks Hans. For the sake of any future users who may have stumbled across > this post I want to point out > that if you want the list of sections to appear at the end of your document > you

Re: [NTG-context] ASCII mode within \footnote

2019-11-07 Thread Aditya Mahajan
On Thu, 7 Nov 2019, Wolfgang Schuster wrote: A way to avoid this problem is to use a slash a path separator instead of the backslash. Another way to get rid of it is to save the path a buffer and print the content of the buffer with the \typeinlinebuffer command. \starttext \startbuffer

Re: [NTG-context] ASCII mode within \footnote

2019-11-07 Thread Wolfgang Schuster
> Hello, > > thanks Aditya and Wolfgang for "deep" explanation in several last > mails. > > We are approaching the goal... > > Aditya's ocde: > > > \starttext >\startasciimode > \footnote{\type{%APPDATA%\file.txt}} >\stopasciimode > \stoptext > > > gives (in the footnote):

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Kerry Sainsbury
Thanks Hans. For the sake of any future users who may have stumbled across this post I want to point out that if you want the list of sections to appear at the *end *of your document you need to use "criterium=previous" \placelist[section][criterium=previous,order=title] On Fri, 8 Nov 2019 at

[NTG-context] [Widgets] Any good examples for developing JS-enabled PDFs that calculate?

2019-11-07 Thread Paul Mazaitis
Hi everyone, My goal is to have a PDF that - allows users to input numeric information in various fields, - makes calculations on the data in those fields, - ...and reports that information somewhere in the PDF. It seems that the widget support could handle this, but I'm struggling to

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Wolfgang Schuster
Jan Willem Flamma schrieb am 07.11.2019 um 20:08: Rik: thank you for testing and confirming. Hans, Wiping the tuc file (or others) does not solve the issue. The data-vir.lua file already contains the proposed change. Change the line to     local filename = suffix and

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Jan Willem Flamma
Rik: thank you for testing and confirming. Hans, Wiping the tuc file (or others) does not solve the issue. The data-vir.lua file already contains the proposed change. Jan Willem > On 7 Nov 2019, at 17:06, Hans Hagen wrote: > > On 11/7/2019 3:50 PM, Jan Willem Flamma wrote: >> Dear list

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Hans Hagen
On 11/7/2019 5:36 PM, Rik Kabel wrote: On 11/7/2019 11:06, Hans Hagen wrote: On 11/7/2019 3:50 PM, Jan Willem Flamma wrote: Dear list members, The below MWE runs fine and generates a usable PDF. If I uncomment the second question block and run the MWE on a OS X system it generates an

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Rik Kabel
On 11/7/2019 11:06, Hans Hagen wrote: On 11/7/2019 3:50 PM, Jan Willem Flamma wrote: Dear list members, The below MWE runs fine and generates a usable PDF. If I uncomment the second question block and run the MWE on a OS X system it generates an unusable PDF and a nearly empty log file:

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Hans Hagen
On 11/7/2019 3:50 PM, Jan Willem Flamma wrote: Dear list members, The below MWE runs fine and generates a usable PDF. If I uncomment the second question block and run the MWE on a OS X system it generates an unusable PDF and a nearly empty log file: open source     > level 1, order 1, name

Re: [NTG-context] How to sort list of sections?

2019-11-07 Thread Hans Hagen
On 11/7/2019 12:13 AM, Kerry Sainsbury wrote: Hi Folks, If sections are just lists, and lists can be sorted, how can I sort a list of sections? My actual goal is to generate an 'index' that is made up of section headings. Here's my attempt that does not work. here's one that does ...

Re: [NTG-context] index with chapter and section numbers

2019-11-07 Thread Hans Hagen
On 11/7/2019 10:25 AM, Otared Kavian wrote: Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and

[NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Jan Willem Flamma
Dear list members, The below MWE runs fine and generates a usable PDF. If I uncomment the second question block and run the MWE on a OS X system it generates an unusable PDF and a nearly empty log file: open source > level 1, order 1, name 'cont-yes.mkiv' system > system

[NTG-context] index with chapter and section numbers

2019-11-07 Thread Otared Kavian
Hi, In a math text book, I would like to create an index of some material where chapter and section numbers are given instead of a page number. For instance if the result « 3.2.5 Banach Fixed Point Theorem » is stated in section 2 of chapter 3, and is the fifth numbered statement in that