From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97228 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: Re: Comical error.. Date: Sun, 12 Feb 2017 13:28:03 +0100 Message-ID: <58a054a9.0c8e1c0a.3a2f0.5ae8@mx.google.com> References: <20170211145133.5d7ed184@acer3.locall.com> <0C922451-3F71-4541-BBA1-610FAF29EC80@fiee.net> <20170211214050.0b08043b@acer3.locall.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3335218295287958595==" X-Trace: blaine.gmane.org 1486902479 6162 195.159.176.226 (12 Feb 2017 12:27:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2017 12:27:59 +0000 (UTC) To: John Culleton , "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 12 13:27:54 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cctFx-0001Hl-4i for gctc-ntg-context-518@m.gmane.org; Sun, 12 Feb 2017 13:27:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E88331016FB; Sun, 12 Feb 2017 13:27:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HtPvMoaWF1Pw; Sun, 12 Feb 2017 13:27:37 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 307551016FC; Sun, 12 Feb 2017 13:27:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 93C6C1016FC for ; Sun, 12 Feb 2017 13:27:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f0Cb3atFLxLo for ; Sun, 12 Feb 2017 13:27:33 +0100 (CET) Original-Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7AEB21016FB for ; Sun, 12 Feb 2017 13:27:23 +0100 (CET) Original-Received: by mail-wm0-f47.google.com with SMTP id v186so140178517wmd.0 for ; Sun, 12 Feb 2017 04:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance:in-reply-to :references; bh=LCD0a1HG89SrPsY/S1GowQX+Sq/D5PaszVvSaybGFB4=; b=huEiK01NKsTxqQTkTMRfPb9OQwc2lfK+mj5dPSyvBub9IkaD4o5qB1eoeIoIisBej+ /Y38PMaz1Qqpi0lstakqF/QafiQfrb7/5GLvXid952QIhtOq0X/nzgbjv3EcHtaoCTiI N6Pa8aGyk00TdNiqIDB/o4GUYR3nTv4veZAY/G9qM8eRR6AeXqoEy+90bIVbevsBDTnv 5vznmBlqgZmgdNqK8up3RFxiMHgVu9bnxFG0xjabWdyEqMwwHkigDYF2QGytsphSOt6R RxKi7kva0jYRtQ0pmtU+ek6wiAmOL+lhQVqtSG7DITnrmrkTdxjOM1xHQCDEHprR0pkH GarA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance:in-reply-to:references; bh=LCD0a1HG89SrPsY/S1GowQX+Sq/D5PaszVvSaybGFB4=; b=XchXDEPdkRJXUtWoPEORsJlyd7Ntr03Idwy7FM7O50SM2mg07KnMRPJYVE9MFj4y8d etSprCsfNP40e5591+2KXpBOPlRKEIT0fCJN3/LkF8VO4Ido22BUUKQF//iJX25gClAm MSO7ZA9NThOUo0gherWxD70Wnag2nKsco5rhxigBe1TVjqrREuHz3bZCyxnqZEGl4ft4 ohIPn3HNKbSqUCD3wcQ98jsxNkV9f+tYWjChLELuxLs5Qop4QM2sjCeg6Qf8R+LJsYO0 uQJxqlx82tUwMb3TdTRQwEZz0fQx/GPtIZwLAHPRg/nvYEckNKp8z0etfcqjmt8YNk+n qgCw== X-Gm-Message-State: AMke39lJjvRhC4KmBveEB/WVw09ogVBQdEBgvltUpTjgllvJZyyABt+xEZs0yj62aZxvXQ== X-Received: by 10.28.125.149 with SMTP id y143mr32749344wmc.16.1486902442934; Sun, 12 Feb 2017 04:27:22 -0800 (PST) Original-Received: from ?IPv6:2a01:cb00:6ae:7f00:407f:20fc:f519:e871? (2a01cb0006ae7f00407f20fcf519e871.ipv6.abo.wanadoo.fr. [2a01:cb00:6ae:7f00:407f:20fc:f519:e871]) by smtp.gmail.com with ESMTPSA id q12sm1237813wmd.8.2017.02.12.04.27.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Feb 2017 04:27:21 -0800 (PST) Importance: normal X-Priority: 3 In-Reply-To: <20170211214050.0b08043b@acer3.locall.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:97228 Archived-At: --===============3335218295287958595== Content-Type: multipart/alternative; boundary="_5FACD172-88B3-4EBD-A7A1-11AD9E9AA6C7_" --_5FACD172-88B3-4EBD-A7A1-11AD9E9AA6C7_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Re question 2. You can have the list of loaded fonts files from the log fil= e produced by context command, nearly the end=C2=A0: For example from my run=C2=A0: mkiv lua stats > loaded fonts: 4 files: dejavusansmono.ttf, ebgaramond12-r= egular.otf, keteryg-medium.ttf, sblgreek.ttf >From this you can deduce most probably the font file format.=20 Please use=C2=A0:=20 mtxrun --script fonts=20 To get more information on fonts database context uses. Hope this helps a bit. Best Joseph De=C2=A0: John Culleton Envoy=C3=A9 le=C2=A0:dimanche 12 f=C3=A9vrier 2017 03:41 =C3=80=C2=A0: ntg-context@ntg.nl Objet=C2=A0:Re: [NTG-context] Comical error.. On Sat, 11 Feb 2017 21:08:46 +0100 Here is another example from the Wiki ------------------------------------- \definefontfamily [mainface] [rm] [TeX Gyre Pagella] [it=3D{TeX Gyre Cursor-Italic}, bf=3D{TeX Gyre Adventor-Bold}, bi=3D{TeX Gyre Termes-BoldItalic}] \setupbodyfontenvironment [default] [em=3Ditalic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=3D1em] Roman font {\em italic} \bf Bold font \em bold italic \stopTEXpage \stoptext --------------------------------------- and another -------------------------------------- setupbodyfont[dejavu] \setupbodyfontenvironment [default] [smallsized=3D1.25, mediumsized=3D1.5, largesized=3D2.0] \definefontsize[smallsized] \definefontsize[mediumsized] \definefontsize[largesized] \starttext \setuphead[chapter] [style=3D\bflargesized] \setuphead[section] [style=3D\bfmediumsized] \setuphead[subsection][style=3D\bfsmallsized] \chapter {Whatever $x-1$} \section {Whatever $x-1$} \subsection{Whatever $x-1$} \input ward \blank Whatever $x-1$ \blank {\itmediumsized This is italic medium sized. $\cos(x) =3D {\rm Re}(\exp({\rm i}x))$} \blank {\rmmediumsized This is roman medium sized. \crlf $\cos(x) =3D {\rm Re}(\exp({\rm i}x))$} \stoptext -------------------------------------- Some questions: 1. Where is the basic size of the font family defined in points? 2. In the second example which of the many Dejavu fonts is assumed to be the starting point? Is it a ttf or a otf version? 3. Can any font family on the system be used or is there a specific context list? All answers appreciated of course :<) John Culleton Wexfordpress Book design and indexing. ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________= ________ --_5FACD172-88B3-4EBD-A7A1-11AD9E9AA6C7_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Re question 2. You can have the list o= f loaded fonts files from the log file produced by context command, nearly = the end :

 

