Thank you. But I still Don’t unterstand. I believe, I can write so:
\definefontfamily [myfamily] [serif] [Palatino]
\setupbodyfont[myfamily, 10pt]
But then I have no italics, bold or small caps. When I write only:
\setupbodyfont[palatino, 10pt]
all is well. What’ wromg here?
On 23 May 2014, at 19:23, Wolfgang Schuster wrote:
Am 23.05.2014 um 19:14 schrieb Werner Hintze we.hintze@gmail.com:
I believe, it is possible to use in Conext the otf-fonts I have in my computer. I generated the database, the quert shows me, that the font is there, but I can not get it in my file. And when I read the chapter in the Manual or whatever I can find, I read a lot about Typescripts and unterstand absolutely nothing. I find how to make a typescript for palatino, which makes no difference, but I don’t unterstand why I shall make a typescript and how.
Is there a text which tells step by step what I have to so and why? Now the situation is: I have a lot of Fonts and can use just four. That was much easier with LaTeX…
The context suite provides the \definefontfamily command which let you select a font (the name of the font goes into the third argument) without the need to write a typescript. Below is a example where I used fonts from my ms office installation.
\definefontfamily [myfontcollection] [serif] [Cambria]
\definefontfamily [myfontcollection] [sans] [Calibri]
\definefontfamily [myfontcollection] [mono] [Consolas]
\definefontfamily [myfontcollection] [math] [Cambria Math]\setupbodyfont[myfontcollection]
\starttext
{\rm\input ward }
{\ss\input ward }
{\tt\input ward }
\startformula
c^2 = a^2 + b^2
\stopformula\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