ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \bfm broken
@ 2004-12-10 22:58 David Munger
  2004-12-12 12:39 ` fonts -- installation Rob Ermers
  2004-12-14  0:41 ` \bfm broken h h extern
  0 siblings, 2 replies; 3+ messages in thread
From: David Munger @ 2004-12-10 22:58 UTC (permalink / raw)


\bfm seems broken in 2004.12.06


Compiling the following:

\setupformulas [method=bold]
\starttext
\startformula
  {\bfm x}
\stopformula
\stoptext

results in:
...
! Bad number (127).
<argument> \defaultskewcharmi

\dosetskewchar ...ar \empty \skewchar \textfont #1
                                                  #2\skewchar
\scriptfont #1...
<inserted text> ...ultskewcharmi \dosetmathfamily
                                                  \sybffam \textface
\script...
<inserted text> ...\else \the \boldmathstrategies
                                                  \fi
\autoenablemathcollect...

\synchronizemath ...athfonts \the \mathstrategies
                                                  \fam \mrfam \fi
<inserted text> ...bfamily \c!bf \synchronizemath
                                                  \aftergroup
\synchronizemath
...
l.4   {\bfm
            x}
?



Any help welcome. Thanks in advance,

David

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

* Re: fonts -- installation
  2004-12-10 22:58 \bfm broken David Munger
@ 2004-12-12 12:39 ` Rob Ermers
  2004-12-14  0:41 ` \bfm broken h h extern
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Ermers @ 2004-12-12 12:39 UTC (permalink / raw)


Dear Friends,

Installing a simple font under Context has been without results sofar. 
Under latex I can generate a perfect ps file (with dvips), but I 
recently found out that the dvi reader (Yap) cannot locate a tfm file 
and fails to generate pk files, even when I generate the pk files and 
put them in the appropriate places.

This may be the reason Context cannot generate correct dvi files nor pdf 
files, but I am not sure of course. (Needless to say that I update 
everytime with Miktex.)

I am now trying to install under Context a font that should work right 
out of the box: bookman. This font I cannot get to work either. See 
below the test file and the log file. The log file does give any error 
message; it simply does not load bookman (see the line: 
<J:\tex\texmf\fonts\type1\bluesky\cm\cmr10.pfb>). Under Latex I get 
perfect dvi and pdf files.

Does anyone have a clue? My eventual goal is, of course, to learn how to 
install a new font.

Kind regards,

Robert Ermers

%%%%%%
\setupoutput[pdftex]

\usetypescriptfile[type-bookman]
\usetypescript[bookman]
\setupbodyfont[10pt]

\starttext

\input tufte

\stoptext

%%%%%%%
Log file:

This is pdfeTeX, Version 3.141592-1.20a-2.2 (MiKTeX 2.4) (preloaded 
format=cont-en 2004.12.4)  12 DEC 2004 13:17
entering extended mode
**testbook-con.tex
(testbook-con.tex

ConTeXt  ver: 2004.11.23  fmt: 2004.12.4  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(J:\tex\texmf\tex\context\base\cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
color          : palette rollover is available
system (E-TEX) : [line 1083]
system (E-TEX) : [line 1138]
)
system         : cont-old loaded
(J:\tex\texmf\tex\context\base\cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(J:\tex\texmf\tex\context\base\cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(J:\tex\texmf\tex\context\base\cont-sys.tex)
bodyfont       : 12pt rm is loaded
language       : patterns en->default:default->1->2:2 
uk->default:default->2->2
:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 
fr->texnansi:texnansi->5->2:
2 fr->ec:ec->6->2:2 es->default:default->7->2:2 
it->texnansi:texnansi->8->2:2 i
t->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded
specials       : tex,postscript,rokicki loaded
system         : testbook-con.top loaded
(./testbook-con.top)
specials       : loading definition file tpd
(J:\tex\texmf\tex\context\base\spec-tpd.tex
specials       : loading definition file fdf
(J:\tex\texmf\tex\context\base\spec-fdf.tex <unprotect 3>
system (E-TEX) : [line 2255] \ifcsname
<protect 3>)
specials       : fdf loaded
)
specials       : fdf,tpd loaded
fonts          : [bookman] [] []
(J:\tex\texmf\tex\context\base\./type-syn.tex)
(J:\tex\texmf\tex\context\base\./type-enc.tex)
(J:\tex\texmf\tex\context\base\./type-siz.tex)
(J:\tex\texmf\tex\context\base\./type-map.tex)
(J:\tex\texmf\tex\context\base\./type-spe.tex)
(J:\tex\texmf\tex\context\base\./type-exa.tex)
(J:\tex\localtexmf\tex\context\base\./type-loc.tex)
(J:\tex\texmf\tex\context\base\./type-akb.tex)
(J:\tex\texmf\tex\context\base\./type-bookman.tex) (./testbook-con.tuo)
(./testbook-con.tuo) (./testbook-con.tuo) (./testbook-con.tuo)
(./testbook-con.tuo) (./testbook-con.tuo) (./testbook-con.tuo)
(./testbook-con.tuo) (./testbook-con.tuo) (./testbook-con.tuo)
(./testbook-con.tuo) (./testbook-con.tuo) (./testbook-con.tuo)
fonts          : needs map file: ec-public-lm.map
fonts          : needs map file: original-base.map
systems        : begin file testbook-con at line 7
(J:\tex\texmf\tex\context\sample\tufte.tex) [1.1{psfonts.map}]
systems        : end file testbook-con at line 11
  )
Here is how much of TeX's memory you used:
  1064 strings out of 64793
  15568 string characters out of 707938
  457907 words of memory out of 1077448
  33839 multiletter control sequences out of 60000
  17192 words of font info for 57 fonts, out of 500000 for 1000
  102 hyphenation exceptions out of 607
  44i,17n,49p,245b,365s stack positions out of 
1500i,500n,5000p,200000b,32768s
  7 PDF objects out of 300000
  0 named destinations out of 300000
  1 words of extra memory for PDF output out of 65536
<J:\tex\texmf\fonts\type1\bluesky\cm\cmr10.pfb>
Output written on testbook-con.pdf (1 page, 10910 bytes).

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

* Re: \bfm broken
  2004-12-10 22:58 \bfm broken David Munger
  2004-12-12 12:39 ` fonts -- installation Rob Ermers
@ 2004-12-14  0:41 ` h h extern
  1 sibling, 0 replies; 3+ messages in thread
From: h h extern @ 2004-12-14  0:41 UTC (permalink / raw)


David Munger wrote:
> \bfm seems broken in 2004.12.06
> 

in font-bfm, change the \dosetskewchar lines into:

   \dosetskewchar\mifam\defaultskewcharmi
   \dosetskewchar\syfam\defaultskewcharsy

(i added an 'fam' argument to \dosetskewchar some time ago, but didn't change 
these lines for bold math)

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

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

end of thread, other threads:[~2004-12-14  0:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-10 22:58 \bfm broken David Munger
2004-12-12 12:39 ` fonts -- installation Rob Ermers
2004-12-14  0:41 ` \bfm broken h h extern

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