* ConTeXt mkiv and rsfs fonts @ 2014-05-21 12:15 Otared Kavian 2014-05-21 13:55 ` Wolfgang Schuster 2014-05-21 21:12 ` Aditya Mahajan 0 siblings, 2 replies; 20+ messages in thread From: Otared Kavian @ 2014-05-21 12:15 UTC (permalink / raw) To: mailing list for ConTeXt users Hi all, It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not work: the procedure explained at the page http://wiki.contextgarden.net/rsfs works fine with mkii, but not in mkiv. Is it possible to use the capabilities of simplefonts, which are now included in mkiv, to use this script font in place of the usual \cal when using LM fonts (or even Palatino)? Thanks in advance for any insight. Best regards: OK ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 12:15 ConTeXt mkiv and rsfs fonts Otared Kavian @ 2014-05-21 13:55 ` Wolfgang Schuster 2014-05-21 14:43 ` Otared Kavian 2014-05-21 21:12 ` Aditya Mahajan 1 sibling, 1 reply; 20+ messages in thread From: Wolfgang Schuster @ 2014-05-21 13:55 UTC (permalink / raw) To: mailing list for ConTeXt users Am 21.05.2014 um 14:15 schrieb Otared Kavian <otared@gmail.com>: > Hi all, > > It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not work: the procedure explained at the page > > http://wiki.contextgarden.net/rsfs > > works fine with mkii, but not in mkiv. > > Is it possible to use the capabilities of simplefonts, which are now included in mkiv, to use this script font in place of the usual \cal when using LM fonts (or even Palatino)? No, simplefonts won’t help you because the fallback mechanism for math works only with another opentype math font and truetype/opentype text fonts. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 13:55 ` Wolfgang Schuster @ 2014-05-21 14:43 ` Otared Kavian 2014-05-21 18:10 ` Mikael P. Sundqvist 0 siblings, 1 reply; 20+ messages in thread From: Otared Kavian @ 2014-05-21 14:43 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 465 bytes --] On 21 May 2014, at 15:55, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote: > […] > No, simplefonts won’t help you because the fallback mechanism for math works only with another opentype math font and truetype/opentype text fonts. > Thanks for the answer. Is there another script font for LM, or for Palatino, which looks a little bit more readable than \cal in those fonts, and which can be used with the simplefonts mechanism? Best regards: OK [-- Attachment #1.2: Type: text/html, Size: 876 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 14:43 ` Otared Kavian @ 2014-05-21 18:10 ` Mikael P. Sundqvist 2014-05-21 19:01 ` Otared Kavian 2014-05-21 19:39 ` Hans Hagen 0 siblings, 2 replies; 20+ messages in thread From: Mikael P. Sundqvist @ 2014-05-21 18:10 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, May 21, 2014 at 4:43 PM, Otared Kavian <otared@gmail.com> wrote: > Thanks for the answer. > Is there another script font for LM, or for Palatino, which looks a little > bit more readable than \cal in those fonts, and which can be used with the > simplefonts mechanism? > > Best regards: OK Personally, I think that the \cal from Latin Modern is very readable (thus, I don't know what you are after). I tried some others, maybe you like one of them (I hope that the line breaks in the email will be OK): \definefallbackfamily[mainface][math][TeX Gyre Termes Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] %\definefallbackfamily[mainface][math][TeX Gyre Pagella Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] %\definefallbackfamily[mainface][math][Asana Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] \definefontfamily [mainface] [rm] [Latin Modern] \definefontfamily [mainface] [math] [Latin Modern Math] \setupbodyfont[mainface] \starttext ${\cal abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ}$ \stoptext /Mikael ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 18:10 ` Mikael P. Sundqvist @ 2014-05-21 19:01 ` Otared Kavian 2014-05-21 19:10 ` Mikael P. Sundqvist 2014-05-21 19:39 ` Hans Hagen 1 sibling, 1 reply; 20+ messages in thread From: Otared Kavian @ 2014-05-21 19:01 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Mikael, Thanks for your quick answer! Actually I used probably an inappropriate word when speaking about readability of the standard \cal in LM. Indeed they are readable, but for the particular case of ${\cal D}$, or ${\cal U}$ or ${\cal S}$, they do not correspond to the corresponding shape one finds in classical books of Analysis. On the other hand it does not contain lower case letters. In any case your solution below gives me exactly what I was looking for: %%%% begin example \definefallbackfamily[mainface][math][Asana Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] \definefontfamily [mainface] [rm] [palatino] % or % \definefontfamily [mainface] [rm] [Latin Modern] \definefontfamily [mainface] [math] [Latin Modern Math] \setupbodyfont[mainface] \starttext ${\cal ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ ${\cal abcdefghijklmnopqrstuvwxyz}$ The space of distributions on $\Omega$ is denoted by ${\cal D}'(\Omega)$, while ${\cal S}({\Bbb R}^n)$ is the space of Schwartz functions, and ${\cal S}'({\Bbb R}^n)$ is its dual. \stoptext %%%% end example Since other people may benefit from it, I would like to update the wiki on the matter. But actually I do not understand what does the « range » mean in the example [range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] Could you please give a brief explanation so that I don’t write nonsense on the wiki? Best regards: OK On 21 May 2014, at 20:10, Mikael P. Sundqvist <mickep@gmail.com> wrote: > On Wed, May 21, 2014 at 4:43 PM, Otared Kavian <otared@gmail.com> wrote: >> Thanks for the answer. >> Is there another script font for LM, or for Palatino, which looks a little >> bit more readable than \cal in those fonts, and which can be used with the >> simplefonts mechanism? >> >> Best regards: OK > > Personally, I think that the \cal from Latin Modern is very readable > (thus, I don't know what you are after). I tried some others, maybe > you like one of them (I hope that the line breaks in the email will be > OK): > > \definefallbackfamily[mainface][math][TeX Gyre Termes > Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] > %\definefallbackfamily[mainface][math][TeX Gyre Pagella > Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] > %\definefallbackfamily[mainface][math][Asana > Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] > \definefontfamily [mainface] [rm] [Latin Modern] > \definefontfamily [mainface] [math] [Latin Modern Math] > > \setupbodyfont[mainface] > > \starttext > ${\cal abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ}$ > \stoptext > > /Mikael > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 19:01 ` Otared Kavian @ 2014-05-21 19:10 ` Mikael P. Sundqvist 2014-05-21 19:54 ` Wolfgang Schuster 2014-05-21 20:38 ` Otared Kavian 0 siblings, 2 replies; 20+ messages in thread From: Mikael P. Sundqvist @ 2014-05-21 19:10 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, May 21, 2014 at 9:01 PM, Otared Kavian <otared@gmail.com> wrote: > Since other people may benefit from it, I would like to update the wiki on the matter. But actually I do not understand what does the « range » mean in the example > [range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] > Could you please give a brief explanation so that I don’t write nonsense on the wiki? > > Best regards: OK I'm glad it helped. The range gives the unicode slots where these letters "live". Hans: Maybe this is a stupid suggestion, but could it be possible to have \definefontfamilypreset [math:lowercasecalligraphic] as range={1D4B6-1D4CF,212F,210A,2134} and \definefontfamilypreset [math:uppercasecalligraphic] as range={1D49C-1D4B5,212C,2130,2131,210B,2110,2112,2133,211B} ? Otared, If what I write above makes sense, then the setup will be the more readable \definefallbackfamily[mainface][math][Asana Math][range={lowercasecalligraphic,uppercasecalligraphic}] \definefontfamily [mainface] [rm] [palatino] \definefontfamily [mainface] [math] [Latin Modern Math] \setupbodyfont[mainface] /Mikael ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 19:10 ` Mikael P. Sundqvist @ 2014-05-21 19:54 ` Wolfgang Schuster 2014-05-21 21:04 ` Otared Kavian 2014-05-21 20:38 ` Otared Kavian 1 sibling, 1 reply; 20+ messages in thread From: Wolfgang Schuster @ 2014-05-21 19:54 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Mikael P. Sundqvist Am 21.05.2014 um 21:10 schrieb Mikael P. Sundqvist <mickep@gmail.com>: > On Wed, May 21, 2014 at 9:01 PM, Otared Kavian <otared@gmail.com> wrote: >> Since other people may benefit from it, I would like to update the wiki on the matter. But actually I do not understand what does the « range » mean in the example >> [range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] >> Could you please give a brief explanation so that I don’t write nonsense on the wiki? >> >> Best regards: OK > > > I'm glad it helped. The range gives the unicode slots where these > letters "live". > > Hans: Maybe this is a stupid suggestion, but could it be possible to have > > \definefontfamilypreset [math:lowercasecalligraphic] > as range={1D4B6-1D4CF,212F,210A,2134} > and > \definefontfamilypreset [math:uppercasecalligraphic] > as range={1D49C-1D4B5,212C,2130,2131,210B,2110,2112,2133,211B} > ? > > Otared, If what I write above makes sense, then the setup will be the > more readable > > \definefallbackfamily[mainface][math][Asana > Math][range={lowercasecalligraphic,uppercasecalligraphic}] > \definefontfamily [mainface] [rm] [palatino] > \definefontfamily [mainface] [math] [Latin Modern Math] > \setupbodyfont[mainface] This does already exist, take a look into math-act.lua. The presets are only needed when you want to use a text font as fallback because you have to set more values. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 19:54 ` Wolfgang Schuster @ 2014-05-21 21:04 ` Otared Kavian 0 siblings, 0 replies; 20+ messages in thread From: Otared Kavian @ 2014-05-21 21:04 UTC (permalink / raw) To: mailing list for ConTeXt users On 21 May 2014, at 21:54, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote: > This does already exist, take a look into math-act.lua. Thanks Wolfgang: indeed one may use \definefallbackfamily[mainface][math][Asana Math][range={uppercasescript,lowercasescript}] so what Mikael suggested exists but it is named uppercasescript,lowercasescript. I changes the wiki page http://wiki.contextgarden.net/math_calligraphic accordingly. Best regards: OK > > The presets are only needed when you want to use a text font as fallback because you have to set more values. > > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 19:10 ` Mikael P. Sundqvist 2014-05-21 19:54 ` Wolfgang Schuster @ 2014-05-21 20:38 ` Otared Kavian 2014-05-21 21:08 ` Hans Hagen 1 sibling, 1 reply; 20+ messages in thread From: Otared Kavian @ 2014-05-21 20:38 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Mikael, I created a page on the wiki where it is explained how to change calligraphic fonts in math: http://wiki.contextgarden.net/math_calligraphic I’ll add more comments and correct things on that page each time I learn something new in this regard… Thanks again: OK On 21 May 2014, at 21:10, Mikael P. Sundqvist <mickep@gmail.com> wrote: > On Wed, May 21, 2014 at 9:01 PM, Otared Kavian <otared@gmail.com> wrote: >> Since other people may benefit from it, I would like to update the wiki on the matter. But actually I do not understand what does the « range » mean in the example >> [range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] >> Could you please give a brief explanation so that I don’t write nonsense on the wiki? >> >> Best regards: OK > > > I'm glad it helped. The range gives the unicode slots where these > letters "live". > > Hans: Maybe this is a stupid suggestion, but could it be possible to have > > \definefontfamilypreset [math:lowercasecalligraphic] > as range={1D4B6-1D4CF,212F,210A,2134} > and > \definefontfamilypreset [math:uppercasecalligraphic] > as range={1D49C-1D4B5,212C,2130,2131,210B,2110,2112,2133,211B} > ? > > Otared, If what I write above makes sense, then the setup will be the > more readable > > \definefallbackfamily[mainface][math][Asana > Math][range={lowercasecalligraphic,uppercasecalligraphic}] > \definefontfamily [mainface] [rm] [palatino] > \definefontfamily [mainface] [math] [Latin Modern Math] > \setupbodyfont[mainface] > > /Mikael > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 20:38 ` Otared Kavian @ 2014-05-21 21:08 ` Hans Hagen 2014-05-21 21:19 ` Otared Kavian 0 siblings, 1 reply; 20+ messages in thread From: Hans Hagen @ 2014-05-21 21:08 UTC (permalink / raw) To: mailing list for ConTeXt users On 5/21/2014 10:38 PM, Otared Kavian wrote: > Hi Mikael, > > I created a page on the wiki where it is explained how to change calligraphic fonts in math: > > http://wiki.contextgarden.net/math_calligraphic > > I’ll add more comments and correct things on that page each time I learn something new in this regard… > Thanks again: OK "However this does not work properly in mkiv ..." this suggests that it could work in mkiv but math in mkiv has a completely different implementation so it isn't even supposed to work maybe it's better to talk about mkiv as being the standard way and mkii being the 'old way' or so > On 21 May 2014, at 21:10, Mikael P. Sundqvist <mickep@gmail.com> wrote: > >> On Wed, May 21, 2014 at 9:01 PM, Otared Kavian <otared@gmail.com> wrote: >>> Since other people may benefit from it, I would like to update the wiki on the matter. But actually I do not understand what does the « range » mean in the example >>> [range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] >>> Could you please give a brief explanation so that I don’t write nonsense on the wiki? >>> >>> Best regards: OK >> >> >> I'm glad it helped. The range gives the unicode slots where these >> letters "live". >> >> Hans: Maybe this is a stupid suggestion, but could it be possible to have >> >> \definefontfamilypreset [math:lowercasecalligraphic] >> as range={1D4B6-1D4CF,212F,210A,2134} >> and >> \definefontfamilypreset [math:uppercasecalligraphic] >> as range={1D49C-1D4B5,212C,2130,2131,210B,2110,2112,2133,211B} >> ? >> >> Otared, If what I write above makes sense, then the setup will be the >> more readable >> >> \definefallbackfamily[mainface][math][Asana >> Math][range={lowercasecalligraphic,uppercasecalligraphic}] >> \definefontfamily [mainface] [rm] [palatino] >> \definefontfamily [mainface] [math] [Latin Modern Math] >> \setupbodyfont[mainface] >> >> /Mikael >> ___________________________________________________________________________________ >> 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 >> ___________________________________________________________________________________ > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > -- ----------------------------------------------------------------- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 21:08 ` Hans Hagen @ 2014-05-21 21:19 ` Otared Kavian 0 siblings, 0 replies; 20+ messages in thread From: Otared Kavian @ 2014-05-21 21:19 UTC (permalink / raw) To: mailing list for ConTeXt users On 21 May 2014, at 23:08, Hans Hagen <pragma@wxs.nl> wrote: > On 5/21/2014 10:38 PM, Otared Kavian wrote: >> Hi Mikael, >> >> I created a page on the wiki where it is explained how to change calligraphic fonts in math: >> >> http://wiki.contextgarden.net/math_calligraphic >> >> I’ll add more comments and correct things on that page each time I learn something new in this regard… >> Thanks again: OK > > "However this does not work properly in mkiv ..." > > this suggests that it could work in mkiv but math in mkiv has a completely different implementation so it isn't even supposed to work > > maybe it's better to talk about mkiv as being the standard way and mkii being the 'old way' or so You are right: I changed that page accordingly. All the best: OK ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 18:10 ` Mikael P. Sundqvist 2014-05-21 19:01 ` Otared Kavian @ 2014-05-21 19:39 ` Hans Hagen 2014-05-21 21:11 ` Otared Kavian 1 sibling, 1 reply; 20+ messages in thread From: Hans Hagen @ 2014-05-21 19:39 UTC (permalink / raw) To: ntg-context On 5/21/2014 8:10 PM, Mikael P. Sundqvist wrote: > On Wed, May 21, 2014 at 4:43 PM, Otared Kavian <otared@gmail.com> wrote: >> Thanks for the answer. >> Is there another script font for LM, or for Palatino, which looks a little >> bit more readable than \cal in those fonts, and which can be used with the >> simplefonts mechanism? >> >> Best regards: OK > > Personally, I think that the \cal from Latin Modern is very readable > (thus, I don't know what you are after). I tried some others, maybe > you like one of them (I hope that the line breaks in the email will be > OK): > > \definefallbackfamily[mainface][math][TeX Gyre Termes > Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] > %\definefallbackfamily[mainface][math][TeX Gyre Pagella > Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] > %\definefallbackfamily[mainface][math][Asana > Math][range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}] > \definefontfamily [mainface] [rm] [Latin Modern] > \definefontfamily [mainface] [math] [Latin Modern Math] > > \setupbodyfont[mainface] > > \starttext > ${\cal abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ}$ > \stoptext you can run s-math-repertoire.mkiv and compare shapes (you might want to comment some at the end) 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 19:39 ` Hans Hagen @ 2014-05-21 21:11 ` Otared Kavian 2014-05-21 21:21 ` Hans Hagen 0 siblings, 1 reply; 20+ messages in thread From: Otared Kavian @ 2014-05-21 21:11 UTC (permalink / raw) To: mailing list for ConTeXt users On 21 May 2014, at 21:39, Hans Hagen <pragma@wxs.nl> wrote: > > you can run s-math-repertoire.mkiv and compare shapes > > (you might want to comment some at the end) Thanks for the hint! I did run that file and then I thought my Mac was going to die since mkiv kept running and running… After several minutes I obtained an amazing PDF file of 2166 pages where every glyph can be seen on a beautiful page. Great stuff! Best regards: OK ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 21:11 ` Otared Kavian @ 2014-05-21 21:21 ` Hans Hagen 0 siblings, 0 replies; 20+ messages in thread From: Hans Hagen @ 2014-05-21 21:21 UTC (permalink / raw) To: ntg-context On 5/21/2014 11:11 PM, Otared Kavian wrote: > > On 21 May 2014, at 21:39, Hans Hagen <pragma@wxs.nl> wrote: >> >> you can run s-math-repertoire.mkiv and compare shapes >> >> (you might want to comment some at the end) > > Thanks for the hint! I did run that file and then I thought my Mac was going to die since mkiv kept running and running… > After several minutes I obtained an amazing PDF file of 2166 pages where every glyph can be seen on a beautiful page. > Great stuff! indeed it takes some time to finish (also because it's interactive) but you can gain some 15% by using luajittex 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 12:15 ConTeXt mkiv and rsfs fonts Otared Kavian 2014-05-21 13:55 ` Wolfgang Schuster @ 2014-05-21 21:12 ` Aditya Mahajan 2014-05-21 21:33 ` Aditya Mahajan 1 sibling, 1 reply; 20+ messages in thread From: Aditya Mahajan @ 2014-05-21 21:12 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 795 bytes --] On Wed, 21 May 2014, Otared Kavian wrote: > Hi all, > > It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not work: the procedure explained at the page > > http://wiki.contextgarden.net/rsfs > > works fine with mkii, but not in mkiv. I do not have the time to look into this in detail. But hopefully the hint below will help you get started. If I understand you correctly, you are looking for a caligraphic font that is more "script-y" than the default \cal. From what I understand, such glyphs are present as stylistic alternatives in unicode math fonts. See for example this thread http://www.ntg.nl/pipermail/ntg-context/2010/050885.html (I remember that there was another thread along these lines, but I cannot find it right now). Aditya [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 21:12 ` Aditya Mahajan @ 2014-05-21 21:33 ` Aditya Mahajan 2014-05-22 8:36 ` Otared Kavian 0 siblings, 1 reply; 20+ messages in thread From: Aditya Mahajan @ 2014-05-21 21:33 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 951 bytes --] On Wed, 21 May 2014, Aditya Mahajan wrote: > On Wed, 21 May 2014, Otared Kavian wrote: > >> Hi all, >> >> It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not >> work: the procedure explained at the page >> >> http://wiki.contextgarden.net/rsfs >> >> works fine with mkii, but not in mkiv. > > I do not have the time to look into this in detail. But hopefully the hint > below will help you get started. > > If I understand you correctly, you are looking for a caligraphic font that is > more "script-y" than the default \cal. > > From what I understand, such glyphs are present as stylistic alternatives in > unicode math fonts. See for example this thread > > http://www.ntg.nl/pipermail/ntg-context/2010/050885.html > > (I remember that there was another thread along these lines, but I cannot > find it right now). Found it: http://www.ntg.nl/pipermail/ntg-context/2011/061665.html Aditya [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-21 21:33 ` Aditya Mahajan @ 2014-05-22 8:36 ` Otared Kavian 2014-05-22 8:40 ` Mikael P. Sundqvist 0 siblings, 1 reply; 20+ messages in thread From: Otared Kavian @ 2014-05-22 8:36 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Aditya, Thanks for the hints: actually what I wanted to do was to use a calligraphic font which is a little bit more « script-y » as you put it (in particular for the letters A, B, D, S, U). Indeed using Khaled Hosny’s setup of xits one may get what I wanted to do. The solution suggested by Mikael is perfect when using Latin Modern in mkiv, since it shows that in mkiv it is possible, and very easy, to use any opentype font for the slots corresponding to uppercasescript and lowercasescript. When using palatino, I have to uderstand yet how to use palatino also in math mode… I don’t know what has to be changed in the following setup: \definefontfamily [mainface] [math] [Latin Modern Math] since replacing « Latin Modern Math » with « Palatino » does not work. Here is the example in which I would like to have palatino in math mode (for instance in \sin, or the variable x): %%%% begin example \definefallbackfamily[mainface][math][Asana Math][range={uppercasescript,lowercasescript}] \definefontfamily [mainface] [rm] [Palatino] \definefontfamily [mainface] [math] [Latin Modern Math] \setupbodyfont[mainface] \starttext This is \type{\cal}: ${\cal ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ This is \type{\cal}: ${\cal abcdefghijklmnopqrstuvwxyz}$ The space of distributions on $\Omega$ is denoted by ${\cal D}'(\Omega)$, while ${\cal S}({\Bbb R}^n)$ is the space of Schwartz functions, and ${\cal S}'({\Bbb R}^n)$ is its dual. Let $\phi(x) := \sin(|x|^2){\rm e}^{-|x|^2}$ and $T \in {\cal S}'({\Bbb R}^n)$ given above. \stoptext %%%% end example When one says \setupbodyfont[palatino] instead of \setupbodyfont[mainface] then the font used in math mode is also palatino, but then the uppercasescript is not what I would like to have… Best regards: OK On 21 May 2014, at 23:33, Aditya Mahajan <adityam@umich.edu> wrote: > On Wed, 21 May 2014, Aditya Mahajan wrote: > >> On Wed, 21 May 2014, Otared Kavian wrote: >> >>> Hi all, >>> It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not work: the procedure explained at the page >>> >>> http://wiki.contextgarden.net/rsfs >>> works fine with mkii, but not in mkiv. >> >> I do not have the time to look into this in detail. But hopefully the hint below will help you get started. >> >> If I understand you correctly, you are looking for a caligraphic font that is more "script-y" than the default \cal. >> >> From what I understand, such glyphs are present as stylistic alternatives in unicode math fonts. See for example this thread >> >> http://www.ntg.nl/pipermail/ntg-context/2010/050885.html >> >> (I remember that there was another thread along these lines, but I cannot find it right now). > > Found it: http://www.ntg.nl/pipermail/ntg-context/2011/061665.html > > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-22 8:36 ` Otared Kavian @ 2014-05-22 8:40 ` Mikael P. Sundqvist 2014-05-22 9:02 ` Otared Kavian 0 siblings, 1 reply; 20+ messages in thread From: Mikael P. Sundqvist @ 2014-05-22 8:40 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, May 22, 2014 at 10:36 AM, Otared Kavian <otared@gmail.com> wrote: > \definefontfamily [mainface] [rm] [Palatino] > \definefontfamily [mainface] [math] [Latin Modern Math] What if you change those lines to \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [math] [TeX Gyre Pagella Math] ? My guess is that palatino is a pointer to TeX Gyre Pagella. /Mikael ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-22 8:40 ` Mikael P. Sundqvist @ 2014-05-22 9:02 ` Otared Kavian 2014-05-22 12:49 ` Wolfgang Schuster 0 siblings, 1 reply; 20+ messages in thread From: Otared Kavian @ 2014-05-22 9:02 UTC (permalink / raw) To: mailing list for ConTeXt users Thanks Mikael! That’s it: the real name of palatino in mkiv is TeX Gyre Pagella, and in math mode one has to use TeX Gyre Pagella Math… I am going to update the page on the wiki about calligraphic math. Another question (maybe Wolfgang has more to say about it): is the word « mainface » is a mandatory name for the font family which is defined? Because if I change it to « MyMainFace » then mkiv reports an error: Math error: parameter \Umathquad\displaystyle is not set Thanks again and best regards: OK On 22 May 2014, at 10:40, Mikael P. Sundqvist <mickep@gmail.com> wrote: > On Thu, May 22, 2014 at 10:36 AM, Otared Kavian <otared@gmail.com> wrote: >> \definefontfamily [mainface] [rm] [Palatino] >> \definefontfamily [mainface] [math] [Latin Modern Math] > > What if you change those lines to > > \definefontfamily [mainface] [rm] [TeX Gyre Pagella] > \definefontfamily [mainface] [math] [TeX Gyre Pagella Math] > ? > > My guess is that palatino is a pointer to TeX Gyre Pagella. > > /Mikael > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: ConTeXt mkiv and rsfs fonts 2014-05-22 9:02 ` Otared Kavian @ 2014-05-22 12:49 ` Wolfgang Schuster 0 siblings, 0 replies; 20+ messages in thread From: Wolfgang Schuster @ 2014-05-22 12:49 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Otared Kavian Am 22.05.2014 um 11:02 schrieb Otared Kavian <otared@gmail.com>: > Thanks Mikael! > That’s it: the real name of palatino in mkiv is TeX Gyre Pagella, and in math mode one has to use TeX Gyre Pagella Math… > I am going to update the page on the wiki about calligraphic math. > > Another question (maybe Wolfgang has more to say about it): is the word « mainface » is a mandatory name for the font family which is defined? Because if I change it to « MyMainFace » then mkiv reports an error: > > Math error: parameter \Umathquad\displaystyle is not set It doesn’t matter which name you use for the typeface but all styles (serif, sans, math etc.) need the same name for the first argument of \definefontfamily. \definefontfamily [typefaceone] [serif] [Latin Modern Roman] \definefontfamily [typefaceone] [math] [Latin Modern Math] \definefontfamily [typefacetwo] [serif] [TeX Gyre Pagella] \definefontfamily [typefacetwo] [math] [TeX Gyre Pagella Math] \setupbodyfont[typefacetwo] \starttext \input knuth \setupbodyfont[typefaceone] \input knuth \stoptext 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2014-05-22 12:49 UTC | newest] Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-05-21 12:15 ConTeXt mkiv and rsfs fonts Otared Kavian 2014-05-21 13:55 ` Wolfgang Schuster 2014-05-21 14:43 ` Otared Kavian 2014-05-21 18:10 ` Mikael P. Sundqvist 2014-05-21 19:01 ` Otared Kavian 2014-05-21 19:10 ` Mikael P. Sundqvist 2014-05-21 19:54 ` Wolfgang Schuster 2014-05-21 21:04 ` Otared Kavian 2014-05-21 20:38 ` Otared Kavian 2014-05-21 21:08 ` Hans Hagen 2014-05-21 21:19 ` Otared Kavian 2014-05-21 19:39 ` Hans Hagen 2014-05-21 21:11 ` Otared Kavian 2014-05-21 21:21 ` Hans Hagen 2014-05-21 21:12 ` Aditya Mahajan 2014-05-21 21:33 ` Aditya Mahajan 2014-05-22 8:36 ` Otared Kavian 2014-05-22 8:40 ` Mikael P. Sundqvist 2014-05-22 9:02 ` Otared Kavian 2014-05-22 12:49 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).