ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* hack in type-siz
@ 2008-05-15 20:00 luigi scarso
  2008-05-15 21:03 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: luigi scarso @ 2008-05-15 20:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

\starttext
\definetypeface [boldmath] [mm] [boldmath] [latin-modern] [modern]
[encoding=texnansi]
$a \times b$ $a \boldsymbol{\times} b$
\stoptext
(from core-mat.tex)
gives

<<? blobpath asked: cmbx7 .otf>>
<<? blobpath do: /opt/luatex/tex/texmf-linux (cmbx7 .otf)>>
<<? blobpath do: /opt/luatex/tex/texmf-fonts (cmbx7 .otf)>>
<<? blobpath do: /opt/luatex/tex/texmf-local (cmbx7 .otf)>>
<<?
..
rror >> define font: font with name cmbx7  is not found
error >> define font: name: cmbx7 , loading aborted
! Font \*boldmath7ptmmmrmm*:=cmbx7  not loadable: metric data not found or bad.



In type-size

\starttypescript [boldmath] [modern,computer-modern,latin-modern] [size]

% hack to prevent mapping of filenames, watch the space!

  \definefontsynonym[xcmb12][cmbx12 ]
  \definefontsynonym[xcmb10][cmbx10 ]
  \definefontsynonym[xcmb9] [cmbx9 ]
  \definefontsynonym[xcmb8] [cmbx8 ]
  \definefontsynonym[xcmb7] [cmbx7 ]
  \definefontsynonym[xcmb6] [cmbx6 ]
  \definefontsynonym[xcmb5] [cmbx5 ]
...

Maybe is just the space
the problem.


-- 
luigi
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hack in type-siz
  2008-05-15 20:00 hack in type-siz luigi scarso
@ 2008-05-15 21:03 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2008-05-15 21:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

luigi scarso wrote:
> \starttext
> \definetypeface [boldmath] [mm] [boldmath] [latin-modern] [modern]
> [encoding=texnansi]
> $a \times b$ $a \boldsymbol{\times} b$
> \stoptext
> (from core-mat.tex)
> gives
> 
> <<? blobpath asked: cmbx7 .otf>>
> <<? blobpath do: /opt/luatex/tex/texmf-linux (cmbx7 .otf)>>
> <<? blobpath do: /opt/luatex/tex/texmf-fonts (cmbx7 .otf)>>
> <<? blobpath do: /opt/luatex/tex/texmf-local (cmbx7 .otf)>>
> <<?
> ...
> rror >> define font: font with name cmbx7  is not found
> error >> define font: name: cmbx7 , loading aborted
> ! Font \*boldmath7ptmmmrmm*:=cmbx7  not loadable: metric data not found or bad.
> 
> 
> 
> In type-size
> 
> \starttypescript [boldmath] [modern,computer-modern,latin-modern] [size]
> 
> % hack to prevent mapping of filenames, watch the space!
> 
>   \definefontsynonym[xcmb12][cmbx12 ]
>   \definefontsynonym[xcmb10][cmbx10 ]
>   \definefontsynonym[xcmb9] [cmbx9 ]
>   \definefontsynonym[xcmb8] [cmbx8 ]
>   \definefontsynonym[xcmb7] [cmbx7 ]
>   \definefontsynonym[xcmb6] [cmbx6 ]
>   \definefontsynonym[xcmb5] [cmbx5 ]
> ....
> 
> Maybe is just the space

hm, this is actually a hack that permits loading fonts for math without 
interference; i wonder why it is no lm (i thought that i changed it)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-15 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-15 20:00 hack in type-siz luigi scarso
2008-05-15 21:03 ` Hans Hagen

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).