ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: I'm too studpid for Context...
Date: Fri, 23 May 2014 19:23:01 +0200	[thread overview]
Message-ID: <BD03B4E3-60E2-4B73-8708-433FD775F729@gmail.com> (raw)
In-Reply-To: <18EE61B9-68DD-4721-8AD4-C1125596B630@gmail.com>


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
___________________________________________________________________________________


  reply	other threads:[~2014-05-23 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23 17:14 Werner Hintze
2014-05-23 17:23 ` Wolfgang Schuster [this message]
2014-05-24 10:51   ` Werner Hintze
2014-05-24 11:02     ` Wolfgang Schuster
2014-05-24 11:55       ` Werner Hintze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BD03B4E3-60E2-4B73-8708-433FD775F729@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).