ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: font problems again
Date: Tue, 15 Nov 2005 23:36:57 +0100	[thread overview]
Message-ID: <6F27734F-4EBC-4DBA-86C4-AB8971A37C65@science.uva.nl> (raw)
In-Reply-To: <4377C740.4040106@wxs.nl>

Two more questions:

(1) On Nov 14, 2005, at 0:07, Hans Hagen wrote:

> Hans van der Meer wrote:
>
>
>> No help from enabling in cont-sys.tex of:
>> \usetypescript[adobekb] [\defaultencoding]
>> (updmap.cfg contains URWkb for the LW35 fonts)
>> then it starts asking for (non-existing) maps like:
>> Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map  
>> file
>>
>
> that is when you use texfont generated metrics
> texfont --encoding=ec --batch type-tfm.dat
> will generate those metrics (which are the ones i use)
>

Do I now understand correctly that I MUST use texfont first in order  
to work with fonts in ConTeXt? I did not realize that when going over  
to the new tetex setup. I guess the typescripts for the lm/cmr fonts  
are ready-made in the context distribution?
Is there somewhere a script to do this (somewhat painless) for the  
"regular" fonts in the teTeX distribution or should I generate just  
by hand for whatever font I need?

(2) about math typesetting

Although computer modern (lm fonts) now appear in text, there is  
something strange with math. Running the next example coming from the  
ConTeXt manual (page 103):
\starttext
{$\sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} math\crlf
{$\bf \sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} boldmath BUT  
`sin' ISN'T, sqrt NEVER IS \crlf
{$\bf\mf \sqrt{a^2 + b^2} = c\ \hbox{whatever} + \sin(2x)$} boldmath  
NOW `sin' IS, sqrt NEVER IS \crlf
\stoptext
The second line doesn't show the "sin" in bold as contrasted with the  
special remark in the manual. I does show in bold with \mf however.  
Has the math behaviour changed meanwhile? Or does it point to still  
another flaw in my setup?
The following fonts appear in the pdf (as seen in Adobe Reader):  
CMMI12, CMSY10, LMRoman12-Bold (and 9), LMRoman12-Regular (and 9).

in comparison, the following LaTeX example has the right behaviour:
\documentclass{article}
\begin{document}
{$\sqrt{a^2 + b^2} = c$} math\hfill\break
{\boldmath$\sqrt{a^2 + b^2} = c + \sin{}x$} boldmath\par
\end{document}

Hans van der Meer

  reply	other threads:[~2005-11-15 22:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-13 21:35 Hans van der Meer
2005-11-13 23:07 ` Hans Hagen
2005-11-15 22:36   ` Hans van der Meer [this message]
2005-11-16  7:33     ` Taco Hoekwater
2005-11-16  8:57       ` Hans Hagen
2005-11-16  9:14     ` Hans Hagen
2005-11-14  7:51 ` Gerben Wierda
2005-11-14 10:19   ` Hans van der Meer
  -- strict thread matches above, loose matches on Subject: below --
2000-06-10 18:58 Hraban

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=6F27734F-4EBC-4DBA-86C4-AB8971A37C65@science.uva.nl \
    --to=hansm@science.uva.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).