Re: [NTG-context] definefallbackfamily and utfchar, something changed?
On Wed, May 10, 2017 at 2:36 PM, Hans Hagenwrote: > Wolfgang and I are looking into it ... the issue was introduced when support > for designsizes for fallbacks was introduced > > Hans > > > On 5/10/2017 11:33 AM, Mikael P. Sundqvist wrote: >> >> Hi, >> >> the Lucida font does not have all variants of \heartsuit, >> \varheartsuit and so on (see for example >> >> http://mirror.unl.edu/ctan/macros/latex/contrib/unicode-math/unimath-symbols.pdf >> for their unicode slots). >> >> For this reason I borrow these symbols from Xits. The code below used >> to work, but not anymore (I updated to latest standalone today, not >> sure when it stopped work). I don't get Xits symbols at all, but only >> a filled diamondsuit from vardiamondsuit. That one belongs to the >> Lucida font. >> >> Any ideas on how to fix this issue? >> >> Best regards, Mikael >> >> PS: I'm sorry for using a commercial font in an example. If requested, >> I gladly change that. >> >> %% Test file >> >> \definefallbackfamily [lucidaopentype][mm][Xits >> Math][range={2660,2661,2662,2663,2664,2665,2666,2667}] >> >> \definefontfamily[lucidaopentype][rm][Lucida Bright OT] >> \definefontfamily[lucidaopentype][ss][Lucida Sans OT] >> \definefontfamily[lucidaopentype][tt][Lucida Sans Typewriter OT] >> \definefontfamily[lucidaopentype][mm][Lucida Bright Math OT] >> >> \setupbodyfont[lucidaopentype] >> >> \def\diamondsuit{\utfchar{"02662}} >> \def\varspadesuit{\utfchar{"02664}} >> \def\varheartsuit{\utfchar{"02665}} >> \def\vardiamondsuit{\utfchar{"02666}} >> \def\varclubsuit{\utfchar{"02667}} >> >> >> \starttext >> >> Test: $\vardiamondsuit$ and $\diamondsuit$ >> >> \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://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> >> ___ >> > > > -- > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ Hi again, now the spadesuits, heartsuits and so on work as expected, thanks! But the line \definefallbackfamily [lucidaopentype][mm][Xits Math][range={2660,2661,2662,2663,2664,2665,2666,2667}] also changes where the primes come from. The example below outputs primes from Xits (pdf attached). /Mikael \definefallbackfamily [lucidaopentype][mm][Xits Math][range={2660,2661,2662,2663,2664,2665,2666,2667}] \definefontfamily[lucidaopentype][rm][Lucida Bright OT] \definefontfamily[lucidaopentype][ss][Lucida Sans OT] \definefontfamily[lucidaopentype][tt][Lucida Sans Typewriter OT] \definefontfamily[lucidaopentype][mm][Lucida Bright Math OT] \setupbodyfont[lucidaopentype,10pt] \starttext Compare $u_p''$ and $u''_p$ with $u''$ \stoptext ctx-listexample30.pdf Description: Adobe PDF document ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Location of primes and strange latin modern font
On Sat, May 13, 2017 at 7:05 PM, Hans Hagenwrote: > On 5/11/2017 8:35 PM, Mathias Schickel wrote: >>> >>> 2) The math font looks strange (or should I say different) in the >>> ConTeXt example. (Wrong size, scaled?) >> >> >> Yeah, this seems to be a bug in the current version. I have observed that, >> too. Hans did recently add (due to my suggestion, so thanks again, Hans, >> even if this seems to have caused some trouble) support for optical sizes in >> fallbacks and I suppose the bug has been introduced there. So at present the >> bug occurs that ConTeXt uses the smallest optical size for every symbol >> (independent of the size). This results in strange looking mathematics. >> Maybe you can fix this, Hans? > > > Yes, in that process i swapped text and scriptscipt sizes but it has been > fixed. > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ Hans, thanks for the fix with the sizes in math. Will the primes also get fixed? In the latest standalone (I downloaded it minutes ago), I get the attached result running the same test file. /Mikael PS Sorry if I'm too quick, if you are in the progress of solving this. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Location of primes and strange latin modern font
On 5/11/2017 8:35 PM, Mathias Schickel wrote: 2) The math font looks strange (or should I say different) in the ConTeXt example. (Wrong size, scaled?) Yeah, this seems to be a bug in the current version. I have observed that, too. Hans did recently add (due to my suggestion, so thanks again, Hans, even if this seems to have caused some trouble) support for optical sizes in fallbacks and I suppose the bug has been introduced there. So at present the bug occurs that ConTeXt uses the smallest optical size for every symbol (independent of the size). This results in strange looking mathematics. Maybe you can fix this, Hans? Yes, in that process i swapped text and scriptscipt sizes but it has been fixed. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Table of content in presentation example
On 5/12/2017 10:08 PM, cryo shock wrote: \placecontent \placelist[chapter,section][criterium=all] by default you get a local one (you can also ask for one level up and so) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___