Re: [NTG-context] two questions about endnotes

2018-07-22 Thread Henri Menke
On 23/07/18 16:53, Robert Zydenbos wrote: First question: I am considering using endnotes in my book instead of footnotes. There is a command \endnote, but I do not see the notes appear anywhere in my text. What am I doing wrong? What I tried: \starttext Dit is iets met een

[NTG-context] two questions about endnotes

2018-07-22 Thread Robert Zydenbos
First question: I am considering using endnotes in my book instead of footnotes. There is a command \endnote, but I do not see the notes appear anywhere in my text. What am I doing wrong? What I tried: \starttext Dit is iets met een endnote.\endnote{Wat een zooi. Werkt het?} \page Het zou

Re: [NTG-context] SHA512 for LuaTeX-5.2

2018-07-22 Thread Hans Hagen
On 7/22/2018 6:45 PM, Pablo Rodriguez wrote: Dear list, I have the following sample (adapted from > ... > I’m afraid I cannot make it working, since LuaTeX complains about hash512 being nil. Could anyone explain me what I’m doing wrong? Many thanks fory your help, why not use

[NTG-context] SHA512 for LuaTeX-5.2

2018-07-22 Thread Pablo Rodriguez
Dear list, I have the following sample (adapted from https://stackoverflow.com/q/50442185): ✂️ \starttext \startlua -- -- UTILITY FUNCTIONS -- -- transform a string of bytes in a string of hexadecimal digits local function str2hexa (s)

Re: [NTG-context] page ranges in \markpage

2018-07-22 Thread Pablo Rodriguez
On 07/20/2018 12:19 AM, Hans Hagen wrote: > [...] > or even better > > local function getpagearray(str,max) > local list = { } > local function add(i) > list[i] = true > end > if max then > utilities.parsers.stepper(str,max,add) > else >