Re: [NTG-context] Euler with fallback

2014-03-03 Thread Sanjoy Mahajan
Aditya Mahajan adit...@umich.edu writes: This is to announce that the latest beta supports creating virtual math fonts with fallback. The main test case is to use Euler font with missing characters taken from Pagella but the mechanism is general and can be used to replace a specific set of

Re: [NTG-context] Euler with fallback

2014-03-03 Thread Aditya Mahajan
On Mon, 3 Mar 2014, Sanjoy Mahajan wrote: Aditya Mahajan adit...@umich.edu writes: This is to announce that the latest beta supports creating virtual math fonts with fallback. The main test case is to use Euler font with missing characters taken from Pagella but the mechanism is general and

Re: [NTG-context] Euler with fallback

2014-03-03 Thread Sanjoy Mahajan
Aditya, Here's an example (using 2014.02.14 beta). The Sun subscript using _{\tf Sun} or _{\rm Sun} was in Palatino in the corresponding MkII setup, but is in Euler now. The workaround of an hbox with \tfxx or \tfx doesn't get quite the right size. That is because in math mode, \rm is

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Sanjoy Mahajan
Wolfgang, Thank you for the preamble. It works well standalone. For some reason it doesn't work with components. I think I've seen this problem before but can't remember the resolution. Here's a minimal example (with 2014.02.14 beta). The text comes out in Euler. The same happens putting

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Wolfgang Schuster
Am 17.02.2014 um 15:12 schrieb Sanjoy Mahajan san...@olin.edu: Wolfgang, Thank you for the preamble. It works well standalone. For some reason it doesn't work with components. I think I've seen this problem before but can't remember the resolution. Here's a minimal example (with

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Sanjoy Mahajan
Put your font definitions before \startcomponent or better put them in a environment file and load this file before \startcomponent. Sorry, I should have said that I had tried that, but it has the same problem (Euler font for everything). \usetypescriptfile[euler] \definetypeface [mainface]

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Wolfgang Schuster
Am 17.02.2014 um 15:29 schrieb Sanjoy Mahajan san...@olin.edu: Put your font definitions before \startcomponent or better put them in a environment file and load this file before \startcomponent. Sorry, I should have said that I had tried that, but it has the same problem (Euler font for

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Sanjoy Mahajan
I can’t reproduce this, when I process your example the text is typeset with the pagella font. You are right. I am not sure what I had done, but it works as you say. I also put the font setup in an environment file that is loaded by testproject.tex, and that also works. \project

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Aditya Mahajan
On Mon, 17 Feb 2014, Sanjoy Mahajan wrote: \project testproject \startcomponent test \input knuth \stopcomponent Because of font loading, is this recommended way to use components (rather than the old way of the \project line after \startcomponent)? If so, I'll make a note on the wiki.

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Wolfgang Schuster
Am 17.02.2014 um 21:07 schrieb Sanjoy Mahajan san...@olin.edu: I can’t reproduce this, when I process your example the text is typeset with the pagella font. You are right. I am not sure what I had done, but it works as you say. I also put the font setup in an environment file that is

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Jeong Dal
Am 17.02.2014 um 15:29 schrieb Sanjoy Mahajan san...@olin.edu: Put your font definitions before \startcomponent or better put them in a environment file and load this file before \startcomponent. Sorry, I should have said that I had tried that, but it has the same problem (Euler font

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Sanjoy Mahajan
Because of font loading, is this recommended way to use components (rather than the old way of the \project line after \startcomponent)? If so, I'll make a note on the wiki. This does not only apply to component etc. but also to normal files because context sets and resets some values with

Re: [NTG-context] Euler with fallback

2014-02-16 Thread Sanjoy Mahajan
Aditya Mahajan adit...@umich.edu writes: This is to announce that the latest beta supports creating virtual math fonts with fallback. The main test case is to use Euler font with missing characters taken from Pagella but the mechanism is general and can be used to replace a specific set of

Re: [NTG-context] Euler with fallback

2014-02-16 Thread Wolfgang Schuster
Am 16.02.2014 um 17:51 schrieb Sanjoy Mahajan san...@olin.edu: Aditya Mahajan adit...@umich.edu writes: This is to announce that the latest beta supports creating virtual math fonts with fallback. The main test case is to use Euler font with missing characters taken from Pagella but the