For example from my run :

 

mkiv lua stats=C2=A0 > loaded fonts: 4 files= : dejavusansmono.ttf, ebgaramond12-regular.otf, keteryg-medium.ttf, sblgree= k.ttf

 

Fro= m this you can deduce most probably the font file format.

 

Please use :

 

mtxrun=C2=A0 --= script fonts

 

To get more information on fonts database context uses.

 

Hope this helps a bit.<= /p>

Best

 

<= p class=3DMsoNormal>Joseph

 

De : Joh= n Culleton
Envoy=C3=A9 le :dimanche 12 f=C3=A9vrier 2017= 03:41
=C3=80 : ntg-co= ntext@ntg.nl
Objet :Re: [NTG-context] Comical error..

 

On Sa= t, 11 Feb 2017 21:08:46 +0100

Here is another examp= le from the Wiki

----------------------------------= ---

\definefontfamily

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [mainface]

= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [rm]

=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [TeX Gyre Pagella]

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [it=3D{TeX Gyre Cursor-I= talic},

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 bf=3D{TeX Gyre Adventor-Bold},

=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bi=3D{TeX Gyre Termes-BoldItalic}]

=

 

=C2=A0=C2=A0= =C2=A0 \setupbodyfontenvironment

=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 [default]

=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 [em=3Ditalic]

&nbs= p;

=C2=A0=C2=A0=C2=A0 \setupbodyfont[mainface= ]

=C2=A0=C2=A0=C2=A0 \starttext

=C2=A0=C2=A0=C2=A0 \startTEXpage[offset=3D1em]

=C2=A0=C2=A0=C2=A0 Roman font {\em italic}

&n= bsp;

=C2=A0=C2=A0 =C2=A0\bf Bold font \em bol= d italic

=C2=A0=C2=A0=C2=A0 \stopTEXpage

=C2=A0=C2=A0=C2=A0 \stoptext

--------= -------------------------------

and another

--------------------------------------

setupbodyfont[dejavu]

 

\setupbodyfontenvironment

[defau= lt]

[smallsized=3D1.25,

= =C2=A0 mediumsized=3D1.5,

=C2=A0 largesized=3D2.0]<= /p>

 

\definefo= ntsize[smallsized]

\definefontsize[mediumsized]

=

\definefontsize[largesized]

 

\starttext

=  

\setuphead[chapter]=C2=A0=C2=A0 [= style=3D\bflargesized]

\setuphead[section]=C2=A0=C2= =A0 [style=3D\bfmediumsized]

\setuphead[subsection]= [style=3D\bfsmallsized]

 

\chapter=C2=A0=C2=A0 {Whatever $x-1$}

\section=C2=A0=C2=A0 {Whatever $x-1$}

\subsection= {Whatever $x-1$}

 

\input ward

\blank

= Whatever $x-1$

\blank

=  

{\itmediumsized This is italic medium = sized. $\cos(x) =3D {\rm

Re}(\exp({\rm i}x))$}

<= p class=3DMsoNormal> 

\blank

 

{\rmmediumsized= This is roman medium sized. \crlf

$\cos(x) =3D {\r= m Re}(\exp({\rm i}x))$}

 

\stoptext

 

--------------------------------------

Some questions:

1. Where is the basic size of t= he font family defined in points?

2. In the second = example which of the many Dejavu fonts is assumed to

be the starting point? Is it a ttf or a otf version?

3. Can any font family on the system be used or is there a specific

=

context list?

 

All answers appreciated of course :<)

 

John Culleton

Wexfordpress

Book design and = indexing.

 

__________________________________________________________________________= _________

If your question is of interest to others= as well, please add an entry to the Wiki!

&nb= sp;

maillist : ntg-context@ntg.nl / http://ww= w.ntg.nl/mailman/listinfo/ntg-context

webpage=C2=A0= : http://www.pragma-ade.nl / http://context.aanhet.net

archive=C2=A0 : https://bitbucket.org/phg/context-mirror/commits/

<= p class=3DMsoNormal>wiki=C2=A0=C2=A0=C2=A0=C2=A0 : http://contextgarden.net=

__________________________________________________= _________________________________

 =

= --_5FACD172-88B3-4EBD-A7A1-11AD9E9AA6C7_-- --===============3335218295287958595== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============3335218295287958595==--