[NTG-context] Trimming strings and Lua string.trim question

2014-03-04 Thread Rik Kabel
I am trying to strip all leading and trailing whitespace from a string. I have tried two methods, neither of which is satisfactory. The first method uses \ignorespaces and \removeunwantedspaces. This fails to strip leading and trailing newlines. The second method uses the Lua string.strip fun

[NTG-context] (critical edition) wrong page breaks with linenotes

2014-03-04 Thread Pablo Rodriguez
Hi Thomas, Luigi and Hans, I have a sample (http://www.ousia.tk/hefestio-ctx.tex) that shows problematic page breaks with notes in paragraph form. This is especially relevant for linenotes in critical editions. The compiled version (http://www.ousia.tk/hefestio-ctx.pdf) shows results at twelve, t

Re: [NTG-context] (again) bug with bidi direction and \about references

2014-03-04 Thread Pablo Rodriguez
On 03/04/2014 05:07 PM, Khaled Hosny wrote: > On Mon, Mar 03, 2014 at 07:49:07PM +0100, Pablo Rodriguez wrote: >> Hi Hans, >> >> sorry for telling again, but I’m afraid that the following sample shows >> a serious buggy interaction between \setupdirections[bidi=on] and \about >> references. >> >> \

Re: [NTG-context] (again) bug with bidi direction and \about references

2014-03-04 Thread Khaled Hosny
On Mon, Mar 03, 2014 at 07:49:07PM +0100, Pablo Rodriguez wrote: > Hi Hans, > > sorry for telling again, but I’m afraid that the following sample shows > a serious buggy interaction between \setupdirections[bidi=on] and \about > references. > > \setupdirections[bidi=on] No problem with \setupdir

Re: [NTG-context] (again) bug with bidi direction and \about references

2014-03-04 Thread Pablo Rodriguez
On 03/04/2014 11:30 AM, Hans Hagen wrote: > On 3/3/2014 7:49 PM, Pablo Rodriguez wrote: >> [...] >> \setupdirections[bidi=on] >> \starttext >> >> \section[sectionone]{Section one} >> >> As said in \dorecurse{5} >> {\about[sectionone]\footnote{Body reference misplaced.}, } >> \stoptext >> >> Both \a

Re: [NTG-context] Presentation template

2014-03-04 Thread Wolfgang Schuster
Am 04.03.2014 um 16:01 schrieb Fabrice : > Hi Thangalin, >> do you mean >> presentation material to help students? > Rather lessons (Mathematics) I'll put in pdf format on the platform at my > high school. > Thank you for the links, I'll take the time to look. You should also take a look at cha

Re: [NTG-context] Presentation template

2014-03-04 Thread Fabrice
Hi Thangalin, do you mean presentation material to help students? Rather lessons (Mathematics) I'll put in pdf format on the platform at my high school. Thank you for the links, I'll take the time to look. Regards, Fabrice

Re: [NTG-context] Margin notes

2014-03-04 Thread Wolfgang Schuster
Am 04.03.2014 um 01:31 schrieb S Barmeier : > I am trying to compile a 2-year-old mkiv document with the latest beta > and am getting an error on the line > > \inleft[style=bold,stack=continue] > > Two years ago, stacking of margin notes was still experimental, so I'm > guessing something has c

Re: [NTG-context] page numbering 'marginedge'

2014-03-04 Thread David Wooten
Exactly so, thanks Pablo. On Mar 3, 2014, at 10:44 AM, Pablo Rodriguez wrote: > On 03/03/2014 07:37 PM, David Wooten wrote: >> Hello all, trying to get page numbers in the outer margin edge of a >> double-sided document — marginedge as it is places the numbers to the >> inside margin edge, is t

Re: [NTG-context] (again) bug with bidi direction and \about references

2014-03-04 Thread Hans Hagen
On 3/3/2014 7:49 PM, Pablo Rodriguez wrote: Hi Hans, sorry for telling again, but I’m afraid that the following sample shows a serious buggy interaction between \setupdirections[bidi=on] and \about references. \setupdirections[bidi=on] \starttext \section[sectionone]{Section one} As said in \