ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Fourier in ConTeXt (was Fonts readily available in Context)
Date: Wed, 14 Jan 2009 14:38:28 +0100	[thread overview]
Message-ID: <6faad9f00901140538ycfd72ddk9b37c9059b52ef45@mail.gmail.com> (raw)
In-Reply-To: <d5fddde00901140457m42e971dat2391902b7a67d318@mail.gmail.com>

On Wed, Jan 14, 2009 at 1:57 PM, Mikael Persson wrote:
>
> Hi Mojca,
>
> thank you for your answer. Now it actually works with these braces. I
> tried to do the same to get \hat working. Adding
>
>  \definemathsymbol [hat]      [accent] [mr] ["2]
>
> (inside \startmahtcollection[default] \stopmathcollection) from
> math-fou.tex, however $\hat{f}$ now gives f without a hat. Do I
> missunderstand something?
>
> However, it would be nice to get these math-fou.tex working.

I agree with that, but fonts have always been something that I hated
most in TeX :) :) :)
Does anyone else have an idea about that? I'm almost sure that the
same problem happened to lucida or some other math font, but I don't
remember which one.

> I read from the LaTeX file fourier.sty the line
> \DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
> but I'm not sure howto translate that into ConTeXt code, the naive
>
>  \definemathsymbol [hat]      [alpha] [op] ["2]
>
> did not work...

Try:
    \definemathsymbol [hat] [accent] [tf] ["2]

(I thought there was a \definemathaccent, but apparently I was wrong.)

> Once this is fixed I can collect the needed files and send them to
> you(?) to get them included in the minimals if that is what people
> want (or make a package of it if that is better)

It's easiest to fetch the files directly from CTAN, the only question
is how to best organize that: it would be nice to split some fonts, so
that those who don't need extra fonts don't need to fetch them all.

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


  reply	other threads:[~2009-01-14 13:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  8:50 Mikael Persson
2009-01-14 12:16 ` Mojca Miklavec
2009-01-14 12:57   ` Mikael Persson
2009-01-14 13:38     ` Mojca Miklavec [this message]
2009-01-14 14:10     ` Mojca Miklavec
2009-01-14 14:54       ` Mikael Persson
2009-01-14 17:26         ` Mojca Miklavec
2009-01-15 13:11           ` Mikael Persson
2009-01-15 16:15             ` Mojca Miklavec
2009-01-15 17:37               ` Aditya Mahajan
2009-01-16  7:34                 ` Mikael Persson
2009-01-16 12:02                   ` Mikael Persson
2009-01-16  8:09                 ` Yue Wang

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=6faad9f00901140538ycfd72ddk9b37c9059b52ef45@mail.gmail.com \
    --to=mojca.miklavec.lists@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).