ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mikael Persson" <mickep@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 13:57:00 +0100	[thread overview]
Message-ID: <d5fddde00901140457m42e971dat2391902b7a67d318@mail.gmail.com> (raw)
In-Reply-To: <6faad9f00901140416u5db0667n8f9e7516329ba159@mail.gmail.com>

On Wed, Jan 14, 2009 at 1:16 PM, Mojca Miklavec
<mojca.miklavec.lists@gmail.com> wrote:
> On Wed, Jan 14, 2009 at 9:50 AM, Mikael Persson wrote:
>> Hi,
>>
>> I am starting a new thread about this:
>>
>> Is there really support for fourier in current ConTeXt? I've not been
>> able to get it
>> working since long time ago. I get utopia text working, but not
>> fourier math. See the previous threads:
>> http://archive.contextgarden.net/message/20070830.154143.005528b8.en.html
>> and
>> http://archive.contextgarden.net/message/20080928.193441.874bb515.en.html
>>
>> 1) Can anyone explain to me why these fonts are not working at the moment?
>> 2) Is there any plan on fixing this issue?
>> 3) If there is anything I (as a simple user) can do, please tell me.
>>
>> Kindest regards, Mikael
>
> Hello Mikael,
>
> I did all kinds of experiments, so I'm not sure if it will work for
> you, but it did work for me. Can you try to put this on top of your
> document?
>
> \startmathcollection[default]
> \definemathsymbol [rbrace]        [close]   [sy] ["67] [ex] ["AA]
> \definemathsymbol [lbrace]        [open]    [sy] ["66] [ex] ["A9]
> \stopmathcollection
>
> It seems that mathcollection[fou] is not loaded properly, so the
> definitions from math-fou.tex are ignored.
>
> Mojca
>
> PS: fourier is not in minimals. At least not yet.

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

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)

Best regards, Mikael

PS, I'm currently testing with mkiv, with a first-setup.sh:ed updated
minimal context.
___________________________________________________________________________________
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 12:57 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 [this message]
2009-01-14 13:38     ` Mojca Miklavec
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=d5fddde00901140457m42e971dat2391902b7a67d318@mail.gmail.com \
    --to=mickep@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).