Re: [NTG-context] Math fallback

2013-07-31 Thread Aditya Mahajan

On Wed, 31 Jul 2013, Hans Hagen wrote:


On 7/31/2013 11:02 PM, Aditya Mahajan wrote:

On Wed, 31 Jul 2013, Hans Hagen wrote:


I too would like to use Neo Euler for math but need some of the missing
glyphs/symbols, like \angle and \triangle. What would the typescript
look like to provide fallback to font for the symbols?


complex as original euler already misses many shapes and neo euler is
work in progress


That is the reason for my question if the font fallback mechanism can
work for math fonts also (as it does for, e.g., using different fonts
for arabic and english). That will be much easier than building a
virtual font.


it's not that trivial as there are more dependencies and things like 
extensible characters and accents and 


Yes, but those are not necessarily needed.

(in fact, a virtual font has to be built, so it's then a wrapper around a 
similar vf builder as we already have; one option is to extend the current 
one with ranges)


Just having a basic fallback mechanism will be better than having no 
fallback. For example Euler has no blackboard black, is missing some 
arrows (not extensible ones, just regular arrows) and common symbols.


Aditya

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Math fallback

2013-07-31 Thread Hans Hagen

On 7/31/2013 11:02 PM, Aditya Mahajan wrote:

On Wed, 31 Jul 2013, Hans Hagen wrote:


I too would like to use Neo Euler for math but need some of the missing
glyphs/symbols, like \angle and \triangle. What would the typescript
look like to provide fallback to font for the symbols?


complex as original euler already misses many shapes and neo euler is
work in progress


That is the reason for my question if the font fallback mechanism can
work for math fonts also (as it does for, e.g., using different fonts
for arabic and english). That will be much easier than building a
virtual font.


it's not that trivial as there are more dependencies and things like 
extensible characters and accents and 


(in fact, a virtual font has to be built, so it's then a wrapper around 
a similar vf builder as we already have; one option is to extend the 
current one with ranges)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Math fallback

2013-07-31 Thread Aditya Mahajan

On Wed, 31 Jul 2013, Hans Hagen wrote:


I too would like to use Neo Euler for math but need some of the missing
glyphs/symbols, like \angle and \triangle. What would the typescript
look like to provide fallback to font for the symbols?


complex as original euler already misses many shapes and neo euler is work in 
progress


That is the reason for my question if the font fallback mechanism can work 
for math fonts also (as it does for, e.g., using different fonts for 
arabic and english). That will be much easier than building a virtual 
font.


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Math fallback

2013-07-31 Thread Hans Hagen

On 7/31/2013 6:53 PM, John Kitzmiller wrote:


On Jul 31, 2013, at 12:15 PM, ntg-context-requ...@ntg.nl
 wrote:



Am 30.07.2013 um 18:55 schrieb Aditya Mahajan mailto:adit...@umich.edu>>:


Is it possible to use the fallback mechanism for math fonts? For
example, I am using Neo Euler for math which has a few missing
glyphs. Can I use Cambria (or Xits) as a fallback font for missing
glyphs.

I am using the simplefonts module, but I am happy to write a
typescript file if that makes things easier. I do not really want to
define a new virtual font.


The simplefonts module is written on top of the typescript mechanism
and there is nothing available at this level which can be used by the
module. When you use the \setmathfont command simplefonts loads only
one of the predefined typescripts.

Wolfgang


I too would like to use Neo Euler for math but need some of the missing
glyphs/symbols, like \angle and \triangle. What would the typescript
look like to provide fallback to font for the symbols?


complex as original euler already misses many shapes and neo euler is 
work in progress


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Math fallback

2013-07-31 Thread John Kitzmiller

On Jul 31, 2013, at 12:15 PM, ntg-context-requ...@ntg.nl wrote:

> 
> Am 30.07.2013 um 18:55 schrieb Aditya Mahajan :
> 
>> Is it possible to use the fallback mechanism for math fonts? For example, I 
>> am using Neo Euler for math which has a few missing glyphs. Can I use 
>> Cambria (or Xits) as a fallback font for missing glyphs.
>> 
>> I am using the simplefonts module, but I am happy to write a typescript file 
>> if that makes things easier. I do not really want to define a new virtual 
>> font.
> 
> The simplefonts module is written on top of the typescript mechanism and 
> there is nothing available at this level which can be used by the module. 
> When you use the \setmathfont command simplefonts loads only one of the 
> predefined typescripts.
> 
> Wolfgang

I too would like to use Neo Euler for math but need some of the missing 
glyphs/symbols, like \angle and \triangle. What would the typescript look like 
to provide fallback to font for the symbols?

John___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Math fallback

2013-07-31 Thread Wolfgang Schuster

Am 30.07.2013 um 18:55 schrieb Aditya Mahajan :

> Is it possible to use the fallback mechanism for math fonts? For example, I 
> am using Neo Euler for math which has a few missing glyphs. Can I use Cambria 
> (or Xits) as a fallback font for missing glyphs.
> 
> I am using the simplefonts module, but I am happy to write a typescript file 
> if that makes things easier. I do not really want to define a new virtual 
> font.

The simplefonts module is written on top of the typescript mechanism and there 
is nothing available at this level which can be used by the module. When you 
use the \setmathfont command simplefonts loads only one of the predefined 
typescripts.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Math fallback

2013-07-30 Thread Aditya Mahajan
Is it possible to use the fallback mechanism for math fonts? For example, 
I am using Neo Euler for math which has a few missing glyphs. Can I use 
Cambria (or Xits) as a fallback font for missing glyphs.


I am using the simplefonts module, but I am happy to write a typescript 
file if that makes things easier. I do not really want to define a new 
virtual font.


Aditya

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___