[NTG-context] Autogenerating a module's documentation

2016-05-01 Thread Mohammad Hossein Bateni
Hello list, Has anyone managed to generate documentation for lua files recently? According to wiki/Module , something like the following should work: context --ctx=x-ldx core-con.lua But it only produces core-con.lua.prep and not the PDF file. In fact, it

Re: [NTG-context] RTL \definedescriptions

2016-05-01 Thread Mohammad Hossein Bateni
Hello Hans, I looked more into this and have now "fixed" everything but the margin-related alternatives. In the attached file, I have redefined one macro and two setups from strc-con.mkvi. These involve changing three \vtop's to \autodirvtop's as well as changing left and flushleft to right and

Re: [NTG-context] RTL \definedescriptions

2016-05-01 Thread Mohammad Hossein Bateni
Hans & Wolfgang, I'm updating the RTL page . The version used on the wiki, apparently the stable version from texlive 2015, does certain things differently. When using alternative=serried, the last line of the paragraph has incorrect alignment. This is not

[NTG-context] typesetbuffer in \insertpages

2016-05-01 Thread Pablo Rodriguez
Dear list, I have the following sample, \setuppapersize[A5][A4, landscape] \setuparranging[2UP] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt]

Re: [NTG-context] after with fixed position

2016-05-01 Thread Pablo Rodriguez
On 05/01/2016 04:32 PM, Aditya Mahajan wrote: > On Sun, 1 May 2016, Pablo Rodriguez wrote: > >> For future reference (and replying to myself), the solution may read: > > OT, but ... > >>\define[2]\chapterframe{\framed[frame=off, height={10em}, >>align=high]{#2}} > > you can define

Re: [NTG-context] after with fixed position

2016-05-01 Thread Aditya Mahajan
On Sun, 1 May 2016, Pablo Rodriguez wrote: For future reference (and replying to myself), the solution may read: OT, but ... \define[2]\chapterframe{\framed[frame=off, height={10em}, align=high]{#2}} you can define a new frame using: \defineframed[chapterframe][frame=off,

Re: [NTG-context] font features in math

2016-05-01 Thread Hans Hagen
On 5/1/2016 12:53 PM, Ulrike Fischer wrote: Am Sun, 1 May 2016 11:45:02 +0200 schrieb Philipp Gesang: So somehow in math the +onum is lost in plain and latex but not in context. What is context doing differently to avoid this? mode=base If context attach mode=base to math, how does it

Re: [NTG-context] after with fixed position

2016-05-01 Thread Pablo Rodriguez
On 03/16/2016 03:35 PM, Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \showgrid > \setuphead[chapter][after={\blank[10*big]}] > \starttext > \chapter{Knuth} > \input knuth > \chapter{Zapf} > \input zapf > \chapter{Knuth\\\&\\Zapf} >

Re: [NTG-context] font features in math

2016-05-01 Thread Ulrike Fischer
Am Sun, 1 May 2016 11:45:02 +0200 schrieb Philipp Gesang: >> So somehow in math the +onum is lost in plain and latex but not in >> context. What is context doing differently to avoid this? > > mode=base If context attach mode=base to math, how does it it? How can you switch a feature like

[NTG-context] ConTeXt Meeting 2016 Announcement

2016-05-01 Thread Taco Hoekwater
Hello everybody! == Announcement == Pragma ADE and the ConTeXt Group are looking forward to welcoming you at the 10th International ConTeXt Meeting that will take place on September 25–October 1, 2016 in Kalenberg, The Netherlands. We are celebrating! Thirty years of Pragma ADE, twenty

Re: [NTG-context] font features in math

2016-05-01 Thread Philipp Gesang
· > When I compile this in context all number are oldstyle numbers: > > \starttext > > \font\test= {name:TeX-Gyre-Termes:+onum} > \test 0123456789 > $\fam0 \textfont0=\test 0123456789$ > \stoptext > > When I run a similar plaintex (or latex) example in texlive 2016 > with a new

[NTG-context] font features in math

2016-05-01 Thread Ulrike Fischer
When I compile this in context all number are oldstyle numbers: \starttext \font\test= {name:TeX-Gyre-Termes:+onum} \test 0123456789 $\fam0 \textfont0=\test 0123456789$ \stoptext When I run a similar plaintex (or latex) example in texlive 2016 with a new luaotfload then the text numbers are

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Jaroslav Hajtmar
Thanx Wolfgang for the correction of my code. This error is probably more than 8 years old (inside predefined macros in any old library code). ConTeXt was all existing time generously tolerant for my bug :-). One more thanx for their fix. Jaroslav Hajtmar Dne 01.05.16 v 9:50 Wolfgang

Re: [NTG-context] Luatex 0.95.0 error with bidi and Hebrew

2016-05-01 Thread Hans Hagen
On 5/1/2016 8:19 AM, Akira Kakuto wrote: Code: ... My installation, or is this a bug? Confirmed. By testing i, your example is compiled: if i then -- line 1205 in font-otj.lua local leftkern = i.leftkern if leftkern and leftkern ~= 0 then

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Wolfgang Schuster
Jaroslav Hajtmar 1. Mai 2016 um 07:52 Thanx Wolfgang for reply. I looked for possible mistakes in my library, and finally I find out that described error that bug is reflecting when I use \starttable --- \stoptable environment. I am sending now an minimal example that

Re: [NTG-context] Problems with ttc-fonts

2016-05-01 Thread Hans Hagen
On 4/29/2016 9:51 AM, Ulrike Fischer wrote: I was playing with the addfeature handler mentioned here https://mailman.ntg.nl/pipermail/ntg-context/2016/083952.html and run into a problem with ttc-fonts: \starttext \directlua{ fonts.handlers.otf.addfeature { name = "oneb", {

[NTG-context] Luatex 0.95.0 error with bidi and Hebrew

2016-05-01 Thread Akira Kakuto
Code: ... My installation, or is this a bug? Confirmed. By testing i, your example is compiled: if i then -- line 1205 in font-otj.lua local leftkern = i.leftkern if leftkern and leftkern ~= 0 then setfield(prev,"replace",newkern(leftkern)) -- maybe also leftkern end end