Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Ulrike Fischer
Am Mon, 9 Nov 2015 14:22:45 +0100 schrieb Hans Hagen: >> Yes, one workaround is to quit math mode. The other to use fonts in >> mode "base". But I would like to understand why workarounds are >> needed at all. > because opentype math fonts are just math fonts (simple for text, rich > for math)

[NTG-context] only page number in the header of the chapter title page

2015-11-09 Thread massifr
Hello list, how can I keep the page number but not the header text in the page of a chapter title? \setuphead[chapter][header=empty] makes all the header disappear. Is there an option to keep the page number? Thanks, Massi

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Ulrike Fischer
Am Mon, 9 Nov 2015 13:13:12 +0100 schrieb Hans Hagen: >> In this example there is no kerning and no ligatures in the math: >> >> \starttext >> WAiff $\mfunction{WAiff}$ >> \stoptext >> >> This is a different behaviour than with legacy math fonts. > > depends what legacy is ... I meant the

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Hans Hagen
On 11/9/2015 2:06 PM, Ulrike Fischer wrote: Yes, one workaround is to quit math mode. The other to use fonts in mode "base". But I would like to understand why workarounds are needed at all. because opentype math fonts are just math fonts (simple for text, rich for math) Hans

Re: [NTG-context] Hyphenation, OTF font and tagging

2015-11-09 Thread Rik Kabel
On 2015-11-09 07:34, Thomas A. Schmitz wrote: On 11/09/2015 08:42 AM, Christoph Reller wrote: MWE: \setuptagging[state=start] %<- correct when commenting this line \starttypescript[sans][myfont] \definefontsynonym[Sans][file:MyriadPro-Regular] \stoptypescript

Re: [NTG-context] Hyphenation, OTF font and tagging

2015-11-09 Thread Thomas A. Schmitz
On 11/09/2015 08:42 AM, Christoph Reller wrote: MWE: \setuptagging[state=start] %<- correct when commenting this line \starttypescript[sans][myfont] \definefontsynonym[Sans][file:MyriadPro-Regular] \stoptypescript \definetypeface[Body][ss][sans][myfont] \setupbodyfont[Body,ss,10pt] \starttext

[NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
Dear all, I am trying to write some lua code that loads some pdf file and scales it. I have the following code (got from previous question here to get number of pages from a pdf and from source files). local figure = figures.push { name = filename, scale = N } -- scale value does not seem

Re: [NTG-context] How to scale an external figure from lua ?

2015-11-09 Thread josephcanedo
More precisely, I would like to get width and height of the scaled figure Inside lua code, to perform some checks. Thanks again Joseph From: josephcan...@gmail.com Sent: ‎Monday‎, ‎November‎ ‎9‎, ‎2015 ‎10‎:‎12‎ ‎PM To: ntg-context@ntg.nl Dear all, I am trying to write some lua

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Hans Hagen
On 11/9/2015 2:59 PM, Ulrike Fischer wrote: Am Mon, 9 Nov 2015 14:22:45 +0100 schrieb Hans Hagen: Yes, one workaround is to quit math mode. The other to use fonts in mode "base". But I would like to understand why workarounds are needed at all. because opentype math fonts are just math

Re: [NTG-context] Ligatures and copy-paste

2015-11-09 Thread Thomas A. Schmitz
On 09.11.2015 16:25, Tommaso Petrucciani wrote: is there some command to issue in order to have ligatures copy-paste correctly in PDFs? I thought Mk IV did this automatically, but it’s not working on my system. Ligatures paste as spaces and searching the PDF doesn’t find the words. I use

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Ulrike Fischer
Am Mon, 9 Nov 2015 16:44:34 +0100 schrieb Hans Hagen: > you don't enable kerning but anyhow, In text mode kerning seems to be activated by default, but it doesn't change the output if I add it. > here is a context example: Curious, here I get no kerning at all for arial. I tried all sort of

[NTG-context] Ligatures and copy-paste

2015-11-09 Thread Tommaso Petrucciani
Dear list members, is there some command to issue in order to have ligatures copy-paste correctly in PDFs? I thought Mk IV did this automatically, but it’s not working on my system. Ligatures paste as spaces and searching the PDF doesn’t find the words. I use ConTeXt beta 2015-10-09, Apple

Re: [NTG-context] Ligatures and copy-paste

2015-11-09 Thread Tommaso Petrucciani
>> is there some command to issue in order to have ligatures copy-paste >> correctly in PDFs? >> I thought Mk IV did this automatically, but it’s not working on my system. >> Ligatures paste as spaces and searching the PDF doesn’t find the words. >> >> I use ConTeXt beta 2015-10-09, Apple

Re: [NTG-context] footnotes in frames

2015-11-09 Thread Wolfgang Schuster
Alan BRASLAU 9. November 2015 um 05:49 On Sun, 8 Nov 2015 19:22:02 +0100 How does the following magic, revealed a while ago, fit into the scene? \automigrateinserts % needed to handle footnotes within a box... It works only when you use \hbox but not for nested

Re: [NTG-context] footnotes in frames

2015-11-09 Thread Hans Hagen
On 11/9/2015 5:49 AM, Alan BRASLAU wrote: On Sun, 8 Nov 2015 19:22:02 +0100 Hans Hagen wrote: as you're not afraid of magic: How does the following magic, revealed a while ago, fit into the scene? \automigrateinserts % needed to handle footnotes within a box... depends on

Re: [NTG-context] footnotes in frames

2015-11-09 Thread Hans Hagen
On 11/8/2015 7:47 PM, Thomas A. Schmitz wrote: On 08.11.2015 19:22, Hans Hagen wrote: as you're not afraid of magic: \framed{three\postponenotes\footnote{3}}\flushnotes Yep, excellent, that gets the job done! Thanks a lot! Would this description of the mechanism be correct for the wiki: "In

Re: [NTG-context] footnotes in frames

2015-11-09 Thread Hans Hagen
On 11/8/2015 7:47 PM, Thomas A. Schmitz wrote: On 08.11.2015 19:22, Hans Hagen wrote: as you're not afraid of magic: \framed{three\postponenotes\footnote{3}}\flushnotes Yep, excellent, that gets the job done! Thanks a lot! Would this description of the mechanism be correct for the wiki: "In

[NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Ulrike Fischer
In this example there is no kerning and no ligatures in the math: \starttext WAiff $\mfunction{WAiff}$ \stoptext This is a different behaviour than with legacy math fonts. A question about this has been asked some month ago on tex.sx

Re: [NTG-context] Kerning and ligatures in math roman font

2015-11-09 Thread Hans Hagen
On 11/9/2015 12:39 PM, Ulrike Fischer wrote: In this example there is no kerning and no ligatures in the math: \starttext WAiff $\mfunction{WAiff}$ \stoptext This is a different behaviour than with legacy math fonts. depends what legacy is ... A question about this has been asked some