Re: [NTG-context] Nested modes and itemizations

2016-11-17 Thread Christoph Reller
On Thu, Nov 17, 2016 at 13:14:49 +0100 Hans Hagen wrote: > > On 11/17/2016 11:21 AM, Christoph Reller wrote: > > Hi, > > > > I have the following minimal not-working example: > > > > \starttext > > \startitemize > > \item One > > \startmode[modeA] > > \item Two > >

Re: [NTG-context] bug in \directsetup?

2016-11-17 Thread Pablo Rodriguez
On 11/17/2016 09:29 PM, Hans Hagen wrote: > On 11/17/2016 8:53 PM, Pablo Rodriguez wrote: >> [...] >> I need the \directsetup to be able to set up a different interline space >> in the section list from TOC. I’m using latest beta from 2016.11.17 14:19. >> >> There is a weird behaviour: the links

Re: [NTG-context] bug in \directsetup?

2016-11-17 Thread Hans Hagen
On 11/17/2016 8:53 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A6] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[placesect] \start \setupinterlinespace

[NTG-context] bug in \directsetup?

2016-11-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[placesect] \start \setupinterlinespace [line=2.8ex] \placelist

Re: [NTG-context] table and \setuptables questions

2016-11-17 Thread Csikos Bela
Hans Hagen írta: >On 11/11/2016 4:26 PM, Csikos Bela wrote: >> Dear list members: >> >> I have this simple table: >> >> \starttext >> \placetable[here]{title}{ >> \setuptables[bodyfont=8pt,rulethickness=0.04em] >> \start >> \setuplocalinterlinespace[2.2ex] >> \starttable[|lp(5cm)|lp(5cm)|cp(2cm)|]

Re: [NTG-context] table and \setuptables questions

2016-11-17 Thread Csikos Bela
Please disregard my last message. I haven't noticed that an answer arrived a little bit earlier I posted it. But I don't understand why it didn't go in a new thread. Best regards, bcsikos ___ If your question is of

[NTG-context] table and \setuptables questions

2016-11-17 Thread Csikos Bela
Dear list members: Last time I sent this message to the wrong thread accidentally. Now I send it again, hopefully to a new thread. I have this simple table: \starttext \placetable[here]{title}{ \setuptables[bodyfont=8pt,rulethickness=0.04em] \start \setuplocalinterlinespace[2.2ex]

Re: [NTG-context] copyfont and font features

2016-11-17 Thread Ulrike Fischer
Am Thu, 17 Nov 2016 13:07:22 +0100 schrieb Hans Hagen: >> Simply using \let doesn't work when you want locally a different >> expansion behaviour: >> >>! error: (font expansion): font has been expanded with different >> stretch limit. >> >> (with pdflatex + lualatex), that's imho the reason

Re: [NTG-context] table and \setuptables questions

2016-11-17 Thread Hans Hagen
On 11/11/2016 4:26 PM, Csikos Bela wrote: Dear list members: I have this simple table: \starttext \placetable[here]{title}{ \setuptables[bodyfont=8pt,rulethickness=0.04em] \start \setuplocalinterlinespace[2.2ex] \starttable[|lp(5cm)|lp(5cm)|cp(2cm)|] \HL[2] \NC \bf First Column \NC \bf Second

Re: [NTG-context] Nested modes and itemizations

2016-11-17 Thread Hans Hagen
On 11/17/2016 11:21 AM, Christoph Reller wrote: Hi, I have the following minimal not-working example: \starttext \startitemize \item One \startmode[modeA] \item Two \startitemize \startmode[modeB] % <- this \item Two A % <- does \stopmode % <- not work

Re: [NTG-context] copyfont and font features

2016-11-17 Thread Hans Hagen
On 11/17/2016 11:02 AM, Ulrike Fischer wrote: Am Thu, 17 Nov 2016 09:46:26 +0100 schrieb Hans Hagen: On 11/16/2016 6:17 PM, Ulrike Fischer wrote: This comes from a tex.sx question

[NTG-context] Nested modes and itemizations

2016-11-17 Thread Christoph Reller
Hi, I have the following minimal not-working example: \starttext \startitemize \item One \startmode[modeA] \item Two \startitemize \startmode[modeB] % <- this \item Two A % <- does \stopmode % <- not work % \doifmode{modeB}{\item Two A} % <- this

Re: [NTG-context] copyfont and font features

2016-11-17 Thread Ulrike Fischer
Am Thu, 17 Nov 2016 09:46:26 +0100 schrieb Hans Hagen: > On 11/16/2016 6:17 PM, Ulrike Fischer wrote: >> This comes from a tex.sx question >> https://tex.stackexchange.com/questions/338942/cancellation-of-color-fontspec-font-settings-while-defining-microtype-context/ >> >> The primitive \copyfont

Re: [NTG-context] Pdf info: width, height and rotation

2016-11-17 Thread Procházka Lukáš Ing .
Hello, thank you for the reaction. On Thu, 17 Nov 2016 09:51:51 +0100, Hans Hagen wrote: you do that yourself as [3] - [1] is the width while you put it under OK, so width = bbox[3] - bbox[1] 2. Is it possible to get rotation or orientation of the page (be "portrait" or

Re: [NTG-context] directlua in xml-environment

2016-11-17 Thread Hans Hagen
On 11/14/2016 9:50 AM, Meer, Hans van der wrote: Beste Hans, Je bent weer terug, alles goed met je, hoop ik. Twee opmerkingen hier. (1) Inmiddels na veel pogingen ook een andere oplossing gevonden: tex.print(0,string) i.p.v. tex.print(string). Het duurde nogal lang voordat ik doorhad wat het

Re: [NTG-context] Pdf info: width, height and rotation

2016-11-17 Thread Hans Hagen
On 11/17/2016 9:27 AM, Procházka Lukáš Ing. wrote: Hello, two questions about pages in PDF document (slightly refers to the code http://www.mail-archive.com/ntg-context@ntg.nl/msg57502.html): local MyDocument = lpdf.epdf.load("A4.pdf") context.starttext() local pages =

Re: [NTG-context] copyfont and font features

2016-11-17 Thread Hans Hagen
On 11/16/2016 6:17 PM, Ulrike Fischer wrote: This comes from a tex.sx question https://tex.stackexchange.com/questions/338942/cancellation-of-color-fontspec-font-settings-while-defining-microtype-context/ The primitive \copyfont looses with open type fonts all font features: \starttext

[NTG-context] Pdf info: width, height and rotation

2016-11-17 Thread Procházka Lukáš Ing .
Hello, two questions about pages in PDF document (slightly refers to the code http://www.mail-archive.com/ntg-context@ntg.nl/msg57502.html): local MyDocument = lpdf.epdf.load("A4.pdf") context.starttext() local pages = MyDocument.pages local dummy = MyDocument.pages[1] -- we need