[NTG-context] Oddity with \definereferenceformat

2015-04-19 Thread Rik Kabel
A reference to the text of a multi-line heading takes on the line breaks of the heading when \definereferenceformat[about] is used. \definereferenceformat[about][type=title,left=,right=] \starttext \startsection[reference={sec:one}, title={Three\\line\\title}] \startparagraph

Re: [NTG-context] vertical spacing and makeups

2015-04-19 Thread Pablo Rodriguez
On 04/19/2015 08:50 PM, Wolfgang Schuster wrote: >> Am 18.04.2015 um 20:29 schrieb Pablo Rodriguez: >> [...] >> So the a workaround would be to use \blank instead of \par or a blank >> line, wouldn’t it be? > > You can flush the content of the buffer in a \vbox where you set the > whitespace at th

Re: [NTG-context] vertical spacing and makeups

2015-04-19 Thread Wolfgang Schuster
> Am 18.04.2015 um 20:29 schrieb Pablo Rodriguez : > > On 04/18/2015 07:15 PM, Wolfgang Schuster wrote: >>> Am 18.04.2015 um 18:43 schrieb Pablo Rodriguez: >>> [...] >>> The first page shows that \setupwhitespace[big] affects to a single line >>> in a makeup. Shouldn’t white space be added only b

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Robert Blackstone
On 19 Apr 2015, at 11:55 , Hans Hagen wrote > > On 4/19/2015 9:47 AM, Robert Blackstone wrote: >> >> On 16 Apr 2015, at 15:38 , Hans Hagen gave me the following: >> >>> \startluacode >>> >>> document.indexentries = { >>> ["rule"] = [[Rule(s)]], >>> ["ruleimperfec

Re: [NTG-context] A macro which gives a random name

2015-04-19 Thread Hans Hagen
On 4/19/2015 9:51 AM, Otared Kavian wrote: Hi Hans, Many thanks for your wonderful code… I modified a little bit the names you use in your code so that it may be used for other purposes as well (for instance if one wishes to select at random a certain number of exercises from different subsets

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Hans Hagen
On 4/19/2015 9:47 AM, Robert Blackstone wrote: On 16 Apr 2015, at 15:38 , Hans Hagen gave me the following: \startluacode document.indexentries = { ["rule"] = [[Rule(s)]], ["ruleimperfect"] = [[+ \quote{imperfect to perfect, from}]], ["galilei"]

Re: [NTG-context] A macro which gives a random name

2015-04-19 Thread Otared Kavian
Hi Hans, Many thanks for your wonderful code… I modified a little bit the names you use in your code so that it may be used for other purposes as well (for instance if one wishes to select at random a certain number of exercises from different subsets among a huge a dataset of problems). Again

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Robert Blackstone
On 16 Apr 2015, at 15:38 , Hans Hagen gave me the following: > \startluacode > > document.indexentries = { > ["rule"] = [[Rule(s)]], > ["ruleimperfect"] = [[+ \quote{imperfect to perfect, from}]], > ["galilei"] = [[Galilei, Vincenzo]], > } > >