[NTG-context] issues with typeface selection

Wolfgang Schuster schuster.wolfgang at gmail.com
Sat Aug 8 16:18:44 CEST 2015


> Pablo Rodriguez <mailto:oinos at gmx.es>
> 8. August 2015 13:22
>
> Many thanks for your help, Wolfgang.
>
> Of course, you are right. I know that, but I mistyped it.
>
> Although I still having problems with foregroundstyle, such as in:
>
> \definefontfamily[newtimes][serif][FreeSerif]
> \definefontfamily[droidserif][serif][Droid Serif]
> \setupbodyfont[palatino, 12pt]
> \setuphead[section][style=\newtimes\tfx]
> \starttext
> \section{Comparision}
> \startxtable
> \startxrow
> \startxcell[foregroundstyle=\newtimes\tfx] \ConTeXt\stopxcell
> \startxcell[foregroundstyle=\droidserif\tfx] \ConTeXt\stopxcell
> \stopxrow
> \stopxtable
> \stoptext
>
> Is there a way to add both commands to foregroundstyle? Or how can I get
> both commands in the xcell?
All I can tell at the moment is that the problem is related to the “x” 
font size.

\starttext

\startxtable
     \startxrow
         \startxcell[foregroundstyle=\txx] % this fails: foregroundstyle=\tx
             \CONTEXT
         \stopxcell
     \stopxrow
\stopxtable

\stoptext

BTW: Can you avoid using fonts which aren’t available on all systems.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150808/33028853/attachment.html>


More information about the ntg-context mailing list