From: Cedric Mauclair <cedric.mauclair@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Simplefonts, latest beta and binoms
Date: Mon, 23 May 2011 15:33:39 +0200 [thread overview]
Message-ID: <BANLkTi=bG5Sa-XKCtb9j_wtH7awMAua3pQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1105230920080.18633@ybpnyubfg.ybpnyqbznva>
[-- Attachment #1: Type: text/plain, Size: 2209 bytes --]
I did the following (just in case):
export DOFONTDIR=
mtxrun --script font --reload
context simplefonts-error.tex
The file simplefonts-error.tex is just what Wolfgang suggested:
\definetypeface[mainface][rm][serif][modern]
\definetypeface[mainface][mm][math] [modern]
\setupbodyfont[mainface]
\starttext
\startformula
\binom{1}{2}
\stopformula
\stoptext
After perusing the log file, here are the font files that are loaded:
/DATA/context-minimals/tex/texmf/fonts/opentype/public/lm/lmmath.otf
/DATA/context-minimals/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf.
I really wish to use Calluna with Latin/Computer Modern math because I
find palatino too narrow.
PS: if I should send files in private mails only, just tell me.
-- Cédric
On Mon, May 23, 2011 at 15:20, Aditya Mahajan <adityam@umich.edu> wrote:
> On Mon, 23 May 2011, Wolfgang Schuster wrote:
>
>>
>> Am 23.05.2011 um 12:13 schrieb Cedric Mauclair:
>>
>>> Hi list,
>>>
>>> I have some troubles with the simplefonts module. The following worked
>>> fine before (2011.02.25 22:03, need to add '\usemodule[newmat]'), but
>>> doesn't anymore (2011.05.18 22:26).
>>
>>
>> It’s the fault of the OpenType version of the LM Math fonts which
>> are used when you use the simplefonts module:
>>
>> \definetypeface[mainface][rm][serif][modern]
>> \definetypeface[mainface][mm][math] [modern]
>>
>> \setupbodyfont[mainface]
>>
>> \starttext
>> \startformula
>> \binom{1}{2}
>> \stopformula
>> \stoptext
>
> If I don't use any font setup, then the result is correct. Isn't opentype
> math setup used in both cases?
>
> Aditya
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
[-- Attachment #2: simplefonts-error.pdf --]
[-- Type: application/pdf, Size: 5997 bytes --]
[-- Attachment #3: simplefonts-error.log --]
[-- Type: application/octet-stream, Size: 4253 bytes --]
(simplefonts-error.tex
ConTeXt ver: 2011.05.18 22:26 MKIV fmt: 2011.5.23 int: english/english
system > cont-new.mkiv loaded
(/DATA/context-minimals/tex/texmf-context/tex/context/base/cont-new.mkiv
system > beware: some patches loaded from cont-new.mkiv
)
system > simplefonts-error.top loaded
system > options > begin of optionfile
system > options >
system > options > % runtime options files (command line driven)
system > options > \unprotect
system > options > % feedback and basic job control
system > options > % handy for special styles
system > options > \startluacode
system > options > document = document or { }
system > options > document.arguments={
system > options > }
system > options > document.files={
system > options > "simplefonts-error.tex",
system > options > }
system > options > \stopluacode
system > options > % process info
system > options > \setupsystem[inputfile=simplefonts-error.tex]
system > options > \setupsystem[\c!n=2,\c!m=3]
system > options > % modes
system > options > % options (not that important)
system > options > \startsetups *runtime:options
system > options > \stopsetups
system > options > % styles and modules
system > options > \startsetups *runtime:modules
system > options > \stopsetups
system > options > % done
system > options > \protect \endinput
system > options >
system > options > end of optionfile
(simplefonts-error.top)
fonts > latin modern fonts are not preloaded
languages > language en is active
(/DATA/context-minimals/tex/texmf-context/tex/context/base/type-siz.mkiv) (/DATA/context-minimals/tex/texmf-context/tex/context/base/type-otf.mkiv){/DATA/context-minimals/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/DATA/context-minimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/DATA/context-minimals/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts > preloading latin modern fonts (mono)
fonts > fallback modern tt 12pt is loaded
system > begin file simplefonts-error.tex at line 6
backend > xmp > using file '/DATA/context-minimals/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
system > end file simplefonts-error.tex at line 10
)</DATA/context-minimals/tex/texmf/fonts/opentype/public/lm/lmmath.otf></DATA/context-minimals/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf>
mkiv lua stats > used config file - selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path - /DATA/context-minimals/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > input load time - 0.007 seconds
mkiv lua stats > stored bytecode data - 285 modules, 60 tables, 345 chunks
mkiv lua stats > cleaned up reserved nodes - 33 nodes, 9 lists of 423
mkiv lua stats > node memory usage - 26 glue_spec
mkiv lua stats > node list callback tasks - 6 unique task lists, 6 instances (re)created, 1626 calls
mkiv lua stats > used backend - pdf (backend for directly generating pdf output)
mkiv lua stats > loaded patterns - en::2
mkiv lua stats > callbacks - 1707 direct, 2974 indirect, 4681 total
mkiv lua stats > randomizer - resumed with value 0.011205462278428
mkiv lua stats > lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats > result saved in file - simplefonts-error.pdf
mkiv lua stats > loaded fonts - 2 files: lmmath.otf lmroman10-regular.otf
mkiv lua stats > fonts load time - 0.146 seconds
mkiv lua stats > luatex banner - this is luatex, version beta-0.70.1-2011051923 (rev 4277)
mkiv lua stats > control sequences - 29915 of 165536
mkiv lua stats > current memory usage - 24 MB (ctx: 25 MB)
mkiv lua stats > runtime - 0.621 seconds, 1 processed pages, 1 shipped pages, 1.610 pages/second
[-- Attachment #4: simplefonts-error.tex --]
[-- Type: application/x-tex, Size: 195 bytes --]
[-- Attachment #5: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2011-05-23 13:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 10:13 Cedric Mauclair
2011-05-23 10:31 ` Wolfgang Schuster
2011-05-23 11:41 ` Cedric Mauclair
2011-05-23 13:20 ` Aditya Mahajan
2011-05-23 13:32 ` Wolfgang Schuster
2011-05-23 13:33 ` Cedric Mauclair [this message]
2011-05-23 13:52 ` Wolfgang Schuster
2011-05-23 14:04 ` Cedric Mauclair
2011-05-23 14:07 ` Aditya Mahajan
2011-05-24 14:47 ` Guanhao Yin
2011-05-24 14:58 ` 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='BANLkTi=bG5Sa-XKCtb9j_wtH7awMAua3pQ@mail.gmail.com' \
--to=cedric.mauclair@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).