* Font (roboto) and math font - error
@ 2014-08-27 19:50 Zenlima
2014-08-27 20:41 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Zenlima @ 2014-08-27 19:50 UTC (permalink / raw)
To:
mailing list for ConTeXt users
Hi,
I am switching all my docs to the roboto font as I just like the
look of that font. During this I ran into a problem with \item:
! Math error: parameter \Umathquad\displaystyle is not set.
..
l.26 \item h
ere we list the points,
In my example: as soon I enable any of the two \definetypeface lines I
am running into that error.. even if I only enable the math font.
Every hint is welcome :)
Here is my example to reproduce the error:
---8<------
\enableregime[utf]
\definefontfeature[fakesc][default][size=.8]
\starttypescript [sans] [roboto]
\definefontsynonym[Sans][name:robotolight][fallbacks=Sans]
\definefontsynonym[SansBold][name:robotoregular]
\definefontsynonym[SansItalic][name:robotolightitalic]
\definefontsynonym[SansSlanted][name:robotolightitalic]
\definefontsynonym[SansBoldItalic][name:robotoregularitalic]
\definefontsynonym[SansBoldSlanted][name:robotoregularitalic]
\definefontsynonym[SansCaps] [name:robotolight][features=fakesc]
\stoptypescript
\starttypescript [math] [latinmodern]
\definefontsynonym[Math][name:latinmodernmathregular]
\stoptypescript
\definetypeface[fliesstext][ss][sans][roboto]
\definetypeface[fliesstext][mm][math][latinmodern][default]
\setupbodyfont[fliesstext,ss,11pt]
\starttext
\startitemize
\item here we list the points,
\item one after the other.
\stopitemize
\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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Font (roboto) and math font - error
2014-08-27 19:50 Font (roboto) and math font - error Zenlima
@ 2014-08-27 20:41 ` Hans Hagen
2014-08-27 21:05 ` Zenlima
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2014-08-27 20:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 8/27/2014 9:50 PM, Zenlima wrote:
> Hi,
>
> I am switching all my docs to the roboto font as I just like the
> look of that font. During this I ran into a problem with \item:
>
> ! Math error: parameter \Umathquad\displaystyle is not set.
> ..
> l.26 \item h
> ere we list the points,
>
> In my example: as soon I enable any of the two \definetypeface lines I
> am running into that error.. even if I only enable the math font.
>
> Every hint is welcome :)
>
> Here is my example to reproduce the error:
>
> ---8<------
>
> \enableregime[utf]
\definefontfeature[fakesc][default][size=.8]
\starttypescript [sans] [roboto]
\definefontsynonym[Sans][name:robotolight][fallbacks=Sans]
> \definefontsynonym[SansBold][name:robotoregular]
> \definefontsynonym[SansItalic][name:robotolightitalic]
> \definefontsynonym[SansSlanted][name:robotolightitalic]
> \definefontsynonym[SansBoldItalic][name:robotoregularitalic]
> \definefontsynonym[SansBoldSlanted][name:robotoregularitalic]
> \definefontsynonym[SansCaps] [name:robotolight][features=fakesc]
> \stoptypescript
> \starttypescript [math] [latinmodern]
> \definefontsynonym[Math][name:latinmodernmathregular]
> \stoptypescript
\definetypeface[fliesstext][ss][sans][roboto]
> \definetypeface[fliesstext][mm][math][latinmodern][default]
\setupbodyfont[fliesstext,ss,11pt]
\starttext
\startitemize
\item here we list the points,
\item one after the other.
\stopitemize
\stoptext
\definefontfeature[fakesc][default][size=.8]
\starttypescript [sans] [roboto]
\definefontsynonym[Sans][name:robotolight][fallbacks=Sans]
\definefontsynonym[SansBold][name:robotoregular]
\definefontsynonym[SansItalic][name:robotolightitalic]
\definefontsynonym[SansSlanted][name:robotolightitalic]
\definefontsynonym[SansBoldItalic][name:robotoregularitalic]
\definefontsynonym[SansBoldSlanted][name:robotoregularitalic]
\definefontsynonym[SansCaps] [name:robotolight][features=fakesc]
\stoptypescript
% \starttypescript [math] [latinmodern] [name]
% \loadfontgoodies[lm]
% \definefontsynonym [MathRoman] [file:latinmodern-math-regular.otf]
[features={math\mathsizesuffix,lm-math},goodies=lm]
% \stoptypescript
\definetypeface[fliesstext][ss][sans][roboto]
\definetypeface[fliesstext][rm][sans][roboto]
\definetypeface[fliesstext][tt][sans][roboto]
% \definetypeface[fliesstext][mm][math][latinmodern][default]
\definetypeface[fliesstext][mm][math][modern][default]
\setupbodyfont[fliesstext,ss,11pt]
\starttext
\startitemize
\item here we list the points,
\item one after the other.
\stopitemize
\stoptext
-----------------------------------------------------------------
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] 3+ messages in thread
* Re: Font (roboto) and math font - error
2014-08-27 20:41 ` Hans Hagen
@ 2014-08-27 21:05 ` Zenlima
0 siblings, 0 replies; 3+ messages in thread
From: Zenlima @ 2014-08-27 21:05 UTC (permalink / raw)
To: ntg-context
Thanks Hans, it works :)
Am Wed, 27 Aug 2014 22:41:37 +0200
schrieb Hans Hagen <pragma@wxs.nl>:
> On 8/27/2014 9:50 PM, Zenlima wrote:
> > Hi,
> >
> > I am switching all my docs to the roboto font as I just like the
> > look of that font. During this I ran into a problem with \item:
> >
> > ! Math error: parameter \Umathquad\displaystyle is not set.
> > ..
> > l.26 \item h
> > ere we list the points,
> >
> > In my example: as soon I enable any of the two \definetypeface
> > lines I am running into that error.. even if I only enable the math
> > font.
> >
> > Every hint is welcome :)
> >
> > Here is my example to reproduce the error:
> >
> > ---8<------
> >
> > \enableregime[utf]
\definefontfeature[fakesc][default][size=.8]
\starttypescript [sans] [roboto]
\definefontsynonym[Sans][name:robotolight][fallbacks=Sans]
> > \definefontsynonym[SansBold][name:robotoregular]
> > \definefontsynonym[SansItalic][name:robotolightitalic]
> > \definefontsynonym[SansSlanted][name:robotolightitalic]
> > \definefontsynonym[SansBoldItalic][name:robotoregularitalic]
> > \definefontsynonym[SansBoldSlanted][name:robotoregularitalic]
> > \definefontsynonym[SansCaps] [name:robotolight][features=fakesc]
> > \stoptypescript
> > \starttypescript [math] [latinmodern]
> > \definefontsynonym[Math][name:latinmodernmathregular]
> > \stoptypescript
\definetypeface[fliesstext][ss][sans][roboto]
> > \definetypeface[fliesstext][mm][math][latinmodern][default]
\setupbodyfont[fliesstext,ss,11pt]
\starttext
\startitemize
\item here we list the points,
\item one after the other.
\stopitemize
\stoptext
>
>
> \definefontfeature[fakesc][default][size=.8]
>
> \starttypescript [sans] [roboto]
> \definefontsynonym[Sans][name:robotolight][fallbacks=Sans]
> \definefontsynonym[SansBold][name:robotoregular]
> \definefontsynonym[SansItalic][name:robotolightitalic]
> \definefontsynonym[SansSlanted][name:robotolightitalic]
> \definefontsynonym[SansBoldItalic][name:robotoregularitalic]
> \definefontsynonym[SansBoldSlanted][name:robotoregularitalic]
> \definefontsynonym[SansCaps] [name:robotolight][features=fakesc]
> \stoptypescript
>
> % \starttypescript [math] [latinmodern] [name]
> % \loadfontgoodies[lm]
> % \definefontsynonym [MathRoman]
> [file:latinmodern-math-regular.otf]
> [features={math\mathsizesuffix,lm-math},goodies=lm] % \stoptypescript
>
> \definetypeface[fliesstext][ss][sans][roboto]
> \definetypeface[fliesstext][rm][sans][roboto]
> \definetypeface[fliesstext][tt][sans][roboto]
> % \definetypeface[fliesstext][mm][math][latinmodern][default]
> \definetypeface[fliesstext][mm][math][modern][default]
>
> \setupbodyfont[fliesstext,ss,11pt]
>
> \starttext
> \startitemize
> \item here we list the points,
> \item one after the other.
> \stopitemize
> \stoptext
>
>
> -----------------------------------------------------------------
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2014-08-27 21:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-27 19:50 Font (roboto) and math font - error Zenlima
2014-08-27 20:41 ` Hans Hagen
2014-08-27 21:05 ` Zenlima
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).