ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <bourbaki@bigfoot.com>
Cc: ntg-context@ntg.nl
Subject: Re[2]: \boldsymbol (m-math)
Date: Thu, 17 Jan 2002 12:45:10 +0100	[thread overview]
Message-ID: <933342276.20020117124510@bigfoot.com> (raw)
In-Reply-To: <20020116092339.2b5b46ba.taco@elvenkind.com>

TH> Since the new font selection scheme in context was introduced the math 
TH> module has been broken. I've been too busy to look into the changes
TH> that are required. With some luck, I may be able to do something about
TH> it next week. Until then, you are on your own. Sorry.

My limited testings in trying to make the m-math module work in
modern ConTeXt led to this patch. Find

\def\docompletefontswitch[#1]%
  {\bodyfontsize=#1\relax
   \dimensiontocount\bodyfontsize\bodyfontpoints
   \edef\bodyfontfactor{\withoutpt\the\bodyfontsize}%
   \normalizebodyfontsize\bodyfontsize\to\normalizedbodyfontsize
   \edef\textface{\getvalue{\??ft\normalizedbodyfontsize\s!text}}%
   \edef\scriptface{\getvalue{\??ft\normalizedbodyfontsize\s!script}}%
   \edef\scriptscriptface{\getvalue{\??ft\normalizedbodyfontsize\s!scriptscript}}%
   \settextfonts
   \setmathfamilies\fontstyle
   \rmtf
   \the\everybodyfont}  

and change it to:

\def\docompletefontswitch[#1]%
  {\bodyfontsize=#1\relax
   \dimensiontocount\bodyfontsize\bodyfontpoints
   \edef\bodyfontfactor{\withoutpt\the\bodyfontsize}%
   \normalizebodyfontsize\bodyfontsize\to\normalizedbodyfontsize
   \dosetbodyfontface \textface         \s!text
   \dosetbodyfontface \scriptface       \s!script
   \dosetbodyfontface \scriptscriptface \s!scriptscript
   \settextfonts
   \setmathfamilies\fontstyle
   \rmtf
   \the\everybodyfont}

which should allow it to load.


  reply	other threads:[~2002-01-17 11:45 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-14 11:52 AlterEgo Qasars
2002-01-16  8:23 ` Taco Hoekwater
2002-01-17 11:45   ` Giuseppe Bilotta [this message]
2002-01-20 20:26     ` Re[2]: " Hans Hagen
2002-01-21 15:39       ` Re[3]: " Giuseppe Bilotta
2002-01-22  9:16         ` Taco Hoekwater
2002-01-22  9:40           ` Re[5]: " Giuseppe Bilotta
2002-01-22 12:19             ` Hans Hagen
2002-01-22 12:46             ` Taco Hoekwater
2002-01-22 17:17               ` Re[7]: " Giuseppe Bilotta
2002-01-23 11:32                 ` Hans Hagen
2002-01-23 12:09                   ` Re[8]: " Giuseppe Bilotta
2002-01-23 23:04                     ` Hans Hagen
2002-01-24 11:12                       ` Re[9]: " Giuseppe Bilotta
2002-01-23 13:43                   ` Re[7]: " Taco Hoekwater
2002-01-23 16:30                     ` Re[9]: " Giuseppe Bilotta
2002-01-24  9:47                       ` Taco Hoekwater
2002-01-24 11:17                         ` Re[11]: " Giuseppe Bilotta
2002-01-23 20:29                     ` Re[7]: " Johannes H?sing
2002-01-24 10:08                       ` Taco Hoekwater
2002-01-22 21:19               ` Re[5]: " Hans Hagen
2002-01-22 10:05         ` Re[3]: " Hans Hagen

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=933342276.20020117124510@bigfoot.com \
    --to=bourbaki@bigfoot.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).