ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rudolf Bahr <quasi@quasi.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: structure Mk II vs IV
Date: Wed, 26 Feb 2014 13:56:32 +0100	[thread overview]
Message-ID: <20140226125632.GB4760@mini> (raw)
In-Reply-To: <A9371EFC-6E9D-4C70-AA6A-6EF0C9942206@gmail.com>



On Tue, Feb 25, 2014 at 11:48:11PM +0100, Wolfgang Schuster wrote:
> 
> Am 25.02.2014 um 23:37 schrieb Andrea Valle <andrea.valle@unito.it>:
> 
> > Ah, so I was a bit mislead by the wiki. Actually I hace this.
> > 
> > 
> > \usemodule[simplefonts][size=8pt]
> > \definefontfamily [myfamily][serif][TeX Gyre Termes]
> > \definefontfamily[myfamily][mono][LM Typewriter]
> > \definefontfamily[myfamily][sans][Avenir]
> > 
> > \setupbodyfont[myfamily]
> > 
> > You mean that I simply don’t need \usemodule[simplefonts][size=8pt]?
> 
> The \definefontfamily command is part of the core and you don’t have to load the simplefonts module.
> 
> PS. The monospace font for Latin Modern has the name “Latin Modern Mono”.
> 
> Wolfgang
>

 
Hello Wolfgang,

according to [1] and Andrea's unanswered question:

> You mean that I simply don’t need \usemodule[simplefonts][size=8pt]?

in which I'm very interested: How is fontswitching to other styles
(5pt,11pt,17.3pt or bold etc.) performed with \definefontfamily?
I.e. \switchtobodyfont[17.3pt] as in following example works, but is it
in the official context line? And a, b, c, x, xx no more?

\switchtobodyfont[17.3pt] and others will give me such messages:
"fonts           > defining > unable to define 'unknown' as 'mainface-17.3pt-rm-tf-0-a-0'"
therefore I think it's perhaps not the right command.

Btw, I'd wish really complete context examples in the manuals. They could spare some
of my "stupid" questions.

Rudolf

% ----------------------------------------------------------------------------------
\definefontfamily [mainface] [serif] [TeX Gyre Pagella DejaVu Serif]
\definefontfamily [mainface] [sans]  [DejaVu Sans]
\definefontfamily [mainface] [mono]  [DejaVu Sans Mono] [feature=none]
\definefontfamily [mainface] [math]  [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

\starttext
\startlines
\rm rm: DejaVu Serif, yes works well.
\tfx tfx: No
\rma rma: No

\rm
{\switchtobodyfont[17.3pt] 17.3pt-rm seems to be ok.}
{\switchtobodyfont[14.4pt] 14.4pt-rm seems to be ok too.}
{\switchtobodyfont[12pt] 12pt-rm ok.}
{\switchtobodyfont[11pt]\rm 11pt-rm ok..}
{\rm\bf rm-bf doesn't work.}
\stoplines
\stoptext
% ----------------------------------------------------------------------------------

Btw my context version: ConTeXt  ver: 2014.02.14 17:07 MKIV beta  fmt: 2014.2.26
[1] http://www.ntg.nl/pipermail/ntg-context/2013/075428.html




___________________________________________________________________________________
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-02-26 12:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25  9:57 Andrea Valle
2014-02-25 10:30 ` Wolfgang Schuster
2014-02-25 13:42   ` Andrea Valle
2014-02-25 16:03     ` Andrea Valle
2014-02-25 22:23       ` Wolfgang Schuster
2014-02-25 22:30         ` Andrea Valle
2014-02-25 22:33           ` Wolfgang Schuster
2014-02-25 22:37             ` Andrea Valle
2014-02-25 22:48               ` Wolfgang Schuster
2014-02-26 12:56                 ` Rudolf Bahr [this message]
2014-02-26 23:51                   ` Wolfgang Schuster

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=20140226125632.GB4760@mini \
    --to=quasi@quasi.de \
    --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).