Re: [NTG-context] unicode error
On 25-9-2010 8:30, Mojca Miklavec wrote: On Sat, Sep 25, 2010 at 20:25, Alan BRASLAU wrote: An obscure unicode error, minimal example: \starttext (≡) should be ($\equiv$) \stoptext Well, this works: $≡$ (This is not to say that the character ≡ alone should not work, but it may be that it is simply missing in the text font and no mechanism is there that would switch to math mode.) indeed. of course one could use the math font as base font as well, but that would complicate matters a bit as we use a virtual font (so instead of the default set one would need to specify multiple featuresets, which actually is supported) another solution is do define fallbacks but I have no time right now to do that (it would slow down loading a bit); some time in the future we will have the option in luatex to add missing glyphs to a font using a 'missign glyph' callback but this is quite tricky as there is state to be kept) making all math characters active and resolve to math could be a solution too but this is not always wanted either (so we should need exceptions etc etc then) 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 ___
[NTG-context] unicode error
An obscure unicode error, minimal example: \starttext (≡) should be ($\equiv$) \stoptext ___ 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] unicode error
On Sat, Sep 25, 2010 at 20:25, Alan BRASLAU wrote: An obscure unicode error, minimal example: \starttext (≡) should be ($\equiv$) \stoptext Well, this works: $≡$ (This is not to say that the character ≡ alone should not work, but it may be that it is simply missing in the text font and no mechanism is there that would switch to math mode.) Mojca ___ 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] unicode error
2010/9/26 Alan BRASLAU alan.bras...@cea.fr: An obscure unicode error, minimal example: \starttext (≡) should be ($\equiv$) \stoptext The character ≡ in text can be find in some CJK fonts. For example: \definefont[song][name:adobesongstdlight] \starttext \song (≡) should be ($\equiv$) \stoptext -- Best regards, Li Yanrui (李延瑞) ___ 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] Unicode error in embedded metapost
(...) Metapost can only handle very basic strings. Don't use Metapost for writing text. (...) Indeed. Using \sometxt{...} is strongly recommended. btex ... etex behaves strange and consumes a considerable amount of extra time to compile your document. Mojca Interesting. I also wasn't aware that btex ... etex could not handle string variables, as I learned from your documentation (I've just started learning metapost). Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unicode error in embedded metapost
On Sep 24, 2007, at 11:58 PM, Maurí cio wrote: Hi, This small piece of code gives me a wrong result: \startuseMPgraphic{teste} z7 = (5cm,0); label.lrt(Pontão,z7); \stopuseMPgraphic I just have to change 'btex Pont\~ao etex' for 'Pontão' and everything goes fine. Best, Maurício \enableregime[utf] \starttext \startuseMPgraphic{teste} z7 = (5cm,0); label(\sometxt{Pontão},z7); \stopuseMPgraphic \useMPgraphic{teste} \stoptext http://dl.contextgarden.net/myway/sometxt.pdf http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl HTH Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Unicode error in embedded metapost
On 9/25/07, Thomas A. Schmitz wrote: On Sep 24, 2007, at 11:58 PM, Maurí cio wrote: Hi, This small piece of code gives me a wrong result: \startuseMPgraphic{teste} z7 = (5cm,0); label.lrt(Pontão,z7); Metapost can only handle very basic strings. Don't use Metapost for writing text. \stopuseMPgraphic I just have to change 'btex Pont\~ao etex' for 'Pontão' and everything goes fine. label(\sometxt{Pontão},z7); Indeed. Using \sometxt{...} is strongly recommended. btex ... etex behaves strange and consumes a considerable amount of extra time to compile your document. Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Unicode error in embedded metapost
Hi, This small piece of code gives me a wrong result: \startuseMPgraphic{teste} z7 = (5cm,0); label.lrt(Pontão,z7); \stopuseMPgraphic I just have to change 'btex Pont\~ao etex' for 'Pontão' and everything goes fine. Best, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___