ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Floris van Manen <vm@klankschap.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: how to get simplefonts to work as intended?
Date: Sat, 23 Sep 2017 02:14:42 +0200	[thread overview]
Message-ID: <53364400-517A-4B22-8FB5-643B9F881249@klankschap.nl> (raw)
In-Reply-To: <CAL7_PC5GUBTTFJA1-0Bxf6rGjgW5KG5fheJk3WA+ciUc-dMPDQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1201 bytes --]


> On 23 Sep 2017, at 00:30, kaddour kardio <kaddourkardio@gmail.com> wrote:
> 
> you should  remove the line containing *simplefont*, you don’t
> have to load it to get a proper import of fonts, besides the TeX Gyre super family is already available with the distribution, either standalone or the texlive distro
> 

without the line containg \usemodule[simplefonts] context will complain about the unknown \setmainfont[]




l.13 \setmainfont
               [TeX Gyre Termes]

 3         topspace=0mm,
 4         width=140mm,
 5         header=25mm,
 6         footer=20mm,
 7         height=210mm]
 8
 9     \setupheader[state=empty,no]
10     % \setuppagenumbering[stop]
11     \setupbodyfontenvironment[default][em=italic]
12     % \usemodule[simplefonts][size=12pt]
13 >>  \setmainfont[TeX Gyre Termes]
14     \setsansfont[TeX Gyre Heros]
15     \setmonofont[TeX Gyre Cursor]
16     \setupitemize[packed]
17      \setupinterlinespace[line=16pt]
18
19     %% set style of head and foot
20     \setupheader[style=smallcaps]
21     \setupfooter[style=italic]
22     %% set the style of the page number
23     \setuppagenumbering[style=mediaeval,location=]



[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-09-23  0:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4E296ADA-D651-490D-88CE-BCFD5C54EAF7@klankschap.nl>
2017-09-22 18:21 ` Floris van Manen
2017-09-22 22:30   ` kaddour kardio
2017-09-23  0:14     ` Floris van Manen [this message]
2017-09-23  0:29       ` Floris van Manen
2017-09-23  9:58         ` kaddour kardio
2017-09-23 10:53           ` Floris van Manen
2017-09-23 21:38             ` kaddour kardio
2017-09-23 21:52               ` Floris van Manen

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=53364400-517A-4B22-8FB5-643B9F881249@klankschap.nl \
    --to=vm@klankschap.nl \
    --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).